Force/Write Single Coil (05 Hex); Force/Write Multiple Coils (0F Hex) - Danfoss VLT Micro Drive FC 51 Design Manual

Hide thumbs Also See for VLT Micro Drive FC 51:
Table of Contents

Advertisement

RS-485 Installation and Set...
Field Name
Slave Address
Function
Starting Address HI
Starting Address LO
No. of Points HI
No. of Points LO
Error Check (CRC)
Table 8.22
Response
The coil status in the response message is packed as one
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 eight, the
remaining bits in the final data byte is padded with zeros
(toward the high order end of the byte). The Byte Count
8
8
field specifies the number of complete bytes of data.
Field Name
Slave Address
Function
Byte Count
Data (Coils 40-33)
Data (Coils 48-41)
Error Check (CRC)
Table 8.23
NOTE
Coils and registers are addressed explicit with an off-set of
-1 in Modbus.
I.e. Coil 33 is addressed as Coil 32.

8.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 message specifies the coil 65 (parameter write
control) to be forced. Coil addresses start at zero, that is,
coil 65 is addressed as 64. Force Data=00 00HEX (OFF) or
FF 00HEX (ON).
82
Buy: www.ValinOnline.com | Phone 844-385-3099 | Email: CustomerService@valin.com
®
VLT
Micro Drive FC 51 Design Guide
Example (HEX)
01 (frequency converter address)
01 (read coils)
00
20 (32 decimals) Coil 33
00
10 (16 decimals)
-
Example (HEX)
01 (frequency converter address)
01 (read coils)
02 (2 bytes of data)
07
06 (STW=0607hex)
-
MG02K202 - VLT
Field Name
Slave Address
Function
Coil Address HI
Coil Address LO
Force Data HI
Force Data LO
Error Check (CRC)
Table 8.24
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 8.25

8.10.3 Force/Write Multiple Coils (0F HEX)

This function forces each coil in a sequence of coils to
either ON or OFF. When broadcast the function forces the
same coil references in all attached slaves.
The query message specifies the coils 17 to 32 (speed set-
point) to be forced.
Field Name
Slave Address
Function
Coil Address HI
Coil Address LO
Quantity of Coils HI
Quantity of Coils LO
Byte Count
Force Data HI
(Coils 8-1)
Force Data LO
(Coils 16-9)
Error Check (CRC)
Table 8.26
Response
The normal response returns the slave address, function
code, starting address, and quantity of coils forced.
®
is a registered Danfoss trademark
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
-
Example (HEX)
01 (frequency converter address)
0F (write multiple coils)
00
10 (coil address 17)
00
10 (16 coils)
02
20
00 (ref.=2000 hex)
-

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VLT Micro Drive FC 51 and is the answer not in the manual?

Questions and answers

Table of Contents