B–12, Appendix b – Hitachi SJ200 Series User Manual
Page 226
Network Protocol Reference
Appendix B
B–12
The data set in the response is as follows:
When the Read Coil Status command cannot be executed normally, refer to the
exception response.
Write in Coil [05h]:
This function writes data in a single coil. Coil status changes are as follows:
An example follows (note that to command the inverter, set A002=03):
• Sending a RUN command to an inverter having slave address “10”
• This example writes in coil number “1.”
Response Buffer
4
5
6
7
8
9
Coil Number
+ 0 (high
order)
+ 0 (low
order)
+ 1 (high
order)
+ 1 (low
order)
+ 2 (high
order)
+ 2 (low
order)
Coil Status
00h
07h
00h
09h
00h
FFh
Trip data
Over-voltage trip
Under-voltage trip
No trip
Data
Coil Status
OFF to ON
ON to OFF
Change data (high order)
FFh
00h
Change data (low order)
00h
00h
Query:
Note 1:
No response is made for a
broadcasting query.
Response:
No.
Field Name
Example
(Hex)
1
Slave address *1
0A
2
Function code
05
3
Coil start number
(high order)
00
4
Coil start number
(low order)
01
5
Change data
(high order)
FF
6
Change data
(low order)
00
7
CRC-16 (high order)
DC
8
CRC-16 (low order)
81
No.
Field Name
Example
(Hex)
1
Slave address
0A
2
Function code
05
3
Coil start number
(high order)
00
4
Coil start number
(low order)
01
5
Change data
(high order)
FF
6
Change data
(low order)
00
7
CRC-16 (high order)
DC
8
CRC-16 (low order)
81