TOF
PROGRAM TOF_DEMO
VAR
BOOL1,BOOL2: BOOL;
TIME1,TIME2: TIME;
FB:TOF;
END_VAR
FB(IN:=BOOL1,PT:=TIME1,Q=>BOOL2,ET=>TIME2);
END_PROGRAM
The block delays the falling edge of the input signal.
Input | Type | Description | Default value |
---|---|---|---|
IN | BOOL | Input signal | False |
PT | TIME | Time of the Off delay | 0 s |
Output | Type | Description |
---|---|---|
Q | BOOL | Output signal |
ET | TIME | Time since the in signal falling edge |