EasyManua.ls Logo

Xinje DS5K Series

Xinje DS5K Series
236 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Function code 03H: read register data
For example: read the U0-05 register address H1005 (bus voltage).
RTU mode:
Inquiry information format
Response message format
Address
01H
Address
01H
Function code
03H
Function code
03H
register address
10H
Byte quantity
02H
05H
register quantity
00H
Data content
01H
01H
34H
CRC CHECK Low
90H
CRC CHECK Low
B8H
CRC CHECK High
CBH
CRC CHECK High
03H
Function code06H: write the data in the register
For example: write 300 rpm to the address of P3-18 register of inching speed.
RTU mode:
Inquiry information format
Response message format
Address
01H
Address
01H
Function code
06H
Function code
06H
register address
03H
register address
03H
12H
12H
Data content
01H
Data content
01H
2CH
2CH
CRC CHECK Low
29H
CRC CHECK Low
29H
CRC CHECK High
C6H
CRC CHECK High
C6H
4. Parity code
RTU mode: double byte hexadecimal number.
The CRC field is a two-byte, 16-bit binary value. It is calculated by the sender and added to the
message; when it is added, it is first the low byte and then the high byte, so the high byte of CRC is the
last byte of the sent message. The receiving device recalculates the CRC of the received message and
compares it with the value in the received CRC field. If the two values are different, there is an error in
the received message, discards the message frame, makes no response, and continues to receive the
data of the next frame. Refer to the description of Modbus protocol for CRC verification calculation
method.
tudonghoatoancau.com

Table of Contents

Related product manuals