DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
3-388
Program Example 2:
In 32-bit instruction, when X0 = ON, Y10 will be ON and the timing will start. When the timing
reaches 40,000 hours, Y0 will be ON. D1 and D0 will record the current time measured (in hour) and
D2 will record the current time less than an hour (0 ~ 3,599; unit: second).
Y10
DHOUR K40000 D0 Y0
X0
Y10