Publication 1763-RM001C-EN-P - October 2009
172
Timer and Counter Instructions
TOF - Timer, Off-Delay
Instruction Type: output
Use the TOF instruction to delay turning off an output. The TOF
instruction begins to count time base intervals when rung conditions
become false. As long as rung conditions remain false, the timer
increments its accumulator until the preset value is reached.
The accumulator is reset (0) when rung conditions go true, regardless of
whether the timer is timed out. TOF timers are reset on power cycles and
mode changes.
Timer instructions use the following control and status bits:
EN
DN
TOF
Timer Off Delay
Timer
T4:0
Time Base
1.0
Preset
0<
Accum
0<
TOF
Execution Time for the TOF Instructions
Controller
When Rung Is:
True
False
MicroLogix 1100
2.68
μ
s
2.68 (DN=1), 4.03
(DN=0)
μ
s
Timer Control and Status Bits, Timer Word 0 (Data File 4 is configured as a timer file for this example.)
Bit
Is Set When:
And Remains Set Until One of the
Following Occurs:
bit 13 - T4:0/DN
DN - timer done
rung conditions are true
rung conditions go false and the accumulated
value is greater than or equal to the preset
value
bit 14 - T4:0/TT
TT - timer timing
rung conditions are false and accumulated value
is less than the preset value
rung conditions go true or when the done bit is
reset
bit15 - T4:0/EN
EN - timer enable
rung conditions are true
rung conditions go false
ATTENTION
Because the RES instruction resets the accumulated value
and status bits, do not use the RES instruction to reset a
timer address used in a TOF instruction. If the TOF
accumulated value and status bits are reset,
unpredictable machine operation may occur.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive