Documentation

Falling Edge Detection (IEC 61131)

F_TRIG

Block name

F_TRIG

ST call

PROGRAM F_TRIG_DEMO
VAR
BOOL1,BOOL2: BOOL;
FB:F_TRIG;
END_VAR
FB(CLK:=BOOL1,Q=>BOOL2);
END_PROGRAM

Description

The block detects a falling edge and generates a pulse on the output with duration of one cycle.

Inputs

Input Type Description Default value
CLK ANY_BOOL Input reacting on falling edge False

Outputs

Output Type Description
Q BOOL Output signal

Application example