PIR-130-AC/DC User Manual
Ver. 1.4.0, 2020/07/28
83/93
3.6
05 (0x05) Write Single Coil
This function code is used to write a value to address 0xxxx.
Request
Byte
Description
Length
(in Bytes)
Value
00
Address
1
1 to 247
01
Function Code
1
0x05
02 - 03
Starting Address
2
Refer to the Modbus Address Mapping
Table for details.
04 - 05
Value to be written
2
A value of 0xFF00 will set the output to
ON. A value of 0x0000 will set it to OFF. All
other values are invalid and will not affect
the coil.
Response
Byte
Description
Length
(in Bytes)
Value
00
Address
1
1 to 247
01
Function Code
1
0x05
02 - 03
Requested Address
2
The value is the same as bytes 02 and 03
of the Request
04 - 05
Value from the
Requested Address
2
The value is the same as bytes 04 and 05
of the Request
Error Response
Byte
Description
Length
(in Bytes)
Value
00
Address
1
1 to 247
01
Function Code
1
0x85
02
Exception Code
1
Refer to the Modbus standard for more
details.
Содержание PIR-130-AC
Страница 1: ...PIR 130 AC DC User Manual Ver 1 4 0 2020 07 28 1 93 PIR 130 AC DC User Manual ...
Страница 11: ...PIR 130 AC DC User Manual Ver 1 4 0 2020 07 28 11 93 1 4 Wiring Connections PIR 130 AC PIR 130 DC ...
Страница 15: ...PIR 130 AC DC User Manual Ver 1 4 0 2020 07 28 15 93 1 7 Hardware Overview Front Rear ...
Страница 37: ...PIR 130 AC DC User Manual Ver 1 4 0 2020 07 28 37 93 Related Commands Section 2 4 AA6 ...