Field name
Example (hex)
Slave address
01
Function
03 (Read holding registers)
Starting address HI
0B (Register address 3029)
Starting address LO
D5 (Register address 3029)
Number of points HI
00
Number of points LO
02 – (
is 32 bits long, that is, 2
registers)
Error check (CRC)
–
Table 3.18 Query
Response
The register data in the response message is packed as 2
bytes per register, with the binary contents right justified
within each byte. For each register, the 1st byte contains
the high-order bits, and the2nd contains the low-order
bits.
Example: hex 000088B8=35.000=35 Hz.
Field name
Example (hex)
Slave address
01
Function
03
Byte count
04
Data HI (register 3030)
00
Data LO (register 3030)
16
Data HI (register 3031)
E3
Data LO (register 3031)
60
Error check (CRC)
–
Table 3.19 Response
3.10.2 Preset Single Register (06 hex)
Description
This function presets a value into a single holding register.
Query
The query message specifies the register reference to be
preset. Register addresses start at 0, that is, register 1 is
addressed as 0.
Example: Write to
parameter 1-00 Configuration Mode
,
register 1000.
Field name
Example (hex)
Slave address
01
Function
06
Register address HI
03 (Register address 999)
Register address LO
E7 (Register address 999)
Preset data HI
00
Preset data LO
01
Error check (CRC)
–
Table 3.20 Query
Response
The normal response is an echo of the query, returned
after the register contents have been passed.
Field name
Example (hex)
Slave address
01
Function
06
Register address HI
03
Register address LO
E7
Preset data HI
00
Preset data LO
01
Error check (CRC)
–
Table 3.21 Response
3.10.3 Preset Multiple Registers (10 hex)
Description
This function presets values into a sequence of holding
registers.
Query
The query message specifies the register references to be
preset. Register addresses start at 0, that is, register 1 is
addressed as 0. Example of a request to preset 2 registers
(set
parameter 1-24 Motor Current
to 738 (7.38 A)):
Field name
Example (hex)
Slave address
01
Function
10
Starting address HI
04
Starting address LO
07
Number of registers HI
00
Number of registers LO
02
Byte count
04
Write data HI
(Register 4: 1049)
00
Write data LO
(Register 4: 1049)
00
Write data HI
(Register 4: 1050)
02
Write data LO
(Register 4: 1050)
E2
Error check (CRC)
–
Table 3.22 Query
Response
The normal response returns the slave address, function
code, starting address, and quantity of registers preset.
RS485 Installation and Set-...
Programming Guide
MG03N202
Danfoss A/S © 11/2015 All rights reserved.
29
3
3