Yaskawa JAPMC-MC2303-E User Manual

Page 113

Advertising
background image

6.2 Message Receive Function

6.2.6 Relationship among the Data Address, Data Size, and Offset in the MSG-RCV Function

6-28

6.2.6 Relationship among the Data Address, Data Size, and Offset in the MSG-RCV

Function

„

When the Message Is Received under Pro-Typ=1 (MEMOBUS)

The following shows an offset address (M_ADD) for a virtual address space sent from other FL-net equipment to the
262IF-01.

When the 262IF-01 receives the above virtual address, the 262IF-01 stores a CPU number and a data address in
PARAM07 and PARAM05 respectively, and then writes to or reads from the data area shown in the following figure.

„

When the Message Is Received under Pro-Typ=2 (Non-procedure Protocol)

Because a message using a non-procedure protocol does not use a virtual address, the 2602IF-01 stores the received
data in an area specified by the holding register offset (PARAM12) if it receives an FL-net message while the MSG-
RCV is activated by Pro-Typ=2 (non-procedure protocol 1). At this time, the transaction code is stored in the leading
register and FL-net message data (received data) in the subsequent register. The data size including one word for the
transaction code is stored in the data size (PARAM06).

Œ

When the 262IF-01 has sent a message “remote device not supported” as a client and has received its response
message, the processing result of the MSG-RCV function is “normal”. However, two words consisting of a transac-
tion code (response) and an unsupported error code “0†FFFF” are stored in the data part.

MW†††††

Transaction code

MW††††† + 1 0†FFFF

31

16

15

12

11

0

0

M_ADD

CPU number (0)

Data address
(0 to 65534: MW00000 to MW65534)

Data

Holding register offset

㧔PARAM11㧕

MW00000

MW

*****

31

16

15

12

11

0

0

M_ADD

CPU number (0)

Data address
(0 to 65534: MW00000
to MW65534)

CPU number
(PARAM07: Specified by sending station)

Data address

(PARAM05: Specified by

sending station)

Data size

(PARAM06: Specified by

sending station)

Data

Holding register offset

㧔PARAM12㧕

Data size

(PARAM06: Specified

by sending station)

MW00000

MW

*****

FL-net

message data

MW

*****

MW

*****

+1

Transaction code

Advertising