No. Field name Example (hex)
8 CRC-16 (LSB) CRC
*1. Broadcasting cannot be performed.
Response
No. Field name Example (hex)
1
Slave address
*1
01
2 Function code 08
3 Test sub code (MSB) 00
4 Test sub code (LSB) 00
5 Data (MSB) Any
6 Data (LSB) Any
7 CRC-16 (MSB) CRC
8 CRC-16 (LSB) CRC
*1. Broadcasting cannot be performed.
The test sub code supports the Echo Query Data command (00 hex, 00 hex) only. Other com-
mands are not supported.
8-5-6
Write to Multiple Coils [0F hex]
Rewrites the ON/OFF status to consecutive multiple coils.
Example) Changing Status of Multifunction Input Terminals DI1 to
DI7 of Inverter with Slave Address 1
Change the ON/OFF status of the multifunction input terminal DI1 to DI7 as shown in the following ta-
ble.
Item Data
Coil No. 0003
hex
0004
hex
0005
hex
0006
hex
0007
hex
000E
hex
000F
hex
Multifunction input terminal DI1 DI2 DI3 DI4 DI5 DI6 DI7
Coil status ON ON ON OFF ON OFF OFF
Coil numbers 0008 to 000D hex are a reserved area.
Query
No. Field name Example (hex) Remarks
1
Slave address
*1
01
2 Function code 0F
3
Coil start address (MSB)
*2
00
(Coil address) = (Coil number) − 1
4
Coil start address (LSB)
*2
02
5 Number of coils (MSB) 00
6 Number of coils (LSB) 0C
7 Number of bytes 02
8 Communications Functions
8-16
M1 Series Standard Type User's Manual (I669)