A-104 – Yaskawa MP2300S Basic Module User Manual

Page 426

Advertising
background image

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

G.2 Message Receive Function (MSG-RCV)

A-104

( 11 ) Write Range (PARAM12, PARAM13)

Sets an available address range for a write request from the transmission side. A write request which is out of this avail-
able address range will cause an error.
Specify the address range (PARAM12, PARAM13) as a word address.

Note: 1. In MP900/MP2000 series, the data storage area for the write request from the transmission side is the

M register.

2. The write range parameter enables you to specify the range of M register which permits writing mes-

sages.

The following table shows the write range parameters.

Specify the write range so that the expression below is met:

0

≤ Write range LO ≤ Write range HI ≤ Maximum address of M register

This write range is effective for the following function codes:

05H (changes single coil state)
06H (writes to single holding register)
0BH (writes to holding register (extended))
0EH (discontinuously writes to holding register (extended))
0FH (changes multiple coil states)
10H (writes to multiple holding registers)
31H (writes to fixed buffer)
33H (writes to the random access buffer)

Example: When setting the address of the M register which permits writing to 1000 to 1999:

PARAM12=1000
PARAM13=1999
The reception side will return an error against a write request to an address other than MW01000 to
MW01999, and will not write it.

( 12 ) Reserved by System 1 (PARAM14)

Used by system (the channel number of the communication buffer in use is stored).

Note: At the first scan during power up, make sure to set this to “0” by user program. After that, the register is

used by system, so do not change the value with the user program.

( 13 ) Reserved by System 2 (PARAM15, PARAM16)

Used by system. Do not change the value with the user program, etc.

Table G.27 Write Range Parameter List

Parameter

Contents

Description

PARAM12

Write range LO

Start address of the write range

PARAM13

Write range HI

Last address of the write range

Advertising