PIR-130-AC/DC User Manual
Ver. 1.4.0, 2020/07/28
89/93
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
Length
(in Bytes)
Value
00
Address
1
1 to 247
01
Function Code
1
0x46
02
Sub-function Code
1
0x04
03
New Address
1
1 to 247
04 - 06
Reserved
3
0x00 0x00 0x00
Response
Byte
Description
Length
(in Bytes)
Value
00
Address
1
1 to 247
01
Function Code
1
0x46
02
Sub-function Code
1
0x04
03
New Address
1
0:
OK
Others: Error
04 - 06
Reserved
3
0x00 0x00 0x00
Error Response
Byte
Description
Length
(in Bytes)
Value
00
Address
1
1 to 247
01
Function Code
1
0xC6
02
Exception Code
1
Refer to the Modbus standard for more
details.