41
1. Instruction format
Reset the timer and output:
S1: timer (T0, HT10)
S2: set time (such as K100)
S3: time unit (K1—1ms, K10—10ms, K100—100ms)
Power-off not retentive, not accumulation
(1) Time unit is 1ms, set time is K100, the real time is 1ms *100=0.1s
TMR T0 D0 K1
X0
X1
MOV K100 D0
Set value is constant K set value is register D
(2) Time unit is 10ms, set time is K10, the real time is 10ms*10=0.1s
TMR T0 D0 K10
X0
X1
MOV K10 D0
Set value is constant K set value is register D
(3) Time unit is 100ms, set time is K1, the real time is 100ms*1=0.1s
If X0 is ON, HT0 accumulates the
10ms pulse based on the current
value. When the accumulation
value reaches the set value K2000,
the timer outputactivates.
If X0 is suddenly OFF during timer
working, the timer value will be
retentive. Then X0 is ON again, the
timer will continue working.
When X2 is ON, the timer and
output will be reset.
(Not accumulation)
(Accumulation)
tudonghoatoancau.com