Set up Standard Interface Communication with UR e-Series (PolyScope X 10.4 or Above)

You are currently viewing the documentation for the latest version (2.1.2). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

This document describes how to load the URCap plugin into a UR e-Series robot by using PolyScope X 10.4 or above and configure the Standard Interface communication between the Mech-Mind vision system and the robot.

Check Controller and Software Compatibility

  • Make sure that the robot is a e-Series robot.

  • Make sure that PolyScope X 10.4 or above is used.

    Click here for instructions
    1. Select the hamburger menu in the upper-right corner of the teach pendant and select About.

      ur 1
    2. Make sure that PolyScope X 10.4 or above is used.

      ur 2

Set up Network Connection

Connect the Hardware

Plug the Ethernet cable of the IPC into the WAN port of the robot controller, as shown below.

ur 3

Set IP Addresses

  1. Select the hamburger menu in the upper-right corner of the teach pendant and select Settings.

    ur 17
  2. Select Connection  Network > Static and set IP Address and Subnet Mask. After you set the parameters, the specified IP address and subnet mask will be displayed under IP Address and Subnet Mask.

    ur 4
  3. In the IPC, set the IP address of the IPC.

    To allow communication between the IPC and the robot controller, the IP addresses of the IPC and robot controller must reside in the same subnet. This means that the network portions and subnet masks of the IP addresses should be the same. For example, 192.168.100.169/255.255.255.0 and 192.168.100.170/255.255.255.0 are in the same subnet.

Set up “Robot Communication Configuration”

  1. Open Mech-Vision, and you may enter different interfaces. Create a new solution according to the instructions below.

    • If you have entered the Welcome interface, click New blank solution.

    create solution 1
    • If you have entered the main interface, click File  New Solution on the menu bar.

    create solution 2
  2. Click Robot Communication Configuration on the toolbar of Mech-Vision.

  3. In the Robot Communication Configuration window, complete the following configurations.

    1. Click the Select robot drop-down menu, and select Listed robot. Click Select robot model, and select the robot model that you use. Then, click Next.

    2. In the Communication mode section, select Standard Interface for Interface service type, TCP Server for Protocol, and ASCII for the protocol format.

    3. In the Advanced Settings section, set Max num of poses to send per time to 15.

    4. Set the port number to 50000 (fix valued). Ensure that the port number is not occupied by another program.

    5. Under Robot integration, click Open program folder.

      The files needed for subsequent loading will be copied from this folder. Do not close this folder.
    6. (Optional) Select Auto enable interface service when opening the solution.

    7. Click Apply.

tcp ascii urcap
  1. On the main interface of Mech-Vision, make sure that the Robot Communication Configuration switch on the toolbar is flipped and has turned blue.

    interface service

Load URCap Plugin to the Robot

  1. On the IPC, in the opened program folder (UR_URCAP folder), go to the PolyscopeX folder and copy the file with the .urcapx extension to the root directory of the flash drive (the outermost directory).

    • You can also find the program folder in the Communication Component/Robot_Interface/TM_Plugin_and_Play path in the installation directory of Mech-Vision and Mech-Viz.

    • The sample folder stores example program files. You can see the steps in this document to import the example program files into the robot.

  2. Plug the flash drive into the USB port on the back of the robot teach pendant.

  3. Click the hamburger menu in the top-left corner of the teach pendant and select System Manager.

    ur 5
  4. Select URCaps  New  Install URCap.

    ur 6
  5. In the pop-up file browser, select the .urcapx file from the root directory of the flash drive and click Open.

    ur 7
  6. If the .urcapx file is opened successfully, the URCap plugin is loaded. In this case, MM_interface is displayed in the interface.

    ur 8

Initialize Communication

  1. In the teach pendant interface, select Program  Before Start  +.

    ur 9
  2. Select Commands and select MMInitSocket.

    ur 10
  3. In the following interface, set ipAddress to the IP address of the IPC, Port to 50000 (You must set Port to the host port number set in Mech-Vision). After you set the parameters, the specified IP address and port number will be displayed in ipAddress and Port.

    ur 11

Test Standard Interface Communication

  1. In the teach pendant interface, select Program  Main Program  +.

    ur 12
  2. Select Commands. Select MMOpenSocket  MMCloseSocket.

    ur 13
  3. Select the power button in the bottom-left corner and select Start.

    ur 14
  4. Select Unlock.

    ur 15
  5. Click the run button in the lower part.

    ur 16
  6. If the communication between the robot and the vision system is set up, a log will be recorded on the Console tab of the Log panel of Mech-Vision.

    vision center log

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.