ISaGRAF. Version 3.4


ST - 2


: IF <boolean_expression> THEN

<statement> ;

<statement> ;

...

ELSIF <boolean_expression> THEN

<statement> ;

<statement> ;

...

ELSE

<statement> ;

<statement> ;

...

END_IF;

ELSE ELSIF - . ELSE FALSE, .

:

(*ST , IF*)

IF manual AND not (alarm) THEN

level := manual_level;

bx126 := bi12 OR bi45;

ELSIF over_mode THEN

level := max_level;

ELSE

level := (lv16 * 100) / scale;

END_IF;

(* IF ELSE *)

If overflow THEN

alarm_level := true;

END_IF;

CASE

: CASE... OF... ELSE... END_CASE

: ST ,

: CASE <integer_expression> OF

<value> : <statements> ;

<value> , <value> : <statements> ;

...

ELSE

<statements> ;

END_CASE;

CASE . .