51
CHAPTER 6 DATA LOGGING FUNCTION
6
6.2 Sampling of Target Data
6.2 Sampling of Target Data
Select a sampling interval and timing from the following items. ( Page 99, Section 8.4.4)
(1) Each scanning cycle
Data are collected in the END processing of each scan.
(2) Time specification
*1
Specify the time of sampling interval. Data are collected at the specified time intervals. The setting range is as
follows:
• Millisecond: 1 to 32767 (in 1-millisecond units)
• Second: 1 to 86400 (in 1-second units)
*1 In the following cases, scan time will be extended and a watchdog timer error will occur. Pay attention to the sampling
interval and timing or the time spent for one data logging processing.
• Short sampling interval, and many data logging executions per scan
• Large volume of data to be collected, and long data logging processing time
Setting item Description
Each scanning cycle
Data are collected in the END processing of each
scan.
Time specification
Sample data at the first END processing after the specified time
has elapsed
Specify the time of sampling interval. Data are
collected in the END processing after the specified
time has elapsed.
Samples data at the specified time interval.
Specify the time of sampling interval. Data are
collected at the specified time intervals.
Condition
specification
Device specification
• When the bit of the bit device rises
• When the bit of the bit device falls
• When the word device value meets
the specified value
• When the word device data is
changed
Data are collected when the specified device
condition is met in the END processing of each
scan.
Step No. specification
• Always
• When execution condition is ON
• When execution condition is OFF
• When execution condition rises
• When execution condition falls
Data are collected during execution of the
specified step and when the specified condition is
met.
Sampling
Scan time Scan time Scan time Scan time Scan time
Program
0 END
Sampling
0 END
Sampling
0 END
Sampling Sampling
0 END 0 END
END processing END processing END processing END processing END processing