FLIPFLOP
Inputs
IN : BOOL Swap
command (on rising edge A rising edge is the transition of a digital signal from low to high. It is also called positive edge)
RST : BOOL Reset to FALSE
Outputs
Q : BOOL Output
Remarks
The output is systematically reset to FALSE if RST is TRUE.
The output changes on each rising edge of the IN input, if RST is FALSE.
ST Language
(* MyFlipFlop is declared as an instance of FLIPFLOP function block *)
MyFlipFlop (IN, RST);
Q := MyFlipFlop.Q;
FBD Language
FFLD Language
IL Language
(* MyFlipFlop is declared as an instance of FLIPFLOP function block *)
Op1: CAL
MyFlipFlop (IN, RST)
FFLD
MyFlipFlop.Q
ST Q1
See also