EasyManuals Logo

hpmont HD5L series User Manual

hpmont HD5L series
155 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
Page #139 background imageLoading...
Page #139 background image
Appendix B Communication Protocol Shenzhen Hpmont Technology Co., Ltd
130 HD5L Series Controller User Manual
MODBUS adopts “Big Endian” encoding mode, higher byte prior to lower byte at sending.
1. RTU mode
In the RTU mode, the idle time of frame head and frame tail passing bus should be not less than
3.5 bytes, and data checking relies on CRC-16. The whole information need be checked. The
concrete CRC checking is referred to the page 140.
Take RTU data for example: To read the slave internal register F00.08=1.500m/s of No. 1
address:
The command frame:
Address Parameter Register Address Read char no. Checksum
0x01 0x03 0x00 0x07 0x00 0x01 0x35 0xCB
The response frame:
Address Parameter Response Byte
Content of register Checksum
0x01 0x03 0x02 0x5 0xDC 0xBA 0x8D
2. ASCII mode
In ASCII mode, the frame head is “0x3A”, while the frame tail default is “0x0D”“0x0A” and the
frame tail can be set by the users. In ASCII mode, all the data bytes will be sent via ASCII code
except frame head and frame tail, higher 4-byte prior to lower 4-byte at sending. In ASCII mode,
data is 7-byte and for the “A”
“F” will adopt their uppercase of the ASCII code. The data adopts
LRC checking, covering the slave address and data. Checksum is the character of data that is
involved in checking and the complement code of carry bit.
Take ASCII data for example: Write 4000 (0x0FA0) to the internal register F00.07 of Slave 1.
LRC checking = the complement code of (0x01+0x41+0x00+0x07+0x0F+0xA0) =0x07
Frame
head
Address Code Register address Written content
LRC
checking
Frame tail
Character : 0 1 4 1 0 0 0 7 0 F A 0 0 8 CR
LF
ASCII 3A 30 31 34 31 30 30 30 37 30 46 41 30 30 38 0D 0A
5. Scaling of Drive Transmitting Values
Except the parameters of the remarks, all other function codes can define the scaling relationship
of the specified function code via referring the manuals minimum unit.
Remarks:
Communication data 0
2000 of F06.07, F13.04, F13.05, F13.07, F13.08, F13.10, F13.11,
F13.18 and F13.20 corresponds to data -1000
+1000.
Frame head
Frame tail
Data
Checking
Modbus data frame
ASCII mode
(0x0D,0x0A)
(0x3A)
Slave
address
Function
code

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the hpmont HD5L series and is the answer not in the manual?

hpmont HD5L series Specifications

General IconGeneral
Brandhpmont
ModelHD5L series
CategoryController
LanguageEnglish

Related product manuals