Addresses, Adresses, note, Address – Lenze PLC Designer PLC Designer (R2-x) User Manual
Page 515: L-force | plc designer

L-force | PLC Designer
Operands in PLC Designer
DMS 3.2 EN 02/2011 TD29
513
10.3
Addresses
10.3.1
Adresses, Note
Stop!
Online Change might change the contents on addresses. Please regard this when
using pointers on addresses !
10.3.2
Address
The direct display of individual memory locations is done through the use of special
character sequences. These sequences are a concatenation of the percent sign "%", a
range prefix, a prefix for the size and one or more natural numbers separated by blank
spaces.
The following range prefixes are supported:
I Input
Q
Output
M Memory
location
The following size prefixes are supported:
X Single
bit
None
Single bit
B
Byte (8 Bits)
W
Word (16 Bits)
D
Double word (32 Bits)
Examples:
%QX7.5 and %Q7.5
Output bit 7.5
%IW215
Input word 215
%QB7
Output byte 7
%MD48
Double word in memory position 48 in the memory location.
%IW2.5.7.1
depending on the PLC Configuration
ivar AT %IW0 : WORD;
Example of a variable declaration including an address assignment