Appendix B Modbus TCP Communication
B
Byte NO. Name Byte
Byte6
Modbus ID Single byte
Byte7
Function code Single byte
Byte8
The address of a word register where to write
value
High byte
Byte9
Low byte
Byte10
The value written in the word register
High byte
Byte11
Low byte
Response message data structure:
Byte NO. Name Byte
Byte0
Transaction identifier
High byte
Byte1
Low byte
Byte2
Protocol identifier
High byte
Byte3
Low byte
Byte4
Modbus data length
High byte
Byte5
Low byte
Byte6
Modbus ID Single byte
Byte7
Function code Single byte
Byte8
The address of a word register where to write a
value
High byte
Byte9
Low byte
Byte10
The value written in a word register
High byte
Byte11
Low byte
Exception response message data structure:
Byte NO. Name Byte
Byte0
Transaction identifier
High byte
Byte1
Low byte
Byte2
Protocol identifier
High byte
Byte3
Low byte
Byte4
Modbus data length
High byte
Byte5
Low byte
Byte6
Modbus ID Single byte
Byte7
0x80+ function code Single byte
Byte8
Exception response code Single byte
B-5