Force/Write Multiple Coils (0F Hex); Read Holding Registers (03 Hex) - Danfoss VLT Compressor Drive CDS 803 Design Manual

Hide thumbs Also See for VLT Compressor Drive CDS 803:
Table of Contents

Advertisement

RS485 Installation and Set-...
Response
The normal response is an echo of the query, returned
after the coil state has been forced.
Field name
Slave address
Function
Force data HI
Force data LO
Quantity of coils HI
Quantity of coils LO
Error check (CRC)
Table 7.25 Response

7.10.3 Force/Write Multiple Coils (0F hex)

Description
This function forces each coil in a sequence of coils to
either on or off. When broadcasting, the function forces
the same coil references in all attached slaves.
Query
The query telegram specifies the coils 17–32 (speed
setpoint) to be forced.
NOTICE
Coil addresses start at 0, that is, coil 17 is addressed as
16.
Field name
Example (hex)
Slave address
01 (frequency converter address)
Function
0F (write multiple coils)
Coil address HI
00
Coil address LO
10 (coil address 17)
Quantity of coils HI
00
Quantity of coils LO
10 (16 coils)
Byte count
02
Force data HI
20
(Coils 8–1)
Force data LO
00 (reference=2000 hex)
(Coils 16–9)
Error check (CRC)
Table 7.26 Query
MG18N202
Design Guide
Example (hex)
01
05
FF
00
00
01
Danfoss A/S © 12/2015 All rights reserved.
Response
The normal response returns the slave address, function
code, starting address, and quantity of coils forced.
Field name
Example (hex)
Slave address
01 (frequency converter address)
Function
0F (write multiple coils)
Coil address HI
00
Coil address LO
10 (coil address 17)
Quantity of coils HI
00
Quantity of coils LO
10 (16 coils)
Error check (CRC)
Table 7.27 Response

7.10.4 Read Holding Registers (03 hex)

Description
This function reads the contents of holding registers in the
slave.
Query
The query telegram specifies the starting register and
quantity of registers to be read. Register addresses start at
0, that is, registers 1–4 are addressed as 0–3.
Example: Read parameter 3-03 Maximum Reference, register
03030.
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 – (parameter 3-03 Maximum
Reference is 32 bits long, that is, 2
registers)
Error check (CRC)
Table 7.28 Query
Response
The register data in the response telegram 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 the 2nd contains the low-order
bits.
Example: hex 000088B8=35.000=35 Hz.
7
7
63

Advertisement

Table of Contents
loading

Table of Contents