TOF_FUN

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.

Parameters

Input

start (BOOL)

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

PT (TIME)

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

dutInstance (TOF_FUN_INSTANCE_DUT)

Internal memory containing the internal values and states, which corresponds to the instance memory of the associated FB.

Output

Q (BOOL)

signal output

reset (FALSE) if PT = ET

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.

Remarks

Time chart

Related topics:

Modified on: 2021-03-30Feedback on this pagePanasonic hotline