5 programming languages, 1 instruction list (il), 5programming languages – Lenze DDS v2.0 User Manual
Page 14

Introduction to IEC 61131-3 programming
Programming languages
12
l
DDS-IEC61131 EN 2.0
5
Programming languages
IEC 61131-3 defines the following five programming languages:
•
IL: Instruction List (
Instruction List, IL)
•
ST: Structured Text (
Structured Text)
•
SFC: Sequential Function Chart (
Sequential Function Chart, SFC)
•
FBD: Function Block Diagram (
Function Block Diagram, FBD)
•
LD: Ladder Diagram (
Ladder Diagram, LD)
Each of these languages is used for special applications which are particularly suited to solve certain
problems.
5.1
Instruction List (IL)
(Instruction List, IL)
Instruction List can be compared with Assembler and consists of a sequence of instructions.
•
Every instruction starts with a new line, contains an operator and, depending on the
operation, one or several operands separated by commas.
•
An identifier marker followed by a colon (:) can be in front of an instruction.
•
Comments can be entered additionally.
•
It is possible to insert empty lines between the instructions.
Example:
LD
17
ST
lint
(* Comment*)
GE
5
JMPC
next
LD
idword
EQ
istruct.sdword
STN
test
next:
Show/Hide Bookmarks