A-106, 3 ) status (param01), 4 ) connection number (param02) – Yaskawa MP2300S Basic Module User Manual

Page 428: 5 ) option (param03), 6 ) function code (param04)

Advertising
background image

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

G.2 Message Receive Function (MSG-RCV)

A-106

( 3 ) Status (PARAM01)

Refer to G.2.4 Function Setting and Parameter Details for MEMOBUS and Extended MEMOBUS Protocols.

( 4 ) Connection Number (PARAM02)

Refer to G.2.4 Function Setting and Parameter Details for MEMOBUS and Extended MEMOBUS Protocols.

( 5 ) Option (PARAM03)

A unique value is output for each communication device. The output details are as follows:

( 6 ) Function Code (PARAM04)

Received function code is output.
The following table lists the function codes available when using the MODBUS/TCP protocol.

Note: 1. B: Bit type, W: Integer type

2.

√: Available, –: Not available

3. Transmit and receive registers in the master operation mode are MW (MB) only.
4. In the slave operation mode, coil, holding register, input relay, and input register are MB, MW, IB, IW

respectively.

Communication device

Output Details

Ethernet (218IF or 218IFA)

A remote unit ID is output when MODBUS/TCP protocol is used.

Table G.28 Function Code List (MODBUS/TCP)

Function Code

Target

Data Type

Function

Protocol Type

Ethernet (218IF)

Ethernet (218IFA)

00H

Not used

01H

B

Reads coil state

02H

B

Reads input relay state

03H

W

Reads holding register content

04H

W

Reads input register content

05H

B

Changes single coil state

06H

W

Writes to single holding register

07H

:

Not used

0EH
0FH

B

Changes multiple coil states

10H

W

Writes to multiple holding registers

11H

:

Not used

15H

16H

W

Mask writes to holding register

17H

W

Reads/Writes multiple holding registers

Advertising