Hitachi SJ700-2 instruction manual Read the data received in the response as follows

Models: SJ700-2

1 274
Download 274 pages 15.86 Kb
Page 192
Image 192

Chapter 4 Explanation of Functions

(ii) Reading registers [03h]

This function reads a specified number of registers beginning at a specified register address.

(Example)

When reading the trip history data from the inverter at slave address "5":

Assume that the conditions of the past three trips are as follows:

 

 

 

SJ700 command

 

d081 (factor of most recent trip)

d081 (inverter state at most recent trip)

 

 

 

 

Register number

 

 

0012h

 

0013h

 

 

 

 

 

Trip factor (upper digit)

 

 

Overvoltage (E07)

 

Decelerating (02)

 

 

Query

 

 

 

 

 

Response

 

 

 

 

 

Field name

 

Sample setting

 

 

Field name

Sample setting

 

 

 

 

 

 

(hexadecimal)

 

 

(hexadecimal)

 

1

 

Slave address (*1)

 

05

 

1

Slave address

05

 

 

2

 

Function code

 

03

 

2

Function code

03

 

 

3

 

Starting register number

 

00

 

3

Number of data bytes (*3)

04

 

 

 

 

(upper digit) (*2)

 

 

 

4

Starting register number

00

 

 

4

 

Starting register number

 

11

 

 

(upper digit)

 

 

 

 

 

(lower digit) (*2)

 

 

 

5

Starting register number

07

 

 

5

 

Number of registers (upper

 

00

 

 

(lower digit)

 

 

 

 

 

digit)

 

 

 

6

Starting register number + 1

00

 

 

6

 

Number of registers (lower digit)

02

 

7

(upper digit)

 

 

 

7

 

CRC-16 code (upper digit)

 

95

 

Starting register number + 1

02

 

 

8

 

CRC-16 code (lower digit)

 

8A

 

 

(lower digit)

 

 

 

 

 

8

CRC-16 code (upper digit)

36

*1

This query cannot be broadcasted.

*2

Note that the starting coil number is 1 less than the

9

CRC-16 code (lower digit)

37

 

 

actual coil number of the coil to be read first.

*3 The data equivalent to the specified

number of data

 

 

 

bytes is transferred. In this example, 4 bytes are

transferred because the data on two registers is returned in the response.

Read the data received in the response as follows:

Response buffer

4

5

Starting register number

+0 (upper

+0 (lower

digit)

digit)

 

Response data

00h

07h

Trip condition

Trip due to

overvoltage

6

7

+1 (upper

+1 (lower

digit)

digit)

00h

02h

Decelerating

If the function to read registers cannot be executed normally, the inverter will return an exception response. For details, see Item (viii), "Exception response."

4 - 134

Page 192
Image 192
Hitachi SJ700-2 instruction manual Read the data received in the response as follows