ifm
Basic Device Manual AS-i ControllerE M4 Target V15
2015-10-30
Programming
Overview PLC addresses
166
12.6.4
Further examples
Data
Master Slave
Address
examples
Current parameter data (bits 0...3)
2
6B
%IW32.73
Reflected parameter data (bits 0...3)
→ page
2
6B
%IW32.169
Slave error counter
1
7
%IW31.182
2
6B
%IW32.212
Configuration error counter
1
--
%IW31.238
AS-i cycle counter
2
--
%IW32.239
NOTE
All addresses in these further examples can only be read as WORD addresses. A breakdown into
individual bits is only possible by copying the word to a symbolic address and retrieving this address
bit by bit.
Example
:
copy %IW31.81 to LASMaster1
copy %IW32.83 to LPSMaster2
Query:
master 1, slave 16 / 16A in the list of active slaves
output to LASSlave16M1
Query:
master 2, slave 22B in the list of projected slaves
output to LPSSlave22BM2
NOTE
A flag word consists of two flag bytes.
Flag word %MW(n) corresponds to the flag bytes %MB(2n) and %MB(2n+1).
→ page
Relationship between double word, word and byte
Example
:
Flag word %MW21 corresponds to the flag bytes %MB42 and %MB43.