Below are the language features for basic data manipulation:

Variable assignment
Bit access
Parenthesis
Calling a function
Calling a function block
Calling a sub-program
MOVEBLOCK: Copying/moving array items
COUNTOF: Number of items in an array
INC: Increase a variable
DEC: decrease a variable

Below are the language features for controlling the execution of a program:

Labels
Jumps
RETURN

Below are the structured statements for controlling the execution of a program:

Statement

Description

IF
WHILE
REPEAT
FOR
CASE
EXIT
WAIT
ON

Conditional execution of statements.
Repeat statements while a condition is TRUE.
Repeat statements until a condition is TRUE.
Execute iterations of statements.
Switch to one of various possible statements.
Exit from a loop instruction.
Delay program execution
Conditional execution

Basic Operations

IEC 61131-3 Automation platform > Programming - Reference guide > Basic Operations

Previous chapterNext chapter


Created with the Personal Edition of HelpNDoc: Streamline Your Documentation Process with HelpNDoc's Intuitive Interface