11 DATA LOGGING FUNCTION
11.3 Logging Type
179
11
Operating procedure for trigger logging
In trigger logging, the CPU module stores specified data in its internal buffer at a specified collection interval or timing; it
extracts a specified number of data records before and after the satisfaction of a trigger condition and saves the extracted
data in a data logging file residing in the storage memory. Note that data collection is performed not only at the specified
collection interval or timing but also when a trigger condition is met. In addition, once a trigger condition is met, any
subsequent trigger conditions are ignored.
1. Write the settings into data memory or SD memory card using CPU Module Logging Configuration Tool.
2. Instruct CPU Module Logging Configuration Tool to start data logging. The data logging settings are registered and
trigger logging begins. (The special relay (data logging start) turns on.)
3. Wait until the trigger condition is met. (Trigger standby)
4. The data specified in CPU Module Logging Configuration Tool is collected. (Trigger condition met)
5. Data collection is completed by collecting as much data as the number of records specified in CPU Module Logging
Configuration Tool and writing the collected data into the storage memory.
6. Specify the desired file in the storage memory to read the results of data logging.
Trigger Condition
The following table lists the conditions to be used as a trigger.
The AND condition using a combination of "Device/Label change specification" and "Step No. specification"
results in the collection of data at the time when both conditions are established.
■Device/label change specification
A trigger occurs when the monitored data meets the specified condition.
Trigger condition Description
Condition specification Device/label change
specification
A trigger occurs when the monitored data meets the specified condition.
Step No. specification A trigger occurs when the specified condition is met immediately before the execution of the
specified step.
When trigger instruction executed A trigger occurs when the LOGTRG instruction is executed.
Conditional formula Description
When the specified data turns off and on
When the specified data turns on and off
= When the monitored data is equal to the comparison value, regardless of whether or not its current value is equal.
When the monitored data is not equal to the comparison value, regardless of whether or not its current value is equal.
When the monitored data is greater than or equal to the comparison value, regardless of whether or not its current
value is equal.
> When the monitored data is greater than the comparison value, regardless of whether or not its current value is equal.
When the monitored data is less than or equal to the comparison value, regardless of whether or not its current value is
equal.
< When the monitored data is less than the comparison value, regardless of whether or not its current value is equal.
At change When the current value of the specified data changes