![ICP DAS USA PETL Series Скачать руководство пользователя страница 102](http://html1.mh-extra.com/html/icp-das-usa/petl-series/petl-series_user-manual_3886670102.webp)
Ethernet I/O Modules
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 102
16(0x10) Preset Multiple Registers (Write AOs)
This function code is used to set multiple holding registers that are used to store the configuration
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
0x10
02-03
Starting AO Address
2 Bytes
Refer to the Modbus Address Table for the
PETL/tET/tPET series.
(
Section 6.3 Modbus Register Table
)
Byte 02 = high byte
Byte 03 = low byte
04-05
Number of 16-bit Registers
(Channels)
2 Bytes
Word Count.
Byte 04 = high byte
Byte 05 = low byte
06
Byte Count
1 Byte
n =Points x 2 Bytes
07
Register Values
n Bytes
Register Values.
n= 2; Byte 03 = high byte
Byte 04 = low byte
.......
n= m; Byte 03 = high byte
Byte 04 = low byte
.......
Byte m+1 = high byte
Byte m+2 = low byte
[Response]
Byte
Description
Size
Value
00
Net ID (Station Number)
1 Byte 1 to 247
01
Function Code
1 Byte 0x10
02-03
Starting AO Address
2 Bytes The value is the same as Bytes 02-03 of the Request
04-05
Number of 16-bit Registers
(Channels)
2 Bytes 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 1 to 247
01
Function Code
1 Byte 0x90
02
Exception Code
1 Byte Refer to the Modbus Standard Specifications for
more details.