3 addresses, 1 address, Address – Lenze DDS v2.3 User Manual
Page 289: Drive plc developer studio, Ix0.0.0

Drive PLC Developer Studio
IEC 61131-3 Operands
13-5
l
DDS EN 2.3
Furthermore:
•
Case sensitivity is not an option for variables.
(Example: VAR1, Var1 and var1 are not different variables)
•
Underscores in an identifier are significant.
(Example: A_BCD and AB_CD are interpreted as different identifiers.)
•
Multiple successive underscores at the beginning of or within an identifier are not allowed.
•
The first 32 characters are significant.
13.3
Addresses
13.3.1
Address
For a declaration, variables can be assigned to a physical memory location (PLC address) by means
of the keyword AT.
The address specification structure is established with the help of special character lines.
The character sequence starts with a ” %” followed by a range prefix and a prefix (data type) for the
size. It ends with a sequence of numbers that specify the direct memory location.
The following range prefixes are supported:
I
Input
Q
Output
M
Flag (internal memory)
The following size prefixes are supported:
X
Single bit
None
Optional
B
Byte (8 bits)
W
Word (16 bits)
D
Double word (32 bits)
Inputs/ outputs:
%IX0.0.0
Character for physical address
Range prefix
Data type
Module number
Word address
Bit address
Module number
The module number specifies the automation system module (system organization unit) to be
approached.
Examples:
%QX0.0.2
Output bit 2
%IW0.0.1
Input bit 1
%MB7
Flag byte 7
%MW1
Flag word 1
%MD3
Flag double word 3
%MX1.2
Third flag bit in flag word 1
Show/Hide Bookmarks