beautypg.com

Holding register write „ error response – Yaskawa MP920 Communications Module User Manual

Page 264

background image

B.1 Extended MEMOBUS Messages

B-15

B

„

Holding Register Write

„

Error Response

(L)

(H)

n

MFC: 20H

SFC: 10H

Length: 07H+

CPU No.

(L)

(H)

(L)

(H)

(L)

(H)

(L)

(H)

(L)

(H)

Set the command length.

Always 20H.

Command

The SFC number is 10H when holding registers are written.

Set 4 bits each for the destination CPU number and the source

CPU number.

Set the status of the holding registers to be written.

Set the leading address of the holding registers to be written.

Set the number of holding registers to be written.

7

0

No.of registers

×2

Reference No.

No. of registers (n)

Data 1

Data n

MFC: 20H

SFC: 10H

Length: 07H

CPU No.

Set the command length.

Response

The same SFC number as that specified in the command is

returned.
Set 4 bits each for the destination CPU number and the source

CPU number.

The leading address of written holding registers is returned.

The number of written holding registers is returned.

(L)

(H)

No. of registers (n)

Reference No.

(L)

(H)

(L)

(H)

7

0

Always 20H.

(L)

(H)

n

MFC: 20H

SFC: 01H to 33H

Length

CPU No.

If there is an error in the command message SFC, in the reference
number, or in the number of data items, the Slave station will
return an error response message.

Command

(L)

(H)

Message Body

7

0

MFC: 20H

SFC: SFC + 80H

Length: 04H

CPU No.

Error codes:
01: SFC error
02: Reference number error
03: Error in the number of data items

Response

(L)

(H)

Error code

7

0