6 ) param06: data size, 7 ) param07: remote cpu number, 8 ) param11: holding register offset – Yaskawa JAPMC-MC2303-E User Manual

Page 99: 9 ) param12: reserved by the system (1)

Advertising
background image

6.1 Message Send Function

6.1.5 Parameter Details for MSG-SND Function

6-14

( 6 ) PARAM06: Data Size

PARAM06 specifies the data size to be read or written in the range of 1 to 513 words.
Do not allow the final address of the data, which is determined by the offset (PARAM11), data address (PARAM05),
and data size, to exceed the valid range of addresses.
Because a one-word transaction code is set at the beginning of the data when Pro-Typ=2 (non-procedure protocol) is
used, the size must be set including the transaction code size.

The following table shows a setting data size (including a one-word transaction code) for each message.

Œ

For the relationship among data address (PARAM05), data size (PARAM06), and holding register offset
(PARAM011), refer to 6.1.7 Relationship among the Data Address, Data Size, and Offset in the MSG-SND Function
on page 6-16.

( 7 ) PARAM07: Remote CPU Number

PARAM07 sets the remote CPU number.

• Set the remote CPU number to 0 if the remote device is a 262IF-01.
• When a remote device is another manufacturer's product, set the low-place four bits of upper word of a remote

device address.

• When a remote device is YASKAWA CP series, set a remote CPU number.

Œ

In FL-net, the offset address of the FL-net virtual address space (M_ADD) is specified by the data address
(PARAM05) and the remote CPU number (PARAM07). For details, refer to 6.1.6 Specifying an FL-net Virtual
Address Space Using the MSG-SND Function
on page 6-15.

( 8 ) PARAM11: Holding Register Offset

PARAM11 sets the offsets for the data read or write location at the device sending the message.
The position of the data is shifted backward by the number of words set for the offset at the device sending the mes-
sage.

Œ

For the relationship among data address (PARAM05), data size (PARAM05), and holding register offset
(PARAM011), refer to 6.1.7 Relationship among the Data Address, Data Size, and Offset in the MSG-SND Function
on page 6-16.

Œ

Negative offsets cannot be set.

( 9 ) PARAM12: Reserved by the system (1).

PARAM12 is used by the system. (The current transmission buffer channel number is held here.)

Œ

Make sure that the user program sets this parameter to 0 in the first scan after the power is turned ON. Thereafter,
do not change the value set for this parameter because the system will use it.

( 10 ) PARAM13 to PARAM16: Reserved by the System (2)

These parameters are used by the system. Do not change the values set for these parameters.

Message Type

Pro-Typ

Data Size (word)

Remarks

Word block read

MEMOBUS

1 to 512 (arbitrary)

Word block write

MEMOBUS

1 to 512 (arbitrary)

Network parameter read

Non-procedure protocol

1

Only transaction data is sent.

Network parameter write

Non-procedure protocol

11

Stop command

Non-procedure protocol

1

Only transaction data is sent.

Start command

Non-procedure protocol

1

Only transaction data is sent.

Profile read

Non-procedure protocol

1

Only transaction data is sent.

Transparent message

Non-procedure protocol

2 to 513 (arbitrary)

Log data read

Non-procedure protocol

1

Only transaction data is sent.

Log data clear

Non-procedure protocol

1

Only transaction data is sent.

Message loopback

Non-procedure protocol

2 to 513 (arbitrary)

Advertising