Force/Write Single Coil (05 Hex); Force/Write Multiple Coils (0F Hex); Read Holding Registers (03 Hex) - Danfoss VLT Midi Drive FC 280 Design Manual

Hide thumbs Also See for VLT Midi Drive FC 280:
Table of Contents

Advertisement

RS485 Installation and Set-...

5.10.2 Force/Write Single Coil (05 hex)

Description
This function forces the coil to either ON or OFF. When
broadcast, the function forces the same coil references in
all attached slaves.
Query
The query telegram specifies the coil 65 (parameter write
control) to be forced. Coil addresses start at 0, that is, coil
65 is addressed as 64. Force data = 00 00 hex (OFF) or FF
00 hex (ON).
5
5
Field name
Slave address
Function
Coil address HI
Coil address LO
Force data HI
Force data LO
Error check (CRC)
Table 5.24 Query
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 5.25 Response

5.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.
66
®
VLT
Midi Drive FC 280
Example (hex)
01 (Frequency converter address)
05 (write single coil)
00
40 (64 decimal) Coil 65
FF
00 (FF 00 = ON)
Example (hex)
01
05
FF
00
00
01
Danfoss A/S © 03/2016 All rights reserved.
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 5.26 Query
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 5.27 Response

5.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 5.28 Query
MG07B102

Advertisement

Table of Contents
loading

Table of Contents