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 first byte contains
the high-order bits and the second 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 5.29 Response
5.10.5 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
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 5.30 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 5.31 Response
5.10.6 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
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 5.32 Query
Response
The normal response returns the slave address, function
code, starting address, and quantity of registers preset.
Field name
Example (hex)
Slave address
01
Function
10
Starting address HI
04
Starting address LO
19
Number of registers HI
00
Number of registers LO
02
Error check (CRC)
–
Table 5.33 Response
RS485 Installation and Set-...
Design Guide
MG06B402
Danfoss A/S © 09/2014 All rights reserved.
73
5
5