Appendix A. Modbus Communication
A-7
A_
return reg_crc; // the value that sent back to the CRC register finally
}
A.3
Modbus Function Codes Supported
The function codes which are supported by DVP-15MC series motion controller are listed in the
following table when COM2 port is possessed by the motion control module.
Function
code
Explanation
Available register
16#01
Read output bit register values; the data of 256 bits at
most can be read at a time
%QX
16#02
Read bit register values; the data of 256 bits at most
can be read at a time
%IX,%QX
16#03
Read one single or multiple word register value; the
data of 100 words at most can be read at a time.
%MW,%QW,%IW
16#05
Write one single bit register value.
%QX
16#06
Write one single word register value.
%MW,%QW
16#0F
Write multiple bit register value; the data of 256 bits at
most can be written at a time.
%QX
16#10
Write multiple word register value; the data of 100
words at most can be written at a time.
%MW,%QW
A.4
Modbus Exception Response Code Supported
Exception response codes supported by DVP-15MC series motion controller are listed in the
following table.
Exception
response
code
Explanation
16#01
Illegal command codes: the command codes in the command message
which PLC receives are invalid.
16#02
Illegal register address: the address in the command message received is
invalid.
16#03
Illegal register value: the data in the command message received by PLC
are invalid.
16#07
Check sum fault
Check if the check sum is correct.
Illegal command message
Too short command message
The length of the command message exceeds the valid range.
Содержание DVP-15MC Series
Страница 16: ...1 1 1 Preface Table of Contents 1 1 Explanation of Symbols in This Manual 1 2 1 2 Revision History 1 3...
Страница 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Страница 20: ...2 1 2 Overview Table of Contents 2 1 Product Description 2 2 2 2 Functions 2 2 2 3 Profile and Components 2 3...
Страница 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Страница 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Страница 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Страница 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Страница 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Страница 433: ...9 1 9 Chapter 9 Introductions of Axis Parameters Table of Contents 9 1 Description of Axis Parameters 9 2...
Страница 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Страница 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Страница 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Страница 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Страница 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...