LTOF (FB)
FUNCTION_BLOCK LTOF
Timer of delay. Q is FALSE, after the delay defined in PT and IN had a faling edge.
- InOut:
Scope
Name
Type
Comment
Input
INBOOLstarts timer with falling edge, resets timer with rising edge
PTLTIMEtime to pass, before Q is reset
Output
QBOOLis FALSE, PT seconds after IN had a falling edge
ETLTIMEelapsed time since falling edge at IN