11BProgramming
68BOverview PLC addresses
12-6
12.6
Overview PLC addresses
The PLC addresses consist of several elements in the following order:
Start character %
The definition of an address starts with "%"
I
Inputs are defined by an "I" for input
Q
Outputs are defined by a "Q" for output
Data type
M
Flags are defined by an "M"
X
Bit information is defined by an "X"
B
Bytes (= 8 bits) are defined by a "B"
Data length
W
Words (= 2 bytes = 16 bits) are defined by a "W"
Address structure
Binary slaves
Analogue slaves
individual bit
all bits in one byte
whole channel
(whole word)
%aXm.ss.b %aBm.ss %aWm.ss.k
I inputs
Q outputs
bit 0...15
remanent 0...159
byte
not remanent 160...255
remanent 0...79
a =
M flag
word
not remanent 80...127
X =
bit address
B =
byte address
W =
address =
word address
master 1
m = 1
binary single or A slaves
master 2
m = 2
master 1
m = 11
binary B slaves
master 2
m = 12
master 1
m = 21
m =
analogue slaves
master 2
m = 22
ss =
slave address (1...31)
k =
channel number (0...3)
binary slave
0...3
Legend
value ranges
b =
bit address
flag 0…15
1
Byte = for inputs/outputs only 4 bits (0...3) are used
2
Bit address only possible for inputs/outputs, master flags and flags