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.
Functions¶
IEC 61131-3 defines a set of standard functions available in all programming languages. Functions are stateless — they produce the same output for the same inputs every time.
Numeric Functions¶
Trigonometric Functions¶
Arithmetic Functions¶
Comparison Functions¶
Assignment Functions¶
Function |
Description |
Status |
|---|---|---|
Assignment (copy value) |
Supported |
Selection Functions¶
Bit String Functions¶
String Functions¶
Function |
Description |
Status |
|---|---|---|
String length |
Supported |
|
Left substring |
Supported |
|
Right substring |
Supported |
|
Middle substring |
Supported |
|
String concatenation |
Supported |
|
String insertion |
Supported |
|
String deletion |
Supported |
|
String replacement |
Supported |
|
String search |
Supported |
Type Conversion Functions¶
Function |
Description |
Status |
|---|---|---|
Type conversion functions ( |
Supported (numeric) |
|
BCD conversion functions |
Supported |