Appendix B Modbus TCP Communication
B_
Byte NO.
Name
Byte
Byte5
Low byte
Byte6
Modbus ID
Single byte
Byte7
0x80+ function code
Single byte
Byte8
Exception response code
Single byte
Example
To read the state value of %QX2.0~%QX3.4 in DVP15MC11T via function code 02. 0xA010 is
the address of %QX2.0. Suppose that %QX2.0~%QX2.7=1000 0001
and %QX3.0~%QX3.4=10001.
Request message: 00 00 00 00 00 06 01 02 A0 10 00 0D
Response message: 00 00 00 00 00 06 01 02 02 81 11
Function code: 0x05 to write one single bit register value
Request 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
Modbus address of a bit register
High byte
Byte9
Low byte
Byte10
The value written in the bit 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
B-9
Summary of Contents for DVP15MC11T
Page 9: ...Memo viii...
Page 15: ...DVP15MC11T Operation Manual _2 MEMO 2 4...
Page 71: ...DVP15MC11T Operation Manual _7 Memo 7 10...
Page 81: ...DVP15MC11T Operation Manual _8 Timing Chart F_TRG_CLK F_TRG_Q 8 10...
Page 158: ...Chapter 8 Logic Instructions 8_ The program 1 ASIN EN ENO In Out ASIN_EN ASIN_In Out1 8 87...
Page 249: ...DVP15MC11T Operation Manual _8 8 178...
Page 285: ...DVP15MC11T Operation Manual _8 Memo 8 214...
Page 323: ...DVP15MC11T Operation Manual 10 MEMO 10 34...
Page 549: ...DVP15MC11T Operation Manual A MEMO A 16...