MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Mapping the schematic to the PLC ladder diagram
HomeModels
Table of contents

On this page

Electrical Control & Drawings (500 articles)

Quick Reference

Mapping the schematic to the PLC ladder diagram

Old gear is relay wiring, new gear is PLC; how do the two drawings correspond? This page maps relay schematics to ladder logic.

1. How it works

In the relay schematic one coil (e.g. KM1) maps to one PLC output point (Q0.0); buttons, limits and relay contacts map to inputs (I0.0) or internal flags (M). The ladder diagram moves the physical relay logic into a scan cycle: each network is one logic rung from left to right bus. Knowing this mapping lets you rewrite a relay schematic as a PLC program.

2. Practice and pitfalls

Difference: relays act in real parallel (contact closes, action instant); PLC scans every tens of ms, a lag you can ignore. A self-hold in the schematic is a parallel normally-open contact; in ladder it is the output contact paralleled before the condition. Trap: one relay contact appearing in several loops must reuse the same M bit in ladder; interlocks use the other side normally-closed in both.

3. Schematic to ladder map

SchematicLadderNote
Coil KMOutput Q1 to 1
Button SBInput INO/NC
ContactFlag MReuse
Self-holdOutput par.Same
InterlockSeries NCSame

4. Notes

Relay coils map to outputs, buttons and contacts to inputs or flags; the ladder moves physical logic into the scan cycle. Self-hold parallels NO and interlock series NC, same in both. Build a map table and monitor bits online then trace to the physical state. Keep both drawings with PLC addresses on the schematic.

5. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Documents per GB/T 6988, PLC systems per IEC 61131-3. Always check the device datasheet and the product design file for ratings and derating.

6. Cautions

⚠️ Three common pitfalls:
① Relay contact in many loops must reuse one M bit
② Keeping ladder only loses the schematic in three years
③ PLC address not on schematic mismatches maintenance

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