RS

RS

PROGRAM RS_DEMO
     VAR
     BOOL1,BOOL2,BOOL3: BOOL;
    FB:RS;
 END_VAR
    FB(R1:=BOOL2,S:=BOOL3,Q1=>BOOL1);
END_PROGRAM

Classical RS Flip-Flop circuit. If both inputs are true, the output is false.

InputType DescriptionDefault value
S ANY_BOOLSet False
R1 ANY_BOOLReset False
OutputTypeDescription
Q1 BOOLOutput of the flip-flop circuit

  • © Energocentrum Plus, s.r.o. 2017 - 2024