The TOF off delay timer function block turns an output off after a delay.
The TOF Function Block has this syntax:
TOF(
IN:=Expression,
PT:=Expression,
Q=>Variable-Reference,
ET=>Variable-Reference );
Note: All parameters are optional.
| Parameter | Type | Direction | Description |
|---|---|---|---|
| IN | BOOL | Input | A rising edge starts the timer. |
| PT | TIME | Input | The duration of timer. |
| Q | BOOL | Output | Set to false after delay PT. |
| ET | TIME | Output | The elapsed time of the timer. |
The TOF Function Block uses this logic:
These timing diagrams show the relationship of the TOF inputs and outputs:
+---+ +---+ +-----
IN | | | | |
--+ +--------+ +-+
+--------+ +------------
Q | | |
--+ +---+
+---+
/ |
/ |
ET / | +
/ | /|
------+ +---+ +---
IEC 61131-3 Second Edition: Table 37.3.
IEC 61131-3 Third Edition: Table 46.3a.
To learn about a function block that turns an output on after a delay.
To learn about other standard function blocks.
To learn about the different types supported by Fernhill SCADA.
To learn about other IEC 61131-3 Common Elements.
For the meaning of terms used in Fernhill SCADA.