L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual
Page 659

L-force | PLC Designer
PLC Designer Libraries
DMS 3.2 EN 02/2011 TD29
657
Example in IL:
CAL TONInst(IN := VarBOOL1, PT := T#5s)
LD TONInst.Q
ST VarBOOL2
Example in FBD:
Example in ST:
TONInst(IN := VarBOOL1, PT:= T#5s);
TOF
Provided by standard.lib.
The function block TOF implements a turn-off delay..
TOF(IN, PT, Q, ET) means:
IN and PT are input variables type BOOL respectively TIME. Q and E are output variabls
type BOOL respectively TIME. If IN is TRUE, the outputs are TRU respectively 0.
As soon as IN becomes FALSE, in ET the time will begin to be counted in milliseconds in
ET until its value is equal to PT. It will then remain constant.
Q is FALSE when IN is FALSE und ET equal PT. Otherwise it is TRUE.
Thus, Q has a falling edge when the time indicated in PT in milliseconds has run out.
Graphic display of TOF behavior over time: