Structured Text is a textual high-level programming language, similar to PASCAL or C. The program code is composed of expressions and instructions. In contrast to IL (Instruction List), you can use numerous constructions for programming loops, thus allowing the development of complex algorithms.
IF value < 7 THEN
WHILE value < 8 DO
value:=value+1;
END_WHILE;
END_IF;