36 COUNTER/TIMER FUNCTION BLOCKS
36.7 Off Delay Timer
1995
36
36.7 Off Delay Timer
TOF(_E)
These function blocks turn off a signal after the specified period of time.
■Description, type, data type
■Operation processing
1. Output
• When (s) turns on, (d) turns on.
• When (s) changes from on to off, (d1) turns off after the time that was set by (n). The delay time elapsed after (d1) turns off
is set to (d2).
• Use the long timer to count the elapsed time.
2. Delay time setting
The valid setting range of (n) is T#1ms to T#2147483ms. Note that the valid setting range will be as follows by changing the
timer limit setting using the engineering tool.
The value at the falling edge (on to off) of (s) is used for the setting value of (n). When the (n) value is changed when (s) is off,
the new value will be enabled at the next falling edge of (s).
• [RnPCPU (redundant)] If these function blocks are used in a program executed in both systems, they do not operate in the standby system when the
redundant system is in backup mode. ( MELSEC iQ-R CPU Module User's Manual (Application))
Ladder, FBD/LD Structured text
[Without EN/ENO] [With EN/ENO] [Without EN/ENO]
Instance name(IN:=s,PT:=n,Q:=d1,ET:=d2);
[With EN/ENO]
Instance name(EN:=en,ENO:=eno,IN:=s,PT:=n,Q:=d1,ET:=d2);
Argument Description Type Data type
EN Execution condition (TRUE: Executed, FALSE: Not executed) Input variable BOOL
s (IN) Time measurement Input variable BOOL
n (PT) Delay time setting value Input variable TIME
ENO Output status (TRUE: Normal, FALSE: Abnormal or operation stop) Output variable BOOL
d1 (Q) Output Output variable BOOL
d2 (ET) Elapsed time Output variable TIME
Minimum value Maximum value
Identical to the long timer setting value [ms] in the timer limit setting.
Note that if the long timer setting value is smaller than 1ms, the
minimum value will be 1ms.
The time satisfying the following condition is used.
Note that the maximum value is a value that can be included within the range of time
type because the delay time setting value is of time type (32-bit value).
• Delay time setting value [ms] 2147483647 [ms] Long timer setting value of in
the timer limit setting [ms]
[Example]
• If the long timer setting value is 0.001ms: T#1ms to T#2147483ms
• If the long timer setting value is 1000ms: T#1000ms to T#2147483000ms
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)