R_TRIG
PROGRAM R_TRIG_DEMO VAR BOOL1,BOOL2: BOOL; FB:R_TRIG; END_VAR FB(CLK:=BOOL1,Q=>BOOL2); END_PROGRAM
The block sends a pulse with duration of one cycle on the input signal's rising edge.
Input | Type | Description | Default value |
CLK | ANY_BOOL | Input reading the rising edge of the signal | False |
Output | Type | Description |
Q | BOOL | Output signal |