SJ700-2 Instruction Manual NT204DX - Hitachi America, Ltd.
SJ700-2 Instruction Manual NT204DX - Hitachi America, Ltd.
SJ700-2 Instruction Manual NT204DX - Hitachi America, Ltd.
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 4 Explanation of Functions<br />
(ii) Reading registers [03h]<br />
This function reads a specified number of registers beginning at a specified register address.<br />
(Example)<br />
When reading the trip history data from the inverter at slave address "5":<br />
Assume that the conditions of the past three trips are as follows:<br />
<strong>SJ700</strong> command d081 (factor of most recent trip) d081 (inverter state at most recent trip)<br />
Register number 0012h 0013h<br />
Trip factor (upper digit) Overvoltage (E07) Decelerating (02)<br />
Query<br />
Field name<br />
Sample setting<br />
(hexadecimal)<br />
1 Slave address (*1) 05<br />
2 Function code 03<br />
3 Starting register number<br />
00<br />
(upper digit) (*2)<br />
4 Starting register number<br />
11<br />
(lower digit) (*2)<br />
5 Number of registers (upper<br />
00<br />
digit)<br />
6 Number of registers (lower digit) 02<br />
7 CRC-16 code (upper digit) 95<br />
8 CRC-16 code (lower digit) 8A<br />
*1 This query cannot be broadcasted.<br />
*2 Note that the starting coil number is 1 less than the<br />
actual coil number of the coil to be read first.<br />
Response<br />
Field name<br />
Sample setting<br />
(hexadecimal)<br />
1 Slave address 05<br />
2 Function code 03<br />
3 Number of data bytes (*3) 04<br />
4 Starting register number<br />
00<br />
(upper digit)<br />
5 Starting register number<br />
07<br />
(lower digit)<br />
6 Starting register number + 1 00<br />
(upper digit)<br />
7 Starting register number + 1 02<br />
(lower digit)<br />
8 CRC-16 code (upper digit) 36<br />
9 CRC-16 code (lower digit) 37<br />
*3 The data equivalent to the specified number of data<br />
bytes is transferred. In this example, 4 bytes are<br />
transferred because the data on two registers is<br />
returned in the response.<br />
Read the data received in the response as follows:<br />
Response buffer 4 5 6 7<br />
+0 (upper +0 (lower +1 (upper +1 (lower<br />
Starting register number<br />
digit) digit) digit) digit)<br />
Response data 00h 07h 00h 02h<br />
Trip condition Trip due to overvoltage Decelerating<br />
If the function to read registers cannot be executed normally, the inverter will return an exception response.<br />
For details, see Item (viii), "Exception response."<br />
4 - 135