A-74, 7 ) data address (param05) – Yaskawa MP2300S Basic Module User Manual

Page 396

Advertising
background image

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

G.1 Message Transmit Function (MSG-SND)

A-74

( 7 ) Data Address (PARAM05)

Specify the start address of the data.
The address must be a decimal or hexadecimal number.
Example: When the start address is MW01000, specify “1000 (decimal)” or “3E8H (hexadecimal).”
The range of data addresses may differ according to the function code.
The following table gives the valid ranges of data addresses when using MODBUS/TCP as a protocol.

* 1. Invalid when Ethernet (218IF) is used.
* 2. Mask write request to holding register: Specify the start M register number of the remote address-cum-local data

table

* 3. Request for reading/writing multiple holding registers: Specify the start M register number of an address table

Note: 1. Data table

A data table used for a mask write request to the holding register is used for storing mask data. The
two words of addresses at the beginning of the M register specified by PARAM05 (data address) are
used as an address table.
Specify AND and OR mask data for the data table.
Note that PARAM05 (data address) used for the mask write request to the holding register doubles as
the start M register number in the local station, which is also used for specifying the start data address
and as the data table in the remote station for mask writing.
The contents of the data table used when mask writing to the holding register is as follows:

Table G.13 Valid Range of Data Addresses (MODBUS/TCP)

Function Code

Target

Data Type

Function

Valid Range of Data Addresses

00H

Unused

Disable

01H

B

Reads coil state

0 to 65535 (0 to FFFFH)

02H

B

Reads input relay state

0 to 65535 (0 to FFFFH)

03H

W

Reads holding register content

0 to 65534 (0 to FFFEH)

04H

W

Reads input register content

0 to 32767 (0 to 7FFFH)

05H

B

Changes single coil state

0 to 65535 (0 to FFFFH)

06H

W

Writes to single holding register

0 to 65534 (0 to FFFEH)

07H

:

Unused

Disable

0EH
0FH

B

Changes multiple coil states

0 to 65535 (0 to FFFFH)

10H

W

Writes to multiple holding registers

0 to 65534 (0 to FFFEH)

11H

:

Unused

Disable

15H

16H

W

Mask writes to holding register

*1, *2

0 to 65534 (0 to FFFEH)

17H

W

Reads/Writes multiple holding register

*1, *3

0 to 65534 (0 to FFFEH)

MW

MW

+1

PARAM05

Data table for mask writing to

holding register

AND mask data

OR mask data

Advertising