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

Page 484

Advertising
background image

L-force | PLC Designer

IEC Operators and additional norm extending functions

482

DMS 3.2 EN 02/2011 TD29



Example in FBD:

9.7

Address Operators...

9.7.1

ADR

PLC Designer operator: Address Function not prescribed by the standard IEC61131-3.

ADR returns the address of its argument in a DWORD. This address can be sent to
manufacturing functions to be treated as a pointer or it can be assigned to a pointer
within the project.

dwVar:=ADR(bVAR);

Example in IL:

LD bVar

ADR

ST dwVar

man_fun1

Note!

After an Online Change there might be changes concerning the data on certain
addresses. Please regard this in case of using pointers on addresses.

Advertising