Basic Operations
- 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
- NEG: integer negation (unary operator)
Below are the language features for controlling the execution of a program:
Below are the structured statements for controlling the execution of a program:
IF | Conditional execution of statements. |
WHILE | Repeat statements while a condition is TRUE. |
REPEAT | Repeat statements until a condition is TRUE. |
FOR | Execute iterations of statements. |
CASE | Switch to one of various possible statements. |
EXIT | Exit from a loop instruction. |
WAIT | Delay program execution. |
ON | Conditional execution. |