
The Function Block RS is a Flip-Flop switch.
If this input is true, the output Q will be held at true. This input has priority over the RESET input.
If this input is true, the output Q will be held at false.
The output toggles between true and false. It is true when SET1 and RESET are true.