Structured text st / exst, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 758

Advertising
background image

L-force | PLC Designer

General Editors

756

DMS 4.1 EN 03/2011 TD29

Breakpoint display in ST:

Breakpoint in online mode: Disabled breakpoint:

Program stop at breakpoint:

Note: The following must be noticeed for breakpoints in methods: A breakpoint will
be set automatically in all methods which might be called. So, if an interface-
managed method is called, breakpoints will be set in all methods of function blocks
implementing that interface and also in all derivative function blocks subscribing
the method. If a method is called via a pointer on a function block, breakpoints will
be set in the method of the function block and in all derivative function blocks which
are subscribing the method.

13.14.2

Structured Text ST / ExST
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) numerous constructions can be used for programming loops, thus
allowing the development of complex algorithms.
Example:

IF value < 7 THEN
WHILE value < 8 DO
value:=value+1;
END_WHILE;
END_IF;


Extended Structured Text (ExST) is a »PLC Designer«-specific extension to the IEC
61131-3 standard for Structured Text (ST). Examples: Assignment as expression, Set-
/Reset-Operators.

Advertising