Set-dominant: when set and reset arrive together, the output goes ON — set wins. That temperament is excellent for "recording that something happened" and catastrophic for "driving a mechanism". The three misuse hotspots are start/stop logic, the E-stop path and alarm reset. Each is explained below: why it is wrong and how to fix it.
The classic wrong code: start condition SET M10, stop condition RST M10, but the SET sits later in the network order (or the block pins are swapped) so set wins the conflict. Consequence: the operator holds stop / the E-stop feedback is active while a start condition still hangs (a stuck interlock contact, an un-released jog), and the motor starts anyway. "Pressing stop starts it" is an injury-class field accident.
The correct form: power outputs are always reset-dominant (RS), with the stop condition also wired in series into the output branch as double insurance (see the reset-dominant article).
| Wrong pattern | Risk scene | Consequence |
|---|---|---|
| E-stop signal sets an "E-stop state" memory, set-dominant | E-stop and an auto-recovery pulse land in the same scan | When the recovery signal arrives one beat early, the E-stop memory cannot hold and the flow resumes prematurely |
| A set-dominant block holds a "run allowed" flag through the E-stop | E-stop and run flag active together | The flag wins and the machine continues its flow in an E-stop state |
The right E-stop architecture is not "picking a dominant" but "no memory at all": the hard-wired E-stop loop cuts power directly, and the PLC receives the result and resets the flow. Any design that needs a block's memory to hold a safety state is wrong at the root.
The wrong form: reset button SET "run allowed", alarm condition RST "run allowed", with the reset path set-dominant — alarms still active, operator presses reset, the allow flag sets anyway, and the machine restarts sick. The correct form inverts it: reset is invalid while any alarm persists (alarm dominates reset), i.e. "reset allow = reset button AND NOT any active alarm".
| Reason | Detail |
|---|---|
| Naming trap | SR/RS swap meanings across platforms; wiring from memory wires it backwards |
| Casual ordering | In ladder, network order decides SET/RST priority — reordering networks silently flips the dominant |
| Undetectable in normal tests | Conflict only appears when stop and start coincide; sequential button tests never reveal it |
| Reviews skip the conflict row | Nobody asks "with S = R = 1, what is the output?" |
① Duty red line: set-dominant outputs may only drive indication/recording devices (first-out alarms, event flags, latched markers); any memory that ends at a Y or a mechanism is reset-dominant — write it into the team standard; ② truth-table verification: at review, ask the fourth row on the spot ("S = R = 1 → output?"); no answer, send it back; ③ conflict testing: the commissioning plan mandates a "start/stop conflict test" — hold stop while applying start, output must go OFF; force the E-stop and apply start, it must stay invalid.
| Correct use | Why it fits |
|---|---|
| First-out alarm latching | Among simultaneous alarms the first must be remembered; later resets keep the "first fact" |
| "Has reached upper limit" marker | For diagnostics afterwards; conflicts preserve the fact it happened |
| First fault code record | Diagnostics need the first scene; records beat later clears |
The shared trait is plain: the outputs are "information for people", not "actions for the machine". When information conflicts, err on keeping it; when actions conflict, stop — that line separates the two dominants.
The root of set-dominant misuse is mixing "memory" with "drive" in one block. Split them and it resolves: memory (did it happen) may be set-dominant; drive (shall the mechanism move) must be reset-dominant with the stop wired in series. The block is fine — it was placed in the wrong job.
SR/RS definitions follow IEC 61131-3; stop dominance and E-stop follow GB 5226.1 / IEC 60204-1; design and verification of safety-related logic follow GB/T 16855.1 (ISO 13849-1).
Put "start/stop conflict test" and "E-stop + start test" into every machine's commissioning plan as fixed items — five minutes each, buying out a whole class of accidents.