Timer with switch-off delay
This is a user-defined function from a system function block. TOF_FUN allows you to program a switch-off delay, e.g. to switch off the ventilator of a machine at a later point in time than the machine itself.
Input
timer ON
an internal timer is started if a falling edge is detected at start. If a rising edge is detected at start before PT has reached its value, Q will not be switched off
switch-off delay (PT = preset time)
16-bit value: 0–327.27s
32-bit value: 0–21,474,836.47s (32-bit value not available for FP3, FPC, FP5, FP10/10S)
resolution 10ms each
Input/output
Internal memory containing the internal values and states, which corresponds to the instance memory of the associated FB.
Output
signal output
reset (FALSE) if PT = ET
elapsed time
indicates the current value of the elapsed time
The value can be changed during counting operation by writing to the variable from the programming editor.
Q is switched off with a delay corresponding to the time defined in PT. Switching on is carried out without delay.
If start (as in the time chart t3 to t4) is set prior to the lapse of the delay time PT, Q remains set (time chart for t2 to t3).