Chapter 4 Explanation of Functions

(iii)Writing data to a specified coil [05h] This function writes data to a specified coil

The following table shows the updating of the coil status.

 

Coil status

 

OFFON

ONOFF

Updating data (upper digit)

FFh

00h

Updating data (lower digit)

00h

00h

(Example)

When sending an operation command to the inverter at slave address "10":

To start the inverter operation, "03" must be set in parameter "A002". Coil 1 is used to turn on an operation command.

Query

 

 

Response

 

 

 

Field name

Sample setting

 

Field name

Sample setting

 

 

 

(hexadecimal)

1

Slave address

(hexadecimal)

 

1

Slave address (*1)

0A

0A

 

2

Function code

05

2

Function code

05

 

3

Starting coil number

00

3

Starting coil number (upper

00

 

 

(upper digit) (*2)

 

4

digit)

 

 

4

Starting coil number

00

Starting coil number (lower

00

 

 

(lower digit) (*2)

 

5

digit)

 

 

5

Updating data (upper digit)

FF

Updating data (upper digit)

FF

 

6

Updating data (lower digit)

00

6

Updating data (lower digit)

00

 

7

CRC-16 code (upper digit)

8D

7

CRC-16 code (upper digit)

8D

 

8

CRC-16 code (lower digit)

41

8

CRC-16 code (lower digit)

41

*1 If this query is broadcasted, no inverter will return any response.

*2 Note that the starting coil number is 1 less than the actual coil number of the coil to be read first.

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

(iv)Writing data to a specified register [06h] This function writes data to a specified register.

(Example)

When setting "50 Hz" as the base frequency setting (A003) in the inverter at slave address "5":

Since register "1203h" to store the base frequency setting (A003) has a data resolution of 1 Hz, specify "50" (0032h) as the updating data to set "50 Hz".

Query

 

 

Response

 

 

 

Field name

Sample setting

 

Field name

Sample setting

 

 

 

(hexadecimal)

1

Slave address

(hexadecimal)

 

1

Slave address (*1)

05

05

 

2

Function code

06

2

Function code

06

 

3

Starting register number

12

3

Starting register number

12

 

 

(upper digit) (*2)

 

4

(upper digit)

 

 

4

Starting register number

02

Starting register number

02

 

 

(lower digit) (*2)

 

5

(lower digit)

 

 

5

Updating data (upper digit)

00

Updating data (upper digit)

00

 

6

Updating data (lower digit)

32

6

Updating data (lower digit)

32

 

7

CRC-16 code (upper digit)

AD

7

CRC-16 code (upper digit)

AD

 

8

CRC-16 code (lower digit)

23

8

CRC-16 code (lower digit)

23

*1 If this query is broadcasted, no inverter will return any response.

*2 Note that the starting coil number is 1 less than the actual coil number of the coil to be read first.

If the function to write data to a specified register cannot be executed normally, the inverter will return an exception response. For details, see Item (viii), "Exception response."

4 - 135

Page 193
Image 193
Hitachi SJ700-2 Coil status, Updating data upper digit FFh, Updating data lower digit, Query, Field name Sample setting