Command Interface

5.2.14Change_AS-i_Slave_Address

Purpose of the Command

With this call, the 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 the old slave address (0) to the new slave address.

This change can only be made when the following conditions are fulfilled:

1.A slave with the ªold slave addressº exists.

2.If the old slave address is not equal to 0, then a 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 ªslave address newº must not exist.

Note

When the 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.

Structure of the Job Data in the Send Buffer

Bank

2

2

2

Byte

0

1

2

Meaning

Command number: 0D H

Slave address old

Slave address new

Structure of the Job Data in the Receive Buffer

Bank

2

2

Byte

0

1

Meaning

Echo of the command number: 0D H

Command status

5-26

SIMATIC NET CP 243-2 AS-i Master

C79000-G8976-C142/02

Page 94
Image 94
Siemens CP 243-2 installation instructions ChangeAS-iSlaveAddress