L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 692

Advertising
background image

L-force | PLC Designer

General Editors

690

DMS 4.1 EN 03/2011 TD29

Multiple operands (extensible operators):
If the same operator is used with multiple operands, two ways of programming are
possible:
1. The operands are entered in subsequent lines, separated by commas, example:

2. The instruction is repeated in subsequent lines, example:


Complex operands:
If a complex operand is to be used, enter an opening bracket before, then use the
following lines for the particular operand components and below those, in a separate
line enter the closing bracket.
Example: rotating a string by 1 character at each cycle
(corresponding ST code: stRotate := CONCAT(RIGHT(stRotate, (LEN(stRotate) - 1)),
(LEFT(stRotate, 1))); )

Advertising