beautypg.com

Memobus / modbus function code details, Reading / holding register contents (03h), Write in single holding register (06h) – Yaskawa iQpump Controller Programming Manual User Manual

Page 101

background image

YASKAWA TM.iQp.07 iQpump Controller Programming Manual

101

MEMOBUS / Modbus Function Code Details

Reading / Holding Register Contents (03H)

Read the contents of the storage registers only for the specified number of registers. The addresses must be consecutive, starting from a
specified start register. The data content of the storage register are separated into high bytes and low bytes.

The following tables show message examples when reading status signals, error details, data link status, and frequency references from
the slave 2 drive.

Figure 91. Function Code 03H Message Example

Write In Single Holding Register (06H)

Figure 92. Function Code 06H Message Example

Command Message

Response Message

(During Normal Operation)

Response Message

(During Error)

Slave Address

02H

Slave Address

02H

Slave Address

02H

Function Code

03H

Function Code

03H

Function Code

83H

Start

Register

High

Byte

00H

Data quantity

08H

Error code

03H

Low
Byte

20H

First Storage

Register

High

Byte

00H

CRC-16

High

Byte

F1H

No. of

Registers

High

Byte

00H

Low
Byte

65H

Low
Byte

31H

Low
Byte

04H

Second

Storage

Register

High

Byte

00H

CRC-16

High

Byte

45H

Low
Byte

00H

Low
Byte

F0H

Third

Storage

Register

High

Byte

00H

Low
Byte

00H

Fourth

Storage

Register

High

Byte

01H

Low
Byte

F4H

CRC-16

High

Byte

AFH

Low
Byte

82H

Command Message

Response Message

(During Normal Operation)

Response Message

(During Error)

Slave Address

01H

Slave Address

01H

Slave Address

01H

Function Code

06H

Function Code

06H

Function Code

86H

Register Address

Upper

00H

Register Address

Upper

00H

Error code

21H

Lower

01H

Lower

01H

CRC-16

Upper

82H

Setting Data

Upper

00H

Setting Data

Upper

00H

Lower

78H

Lower

01H

Lower

01H

CRC-16

Upper

98H

CRC-16

Upper

98H

Lower

0BH

Lower

0BH