Chapter 11 RS485 Communication
11-2-8
11.2.6 Write Multiple Coils [0Fh]
 How to write multiple coil statuses on Modbus communication?
 Rewrite multiple consecutive coils.
 An example of changing the state of input terminals 1 to 7 of the inverter with slave address 1 is
shown below. The status of input terminals 1 to 7 are as follows.
*1. For broadcast, there is no response.
*2. Note that the starting number is 1 less than the actual register number. Specify a number of
"(Register No.) - 1".
*3. "The number of data bytes" is not the number of coils, but the number of bytes to be
actually written. In addition, the maximum number of writable data is 32 coils (4byte). If it is
exceeded, an exceptional response of exception code "03h" is returned.
*4. Since the write data is a set of the higher and lower bits, even if the number of bytes that
actually need to be changed is an odd number, add zero data for one byte and set it to an
even number.
 Input terminal function is internally processed by "OR" of control terminal input and
communication input. However, "Input terminal monitor [d005]" displays only control terminal
state.
 If the command cannot be executed successfully, an exceptional response is returned. For
details, refer to "11.2.9 Exceptional Responses".