π Back to Ladder Logic Functions
The Set & Reset Output functions, commonly referred to as S/R or Latch/Unlatch, are essential components in PLC Ladder Logic Programming. These functions allow for the control of output states based on specific input conditions. The Set function (S) is used to turn an output on (energize) when the associated input condition is true, while the Reset function (R) is used to turn the output off (de-energize) when its input condition is true. This latching mechanism enables outputs to maintain their state even after the input conditions change, making them useful for applications such as motor starters, alarms, and other control systems where maintaining an output state is necessary.
When the Set input condition is met, the output coil is energized and remains on until the Reset input condition is met, which de-energizes the coil. This allows for more complex control strategies within the ladder logic program.
Set and Reset are also essential for sequential control processes, where certain operations need to be maintained until a specific condition is met to stop them.
To use Set and Reset outputs in ladder logic, you typically have two separate rungs: one for the Set function and another for the Reset function. Each rung will have its own input conditions that determine when the output coil is set or reset. For example, a push button can be used to set an output, while another button can be used to reset it. Once the output is set, it will remain energized until the reset condition is activated, regardless of the state of the set input.
| Set Condition | Reset Condition | Output State |
|---|---|---|
| True (Activated) | False (Not Activated) | Energized (ON) |
| False (Not Activated) | True (Activated) | De-energized (OFF) |
| False (Not Activated) | False (Not Activated) | Maintains Previous State |