Query
No. Field name Example (hex) Remarks
1
Slave address
*1
01
2 Function code 05 (Coil address) = (Coil number) − 1
3
Coil address (MSB)
*2
00
4
Coil address (LSB)
*2
00
5 Written data (MSB) FF OFF to ON: FF00 hex
6 Written data (LSB) 00
7 CRC-16 (MSB) 8C
8 CRC-16 (LSB) 3A
*1. For a broadcast, no response will be sent back.
*2. Note that the coil address is 0000, which is 1 less than the coil number 0001: Coil address = Coil num-
ber - 1.
Response
No. Field name Example (hex)
1
Slave address
*1
01
2 Function code 05
3
Coil address (MSB)
*2
00
4
Coil address (LSB)
*2
00
5 Written data (MSB) FF
6 Written data (LSB) 00
7 CRC-16 (MSB) 8C
8 CRC-16 (LSB) 3A
*1. For a broadcast, no response will be sent back.
*2. Note that the coil address is 0000, which is 1 less than the coil number 0001: Coil address = Coil num-
ber - 1.
If the Write to Coil function is not executed normally, refer to 8-5-9 Exception Response on page
8-20.
8-5-4
Write to Holding Register [06 hex]
Writes data to the specified holding register.
Example) Writing 50.00 Hz to Inverter with Slave Address 1 as Out-
put Frequency Setting Value (C99)
Because the holding registers for the Output Frequency Setting/Monitor (C99) have a data resolution
of 0.01 Hz, to set 50.00 Hz, set the written data to 5000 (1388 hex).
Query
No. Field name Example (hex) Remarks
1
Slave address
*1
01
2 Function code 06
8 Communications Functions
8-14
M1 Series Standard Type User's Manual (I669)