Old machines use relay hard-wiring for jog; retrofitting to PLC turns logic into code. This page maps the relay jog circuit to a PLC ladder one to one.
Relay jog: a NO button SB in series with contactor coil KM, press to energize, release to drop, no latch, pure hold-to-run. Pure hardware, every relation is a wire, change means rewire. Intuitive and easy to fault-find but hard to expand.
On PLC: the button goes to an input (X0) and the coil to an output (Y0). The ladder uses a NO contact X0 in series with output coil Y0: X0 on (pressed) energizes Y0 and pulls the contactor, X0 off releases it. With no latch contact this is jog. Use NO soft contact for NO button, or invert for NC. Output drives a relay or contactor since PLC output current is small. Mind the scan cycle; jog response is fast enough.
| Stage | Relay | PLC |
|---|---|---|
| Button | SB hard | X0 input |
| Coil | KM hard | Y0 output |
| Jog | no latch | no self-hold |
| Latch | KM aux parallel | Y0 NO parallel |
| Interlock | hard contact | code plus hard |
| E-stop | hard cut | keep hard |
Relay to PLC turns hard wires into a NO contact in series with a coil; jog is simply without self-hold. Map every input, output, interlock and e-stop, keep e-stop hard-cut, and do not omit any original hard logic in code. Verify the program against the original diagram line by line.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: PLC systems follow GB/T 15969 with IEC 61131; safety GB/T 5226.1. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.