LTON (FB)
FUNCTION_BLOCK LTON
Timer on delay. Q is TRUE, after the delay defined in PT and IN had a rising edge.
- InOut:
Scope
Name
Type
Comment
Input
INBOOLstarts timer with rising edge, resets timer with falling edge
PTLTIMEtime to pass, before Q is set
Output
QBOOLETLTIMEelapsed time since rising edge at IN