F_TRIG

The function block F_TRIG is a detector for a falling edge.
 Outputs
 Outputs
VAR_OUTPUT
    Q : BOOL; (* Edge detected *)
END_VAR| Name | Type | Description | 
|---|---|---|
| Q | BOOL | As long as the input variable CLK = TRUE, the output will be Q = FALSE. As soon as CLK = FALSE, Q = TRUE. This means that each time the function is called, Q returns FALSE until CLK has a rising edge and then a falling edge. | 
Requirements
| Development environment | Target platform | PLC library to include | 
|---|---|---|
| TwinCAT v3.0.0 | PC or CX (x86) | Tc2_Standard | 
 Inputs
 Inputs