AKF_FL: Detection of any edge
Original instructions
Function description
The derived function block detects any edge (1 -> 0 and 0 -> 1) on the CLK input.
Output Q is "1" for a cycle if there is a transition from "0" to "1" or a transition from "1" to "0" on CLK; otherwise it remains "0".
EN and ENO can be configured as additional parameters.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
CAL AKF_FL_Instance (CLK:=ClockInput, Q=>DisplaysAnyEdge)
Representation in ST
Representation:
AKF_FL_Instance (CLK:=ClockInput, Q=>DisplaysAnyEdge) ;
Parameter description
Description of the input parameters:
Parameters
Data type
Meaning
CLK
Timing input
Description of the output parameters:
Parameters
Data type
Meaning
Q
BOOL
Display of any edge