ADR (Address Operator)

Address Function

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.

Notice

Address data

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

Example in ST:

dwVar := ADR(bVar);

Example in IL:

LD var1

ADR

ST var2