A-112, 4 ) connection number (param02), 5 ) data size (param06) – Yaskawa MP2300S Basic Module User Manual

Page 434: 6 ) register offset (param12)

Advertising
background image

Appendix G MSG-SND/MSG-RCV Functions (Ethernet)

G.2 Message Receive Function (MSG-RCV)

A-112

[ d ] PARAMETER (parameter)

When RESULT (process result) = 4 (FMT_NG: parameter format error), an error code in the following table is output.
Otherwise, the connection number is output.

( 4 ) Connection Number (PARAM02)

Refer to G.2.4 Function Setting and Parameter Details for MEMOBUS and Extended MEMOBUS Protocols.

( 5 ) Data Size (PARAM06)

A data size requested from the transmission side is output.
In case of non-procedure 1, the number of words is output.
In case of non-procedure 2, the number of bytes is output.

( 6 ) Register Offset (PARAM12)

Specify an offset address for the reception side data address.
The address for the reception side will be displaced by the number of words designated by the offset.

Note: 1. For more information, refer to G.2.8 Relationship between Data Address, Data Size, and Offset for

MSG-RCV Function.

2. The offset cannot be a negative value.

In case of non-procedure, received continuous data is stored in the M register. Setting the register offset enables you to
specify a start address of the M register as a storage area.

Example: When specifying MW01000 for the start address of the M register for storing received data:

PARAM12=1000

RESULT (process result)

Code (Hex)

Meaning

When RESULT (process re-

sult) = 4

(FMT_NG: parameter for-

mat error)

00

No error

01

Connection number is out of range

02

Time error while monitoring to receive MEMOBUS response
(for MEMOBUS protocol)

03

Error in setting retransmit count

04

Error in setting cyclic area

05

CPU number error

06

Data address error

07

Data size error

08

Function code error (for MEMOBUS protocol)

Others

xx

Connection number

Advertising