Delta Electronics DVP15MC11T Operation Manual page 545

Table of Contents

Advertisement

DVP15MC11T Operation Manual
message is A. Dividing A by 8 produces B. If the quotient is an integer, the number of bytes of
bit registers in the response message is B. Otherwise the number of bytes will be B + 1.
See the example below for details.
Example
Read the state value of %QX2.0~%QX3.4 in DVP15MC11T via function code 01. The address
of %QX2.0 is 0xA010. Suppose the value of %QX2.0~%QX2.7 is 1000 0001 and
%QX3.0~%QX3.4 is 1 0001.
Request message: 01 01 A0 10 00 0D DE 0A
Response message: 01 01 02 81 11 19 A0
Function code 0x02 reads multiple bit register values
Data structure of a request message:
Byte NO.
Byte0
A
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6
Byte7
Data structure of a response message:
Byte NO.
Byte0
Byte1
Byte2
Byte3
...
Byte n
Byte n+1
Byte n+2
Data structure of an exception response message:
Byte NO.
Byte0
Byte1
Byte2
Byte3
Byte4
A-12
Modbus ID
Function code
The start address of DVP15MC11T bit registers
where to read the state
Read the number of bit registers.
Low byte of CRC check sum
High byte of CRC check sum
Name
Modbus ID
Function code
Read the number of bytes of bit registers.
Read the state value of the bit register.
Read the state value of the bit register.
Read the state value of the bit register.
Low byte of CRC check sum
High byte of CRC check sum
Name
Modbus ID
0x80+ Function code
Exception response code
Low byte of CRC check sum
High byte of CRC check sum
Name
Byte
Single byte
Single byte
High byte
Low byte
High byte
Low byte
Low byte
High byte
Byte
Single byte
Single byte
Single byte
Single byte
Single byte
Single byte
Low byte
High byte
Byte
Single byte
Single byte
Single byte
Low byte
High byte

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents