What is IEC 61131-3 and how portable are PLC programs?
IEC 61131-3 defines the programming languages for industrial controllers such as PLCs, but compliance does not guarantee that a whole project will transfer.
IEC 61131-3 is the international standard defining languages used to program programmable controllers such as PLCs, devices that execute a machine's control logic. The fourth edition, published in 2025 includes Structured Text (ST), a text-based language, and two graphical languages: Ladder Diagram (LD) and Function Block Diagram (FBD). It also specifies Sequential Function Chart (SFC) elements for organizing programs and function blocks (reusable units of logic). The standard defines the syntax and semantics of these languages and includes configuration elements, but it does not guarantee that an entire project will move unchanged between different vendors' tools. Two environments may support different data types (the kinds of values a program handles) or different functions. Beyond whether the language complies, an equipment buyer needs to know which parts of the program can actually be transferred to a second system and verified there.
See also: Vendor lock-inVendor lock-in is dependence on a supplier that makes switching difficult or costly because of constraints on data, software, skills, and contractual terms.
What PLCopen actually certifies
PLCopen certification applies to a product and is based on tests by a laboratory audited by the association. Base Level covers a core subset of each language; at Conformity Level the vendor declares supported data types and the supported IEC features are tested. Two certified products can therefore differ in coverage.
Reusability Level covers the exchange of ST functions and function blocks between programming environments. PLCopen limits its guarantee to the data types and IEC features shared by both systems; a proprietary block may have no equivalent on the destination system. The certificate states how many data types are supported, and the vendor should provide the full list on request. Both say more than a generic claim of compliance.
File format is a separate issue. According to PLCopen, its XML specification became part 10 of the series, IEC 61131-10, in 2019. It is a structured, machine-readable format that can also represent graphical connections. The format facilitates information exchange, but does not by itself show that the project will run on the new controller.
An enterprise example
A machine builder wants to retain the option of changing PLC vendors. Before ordering, it has a representative ST block exported, imported into the alternative environment and run on the same inputs, then compares the results. It records the required data types and libraries and checks the physical I/O mapping. The PLCopen technical FAQ notes differences in addresses, execution timing and available features, so a one-block transfer is a useful test but cannot replace acceptance testing of the whole machine.
Supervision by a SCADA system and data exchange using OPC UA have requirements distinct from controller programming and need separate checks in the project.
Why it matters for decision makers
Procurement specifications should identify the standard edition, certification level, required data types, delivery format and source code access. An import and execution test agreed on before signing exposes the effort and limits of a migration and reduces uncertainty about vendor lock-in, the difficulty of switching vendors, without promising automatic portability.
Frequently asked questions
Related terms
- Vendor lock-inVendor lock-in is dependence on a supplier that makes switching difficult or costly because of constraints on data, software, skills, and contractual terms.
- Single-vendor dependencySingle-vendor dependency makes a critical business service hinge on one supplier's availability and decisions, even when the customer can access its own data.
- SCADASCADA is a system that collects operational data and lets operators monitor and control industrial plants, even across multiple sites, from a central location.
- OPC UAOPC UA is an industrial data exchange standard that can also describe the data's structure and meaning, with configurable communication and security features.