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