L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 53

Advertising
background image

L-force | PLC Designer

What is What in PLC Designer



DMS 3.2 EN 02/2011 TD29

51

It is also possible in IL to put parentheses after an operation. The value of the
parenthesis is then considered as an operand.

For example:

LD 2

MUL 2

ADD 3

Erg

Here is the value of Erg 7. However, if one puts parentheses:

LD 2

MUL (2

ADD 3

)

ST Erg

the resulting value for Erg is 10, the operation MUL is only then evaluated if you come
to ")"; as operand for MUL 5 is then calculated.

Advertising