Attention
IronPLC implements many parts of the IEC 61131-3 standard and is working toward full Structured Text support. Key features still missing include arrays and structures. Try it out in the IronPLC Playground.
Edition Support¶
Some IEC 61131-3 features require enabling a specific edition of the standard. See Enabling Features for how to enable an edition in the compiler or VS Code extension.
Edition 3 (2013) Features¶
Edition 3 introduced the following features, which require
--std-iec-61131-3=2013 (CLI) or ironplc.std61131Version: 2013
(VS Code).
Feature |
Category |
Description |
|---|---|---|
Data type |
64-bit duration |
|
Data type |
64-bit calendar date |
|
Data type |
64-bit time of day |
|
Data type |
64-bit date and time of day |
|
Data type |
Reference (pointer) to a variable |
|
|
Operator |
Create a reference to a variable |
|
Operator |
Dereference a reference |
|
Literal |
Null reference value |
Edition 2 (2003) Features¶
All other supported features use the default Edition 2 and require no additional flags. See Language Reference for the complete language reference.