A-62, 6 ) function code (param04) – Yaskawa MP2300S Basic Module User Manual

Page 384

Advertising
background image

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

G.1 Message Transmit Function (MSG-SND)

A-62

( 6 ) Function Code (PARAM04)

Set a function code to transmit.
The functions (read coil or input relay state, write to holding register, etc.) registered in the function codes are made
available by specifying the code.
The following table shows the function codes available when using a MEMOBUS or Extended MEMOBUS 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 slave operation mode, the coil, holding register, input relay, and input register are MB, MW, IB, IW

respectively.

Table G.1 Function Code List (MEMOBUS, Extended MEMOBUS)

Function Code

Target

Data Type

Function

Protocol Type

Extended

MEMOBUS

MEMOBUS

00H

Unused

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

Unused

08H

Loopback test

09H

W

Reads holding register content (extended)

0AH

W

Reads input register content (extended)

0BH

W

Writes to holding register (extended)

0CH

Unused

0DH

W

Discontinuously reads holding register
(extended)

0EH

W

Discontinuously writes to holding register
(extended)

0FH

B

Changes multiple coil states

10H

W

Writes to multiple holding registers

Advertising