EasyManua.ls Logo

RuiDeng DPH5005 - Data Area and Register Map

RuiDeng DPH5005
14 pages
Print Icon
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...
1.3 Data area:
The data bytes contain any additional information that the slave will need to perform the function. For example,
function code 03 will request the slave to read holding registers and respond with their contents. The data field
must contain the information telling the slave which register to start at and how many registers to read.
In the Response, the data bytes contain the data collected from the slave, such as register values or status. If an
error occurs, the function code is modified to indicate that the response is an error response, and the data bytes
contain a code that describes the error.
The 3 MODBUS RTU Function Codes used by this device: (ONLY these three codes)
0x03 Read Holding Register(s):
Address
code
Function
code
Register starting
address
Number of register addresses
n ( 1 ~ 32 )
CRC Check
1 Bytes
1 Bytes
2 Bytes
2 Bytes
2 Bytes
0x03 Read Holding Register(s) function returns the following format.
Address code
Function
code
Returns the
number of bytes
2*n
Register data
CRC Check
1 Bytes
1 Bytes
1 Bytes
2*n Bytes
2 Bytes
0x06 Write Single Register.
Address code
Function code
Register address
Register data
CRC Check
1 Bytes
1 Bytes
2 Bytes
2 Bytes
2 Bytes
0x06 Write Single Register function returns the following format.
Address code
Function code
Register address
Register data
CRC Check
1 Bytes
1 Bytes
2 Bytes
2 Bytes
2 Bytes
0x10 Write Multiple Registers.
Address
code
Function
code
Register
starting
address
Number of
register
addresses
n ( 1 ~ 32 )
Number of
bytes written
2*n
Register
data
CRC
Check
code
1 Bytes
1 Bytes
2 Bytes
2 Bytes
1 Bytes
2*n Bytes
2 Bytes
0x10 Function: Returns the following format.
Address code
Function code
Register starting
address
Number of register
address
n ( 1 ~ 32 )
CRC Check code
1 Bytes
1 Bytes
2 Bytes
2 Bytes
2 Bytes
Register Map for this device.
Function
Description
Number of
bytes
Decimal
places
UNIT
Read/Write
Register address
U-SET
Voltage setting
2
2
V
R/W
0000H
I-SET
Current setting
2
3
A
R/W
0001H
UOUT
Output voltage display value
2
2
V
R
0002H
IOUT
Output current display value
2
2
A
R
0003H
POWER
Output power display value
2
1 or 2
W
R
0004H
UIN
Input voltage display value
2
2
V
R
0005H
LOCK
Key lock
2
0
-
R/W
0006H
PROTECT
Protection status
2
0
-
R
0007H
CV/CC
Constant Voltage / Constant
Current status
2
0
-
R
0008H
ONOFF
Switch output state
2
0
-
R/W
0009H
B_LED
Backlight brightness level
2
0
-
R/W
000AH
MODEL
Product model
2
0
-
R
000BH
VERSON
Firmware Version
2
0
-
R
000CH

Related product manuals