A-107, 7 ) data address (param05), 8 ) data size (param06) – Yaskawa MP2300S Basic Module User Manual

Page 429: 9 ) remote cpu number (param07)

Advertising
background image

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

G.2 Message Receive Function (MSG-RCV)

A-107

Appendices

( 7 ) Data Address (PARAM05)

A data address requested from the transmission side is output.
However, when reading/writing multiple holding registers (function code: 17H), enter a start M register number for the
address table. The four words of addresses at the beginning of the M register set by PARAM05 (data address) are used
as an address table. In this address table, read address, read size, write address, and write size requested from the trans-
mission side are output.
For more information about the address table, refer to G.1.6 Function Setting and Parameter Details for MODBUS/
TCP Protocol
.

( 8 ) Data Size (PARAM06)

The read/write data size (number of bits or words) requested from the transmission side is output.

( 9 ) Remote CPU Number (PARAM07)

Refer to G.2.8 Relationship between Data Address, Data Size, and Offset for MSG-RCV Function.

( 10 ) Offset (PARAM08 to PARAM11)

Specify an offset address for the reception side data address.
The address for the reception side will be displaced by the number of words designated by the offset.

Note: 1. For more information, refer to G.2.8 Relationship between Data Address, Data Size, and Offset for

MSG-RCV Function.

2. The offset cannot be a negative value.

The offset parameter is prepared for each target data type.
The following table lists the offset parameters.

The valid offset parameter may differ according to the function code.
The following table lists the valid parameters for each function code.

Table G.29 Offset Parameter List

Parameter

Contents

Description

PARAM08

Coil offset

Sets the coil’s offset word address.

PARAM09

Input relay offset

Sets the offset word address of an input relay.

PARAM10

Input register offset

Sets the offset word address of an input register.

PARAM11

Holding register offset

Sets the offset word address of a holding register.

Table G.30 Valid Parameter List for Offset of Each Function Code

Function Code

Function

Valid Offset

Parameter

01H

Reads coil state

PARAM08

02H

Reads input relay state

PARAM09

03H

Reads holding register content

PARAM11

04H

Reads input register content

PARAM10

05H

Changes single coil state

PARAM08

06H

Writes to single holding register

PARAM11

0FH

Changes multiple coil states

PARAM08

10H

Writes to multiple holding registers

PARAM11

16H

Mask writes to holding register

PARAM11

17H

Reads/Writes multiple holding registers

PARAM11

Advertising