Connection example [MP2000 series/MP2310]

<< Click to Display Table of Contents >>

Manual > Device Connection Guide > Yaskawa Electric > Connection Procedure (Ethernet) > CP-9200SH/MP2000/MP920/CP-316/CP-317 >

Connection example [MP2000 series/MP2310]

overview

This is a setting example for Ethernet connection with MP2310 of the MP2000 series.

 

Model used

item

Model etc.

PLC

MP2310

Communication Unit

CPU Attached Port

 

Configuration environment

item

environment

OS

Windows7 Professional 64Bit

tool

MP720 Ver7.35.0100

 

Configuration details

item

setting

Setting items

Configuration Example

PLC side settings

Set with tools

IP address

192.168.0.100



Subnet mask

255.255.255.0



Gateway IP Address

0.0.0.0



Port number

10001

PC settings

Unit Settings

IP address

Automatic



Port number

Automatic


Communication Protocol

UDP

Folder and communication test settings

CPU Number

1

 

 

PLC side settings

Configure the MP2310. Configure the MPE720.

 

1.Select "Online" - "Connect" from the menu and connect to PLC.

 

2.Select "Module Configuration Definition"
c_plc_0838

 

3.When the module configuration definition window appears, double-click "218IFA."
c_plc_0839
 

4.When the detailed definition window opens, set the parameters as follows:
c_plc_0840
 

setting

Setting contents

IP address

192.168.0.100

Subnet mask

255.255.255.0

Gateway IP Address

0.0.0.0

 

5.Click the "Easy Settings" button to display the settings screen.
c_plc_0841

 

6.Set the connection parameters as follows and click the "OK" button.
c_plc_0842
 

 

setting

Setting contents

Connection Number

1

Communication Protocol

Extended Membus

MP Series: Port Number

10001

Other device: Port number

0

Partner device: Partner station IP address

000.000.000.000

Connection Type

UDP

Data Code Type

BIN

 

7.Click the "Set" button for the connection for which you have set parameters.
c_plc_0843
 

8.Enable automatic reception
c_plc_0844
 

9.Save the settings, close the module configuration window, and select "Online" - "Write to Controller" from the menu to write the settings.
c_plc_0845
*Please select the transfer file type according to the situation.

 

 

attention

After setting the parameters, you must turn off the power to the PLC once to reflect the settings. Although a remote reset may be possible from the tool, we recommend turning off the power once to ensure that the settings are reflected.

 

hint

In this connection example, the connection parameters for the other device are set to "IP address: 000.000.000.000" and "Port number: 00000", allowing connections from any IP address and port number. If you want to limit the connections, please configure according to your environment.

 

 

PC settings

Use the Server application to connect to the PLC for which you have set up communications.

 

1.Right-click "Application" - "Driver" in the tree and select Add Driver.
 

2.Select the following units from the displayed driver list and add them:
c_plc_0786
 

3.Open the properties of the added unit (U01) and click Communication Settings.
c_plc_0508
 

4.Configure the following in "PC Settings"
c_plc_0846
 

setting

Setting contents

Computer IP address

Automatic

Computer port number

Automatic

 

5.Set the following in "Unit side settings"
c_plc_0847
 

setting

Setting contents

Unit IP Address

192.168.0.100

Unit Port Number

10001

 

6.Select "Ping Test" to check if the ping goes through normally.
If you see a message like "Ping test is success~", the test was successful.
 

7.Select the protocol in "Communication Details"
c_plc_0848
 

setting

Setting contents

protocol

UDP

 

8.Perform a connection test to check the connection
c_plc_0849
 
If a message such as "Connection OK" is displayed, the connection is confirmed to be OK.

 

 

hint

In this connection example, the PLC side allows connections from any IP address and port number, so the IP address and port number settings on the computer are both set to "Automatic." If connections are only allowed from specific IP addresses and port numbers, specify the appropriate IP address and port number.