Change Slave Address (Slave_Addr) - Pepperl+Fuchs AS-I 3.0 Manual

Command interface
Table of Contents

Advertisement

AS-i 3.0 Command Interface
Commands of the Command Interface
4.6.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-i 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.
Information!
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.
byte
1
2
3
4
byte
1
2
Meaning of bit B:
7
6
5
2
2
2
T
B
B
7
6
5
2
2
2
T
B = 0
Single AS-i slave or A-slave
B = 1
B-slave
Request
4
3
2
2
0D
16
circuit
source address
target address
Response
4
3
2
2
0D
16
result
2
1
0
2
2
2
Tab. 4-164.
2
1
0
2
2
2
Tab. 4-165.
89

Advertisement

Table of Contents
loading

Table of Contents