14 set auto address enable (set_aae), 15 change slave address (slave_addr), Set auto address enable (set_aae) – EUCHNER AS-i 3.0 Command Interface User Manual
Page 51: Change slave address (slave_addr)

AS-i 3.0 Command Interface
Commands of the Command Interface
Subject to reasonable modifications due to technical advances
Id.-No.: 102875 Issue date - 3.12.2007
EUCHNER GmbH + Co. KG
Kohlhammerstraße 16, D-70771 Leinfelden-Echterdingen
Tel. +49/711/7597-0, Fax +49/711/753316
51
4.5.14
Set auto address enable (SET_AAE)
This call can enable or disable the "automatic address programming" function.
The AUTO_ADDR_ENABLE bit is stored permanently; in other words, it is re-
tained after a warm/hot restart on the AS-i master.
4.5.15
Change slave address (SLAVE_ADDR)
With this call, the AS-i address of an AS-i slave can be modified.
This call is mainly used to add a new AS-i slave with the default address "0" to the
AS-Interface. In this case, the address is changed from "AS-i slave address
old" = 0 to "AS-i slave address new”.
This change can only be made when the following conditions are fulfilled:
1. An AS-i slave with “AS-ii slave address old” exists.
2. If the old AS-i slave address is not equal to 0, an AS-i slave with address "0"
cannot be connected at the same time.
3. The "AS-i slave address new" must have a valid value.
4. An AS-i slave with "AS-i slave address new" must not exist.
Request
byte
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1
0B
16
2
T
–
circuit
3
Auto_Address_Enable
Response
byte
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1
0B
16
2
T
result
When the AS-i slave address is changed, the AS-i slave is not reset, in other
words, the output data of the AS-i slave are retained until new data are
received at the new address.
Request
byte
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1
0D
16
2
T
–
circuit
3
–
B
source address
4
–
B
target address