Force/Write Single Coil (05 Hex) - Danfoss VLT HVAC Basic Drive FC 101 Design Manual

Hide thumbs Also See for VLT HVAC Basic Drive FC 101:
Table of Contents

Advertisement

RS485 Installation and Set-...
Field name
Slave address
01 (frequency converter address)
Function
01 (read coils)
Starting address HI
00
Starting address LO
20 (32 decimals) coil 33
Number of points HI
00
Number of points LO
10 (16 decimals)
Error check (CRC)
Table 7.22 Query
Response
The coil status in the response telegram is packed as 1 coil
per bit of the data field. Status is indicated as: 1 = ON; 0 =
OFF. The lsb of the first data byte contains the coil
addressed in the query. The other coils follow toward the
high-order end of this byte, and from low order to high
order in subsequent bytes.
If the returned coil quantity is not a multiple of 8, the
remaining bits in the final data byte are padded with
values 0 (toward the high-order end of the byte). The byte
count field specifies the number of complete bytes of data.
Field name
Slave address
01 (frequency converter address)
Function
01 (read coils)
Byte count
02 (2 bytes of data)
Data (coils 40–33)
07
Data (coils 48–41)
06 (STW = 0607hex)
Error check (CRC)
Table 7.23 Response
NOTICE
Coils and registers are addressed explicitly with an off-
set of -1 in Modbus.
For example, coil 33 is addressed as coil 32.

7.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).
MG18C702
Design Guide
Example (hex)
Example (hex)
Danfoss A/S © 04/2016 All rights reserved.
Field name
Slave address
01 (Frequency converter address)
Function
05 (write single coil)
Coil address HI
00
Coil address LO
40 (64 decimal) Coil 65
Force data HI
FF
Force data LO
00 (FF 00 = ON)
Error check (CRC)
Table 7.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 7.25 Response
Example (hex)
Example (hex)
01
05
7
FF
00
00
01
93
7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vlt fc 101

Table of Contents