Change_Slave_Address - Omron CQM1-ARM21 Operation Manual

As-interface master unit
Table of Contents

Advertisement

Setup Mode
4-5-3-5

Change_Slave_Address

Function
Command Code
Command Argument 1
Command Argument 2
Command Status
Command Return Value
Change the address of an actual slave connected to the AS-Interface line,
and store the new address in the slave's EEPROM.
To change a slave's address, the master first temporarily sets the target's
address to 0, then writes the new address. Therefore, this command cannot
be performed if a slave 0 exists on the network.
7 (
)
0111
Old slave address (2 digits BCD).
New slave address (2 digits BCD).
1
Command processed successfully.
2
Error in processing the command, check Return Value.
other
Master is busy.
Result of the Change_Slave_Address Command (error flags).
If all error flags are off, and Command Status =1, the command was
processed successfully. If not, the following flags indicate the type of error:
15 14 13 12 11 10 9
IR n
SND
The slave specified by Command Argument 1 was not detected on
the network.
SD0
A slave with address 0 was already detected, address change
cannot be made, since address 0 is to be assigned temporarily.
SD2
A slave with the target address specified by Command Argument 2
already exists on the network.
DE
The slave did not accept the deletion of the old address.
SE
The slave did not accept the new address.
AT
The slave accepted the new address, but it was not stored in non-
volatile memory. If the slave gets reset, it will assume the old ad-
dress.
8
7
6
5
4
3
2
0
0
1
0
Slave with address 0 detected [SD0]
Slave with target address detected [SD2]
New address stored temporarily [AT]
Section 4-5
1
0
1
Setup Mode
Command Status = Error
Slave not detected [SND]
Delete error [DE]
Set error [SE]
41

Advertisement

Table of Contents
loading

Table of Contents