Memory location – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 516

Advertising
background image

L-force | PLC Designer

Operands in PLC Designer

514

DMS 3.2 EN 02/2011 TD29



The current PLC Configuration for the program determines whether or not an address
is valid.

Note!

Boolean values will be allocated bytewise, if no explicit single-bit address is
specified. Example: A change in the value of varbool1 AT %QW0 affects the range
from QX0.0 to QX0.7.



Stop!

Online Change might change the contents on addresses. Please regard this when
using pointers on addresses !

see also chapter IEC Operators and additional norm extending functions, address
operators

10.3.3

Memory location

You can use any supported size to access the memory location.

For example, the address %MD48 would address bytes numbers 192, 193, 194, and

195 in the memory location area (48 * 4 = 192). The number of the first byte is 0.

You can access words, bytes and even bits in the same way: the address %MX5.0
allows you to access the first bit in the fifth word (Bits are generally saved wordwise).



Stop!

Online Change might change the contents on addresses. Please regard this when
using pointers on addresses !

see also chapter IEC Operators and additional norm extending functions, address
operators

Advertising