FLIPFLOP
Function Block - Flipflop bistable.
Inputs
Input |
Data type |
Description |
IN |
BOOL |
Swap command (on rising edge). |
RST |
BOOL |
Reset to FALSE. |
Outputs
Output |
Data type |
Description |
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
LD Language
The IN command is the rung - the rung is the output:
FLIPFLOP |
IEC 61131-3 Automation platform > Programming - Reference guide > Boolean Operations > FLIPFLOP |
Created with the Personal Edition of HelpNDoc: Make Documentation Review a Breeze with HelpNDoc's Advanced Project Analyzer