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

Page 385

Advertising
background image

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

G.1 Message Transmit Function (MSG-SND)

A-63

Appendices

( 7 ) Data Address (PARAM05)

Specify the start address of the data.
The address must be input in decimal or hexadecimal numbers.
Example: When the start address is MW01000, specify “1000 (decimal)” or “3E8H (hexadecimal).”
The range of data addresses may differ, depending on the function code.
The following table shows the valid ranges of data addresses when using a MEMOBUS or Extended MEMOBUS pro-
tocol.

* 1. Request for reading/writing coil or input relay: Specifies the start bit address of data
* 2. Request for continuously reading/writing register: Specifies the start word address of data
* 3. Request for discontinuously reading/writing register: Specifies the start M register number of the address table

Note: Address Table

An address table is used for specifying addresses indirectly in order to indicate discontinuous data. The
PARAM06 (data size) sizes of addresses at the beginning of the M register set by PARAM05 (data
address) are used as an address table.
When reading, specify the remote station's address to read for the data addresses 1-n. Read values are
stored locally according to the data addresses 1-n.
When writing, data stored in the local data addresses 1-n is picked up and written into the remote sta-
tion’s data addresses 1-n.
The address table used when discontinuously reading/writing registers is as follows:

Table G.2 Valid Range of Data Addresses (MEMOBUS, Extended MEMOBUS)

Function

Code

Target

Data Type

Function

Valid Range of Data Addresses

Ethernet (218IF) Ethernet (218IFA)

00H

Unused

Disable

01H

B

Reads coil state

*1

0 to 65535 (0 to FFFFH)

02H

B

Reads input relay state

*1

0 to 65535 (0 to FFFFH)

03H

W

Reads holding register content

*2

0 to 65534 (0 to FFFEH)

04H

W

Reads input register content

*2

0 to 32767

(0 to 7FFFH)

0 to 65535

(0 to FFFFH)

05H

B

Changes single coil state

*1

0 to 65535 (0 to FFFFH)

06H

W

Writes to single holding register

*2

0 to 65534 (0 to FFFEH)

07H

Unused

Disable

08H

Loopback test

Disable

09H

W

Reads holding register content (extended)

*2

0 to 65534 (0 to FFFEH)

0AH

W

Reads input register content (extended)

*2

0 to 32767

(0 to 7FFFH)

0 to 65535

(0 to FFFFH)

0BH

W

Writes to holding register (extended)

*2

0 to 65534 (0 to FFFEH)

0CH

Unused

Disable

0DH

W

Discontinuously reads holding register (extended)

*3

0 to 65534 (0 to FFFEH)

0EH

W

Discontinuously writes to holding register
(extended)

*3

0 to 65534 (0 to FFFEH)

0FH

B

Changes multiple coil states

*1

0 to 65535 (0 to FFFFH)

10H

W

Writes to multiple holding registers

*2

0 to 65534 (0 to FFFEH)

PARAM05

MW

MW

+1

MW

+(n-1)

Address table

Data address 1

Data address 2

:

Data address n

n: Data size (PARAM06)

Advertising