846
25 EDGE DETECTION FUNCTION BLOCKS
25.2 Falling Edge Detector
25.2 Falling Edge Detector
F_TRIG(_E)
These function blocks detect the falling edge of a signal, and output a pulse signal.
â– Descriptions, types, and data types
â– Operation processing
When (s) turns OFF, (d) is turned ON only for one scan.
â– Operation result
1. Function block without EN/ENO
The operation processing is executed. The operation output value is output from (d).
• Timing chart
Ladder diagram Structured text
[Without EN/ENO] [With EN/ENO] [Without EN/ENO]
F_TRIG_1(CLK:=s,Q:=d);
[With EN/ENO]
F_TRIG_E_1(EN:=EN, ENO:=ENO CLK:=s,Q:=d);
Argument Description Type Data type
EN Execution condition (TRUE: Execution, FALSE: Stop) Input variable BOOL
s Falling edge detector input Input variable BOOL
ENO Output status (TRUE: Normal, FALSE: Abnormal) Output variable BOOL
d Output Output variable BOOL
OFF OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
(s)
OFF
ON
ON ON ON
OFF
ON
ON
(d)
On the falling edge of (s),
(d) turns on.
At the next scan,
(d) turns off.