F_TRIG
PROGRAM F_TRIG_DEMO VAR BOOL1,BOOL2: BOOL; FB:F_TRIG; END_VAR FB(CLK:=BOOL1,Q=>BOOL2); END_PROGRAM
The block detects a falling edge and generates a pulse on the output with duration of one cycle.
Input | Type | Description | Default value |
CLK | ANY_BOOL | Input reacting on falling edge | False |
Output | Type | Description |
Q | BOOL | Output signal |