I-7242D user manual
I-7242D DeviceNet/Modbus RTU Gateway User’s Manual, July 2006, Version 1.1 110/124
8.5
“Force Multiple Coils” Command (0x0F)
Forces each coil in a sequence of coils to either ON or OFF. The query
message specifies the coil references to be forced. The normal response
returns the slave address, function code, starting address, and quantity of
registers preset.
Frame Field
Description
Coil Address (Hi)
Coil Address (Lo)
Address of 1
st
output coil
Quantity of Coils (Hi)
Quantity of Coils (Lo)
Number of output coils
Byte Count
Number of data bytes=(number of output coils + 7) / 8
Force Data (Coils: H-L)(L)
…..
Query
Force Data (Coils: H-L)(H)
Byte swap=”Swap 1 byte”
Data length=Value of the “Byte Count” field
Data location=Address in the gateway’s “DO” memory
Coil Address (MSB)
Coil Address (LSB)
Address of 1
st
output coil
Quantity of Coils (MSB)
Response
Quantity of Coils (LSB)
Number of output coils