FlipFlop

PLCopen motion icon

 Function Block - Flipflop bistable.

  • 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.

Inputs

Input

Data Type

See Data Types.

Range

Unit

Default

Description

IN

BOOL

FALSE, TRUE

 

 

Swap command (on rising edge).

RST

BOOL

FALSE, TRUE

 

 

Reset to FALSE.

Outputs

Output

Data Type

See Data Types.

Range

Unit

Description

Q

BOOL

FALSE, TRUE

 

Output.

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

(* MyFlipFlop is declared as an instance of FLIPFLOP function block: *)
MyFlipFlop (IN, RST);
Q := MyFlipFlop.Q;

See Also