Condition Specification - Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual

Melsec iq-r series cpu module application user's manual
Table of Contents

Advertisement

Condition specification

Specify the data collection timing according to the device/label data conditions and step number. The AND condition using a
combination of "Device specification", "Label specification", and "Step No. specification" results in the collection of data at the
time when both conditions are established.
Device/label specification
Data are collected when the monitored data meets the specified condition during the END processing.
■To collect data continuously while the conditions are met
The following conditional formula causes the data logging function to collect data continuously while the conditions are met:
• =: When the current value of the monitored data is equal to the comparison value
• : When the current value of the monitored data is not equal to the comparison value
• : When the current value of the monitored data is equal to or larger than the comparison value
• >: When the current value of the monitored data is larger than the comparison value
• : When the current value of the monitored data is equal to or smaller than the comparison value
• <: When the current value of the monitored data is smaller than the comparison value
Word value
Set value ≠ Current value
Program
0
END
END processing
1 scan
(1) During the END processing, the data logging function does not collect data because the conditions are not met.
■To collect data only when the state changes
The following conditional formula causes the data logging function to collect data only during the END processing for the
scans where the conditional formula is met. It does not collect data for any single scan where the conditional formula is not
met during the END processing (even if the conditional formula is met before the END processing is initiated).
• : When the specified data turns off and on
• : When the specified data turns on and off
• At change: When the current value of the specified data changes
Word value
Set value = 0 (initial value)
0
END
Program
END processing
1 scan
(1) The data logging function does not collect data because there has been no change in state since the last scan.
Set value = Current value
0
END
0
END processing
Sampling
Set value = 1
0
END
0
END processing
Sampling
Set value ≠ Current value
END
0
END
END processing
END processing
Sampling
END
0
END
END processing
END processing
Sampling
(1)
11 DATA LOGGING FUNCTION
11.2 Data Collection Conditions
0
END
END processing
(1)
Set value = 2
0
END
END processing
175
11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents