Overview Set/Reset


With this block, a Set / Reset function is implemented. Depending on the requirement, separate inputs SE/RS can be used or a single input.



Inputs

SE
Set
On a positive edge at the input, the output is set to 1.
RS
Reset
On a positive edge at the input, the output is set to 0.
SR
Set/Reset
On every positive edge at the input, the output is toggled between 1 and 0. For example, toggle on/off with a pushbutton.



Outputs

A1
Value




Parameters

Type

  • Last change has priority: If a 1 is present at inputs SE and RS at the same time, the input whose change occurred last has priority.
  • Set has priority: If a 1 is present at inputs SE and RS at the same time, the output stays at 1; Set has priority.
  • Reset has priority: If a 1 is present at inputs SE and RS at the same time, the output stays at 0; Reset has priority.





See also common parameters of all function blocks.