Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Since its initial publication in 1993, IEC 61131 has served as the definitive international standard for programmable logic controllers (PLCs). Whether you are working with Siemens TIA Portal, Rockwell Studio 5000, Schneider EcoStruxure, or Mitsubishi GX Works, the underlying architecture — hardware specifications, programming languages, communication models, and safety requirements — all trace back to this single standard family. This article provides a practical engineering perspective on the IEC 61131 framework, focusing on real-world application rather than theoretical description.
IEC 61131 comprises nine parts, each addressing a specific aspect of PLC systems. Understanding this structure is essential for effective system design:
| Part | Scope | Engineering Relevance |
|---|---|---|
| Part 1 | General information and definitions | Establishes a unified terminology across all vendors |
| Part 2 | Equipment requirements and tests | Defines hardware reliability, EMC immunity, and environmental ratings |
| Part 3 | Programming languages | The most influential — five standard languages for control logic |
| Part 4 | User guidelines | Best practices for selection, installation, and maintenance |
| Part 5 | Communications | Messaging service model for PLC-to-PLC data exchange |
| Part 6 | Functional safety | Safety-related PLC applications per IEC 61508 |
| Part 7 | Fuzzy control | Fuzzy logic application methodologies |
| Part 8 | Guidelines for PL application | Implementation guidance for Part 3 languages |
| Part 9 | Single-drop digital communication | Interface for small sensors and actuators |
IEC 61131-3 defines five programming languages, each optimized for different aspects of control engineering:
LD is the most intuitive language for electrical engineers. It maps directly to relay logic schematics and excels at discrete control, safety interlocks, and emergency stop circuits. However, it becomes unwieldy for mathematical operations or string manipulation — a task that would take one line in ST might require 20 rungs of ladder.
FBD provides a graphical, data-flow-oriented approach. It is ideal for analog signal processing, PID control loops, and filter design. The signal path is visually traceable, making it excellent for commissioning and troubleshooting.
ST is a high-level language similar to Pascal. It is the most efficient choice for complex algorithms, data processing, and protocol parsing. For applications requiring extensive conditional logic or iterative calculations, ST offers the best code density and readability.
IEC 61131-3 introduced a structured software model centered on three key concepts:
= for assignment in ST code. Remember: ST uses := for assignment and ; as a statement terminator. The equality operator is =. These subtle differences account for most compilation errors during the first weeks of ST adoption.
IEC 61131-5 defines a communication model based on client-server and producer-consumer patterns, enabling standardized data exchange between PLCs from different manufacturers. Part 9 extends this to simple sensor/actuator devices. IEC 61131-6 aligns PLC safety functionality with IEC 61508, defining Safety Integrity Level (SIL) requirements for programmable electronic systems in control applications.
IEC 61499 extends the 61131-3 model for distributed control systems using event-driven function blocks. While 61131-3 targets traditional centralized PLC architectures, 61499 addresses intelligent distributed automation. Currently, 61499 is gaining traction in power systems and building automation but has not supplanted 61131-3 in mainstream industrial control.
No. IEC 61131-3 Edition 3 (2013) deprecated IL. Most major IDE vendors have already removed or hidden IL support. If you maintain legacy IL code, plan migration to ST or LD in the next maintenance cycle.
GB/T 15969 is the Chinese national standard equivalent to IEC 61131, with identical technical content. For domestic Chinese project bids and certifications, suppliers may provide a GB/T 15969 compliance declaration instead of the IEC version.
Codesys is vendor-independent and supports all five languages with simulation capabilities. TwinCAT is the leading choice for PC-based control with deep Windows integration. For vendor-specific ecosystems, choose the native IDE (TIA Portal for Siemens, Studio 5000 for Rockwell) for optimal hardware integration.