High−level Instructions
3 − 451
Program examples
The elapsed value area varies depending on the model and channel number.
Example 1: On R0 input, the value in data register DT4 is set in the ch0
elapsed value area as the set value.
R0
DF F1 DMV, DT4, DT9044
Decrement input
0
Setting set value
R0
Value in DT4
Time
X0
Example 2: On R1 input, the elapsed value of the ch0 is stored in data
register DT100.
R1
DF F1 DMV, DT9044, DT100
Example 3: When the elapsed value of the ch0 is greater than K10000, the
internal relay R0 turns on.
R9010
R900A R0
F1 DT9044, DT0
F61 DCMP, DT0, K10000
FP0/FP−e/FPΣ/FP−X/FP0R