SJ200 Inverter
•When a read coil is outside the defined coils, the final coil data to be transmitted contains “0“as the status of the coil outside the range.
•When the Read Coil Status command cannot be executed normally, see the exception response.
Read Holding Register [03h]:
This function reads the contents of the specified number of consecutive holding registers (of specified register addresses). An example follows below.
•Reading previous three trip factors from an inverter having a slave address “5”
•This example assumes the previous three trip factors are as follows:
SJ200 Command | D081 (N) | D082 | D083 | BAppendix | |
|
|
|
| ||
|
|
|
| ||
Coil Number | 0019h | 001Ah | 0018h | ||
| |||||
|
|
|
|
| |
Trip factor | No trip |
| |||
|
|
|
|
| |
Query: |
| .Response: |
|
|
No. | Field Name | Example | |
(Hex) | |||
|
| ||
|
|
| |
|
|
| |
1 | Slave address *1 | 05 | |
|
|
| |
2 | Function code | 03 | |
|
|
| |
3 | Register start number | 00 | |
| (high order) |
| |
|
|
| |
4 | Register start number | 19 | |
| (low order) |
| |
|
|
| |
5 | Number of holding | 00 | |
| registers (high order) |
| |
|
|
| |
6 | Number of holding | 03 | |
| registers (low order) |
| |
|
|
| |
7 | D5 | ||
|
|
| |
8 | 88 | ||
|
|
|
Note 1: Broadcasting is disabled.
No. | Field Name | Example | |
(Hex) | |||
|
| ||
|
|
| |
|
|
| |
1 | Slave address | 05 | |
|
|
| |
2 | Function code | 03 | |
|
|
| |
3 | Data size (in bytes) *2 | 06 | |
|
|
| |
4 | Register start number | 00 | |
| (high order) |
| |
|
|
| |
5 | Register start number | 07 | |
| (low order) |
| |
|
|
| |
6 | Register start number + 1 | 00 | |
| (high order) |
| |
|
|
| |
7 | Register start number +1 | 09 | |
| (low order) |
| |
|
|
| |
8 | Register start number + 2 | 00 | |
| (high order) |
| |
|
|
| |
9 | Register start number +2 | FF | |
| (low order) |
| |
|
|
| |
10 | 36 | ||
|
|
| |
11 | 37 | ||
|
|
|
Note 2: Data is transferred by the specified number of data bytes (data size). In this case, 6 bytes are used to return the content of three holding registers.