Caution, Ethernet – Yaskawa MP2300S Basic Module User Manual

Page 265

Advertising
background image

6.4 Communication with PLC Manufactured by Mitsubishi Electric Corporation (MELSEC protocol)

6.4.1 When the MP2300S Acts as Slave (automatic receive function is used)

6-76

„

Caution

Communication using the automatic receive function is 1:1 communication.
Also, when “Communication Protocol Type: MELSEC” is used in communication with the MELSEC Q series, the MELSEC Q
series (master) side can read/write the holding register of the MP2300S (slave) using fixed buffer communication.
However, when the MP2300S acts as a slave, you cannot use the inter-CPU or random access communication, because of the
MELSEC specifications.
In addition, use the message receive function (MSG-RCV) when communicating with multiple remote devices.

„

Setting Example

The following figure illustrates one example of writing the contents of the data register (D00201 to D00300) of
MELSEC Q series (master) into the MP2300S (slave) holding register (MW00000 to MW00099).

The particular setup procedure is explained in the subsequent pages.

MP

/

Ethernet

LINK

00

23

S

&%

&%

8

4.;

176

0V

;#5-#9#

6'56

4&;

#./

/6:

64:

470

'44

$#6

+2

59



59



10

10

%0()

+06

572

/10

5612

$#66'4;

M-

I/II

'
'6'56

+06

01

01

MW00000
MW00001

MW00099

D00201
D00202

D00300

MW00098

D00299

Data size
100W

Data size

100W

Slave

Master

MP2300S

(Local station)

MELSEC Q series

(Remote station)

Ethernet

Ethernet

IP address: 192.168.001.001

IP address: 192.168.001.002

TCP

BIN

Communication Protocol
Type

Connection Type

Data Code Type

MELSEC protocol

Port number: 10001

Port number: 10001

MP2300S

MELSEC Q series

(Remote station)

(Local station)

Holding register (M register)

Data Register (D register)

Write

Advertising