Appendix B
B-10 DVP-MC operating manual
Abnormality response message data structure:
Data order Name Byte
Byte0 High byte
Byte1
Transaction identifier
Low byte
Byte2 High byte
Byte3
Protocol identifier
Low byte
Byte4 High byte
Byte5
Modbus data length
Low byte
Byte6 Modbus ID Single byte
Byte7 0x80+ function code Single byte
Byte8 Abnormality response code Single byte
Note: Suppose the number of the bit device to be read in DVP10MC11T in request message is A (Byte 10,
Byte 11), If A is divided by 8 with no remainder, the quotient is B; otherwise, the quotient is B +1. B or B+1
is the Byte number (Byte 8) of bit devices in response message.
The low bit(Byte 9)of the state value of the read bit device in response message is the state value of the
start address of bit devices in DVP10MC11T.
¾ Example: To read the state value of M0~M19 in DVP10MC11T via function code 02
The address of M0 is 0x0800; suppose M7...M0=1000 0001, M15...M8=0001 1000, M19...M16=0110
Request message: “ 00 00 00 00 00 06 01 02 08 00 00 14”
Response message: “00 00 00 00 00 06 01 02 03 81 18 06”
Function code: 0x05 to write one single bit-device register value
Request message data structure:
Data order Name Byte
Byte0 High byte
Byte1
Transaction identifier
Low byte
Byte2 High byte
Byte3
Protocol identifier
Low byte
Byte4 High byte
Byte5
Modbus data length
Low byte
Byte6 Modbus ID Single byte
Byte7 Function code Single byte
Byte8 High byte
Byte9
Modbus address of the bit device
Low byte
Comments to this Manuals