Appendix A. Modbus Communication
A_
A.2
Message Format in RTU Mode
Communication data structure
Start
No input data for more than 10ms
Communication address
Slave address: 8-bit binary address
Function code
Function code: 8-bit binary address
Data (n-1)
Data content
n × 8 bit binary data, n<=202
…….
Data 0
Low byte of CRC check
CRC check sum
High byte of CRC check
End
CRC check sum is composed of two 8-bit binary data
Communication address
The range of a valid communication address is 0
~
254. The communication address 0 indicates
to broadcast the message to all slaves and the slaves which have received the broadcast
message do not make any response. If the communication address is not 0, slaves will reply to
master as normal. For example, to communication with the slave with the communication
address of 16, the address of the slave is set as 0x10 since decimal 16 is equal to hexadecimal
10.
Function code and data
The data format is determined by function codes.
For example, to read the data of two continuous addresses with 0x0000 as start address in
DVP15MC11T, the address of DVP15MC11T is 1, 0x0000 is the Modbus address of %MW0 in
DVP15MC11T PLC.
The data in the communication cable and the explanation on them are shown below:
PC→DVP15MC11T: “
01 03 00 00 00 02 C4 0B”
D
VP15MC11T→PC: “
01 03 04 00 01 02 00 2A 32”
Request message:
Field name
Character
Start
No input data for more than 10ms
Communication address
01
Function code
03
High byte of Modbus address
00
Low byte of Modbus address
00
Read high byte of data number
00
Read low byte of data number
02
Low byte of CRC check sum
C4
High byte of CRC check sum
0B
End
No input data for more than 10ms
A-5
Содержание DVP15MC11T
Страница 9: ...Memo viii...
Страница 15: ...DVP15MC11T Operation Manual _2 MEMO 2 4...
Страница 71: ...DVP15MC11T Operation Manual _7 Memo 7 10...
Страница 81: ...DVP15MC11T Operation Manual _8 Timing Chart F_TRG_CLK F_TRG_Q 8 10...
Страница 158: ...Chapter 8 Logic Instructions 8_ The program 1 ASIN EN ENO In Out ASIN_EN ASIN_In Out1 8 87...
Страница 213: ...DVP15MC11T Operation Manual _8 The program 1 LIMIT EN ENO MN Out MX In LIMIT_EN LIMIT_MN LIMIT_MX LIMIT_In Out1 8 142...
Страница 216: ...Chapter 8 Logic Instructions 8_ The program 1 BAND EN ENO MN Out MX In BAND_EN BAND_MN BAND_MX BAND_In Out1 8 145...
Страница 249: ...DVP15MC11T Operation Manual _8 8 178...
Страница 285: ...DVP15MC11T Operation Manual _8 Memo 8 214...
Страница 286: ...9 Chapter 9 Introductions of Axis Parameters Table of Contents 9 1 Description of Axis Parameters 9 2 9 1...
Страница 323: ...DVP15MC11T Operation Manual 10 MEMO 10 34...
Страница 549: ...DVP15MC11T Operation Manual A MEMO A 16...
Страница 571: ...DVP15MC11T Operation Manual C Memo C 10...
Страница 572: ...D Appendix D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2 D 1...