
2. Programming Concepts
2. D1008 saves the STEP address where the timeout occurred
Scan Time Monitor
Function Group
D1010~D1012
Number
Contents:
The present value, minimum value and maximum value of scan time are stored in D1010 ~ D1012.
D1010: current scan time
D1011: minimum scan time
D1012: maximum scan time
Internal Clock Pulse
Function Group
M1011~M1014
Number
Contents:
1. PLC provides four different clock pulses to aid the application. When PLC is power-on, the
four clock pulses will start automatically.
M1011 (10 ms)
M1012 (100 ms)
M1013 (1 sec)
M1014 (60 sec)
100 Hz
10 Hz
1 Hz
10 ms
100 ms
1 sec
1 min
2. Clock pulse works even when PLC stops, i.e. activation of clock pulse is not synchronized
with PLC RUN execution.
High-speed Timer
Function Group
M1015, D1015
Number
Contents:
1. When M1015 = ON, high-speed timer D1015 will be activated when the current scan
proceeds to END instruction. The minimum resolution of D1015 is 100us.
2. The range of D1015 is 0~32,767. When it counts to 32,767, it will start from 0 again.
3. When M1015 = OFF, D1015 will stop timing immediately.
Example:
1. When X10 = ON, M1015 = ON to start high-speed timer and record the present value in
D1015.
2. When X10 = OFF, M1015 = OFF. High-speed timer is disabled.
2-57