Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 314

Advertising
background image

5.10 System Function Instructions

5.10.6 Send Message (MSG-SND)

5-245

Instructions

5

3.

PARAMETER

If the RESULT is 4 (FMT_NG), one of the following error codes is given. Otherwise, the remote station address
is given.

4.

REQUEST

1 = Request
2 = Reception completed notification

„

Remote Station Number (PARAM02)/Serial

1 to 254: The message is sent to the station with the specified device address.

„

Function Code (PARAM04)

Set the MEMOBUS function code to send.
The function codes are listed in the following table.

Œ {

: Can be set,

×: Cannot be set.

Œ

When the target device is operating as the master, only MW and MB data can be read and written. When the target
device is operating as a slave, MB, MW, IB, and IW data can be read and written for coils, hold registers, input
relays, and input registers, respectively.

Code

Error

00

No error

01

Station address out of range

02

MEMOBUS response monitoring time error

03

Number of retries setting error

04

Cyclic area setting error

05

Message signal CPU number error

06

Message signal register address error

07

Message signal number of words error

Function Code

Setting

00 hex

Not used.

×

01 hex

Read Coil Status

{

02 hex

Read Input Relay Status

{

03 hex

Read Hold Register Contents

{

04 hex

Read Input Register Contents

{

05 hex

Change Single Coil Status

{

06 hex

Write Single Hold Register

{

07 hex

Not used.

×

08 hex

Loopback Test

{

09 hex

Expanded Read Hold Register Contents

{

0A hex

Expanded Read Input Register Contents

{

0B hex

Expanded Write Hold Register

{

0C hex

Not used.

×

0D hex

Expanded Read Nonconsecutive Hold Registers

{

0E hex

Expanded Write Nonconsecutive Hold Registers

{

0F hex

Change Multiple Coil Status

{

10 hex

Write Multiple Hold Registers

{

11 hex to 20 hex

Not used.

×

21 hex to 3F hex

Reserved for system.

×

40 hex to 4F hex

Reserved for system.

×

50 hex and higher

Not used.

×

Advertising
This manual is related to the following products: