11BProgramming
68BOverview PLC addresses
12-8
Further examples:
Data
Master Slave
Sample ad-
dresses
current parameter data (bits 0...3)
→
page 5-7
2 6B
%IW32.73
reflected parameter data (bits 0...3)
→
page 5-8
2 6B
%IW32.169
1 7 %IW31.182
slave error counter
→
page 5-10
2 6B
%IW32.212
configuration error counter
→
page 5-11
1 -- %IW31.238
AS-i cycle counter
→
page 5-11
2 -- %IW32.239
i
Tip
All addresses in these further examples can only be retrieved as WORD ad-
dresses. A breakdown into single bits is only possible by copying the word to a
symbolic address and retrieving this bit by bit.
Copying %IW31.81 to LASMas-
ter1
Copying %IW32.83 to LPSMas-
ter2
Query:
master 1, slave 16 / 16A
in the list of active slaves
output to LASSlave16M1
Example
Query:
master 2, slave 22B
in the list of projected slaves
output to LPSSlave22BM2
i
Tip
A flag word consists of two flag bytes.
Flag word %MW(n) corresponds to the flag bytes %MB(2n) and %MB(2n+1).
Example:
Flag word %MW21 corresponds to the flag bytes %MB42 and %MB43.