IEC 61131-3

Last updated

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]

Contents

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:

Data types

Duration literals
UnitDescription
dDay
hHour
mMinute
sSecond
msMillisecond
usMicrosecond
nsNanosecond
STRING escape sequences
Escape sequenceProduces
$$$
$''
$Llinefeed
$Nnewline
$Ppage (form feed)
$Rreturn
$Ttab
$xxhex value

Variables

Variable attributes: RETAIN, CONSTANT, AT

Configuration

Program organization unit (POU)

Configuration, resources, tasks

Object oriented programming (OOP)

References

  1. Stevic, Tom (5 May 2017). "A very short history of PLC programming platforms". Control Design. Retrieved 11 September 2021.
  2. "IEC 61131-3:2013". International Electrotechnical Commission (IEC). Retrieved 11 September 2021.
  3. "Time Duration Literals (IEC 61131-3)".