B.1.2 memobus binary mode, Coil status read – Yaskawa MP920 Communications Module User Manual

Page 254

Advertising
background image

B.1 Extended MEMOBUS Messages

B-5

B

B.1.2

MEMOBUS Binary Mode

This mode is the binary mode format for MEMOBUS message transmission.

„

Coil Status Read

* 1. MFC: Major Function Code
* 2. SFC: Subfunction Code

MFC : 20H

SFC : 01H

CPU No.

Length: 07H

Set the command length.

Command

Always 20H.

The SFC number is 01H when coil status is read.
Set 4 bits each for the destination CPU number and the source

CPU number.
Set the leading address of the coils to be read.

Set the number of the coils to be read.

(L)

(H)

Reference No.

No. of coils (n)

(L)

(H)

(L)

(H)

*1

*2

7

0

MFC: 20H

SFC: 01H

CPU No.

Length: 03H+

(No.of coils/8)

(L)

(H)

(Coils 1 to 8)

Coils (No.of coils)

(L)

(H)

(L)

(H)

Set the response 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 coils is returned.

7

0

Advertising