Standard function blocks
361
TOF
(10058)
Illustration
Execution time 1.10 µs
Operation The output (Q) is set to 1, when the input (IN) is set to 1. The output is reset to zero
when the input has been 0 for a time defined by the pulse time input (PT).
Elapsed time count (TE) starts when the input is set to 0 and stops when the input is set
to 1.
Example:
Inputs Input (IN): Boolean
Pulse time input (PT): DINT (1 = 1 µs)
Outputs Output (Q): Boolean
Elapsed time output (ET): DINT (1 = 1 µs)
TON
(10059)
Illustration
Execution time 1.22 µs
TOF
86
TLA1 1 msec (1)
IN
PT
ET
ET(86)
Q
Q(86)
TON
87
TLA1 1 msec (1)
IN
PT
ET
ET(87)
Q
Q(87)