D.2 modbus function code details, Modbus function code details, Reading / holding register contents (03h) – Yaskawa iQpump Controller User Manual User Manual

Page 218: Write in single holding register (06h)

Advertising
background image

218

YASKAWA

TM.iQp.06 iQpump Controller User Manual

D.2 Modbus Function Code Details

D.2 Modbus Function Code Details

Reading / Holding Register Contents (03H)

Read the contents of the storage register only for specified quantities. The addresses must be consecutive, starting from a specified
address. The data content of the storage register are separated into higher 8 bits and lower 8 bits.

The following table shows message examples when reading status signals, error details, data link status, and frequency references from

the slave 2 drive.

Figure D.6 Function Code 03 H Message Example

Write In Single Holding Register (06H)

Figure D.7 Function Code 06 H Message Example

Command Message

Response Message

(During Normal Operation)

Response Message

(During Error)

Slave Address

02 H

Slave Address

02 H

Slave Address

02 H

Function Code

03 H

Function Code

03 H

Function Code

83 H

Start Address

Higher

00 H

Data quantity

08 H

Error code

03 H

Lower

20 H

1st storage

register

Higher

00 H

CRC-16

Higher

F1 H

Quantity

Higher

00 H

Lower

65 H

Lower

31 H

Lower

04 H

Next storage

register

Higher

00 H

CRC-16

Higher

45 H

Lower

00 H

Lower

F0 H

Next storage

register

Higher

00 H

Lower

00 H

Next storage

register

Higher

01 H

Lower

F4 H

CRC-16

Higher

AF H

Lower

82 H

Command Message

Slave address

01 H

Function code

06 H

Upper 00

H

Register
Address

Lower 01

H

Upper 00

H

Setting

Data

Lower 03

H

Upper 98

H

CRC-16

Lower 0B

H

Response Message

(During Normal Operation)

Slave address

01 H

Function code

06 H

Upper 00

H

Register

Address

Lower 01

H

Upper 00

H

Setting

Data

Lower 03

H

Upper 98

H

CRC-16

Lower 0B

H

Response Message

(During Error)

Slave address

01 H

80H + Function Code

86 H

Error code

21 H

Upper 82

H

CRC-16

Lower 78

H

Advertising