Sub-Fc 04 (0X04): Set The Software Modbus Address Of The Module - ICP DAS USA IR-310-RM User Manual

Ir controlled 10-ch high power relay module
Table of Contents

Advertisement

ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ
+7(495)109-02-08 sales@bbrc.ru www.bbrc.ru

5.4.3 Sub-FC 04 (0x04): Set the software Modbus address of the module.

‧Request
Byte order
Description
00
Address
01
FC
02
Sub-FC
03
New addr.
04
reserved
‧Response
Byte order
Description
00
Address
01
FC
02
Sub-FC
03
Set result
04
Reserved
Note:
1. Rotary switch position 0x01~0x0F is for setting the hardware Modbus address (Net
ID) = 0x01 ~ 0x0F.
2. Rotary switch position 0x00 is for software Modbus address (Net ID) = 1 ~ 247
configured by this Sub-FC.
3. The priority of the hardware Modbus addresses are higher than that of software
Modbus addresses.
IR-310-RM, IR Controlled 10-ch High Power Relay Module (Ver. 1.1, Jul/02/2013) 36
Size
Value
1 Byte
1 ~ 247 (Net ID)
1 Byte
0x64
1 Byte
0x04
1 Byte
1 ~ 247(Net ID)
1 Byte
0x00
Size
Value
1 Byte
1 ~ 247 (Net ID)
1 Byte
0x64
1 Byte
0x04
1 Byte
0=>OK;
1=>OK, but HW Net ID is used now;
others=>error.
1 Byte
0x00

Advertisement

Table of Contents
loading

Table of Contents