3.10.2 Sub-function 04 (0x04) Write Module Address
This sub-function code is used to set the address for the PIR-130 module.
Request
Byte
Description
00
Address
01
Function Code
02
Sub-function Code
03
New Address
04 - 06
Reserved
Response
Byte
Description
00
Address
01
Function Code
02
Sub-function Code
03
New Address
04 - 06
Reserved
Error Response
Byte
Description
00
Address
01
Function Code
02
Exception Code
PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28
Length
Value
(in Bytes)
1
1 to 247
1
0x46
1
0x04
1
1 to 247
3
0x00 0x00 0x00
Length
Value
(in Bytes)
1
1 to 247
1
0x46
1
0x04
0:
1
Others: Error
3
0x00 0x00 0x00
Length
Value
(in Bytes)
1
1 to 247
1
0xC6
Refer to the Modbus standard for more
1
details.
OK
89/93