Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 315

Advertising
background image

5.10 System Function Instructions

5.10.6 Send Message (MSG-SND)

5-246

„

Data Addresses

The range of addresses that can be set for each function code are given in the following table.

∗ Requests to read or write relays or coils: Set the first bit address of the data.

Requests to read or write consecutive registers: Set the first word address of the data.
Requests to read or write nonconsecutive registers: Set the first word address of the address table.

[ b ] Data Size (PARAM06)

Set the data size (number of bits or number of words) for the read or write request. The setting range depends on the
function code.
The setting ranges for serial data sizes are listed in the following table.

Function Code

Setting

00 hex

Not used.

Not valid.

01 hex

Read Coil Status

0 to 65,535 (0 to FFFF hex)

*

02 hex

Read Input Relay Status

0 to 65,535 (0 to FFFF hex)

*

03 hex

Read Hold Register Contents

0 to 32,767 (0 to 7FFF hex)

04 hex

Read Input Register Contents

0 to 32,767 (0 to 7FFF hex)

05 hex

Change Single Coil Status

0 to 65,535 (0 to FFFF hex)

*

06 hex

Write Single Hold Register

0 to 32,767 (0 to 7FFF hex)

07 hex

Not used.

Not valid.

08 hex

Loopback Test

Not valid.

09 hex

Expanded Read Hold Register Contents

0 to 32,767 (0 to 7FFF hex)

0A hex

Expanded Read Input Register Contents

0 to 32,767 (0 to 7FFF hex)

0B hex

Expanded Write Hold Register

0 to 32,767 (0 to 7FFF hex)

0C hex

Not used.

Not valid.

0D hex

Expanded Read Nonconsecutive Hold Regis-
ters

0 to 32,767 (0 to 7FFF hex)

0E hex

Expanded Write Nonconsecutive Hold Regis-
ters

0 to 32,767 (0 to 7FFF hex)

0F hex

Change Multiple Coil Status

0 to 65,535 (0 to FFFF hex)

*

10 hex

Write Multiple Hold Registers

0 to 32,767 (0 to 7FFF hex)

Function Code

Data Size Setting Range

215IF or 218IF

CPU Module, 217IF, or

SVB-01

00 hex

Not used.

Not valid.

01 hex

Read Coil Status

1 to 2,000 (1 to 07D0 hex) bits

02 hex

Read Input Relay Status

1 to 2,000 (1 to 07D0 hex) bits

03 hex

Read Hold Register Contents

1 to 125 (1 to 007D hex) words

04 hex

Read Input Register Contents

1 to 125 (1 to 007D hex) words

05 hex

Change Single Coil Status

Not valid.

06 hex

Write Single Hold Register

Not valid.

07 hex

Not used.

Not valid.

08 hex

Loopback Test

Not valid.

09 hex

Expanded Read Hold Register Contents

1 to 508 (1 to 01FC hex)
words

1 to 252 (1 to 00FC hex)
words

0A hex

Expanded Read Input Register Contents

1 to 508 (1 to 01FC hex)
words

1 to 252 (1 to 00FC hex)
words

0C hex

Not used.

Not valid.

0D hex

Expanded Read Nonconsecutive Hold Regis-
ters

1 to 508 (1 to 01FC hex)
words

1 to 252 (1 to 00FC hex)
words

0E hex

Expanded Write Nonconsecutive Hold Regis-
ters

1 to 254 (1 to 01FE hex)
words

1 to 126 (1 to 007E hex)
words

0F hex

Change Multiple Coil Status

1 to 800 (1 to 0320 hex) bits

10 hex

Write Multiple Hold Registers

1 to 100 (1 to 0064 hex) words

Advertising
This manual is related to the following products: