
The Function Block FFS is a Flip-Flop switch with toggle input.
This is the push button input. This toggles the output Q between true and false on a positive edge.
Tip: If this should happen on a negative edge, use the Function Block N before the input.
If this input is true, then the output Q is held at true. This input has priority over the input RESET.
If this input is true, then the output Q is held at false.
The output toggles between true and false. This is true when SET1 and RESET are true.