Input register read „ single coil status change – Yaskawa MP920 Communications Module User Manual

Page 256

Advertising
background image

B.1 Extended MEMOBUS Messages

B-7

B

„

Input Register Read

„

Single Coil Status Change

MFC: 20H

SFC: 04H

Length: 07H

CPU No.

Set the command length.

Command

Always 20H.

The SFC number is 04H when the input register contents are read.

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

CPU number.
Set the leading address of input the input registers to be read.

Set the number of input registers to be read.

(L)

(H)

Reference No.

No. of registers (n)

(L)

(H)

(L)

(H)

7

0

MFC: 20H

SFC: 04H

Length: 03H+

CPU No.

Data 1

Data n

(L)

(H)

(L)

(H)

(L)

(H)

Set the command length.

Response

Always 20H.
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 status of the read input registers is returned.

7

0

No.of registers×2

MFC: 20H

SFC: 05H

Length: 07H

ON/OFF=FFH/00H

00H

CPU No.

Set the command length.

Command

Always 20H.

The SFC number is 05H when the status of a single coil is changed.
Set 4 bits each for the destination CPU number and the source

CPU number.
Set the address of the coil to be changed.

Set the status for the coils.

(L)

(H)

Reference No.

(L)

(H)

7

0

MFC: 20H

SFC: 05H

Length: 07H

ON/OFF=FFH/00H

00H

CPU No.

Set the command length.

Response

Always 20H.
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 address of the changed coil to be returned.

The status of the changed coil is returned.

(L)

(H)

Reference No.

(L)

(H)

7

0

Advertising