(4) IF ...ELSIF conditional syntax
(a) Format
(b) Description
(c) Example
5.1 ST Language
5-6
5.1.3 Syntaxes in ST language
IF <Boolean expression 1> THEN
<Syntax 1 ...>;
ELSIF <Boolean expression 2> THEN
<Syntax 2 ...>;
ELSIF <Boolean expression 3> THEN
<Syntax 3 ...>;
END_IF;
Syntax 1 is executed when the value of Boolean expression (conditional formula) 1 is
TRUE. Syntax 2 is executed when the value of Boolean expression 1 is FALSE and the
value of Boolean expression 2 is TRUE.
Syntax 3 is executed when the value of Boolean expression 1 and 2 are FALSE and the
value of Boolean expression 3 is TRUE.