MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Converting a relay jog circuit to PLC program
HomeModels
Table of contents

On this page

Electrical Control & Drawings (500 articles)

Quick Reference

Converting a relay jog circuit to PLC program

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.

1. How it works

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.

2. Practice and pitfalls

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.

3. Relay versus PLC

StageRelayPLC
ButtonSB hardX0 input
CoilKM hardY0 output
Jogno latchno self-hold
LatchKM aux parallelY0 NO parallel
Interlockhard contactcode plus hard
E-stophard cutkeep hard

4. Notes

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.

5. References

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.

6. Cautions

⚠️ Three common pitfalls:
① Omitting latch logic: behaviour differs from original
② PLC output drives big coil: overloads output
③ Wrong input type: NPN/PNP mix, no action

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL