14-13
Chapter 14
RS485 Communication
14.4.3
Writing to coil [05h]
• Perform writing to a coil.
Coil states change as shown in the table at the right.
(Example)
To give an operation command to the inverter with slave
address 10.
• You need to set the operation command selection
[AA111] to 03 in advance to operate using a Modbus
command.
• Coil No. for operation command is “1”.
Query
Field Name
Example (HEX)
1
Slave address *1)
0A
2
Function code
05
3
Coil starting No. (high) *2)
00
4
Coil starting No. (low) *2)
00
5
Data to be changed (high)
FF
6
Data to be changed (low)
00
7
CRC-16 (high)
8D
8
CRC-16 (low)
41
*1)
When a broadcasting is performed, a response is not
returned.
*2) Note that the shown value is one less than starting
number.
For coil No. 0001, specify 0000(=0001-1).
• When a writing to a coil cannot be executed normally,
see “3.9 Exceptional Responses”.
Coil state
OFF
→ON
ON
→OFF
Data to be changed (high)
FFh
00h
Data to be changed (low)
00h
00h
Response
Field Name
Example (HEX)
1
Slave address
0A
2
Function code
05
3
Coil starting No. (high)
00
4
Coil starting No. (low)
00
5
Data to be changed (high)
FF
6
Data to be changed (low)
00
7
CRC-16 (high)
8D
8
CRC-16 (low)
41
!
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 ...