A-70, 8 ) data size (param06) – Yaskawa MP2300S Basic Module User Manual

Page 392

Advertising
background image

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

G.1 Message Transmit Function (MSG-SND)

A-70

( 8 ) Data Size (PARAM06)

Set the data size (number of bits or words) for the read/write request.
Be sure that the last data address determined based on the offset, data address, and data size does not go beyond the
scope of the data addresses.
The range of data addresses may differ, depending on the function code and communication device.
The following table gives the valid ranges of data sizes when using MELSEC as a protocol.

Note: The restricted data size when using TCP is the maximum size transmitted using one segment.

The segment size is determined by MTU (maximum transfer unit) as a TCP data transfer unit.
The valid range of data sizes mentioned above is for MTU = 1500 bytes.

Table G.9 Valid Range of Data Sizes

Function Code

MELSEC

ACPU

Common

Command

Function

Valid Range of Data Sizes

Ethernet(218IF)

Ethernet(218IFA)

01H/02H

00H

Reads bit device in units

1 to 256 units

03H/04H/

09H/0AH

01H

Reads word device in units

1 to 256 units

05H/0FH

02H

Writes to bit device in units

1 to 256 units

06H/0BH/

10H

03H

Writes to word device in units

1 to 256 units

08H

16H

Loopback test

0EH

05H

Specifies a device number for each word device at
random and sets/resets each word device

1 to 40 units

31H

60H

Writes to the fixed buffer in words

See the table below.

32H

61H

Reads from the random access buffer in words

33H

62H

Writes to the random access buffer in words

Function

Valid Range of Data Sizes

Connection Type

Code

Ethernet(218IF)

Ethernet(218IFA)

Writes to the fixed buffer in words

TCP

BIN

1 to 507 words

1 to 727 words

ASCII

1 to 362 words

1 to 362 words

UDP

BIN

1 to 507 words

1 to 1017 words

ASCII

1 to 507 words

1 to 508 words

Reads from the random access buffer in
words

TCP

BIN

1 to 508 words

1 to 728 words

ASCII

1 to 363 words

1 to 363 words

UDP

BIN

1 to 508 words

1 to 1017 words

ASCII

1 to 508 words

1 to 508 words

Writes to the random access buffer in
words

TCP

BIN

1 to 507 words

1 to 726 words

ASCII

1 to 361 words

1 to 361 words

UDP

BIN

1 to 508 words

1 to 1017 words

ASCII

1 to 508 words

1 to 508 words

Advertising