![ICP DAS USA PETL Series User Manual Download Page 98](http://html1.mh-extra.com/html/icp-das-usa/petl-series/petl-series_user-manual_3886670098.webp)
Ethernet I/O Modules
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 98
06(0x06) Preset a Single Register (Write AO)
This function code is used to set a specific holding register 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
0x06
02-03
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
Register Value
2 Bytes
Register Value
Byte 04 = high byte
Byte 05 = low byte
[Response]
Byte
Description
Size
Value
00
Net ID (Station Number)
1 Byte
1 to 247
01
Function Code
1 Byte
0x06
02-03
AO Address
2 Bytes
The value is the same as Bytes 02-03 of the
Request
04-05
Register Value
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
0x86
02
Exception Code
1 Byte
Refer to the Modbus Standard
Specifications for more details.