
13–6 PLC Addressing
Publication
17706.5.16 - October 1996
Example:
PLC3 logical binary addressing format
E3 1 8 260 0
Data table area = level 1
0
Context = level 2
Section = level 3
File = level 4
Structure = level 5
Word = level 6
level
Byte 1
Byte 2
Byte 3
Byte 4
6 54321
Byte 5
Byte 6
1011000 0 flag byte: specifies that the default
values are used for levels 1, 2, and 5
0010000 0 level 3 (value = 8)
1111111 1 level 4 delimiter: used to signal that the
level 4 address uses the next two bytes
0001000 0 level 4 (low byte)
0000010 0 level 4 (high byte)
0000000 0 level 6 (value = 0)
= value
260 (decimal)
87
bit54321076
Bytes Description
1
Flag bits 0, 1, and 4 are set to 0 default values are used for levels 1,
2, and 5 of the PLC3 address.
Flag bits 2, 3, and 5 are set to 1 you must specify a value for levels
3, 4, and 6 in the bytes following the flag byte. (Even though the value
of address level 6 is 0, the default value, the last level of a PLC3
address is always specified in the ADDR message packet field.)
2
Address levels are specified lowest level to highest level. Address level
3 is the lowest level that must be specified, so it is specified in the first
byte following the flag byte. It is followed by address level 4, then
address level 6.
3, 4, and 5
The level4 address is 260 (decimal), which is too large to fit in one
byte. Therefore, byte 3 is a delimiter that contains all 1's (FF hex) and is
used to delimit the 2byte level 4 address value. The value 260 is then
coded low byte first in bytes 4 and 5.
6 Specifies the level6 address.
Commentaires sur ces manuels