User manual

105G Wireless Gateway User Manual
Elpro_man_105g_1.18.doc Page 104
Set Slave Address
SET_SLAVE_ADDRESS: Command Number = 0006h
This command makes it possible to set the node address of a specified slave, provided that the
slave supports this feature.
Note: The message data size depends on the actual slave implementation; range 0 -240 bytes.
Command and response layout:
Command
Response
Message ID
(ID) (ID)
Message Information
4002h 0002h
Command Number
0006h 0006h
Data Size
(Size of data) (Size of data)
Extended Word 1
Current Slave Add New Slave Add Current Slave Add New Slave Add
Extended Word 2
Slave Ident Number Slave Ident Number
Extended Word 3
No_add_Chg - No_add_Chg -
Extended Word 4
- -
Extended Word 5
- Err Code1 Err Code2
Extended Word 6
- Err Code3 Err Code4
Extended Word 7
- Return Code
Extended Word 8
- Fault Information
Message data byte 1
Slave Data 1 Slave Data 1
:::
::: :::
Message data byte n
Slave Data n Slave Data n
Current Slave Address
Range 1-125, specifies the current address of the slave
New Slave Address
Range 1-125, specifies the new address of the slave
Slave Ident Number
Ident number for the slave, whose address should be altered
No_add_Chg
This parameter specifies whether it is allowed to change the slave address again at a later
stage. If this is not allowed, then it is only possible to change the address with this function
after initial reset. After the initial reset the slave takes the default address 126.
00h: Change of address is still possible at a later stage