beautypg.com

Write in several holding registers (10h) – Yaskawa iQpump Programming Manual User Manual

Page 87

background image

YASKAWA TM.iQp.02 iQpump Drive Programming Manual

87

Write In Several Holding Registers (10H)

Write the specified data to the desired slave indicating the desired starting register. The written data must be consecutive, starting from

the specified address in the command message: High Byte (8 bits), then Low Byte 8 bits, in sequential storage register order.

The following table shows an example of a message when a forward Run command has been set at a speed command of 60.0 Hz in the

slave 1 iQpump drive by the PLC.

Figure 84 Function Code 08H Message Example

Important: Set the number of bytes as quantity of specified registers x 2. Handle response messages in the same way.

Command Message

Response Message

(During Normal Operation)

Response Message

(During Error)

Slave Address

01H

Slave Address

01H

Slave Address

01H

Function Code

10H

Function Code

10H

Function Code

90H

Start

Register

High

Byte

00H

Start

Register

High

Byte

00H

Error code

02H

Low
Byte

01H

Low
Byte

01H

CRC-16

High

Byte

CDH

No. of

Registers

High

Byte

00H

No. of

Registers

High

Byte

00H

Low
Byte

C1H

Low
Byte

02H

Low
Byte

02H

No. of Bytes*

04H

CRC-16

High

Byte

10H

First

2 Bytes

of data

High

Byte

00H

Low
Byte

08H

Low
Byte

01H

Second

2 Bytes

of data

High

Byte

02H

* No. of bytes = 2 x (# of Registers)

Low
Byte

58H

CRC-16

High

Byte

63H

Low
Byte

39H