7.10.2 Force/Write Single Coil (05 HEX)
Description
This function forces a writes a 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, i.e. coil 65 is addressed as 64. Force Data
= 00 00HEX (OFF) or FF 00HEX (ON).
Field Name Example (HEX)
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) -
Response
The normal response is an echo of the query, returned after the coil state has been forced.
Field Name Example (HEX)
Slave Address 01
Function 05
Force Data HI FF
Force Data LO 00
Quantity of Coils HI 00
Quantity of Coils LO 01
Error Check (CRC) -
VLT
®
AQUA Drive Design Guide 7 RS-485 Installation and Set-up
MG.20.N5.02 - VLT
®
is a registered Danfoss trademark
185
7