PIR-130-AC/DC User Manual
Ver. 1.4.0, 2020/07/28
85/93
3.8
15 (0x0F) Write Multiple Coils
This function code is used to write multiple values.
Request
Byte
Description
Length
(in Bytes)
Value
00
Address
1
1 to 247
01
Function Code
1
0x0F
02 - 03
Starting Address
2
Refer to the Modbus Address Mapping
Table for details.
04 - 05
Number of
Addresses
Requested
2
0x0001 to *N
06
Byte Count
1
*N/8
07
The values to be
written
1
A bit corresponds to a channel. If the bit is
1, it denotes that the channel that was set
is ON. If the bit is 0, it denotes that the
channel that was set is OFF.
*N = Number of addresses requested
Response
Byte
Description
Length
(in Bytes)
Value
00
Address
1
1 to 247
01
Function Code
1
0x0F
02 - 03
Starting 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
0x8F
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 ...