Timer Off Delay with Reset
(TOFR)
TOFR(TOFR_tag);
Input Parameter
Data Type
EnableIn
BOOL
TimerEnable
BOOL
PRE
DINT
Reset
BOOL
Output Parameter
Data Type
EnableOut
BOOL
ACC
BOOL
EN
BOOL
TT
BOOL
DN
BOOL
Timer and Counter Instructions (TON, TOF, RTO, TONR, TOFR, RTOR, CTU, CTD, CTUD, RES)
The TOFR instruction is a non-retentive timer that accumulates time when
TimerEnable is cleared. This instruction is available in relay ladder as two
separate instructions:
· TOF (See
· RES (See
Operands:
Structured Text
Variable
TOFR tag
Function Block Operands
Operand
TOFR tag
FBD_TIMER Structure
Description
Function Block
If cleared, the instruction does not execute and outputs are not updated.
If set, the instruction executes.
Default is set.
Structured Text
No effect. The instruction executes.
If cleared, this enables the timer to run and accumulate time.
Default is cleared.
Timer preset value. This is the value in 1ms units that ACC must reach before timing is finished. If
invalid, the instructions sets the appropriate bit in Status and the timer does not execute.
Valid = 0 to maximum positive integer
Request to reset the timer. When set, the timer resets.
Default is cleared.
Description
The instruction produced a valid result.
Accumulated time in milliseconds.
Timer enabled output. Indicates the timer instruction is enabled.
Timer timing output. When set, a timing operation is in progress.
Timing done output. Indicates when accumulated time is greater than or equal to preset.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
page
116).
page
153).
Type
FBD_TIMER
Type
FBD_TIMER
Format
Description
Structure
TOFR structure
Format
Description
Structure
TOFR structure
Chapter 3
133