The normal response is an echo of the query, returned after the coil state has been forced.
Field Name
Slave address
Function
Coil Address HI
Coil Address LO
Data HI
Data LO
Error Check (CRC)
5.5.3 Force/Write Multiple Coils (0F
5
Description
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.
Query
The query message specifies the coils 17 to 32 (speed set-point) to be forced. Coil addresses start at zero, i.e. coil 17 is addressed as 16.
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 10-9)
Error Check (CRC)
Response
The normal response returns the slave address, function code, starting address, and quantity of coils forced.
Field Name
Slave address
Function
Coil Address HI
Coil Address LO
Quantity of coils HI
Quantity of coils LO
Error Check (CRC)
5.5.4 Read Holding Registers (03
Description
This function reads the content of holding registers in the slave.
Query
The query message specifies the starting register and quantity to be read. Register addresses start at zero, i.e. registers 1-4 are addressed as 0-3.