9 Function modules
Comment
The TimeBase parameter is an extension to DIN IEC 61131-3. This extension does not constitute a lim-
itation to the standard. According to the standard, the time limit is "implementation-dependent".
The values of the inputs/outputs are not retained when the power is turned off.
The time resolution of the delay time depends on the cycle time of the device (example: 150 ms).
Example
TOF01(IN, 450, 1);
(* IN = TRUE sets TOF01.Q to TRUE.
After IN = FALSE, TOF01.Q remains TRUE until the time PT = 450
TOF01.ET returns the time passed in milliseconds from IN = FALSE until TOF01.Q = FALSE
(max. 450 ms) or until IN = TRUE. *)
56
ms has expired.