![ICP DAS USA PETL Series Скачать руководство пользователя страница 100](http://html1.mh-extra.com/html/icp-das-usa/petl-series/petl-series_user-manual_3886670100.webp)
Ethernet I/O Modules
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 100
15(0x0F) Force Multiple Coils (Write DOs)
This function code is used to set multiple coils status or write multiple digital output values for the
PETL/tET/tPET module.
[Request]
Byte
Description
Size
Value
00
Net ID (Station Number)
1 Byte
1 to 247
01
Function Code
1 Byte
0x0F
02-03
Starting DO Address
2 Bytes
Refer to the Modbus Address Table for
PETL/tET/tPET series.
(
Section 6.3 Modbus Register Table
)
Byte 02 = high byte
Byte 03 = low byte
04-05
Number of Output Channels
(Points)
2 Bytes
Byte 04 = high byte
Byte 05 = low byte
06
Byte count
1 Byte
n = (7)/8
07
Output value
n Bytes
A bit corresponds to a channel. A value of 1
for a bit denotes that the channel is ON,
while a value of denotes that the channel is
OFF.
n= 1; Byte 07 = data bit 7 to 0
n= 2; Byte 08 = data bit 15 to 8
.......
n= m; Byte m+6 = data bit (8m-1)to 8(m-1)
[Response]
Byte
Description
Size
Value
00
Net ID (Station Number)
1 Byte
1 to 247
01
Function Code
1 Byte
0x0F
02-03
Starting DO Address
2 Bytes
The value is the same as Bytes 02-03 of the
Request
04-05
Number of Output Channels
(Points)
2Bytes
The value is the same as Bytes 04-05 of the
Request
[Error Response]
Byte
Description
Size
Value
00
Net ID (Station Number)
1 Byte
1to 247
01
Function Code
1 Byte
0x8F
02
Exception Code
1 Byte
Refer to the Modbus Standard
Specifications for more details.