![background image](http://html1.mh-extra.com/html/ifm/ecomat-300-as-i-series/ecomat-300-as-i-series_basic-device-manual_3950763033.webp)
ifm
Basic Device Manual AS-i ControllerE M4 Target V15
2015-10-30
Function
Introduction AS-i data
33
Command 6 (06
h
): change slave address
Command request:
Word no.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
echo byte
request output
1
0
06
h
2
ignored
Sel
old slave address
3
ignored
Sel
new slave address
4…16
ignored
17…18
reserved
Legend:
Sel
If slave ID = A, then:
0 = A slave or single slave
1 = B slave
If slave ID ≠ A, Sel must be 0!
Possible error codes in case of _PC_CMD_ERROR:
Status
Error
Description
01
h
NOK
Master in offline mode during execution of the command
02
h
SND
No slave with old address found
03
h
SD0
Slave with address 0 found
04
h
SD2
Slave with new address already available
05
h
DE
Error when deleting the old address
06
h
RE
Error when reading the extended ID code 1
07
h
SE
Error when writing the new address or extended ID-code 1
08
h
AT
New address only stored temporarily
09
h
ET
Extended ID code 1 only stored temporarily
0B
h
ID
Invalid address or:
slave with address 0 requested
14
h
IC
Master is not in normal operation