14-16
Chapter 14
RS485 Communication
14.4.6
Writing to multiple coils [0Fh]
• Rewrite consecutive multiple coils.
(Example)
To change the state of input terminal functions from 1 to 6
of the inverter with slave address 5.
Query
Field Name
Example (HEX)
1
Slave address *1)
05
2
Function code
0F
3
Coil starting No. (high) *2)
00
4
Coil starting No. (low) *2)
06
5
Number of coils (high)
00
6
Number of coils (low)
06
7
Bytes *3)
02
8
Data to be changed (high) *3)
17
9
Data to be changed (low) *3)
00
10 CRC-16 (high)
DB
11
CRC-16 (low)
3E
*1)
When a broadcasting is performed, a response is not
returned.
*2) Note that the value of starting number is one less than
the No.
*3)
Even when the number of bytes required to be
changed is odd, add 1 to the number to make it even
because the data to be changed will consist of higher
order and lower order bytes as a set.
• When a writing to multiple coils cannot be executed
normally, see “3.9 Exceptional Responses”.
The state of input terminals are as shown below.
Response
Field Name
Example (HEX)
1
Slave address
05
2
Function code
0F
3
Coil starting No. (high)
00
4
Coil starting No. (low)
06
5
Number of coils (high)
00
6
Number of coils (low)
06
7
CRC-16 (high)
34
8
CRC-16 (low)
4C
Input terminal No.
1
2
3
4
5
6
Coil No.
7
8
9
10
11
12
Terminal state
ON
ON
ON OFF ON OFF
!
A
Summary of Contents for SJ Series
Page 39: ...5 4 Chapter 5 Included Items Memo ...
Page 55: ...6 16 Chapter 6 Installation Memo ...
Page 91: ...7 36 Chapter 7 Wire Connection and Optional Devices Memo ...
Page 135: ...9 40 Chapter 9 Operating Instructions Memo ...
Page 145: ...10 10 Chapter 10 Test Run Memo ...
Page 159: ...12 2 6 Chapter 12 Inverter Functions Memo ...
Page 169: ...12 3 10 Chapter 12 Inverter Functions Memo ...
Page 195: ...12 5 8 Chapter 12 Inverter Functions Memo ...
Page 217: ...12 8 12 Chapter 12 Inverter Function Memo ...
Page 287: ...12 10 32 Chapter 12 Inverter Functions Memo ...
Page 303: ...12 11 16 Chapter 12 Inverter Functions Memo ...
Page 349: ...12 15 8 Chapter 12 Inverter Function Memo ...
Page 395: ...12 17 34 Chapter 12 Inverter Functions Memo ...
Page 397: ...12 18 2 Chapter 12 Inverter Functions Memo ...
Page 415: ...12 19 18 Chapter 12 Inverter Function Memo ...
Page 581: ...15 10 Chapter 15 Optional Cassettes Memo ...
Page 591: ...16 10 Chapter 16 ProDriveNext EzSQ Memo ...
Page 642: ...18 49 Chapter 18 Tips FAQ Troubleshooting Memo ...
Page 650: ...19 8 Chapter 19 Maintenance and Inspection Memo ...
Page 781: ...Appendix 1 70 Appendix 1 List of Parameters Memo ...