TON_FUN

Timer with switch-on delay

This is a user-defined function from a system function block. TON_FUN allows you to program a switch-on delay.

Parameters

Input

start (BOOL)

timer ON

an internal timer is started for each rising edge detected at start

PT (TIME)

switch-on 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 (TON_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

set to TRUE if PT = ET

ET (TIME)

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