Delta D25886 User Manual Page 284

  • Download
  • Add to my manuals
  • Print
  • Page
    / 339
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 283
Appendix A
DVP-MC operating manual A-21
Note:
The value of Byte 2 in response message is determined by Byte 4 and Byte 5. For example, the
number of the read bit device in request message is A. Dividing A by 8 produces B. If the quotient
is an integer, the byte number in response message is B; if the quotient is not an integer, the byte
number will be the integer part of the quotient plus 1.
¾ Example: Read the state value of M0~M19 in DVP10MC11T via function code 02. M0 address is 0x0800.
Suppose M0~M7=1000 0001, M8~M15=0001 1000, M16~M19=0110.
Request message: “01 02 08 00 00 14 7A 65”
Response message: “01 02 03 81 18 06 A2 64”
Function code: 0x05 to set one single bit-device register value
Data structure of request message:
Data order Name Byte
Byte0
Modbus ID
Single byte
Byte1
Function code
Single byte
Byte2 High byte
Byte3
Modbus address of bit device
Low byte
Byte4 High byte
Byte5
The written value of bit device
Low byte
Byte6
Low byte of CRC check sum
Low byte
Byte7
High byte of CRC check sum
High byte
Data structure of response message:
Data order Name Byte
Byte0
Modbus ID
Single byte
Byte1
Function code
Single byte
Byte2 High byte
Byte3
Modbus address of bit device
Low byte
Byte4 High byte
Byte5
The written value of bit device
Low byte
Byte6
Low byte of CRC check sum
Low byte
Byte7
High byte of CRC check sum
High byte
Page view 283
1 2 ... 279 280 281 282 283 284 285 286 287 288 289 ... 338 339

Comments to this Manuals

No comments