beautypg.com

3 ) param02: remote node number, 4 ) param05: data address, 5 ) param06: data size – Yaskawa JAPMC-MC2303-E User Manual

Page 111: 6 ) param07: remote cpu number

background image

6.2 Message Receive Function

6.2.5 Parameter Details for MSG-RCV Function

6-26

PARAMETER

The following error code is output if RESULT is set to 4 (FMT_NG: parameter format error). In other cases, the remote
node number is output.

( 3 ) PARAM02: Remote Node Number

The source node number is output to PARAM02.

( 4 ) PARAM05: Data Address

The requested data address is output to PARAM05.

( 5 ) PARAM06: Data Size

The data size requested by the sending station to be read or written as the number of bits or words is output to
PARAM06. When Pro-Typ = 1 (Non-procedure protocol), a one-word transaction code is included in the data size in
the leading address of the data.

( 6 ) PARAM07: Remote CPU Number

The destination CPU number specified in the source station is output.

( 7 ) PARAM11: Holding Register Offset (Only for MEMOBUS)

PARAM11 sets the data address offsets from the receiving station when Pro-Typ=1 (MEMOBUS) (PARAM11 is not
used when Pro-Typ=2 (non-procedure)).
The position of the data is shifted backward by the number of words set for the offset at the device receiving the mes-
sage.

Œ

For details, refer to 6.2.6 Relationship among the Data Address, Data Size, and Offset in the MSG-RCV Function on
page 6-28.

Œ

Negative offsets cannot be set.

4

RESULT

Code Meaning

RESULT = 4 (FMT_NG: pa-
rameter format error)

00

No errors

01

Connection number out of range

02

MEMOBUS response receive monitor time error

03

Retry count setting error

04

Cyclic area setting error

05

CPU No. error

06

Data address error

07

Data size error

08

Function code error

Other values of RESULT

††

Remote node number