Appendix B
Network Protocol Reference
The data set in the response is as follows:
Response Buffer | 4 | 5 | 6 | 7 | 8 |
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Coil Number | + 0 (high | + 0 (low | + 1 (high | + 1 (low | + 2 (high | + | 2 (low |
| order) | order) | order) | order) | order) | order) | |
|
|
|
|
|
|
|
|
Coil Status | 00h | 07h | 00h | 09h | 00h |
| FFh |
|
|
|
|
|
|
|
|
Trip data | No trip |
| |||||
|
|
|
|
|
|
|
|
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:
Data |
| Coil Status | |
|
|
| |
OFF to ON |
| ON to OFF | |
|
| ||
|
|
|
|
|
|
|
|
Change data (high order) | FFh |
| 00h |
|
|
|
|
Change data (low order) | 00h |
| 00h |
|
|
|
|
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.”
Query:
No. | Field Name | Example | |
(Hex) | |||
|
| ||
|
|
| |
|
|
| |
1 | Slave address *1 | 0A | |
|
|
| |
2 | Function code | 05 | |
|
|
| |
3 | Coil start number | 00 | |
| (high order) |
| |
|
|
| |
4 | Coil start number | 01 | |
| (low order) |
| |
|
|
| |
5 | Change data | FF | |
| (high order) |
| |
|
|
| |
6 | Change data | 00 | |
| (low order) |
| |
|
|
| |
7 | DC | ||
|
|
| |
8 | 81 | ||
|
|
|
Response:
No. | Field Name | Example | |
(Hex) | |||
|
| ||
|
|
| |
|
|
| |
1 | Slave address | 0A | |
|
|
| |
2 | Function code | 05 | |
|
|
| |
3 | Coil start number | 00 | |
| (high order) |
| |
|
|
| |
4 | Coil start number | 01 | |
| (low order) |
| |
|
|
| |
5 | Change data | FF | |
| (high order) |
| |
|
|
| |
6 | Change data | 00 | |
| (low order) |
| |
|
|
| |
7 | DC | ||
|
|
| |
8 | 81 | ||
|
|
|
Note 1: No response is made for a broadcasting query.