NOTICECoils and registers are addressed explicitly with an off-set of -1 in Modbus.i.e. Coil 33 is addressed as coil 32.5.10.2 Force/Write Single Coil (05 hex)DescriptionThis function forces the coil to either ON or OFF. Whenbroadcast, the function forces the same coil references inall attached slaves.QueryThe query message specifies the coil 65 (parameter writecontrol) to be forced. Coil addresses start at 0, that is, coil65 is addressed as 64. Force Data=00 00hex (OFF) or FF00hex (ON).Field name Example (hex)Slave address 01 (Frequency converter address)Function 05 (write single coil)Coil address HI 00Coil address LO 40 (64 decimal) Coil 65Force data HI FFForce data LO 00 (FF 00=ON)Error check (CRC) -Table 5.24 QueryResponseThe normal response is an echo of the query, returnedafter the coil state has been forced.Field name Example (hex)Slave address 01Function 05Force data HI FFForce data LO 00Quantity of coils HI 00Quantity of coils LO 01Error check (CRC) –Table 5.25 Response5.10.3 Force/Write Multiple Coils (0F hex)DescriptionThis function forces each coil in a sequence of coils toeither on or off. When broadcasting, the function forcesthe same coil references in all attached slaves.QueryThe query message specifies the coils 17 to 32 (speed set-point) to be forced.Field name Example (hex)Slave address 01 (frequency converter address)Function 0F (write multiple coils)Coil address HI 00Coil address LO 10 (coil address 17)Quantity of coils HI 00Quantity of coils LO 10 (16 coils)Byte count 02Force data HI(Coils 8-1)20Force data LO(Coils 16-9)00 (ref.=2000 hex)Error check (CRC) –Table 5.26 QueryResponseThe normal response returns the slave address, functioncode, 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 00Coil address LO 10 (coil address 17)Quantity of coils HI 00Quantity of coils LO 10 (16 coils)Error check (CRC) –Table 5.27 Response5.10.4 Read Holding Registers (03 hex)DescriptionThis function reads the contents of holding registers in theslave.QueryThe query message specifies the starting register andquantity of registers to be read. Register addresses start at0, that is, registers 1–4 are addressed as 0–3.Example: Read 3-03 Maximum Reference, register 03030.Field name Example (hex)Slave address 01Function 03 (Read holding registers)Starting address HI 0B (Register address 3029)Starting address LO D5 (Register address 3029)Number of points HI 00Number of points LO 02 - (3-03 Maximum Reference is 32 bitslong, i.e. 2 registers)Error xheck (CRC) –Table 5.28 QueryRS485 Installation and Set-... Design Guide72 Danfoss A/S © 09/2014 All rights reserved. MG06B40255