A-68, 5 ) option (param03), 6 ) function code (param04) – Yaskawa MP2300S Basic Module User Manual

Page 390

Advertising
background image

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

G.1 Message Transmit Function (MSG-SND)

A-68

( 5 ) Option (PARAM03)

Choose a unique setting for each communication device.
This is not used by the MELSEC protocol, and does not require setting when MELSEC is used.

( 6 ) Function Code (PARAM04)

Set a function code to transmit.
The functions (read bit/word device, write to word device, etc.) registered in the function codes are made available by
specifying the code.
The following table lists function codes used with the MELSEC protocol.

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

2. AnCPU dedicated commands are not supported. When accessing AnCPU, also use the ACPU com-

mon commands. You cannot access the AnCPU extended file register.

Table G.6 Function Code List

Function Code

MELSEC ACPU

Common Command

Target Data

Type

Function

01H/02H

00H

B

Reads bit device in units

03H/04H/09H/0AH

01H

W

Reads word device in units

05H/0FH

02H

B

Writes to bit device in units

06H/0BH/10H

03H

W

Writes to word device in units

08H

16H

Loopback test

0EH

05H

B

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

31H

60H

W

Writes to the fixed buffer in words

32H

61H

W

Reads from the random access buffer in words

33H

62H

W

Writes to the random access buffer in words

Advertising