ICP DAS USA tET Series User Manual page 125

Ethernet i/o modules
Hide thumbs Also See for tET Series:
Table of Contents

Advertisement

Ethernet I/O Modules
Example: Function 05 (0x05), Write DO
Sets Channel DO1 to ON.
[Leading 6 bytes]
Command:
01 02 00 00 00 06
[Leading 6 bytes]
Response:
01 02 00 00 00 06
Here is the comprehensive explanation of Modbus Commands and Responses:
[Leading 6 bytes]
Byte 00-03
Byte 04-05
Command:
[Request]
Byte 00
Byte 01
Byte 02-03
Byte 04-05
[Leading 6 bytes]
Byte 00-03
Byte 04-05
Response:
[Response]
Byte 00
Byte 01
Bytes 02-03
Bytes 04-05
ICP DAS CO., LTD.
[Request]
01 05 00 01 FF 00
[Response]
01 05 00 01 FF 00
01 02 00 00 (Message number)
00 06 (Number of bytes used for the request)
01 (Net ID)
05 (Function Code)
00 00 (DO Address)
FF 00 (Sets the output to ON)
01 02 00 00 (Message Number)
00 06 (Number of bytes used for the response)
01 (Net ID)
05 (Function Code)
00 01 (DO Address)
FF 00 (The DO has been set to ON)
tET/tPET IO Series User Manual, Ver. 2.4, Sep. 2023, P125

Advertisement

Table of Contents
loading

Table of Contents