This article relies largely or entirely on a single source .(March 2017) |
IEC 61131-3 is the third part (of 10) of the international standard IEC 61131 for programmable logic controllers. It was first published in December 1993 [1] by the IEC; the current (fourth) edition was published in May 2025. [2]
Part 3 of IEC 61131 deals with basic software architecture and programming languages of the control program within PLC. It defines three graphical and two textual programming language standards:
| Unit | Description |
|---|---|
| d | Day |
| h | Hour |
| m | Minute |
| s | Second |
| ms | Millisecond |
| us | Microsecond |
| ns | Nanosecond |
| Escape sequence | Produces |
|---|---|
| $$ | $ |
| $' | ' |
| $L | linefeed |
| $N | newline |
| $P | page (form feed) |
| $R | return |
| $T | tab |
| $xx | hex value |
Variable attributes: RETAIN, CONSTANT, AT