ST language elements

IEC compliance table for ST language elements:

Table No.

Feature No.

Feature description

55

1

Parenthesization (expression)

2

Function evaluation: functionName(listOfArguments)

3

Exponentiation: **

4

Negation: -

5

Complement: NOT

6

Multiply: *

7

Divide: /

8

Modulo: MOD

9

Add: +

10

Subtract: -

11

Comparison: <, >, <=, >=

12

Equality: =

13

Inequality: <>

14

Boolean AND: &

15

Boolean AND: AND

16

Boolean Exclusive OR: XOR

17

Boolean OR: OR

56

1

Assignment

2

Function block invocation and function block output usage

3

RETURN statement (Note)

4

IF statement

5

CASE statement

6

FOR statement

7

WHILE statement

8

REPEAT statement

9

EXIT statement

10

Empty statement

Note

In DFB only.