FAQ# AHAR-5HNJLR Published: 05/04/2006

Question:Is it possible to communicate to an MP920 218IF Ethernet Module from a PC using an OPC Server?
Answer:*Note: This FAQ was updated: 11/17/2004*

Yes, Kepware has developed an OPC Server to communicate with a PC to an MP920 218IF module over ethernet. This driver is part of the Kepware Yaskawa OPC Server Suite. Purchasing either the Yaskawa Memobus Plus Ethernet OPC Server, or the Yaskawa Memobus Plus Serial OPC Server entitles you to both drivers.

Kepware Product # OPC-YKWME-NA00
(Kepware Website)



The following is a procedure to set up the user PC with Kepware Server, and the MP920 218IF system with a sample configuration and communication program. This setup procedure/program can be used for testing purposes. Then the user can modify it to better fit the application.

A. MP920 Setup
From the MotionWorks 218IF Module Configuration Screen, configure the following for each connection to an OPC server device:

1) A unique source port. The driver will use 502 by default.
2) Set the connection to use TCP/IP in "Unpassive Open" mode. Unpassive open mode is used when "000.000.000.000" is specified for the destination IP, and "0" is specified for the destination port. DST. IP: 0.0.0.0 and DST.Port: 0 (Destination IP and Destination Port). This allows any PC with any IP address (which has the OPC Server loaded) to communicate to the MP920 218IF. It may be necessary to have the PC set up with the same subnet as the MP920. To verify connection, perform a Ping test (ping 192.168.1.200) from the Command Window.
3) Set the connection to use the "Memobus" protocol.
4) Set the connection to use the "RTU" protocol code.

Follow the setup procedure attached "Kepware_OPC.pdf". It is advisable to use this program in testing. Then after its running, adjust the program as needed.
In the attached example "Cpu1.zip_2004_0928", the MP920 is set up with static IP address of 192.168.1.200.

Note: Upper address range (>4095) of IB and MB is not yet supported, for BIT extraction ONLY

B. KepServer Installation
The KEPServerEx server file can be downloaded from www.kepware.com. Yaskawa MP Ethernet driver is installed automatically.



Kepware updated/new drivers coincide with Server Relase V4.150.304 (11/12/04)
Yaskawa Memobus Plus (V4.11.19)
- Added string support for Holding, Constant, and Link registers.
Yaskawa MP Ethernet (V4.01.14)
- Added message box for out of range block size entries.
Yaskawa MP Serial (V4.11.2)
- New Driver
C. Running the demo
The file "Demo.opf" is a simple demo project for KEPServerEx that uses Yaskawa driver. After opening the demo, right click on device1, select properties, and change device ID address to match IP address of the 218IF module. Launch the Quick Client from the Tools menu to read and write data.
Note: Upper address range (>4095) of IB and MB is not yet supported, for BIT extraction ONLY

Supporting Information:
    • First-time Kepware Installer
Details about PC to 218IF connectivity and/or communication are provided in this FAQ.
http://www.kepware.com/Products/kepserverex_features.html
    • First-time 218IF Users
Details regarding PC to 218IF connectivity or/and communication are provided in this FAQ.
    • HMI Users
For connectivity and training examples for commonly used HMI's, go to:
http://www.kepware.com/Support_Center/SupportDocuments/KTSM00001_Client_Connectivity_Guide.pdf
The following is a partial list of HMI’s covered in the Connectivity Guide:
Rockwell Software's RSView32(r), GE's Cimplicity(r), Iconics' Genesis32(r), Cutler Hammer's PanelMate PC Pro, Think &Do's Live, Wonderware's InTouch(r) and OPCLink(r), Intellution's Fix Dynamics(r) and OPC PowerTool(r), Siemens' WinCC(r), and Kepware's OPC QuickClient
    • Technical Support
During the evaluation period, the user is entitled to 2-hours of FREE technical support. However, before contacting the technical support, it may be useful to first check out the online support page:
http://www.kepware.com/Support_Center/support_technical.html
email: tech.support@kepware.com
    • Kepware Sales
Tony Hartford
Director of Sales/Marketing
office: 207-846-5881 x208
email: tony.hartford@kepware.com
web: www.kepware.com

Product Information:

Product Group:Motion
Product:MotionWorks Software, MP920 Machine Controller
Applications:
Category:Application Example; Integration; Network Communications

Other Information:

Link to related files:Kepware_OPC.docReleaseNotes.txtDemo.opfyaskawa_mp_ethernet.cntYASKAWA_MP_ETHERNET.GIDYASKAWA_MP_ETHERNET.HLPCpu1_2004_0928.zipyaskawa_mp_ethernet.chm

For information about connecting to Wonderware, see this FAQ link:
http://www.yaskawa.com/site/webfaqmotion.nsf/(DocID)/MTN-7X8G4K?opendocument

SAFETY PRECAUTIONS AND INSTRUCTIONS FOR USE OF FAQ INFORMATION!
Please read and understand the product instruction manual before installing, servicing or operating Yaskawa products. FAQ content and illustrations are provided as technical advice to augment the information in manual, not superceed it. It is not possible to give detailed instructions for all types of installation or support activities. The information described in the FAQs are subject to change without notice to improve the product or FAQ. Yaskawa assumes no responsibility for errors or omissions or damages resulting from the use of the information contained in any FAQ. All warnings, cautions and product instruction for product use must be followed. Installation, operation and maintenance should be carried out by qualified personnel. Failure to observe these and other precautions highlighted in the product manuals will expose the user to high voltages resulting in, serious injury or death. Qualified personnel are defined as individuals who are familiar with the installation, starting, operation and maintenance of Yaskawa products of the type described and have proper qualifications to perform the work.