Start/stop comes in two flavours: the two-button scheme (separate start and stop) built on the classic self-holding circuit, and the one-button scheme (a single key toggles) built on edge detection plus toggling logic. The first is safe and self-evident; the second saves an input and keeps the panel clean. The coding differs a lot, and the safety properties differ more — never use the one-button scheme where an E-stop belongs. Both are laid out below.
Start button X0 (NO, edge), stop button X1 (physically NC wired, ON at rest), output Y0:
Three branches into one Y0 coil: the X0 edge branch, the Y0 self-holding branch, and a series branch with X1's program NO (conducting while idle) plus the interlocks. Stop dominates: X1 opening forces Y0 off no matter how "solid" the holding is — stop conditions always sit in series on the branch, never inside the set. That is the safety bottom line of the self-holding circuit.
One button X0, each press flips Y0. The core is "flip exactly once per press": take X0's rising edge and alternate the output, keeping last cycle's state or using a dedicated instruction:
On platforms without an alternating instruction, build it in three lines: M1 = X0 rising edge; M2 = M1 AND NOT Y0 ("wants on"); M3 = M1 AND Y0 ("wants off"); Y0 set by M2, reset by M3. The point: toggling must use an edge, never a level — with a level, every scan cycle while the button is held flips the output once and it oscillates.
| Aspect | Two buttons | One button |
|---|---|---|
| Input points | 2 | 1 |
| Logic complexity | Self-evident at a glance | Edge + toggle, needs comments |
| Misoperation risk | Low (stop exists independently) | Higher (pressing once more when in doubt starts it instead) |
| E-stop compatibility | Stop branch is a natural E-stop path | Cannot serve as an E-stop at all |
| Panel cost | Two keys | One key |
| State certainty | Pressing stop always stops | State shown by a lamp; a mispress reverses it |
| Typical duty | Main drives, hazardous mechanisms | Lighting, toggles, harmless auxiliaries |
The one-button scheme's built-in flaw is "intent unverifiable": after one press you cannot know the next state without knowing the current one. For harmless auxiliaries (toggling lights, mode lamps) it is fine; for mechanisms, an operator pressing twice in panic flips the state exactly when it matters. The rule: drives and anything safety-related get two buttons with stop-dominance; the one-button scheme only where a mistake is harmless, and always with an output indicator.
① Unified interlock stage: whichever scheme, Y0's final drive passes one "permission" stage (E-stop clear, no alarms, mode permits) — interlocks are not scattered through the start logic; ② run feedback: after Y0, read the contactor's auxiliary contact and alarm on mismatch — "output on but contactor not pulled in" reports far more precisely than "it does not work"; ③ power restoration: the two-button scheme leaves Y0 OFF after an outage, naturally safe; the one-button scheme likewise restarts from OFF — retained outputs for start/stop are taboo.
| Symptom | Cause | Fix |
|---|---|---|
| One-button output jumps wildly | Level instead of edge for toggling | Use rising-edge detection |
| One press toggles twice | Contact bounce creating several edges | Add 20~50 ms debounce |
| Stop press does not stop | Stop condition inside the set, not in series | Stop / E-stop always break in series |
| Auto-runs after restart | Output coil is a retained type | Never retain start/stop outputs |
| Two stations interfere | Two start/stop sets not merged | All starts in parallel, all stops in series |
Start/stop is "state memory + stop dominance". The two-button scheme hands memory to the holding contact and safety to the series stop; the one-button hands memory to toggling logic and can only lean on external interlocks. Choose by safety: two buttons whenever possible, one button only for harmless toggles.
Stop-function independence, stop dominance and E-stop requirements follow GB 5226.1 / IEC 60204-1 (stop categories and control-circuit design); ladder symbols follow GB/T 4728; multi-station control merging (starts parallel, stops series) is standard electrical practice.
Review start/stop circuits with one iron rule: breaking any link in the stop/E-stop chain must switch the output off within one scan. If a design cannot promise that, it goes back regardless of how elegant it looks.