Set up Standard Interface Communication with ESTUN

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 guide shows how to load the Standard Interface program files to an ESTUN robot, and set up the Standard Interface communication between Mech-Mind Vision System and the robot.

In this section, you will load the robot Standard Interface program and the configuration files to the robot system to establish the Standard Interface communication between the vision system and the robot.

Check Controller and Software Compatibility

The models and versions listed below are tested and can be used. For other models and versions, you may refer to this guide for operation. If any issues occur, please contact Mech-Mind Technical Support.

  • System version: RCS2 V1.31

  • Controller version: V1.31

    Do not use controller version V1.35. This version is incompatible with the vision system and cannot communicate properly.

You can check the version information by tapping User Login on the main screen of the teach pendant.

estun 1

Set up the Network Connection

Connect the Hardware

Plug one end of the Ethernet cable into the network port of the IPC and the other end into the LAN2 or LAN3 port on the controller.

  • LAN3 port supports TCP/IP communication by default. If the ECAT package is already enabled on the controller, LAN3 cannot be used for general TCP/IP communication. In this case, use LAN2 instead.

  • LAN4 port supports VNC communication by default.

estun 2

Set the IP Address

  1. On the teach pendant, enter teach mode, then tap User Login on the main screen. In the Current User dropdown list, select Administrator and enter the password (default: 000000) to switch to administrator mode.

  2. After logging in as an administrator, go back to the main screen and navigate to Advanced Settings  Network Settings. Check or modify the IP address for the selected network port.

    estun 3
  3. On the IPC, set the IP address to ensure it is within the same subnet as the controller. Use the ping command to test and confirm that the network connection is successful.

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 4.

    4. Under Robot integration, click Open program folder.

      • If you want to manually load program files, you must perform this step. Otherwise, skip this step.

      • The files needed for subsequent loading will be copied from this folder. Do not close this folder.

    5. (Optional) Select Auto enable interface service when opening the solution.

    6. Click Apply.

tcp ascii estun
  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

Backup

Before you load files to the robot, it is recommended to backup the original robot programs. This allows recovery in case of accidental operations.

  1. Insert the USB drive into the USB port on the teach pendant.

  2. In teach mode, switch to administrator mode, then return to the main screen and navigate to Advanced Settings  Controller Upgrade  Backup Export. The Backup Export interface will appear.

    estun 4
  3. Choose the desired export type (including Runtime, Project, and Log) as needed, and then tap Export. You will be prompted to enter the administrator password (default: 000000) to confirm the operation. After confirmation, it will request the export from the controller.

    If the USB drive is not inserted, a prompt will appear asking to insert a USB drive.
    estun 5
  4. After the export request is approved, a dialog box for renaming the export file will appear. Enter the desired export name and confirm to start exporting the selected files. After the export is completed, it will display the completion status as shown in the figure below. Once confirmed, safely remove the USB drive.

    • Do not remove the USB drive before the export is finished. Otherwise, files may be missing or corrupted.

    • The backup export process takes approximately 5 to 10 minutes. Please wait patiently.

    estun 6

Load the Program Files to the Robot

  1. On the IPC, open the program folder (ESTUN folder) and navigate to the MM_Interface.er folder.

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

  2. Use a text editor to open the MM_AUTO_CALIBRATION.erp and MM_INIT_SKT.erp files. Modify the values of t_p.IP.value[1]~t_p.IP.value[4] and t_p.PORT.value based on the actual situation. t_p.IP.value[1]~t_p.IP.value[4] correspond to the four segments of the IPC’s IP address. t_p.PORT.value corresponds to the host port number set in Mech-Vision.

  3. Insert a USB drive into the IPC and copy the entire MM_Interface.er folder to the root directory of the USB drive. After the copy is complete, safely remove the USB drive.

  4. On the teach pendant, enter teach mode, then tap User Login on the main screen. In the Current User dropdown list, select Administrator and enter the password (default: 000000) to switch to administrator mode.

  5. Insert the USB drive into the USB port on the teach pendant.

    estun 22
  6. Press the folder button on the teach pendant.

    estun 23
  7. Tap the Down Arrow icon to expand, then go to Loader  U-Path.

    estun 24
    estun 25
    estun 26
  8. Select MM_Interface.er and tap OK.

    estun 27
  9. First, in the left Ftp pane, select the Project; then, in the right U File pane, select MM_Interface.er; finally, tap the left arrow button and wait for the copy progress bar to complete.

    estun 28
    estun 29
    estun 30
  10. When MM_Interface appears in the Project panel, the program has been successfully loaded.

    estun 31

Test Standard Interface Communication

  1. In teach mode, press the folder button on the teach pendant, expand MM_Interface, select MM_INIT_SKT, and tap Load to open the program file.

    estun 36
  2. In the opened program file, check the value of P:PORT.value on line 3 (this value must match the host port number set in Mech-Vision). Then, check the values of P:IP.value[1]~P:IP.value[4] on lines 4 to 7 (these four values must correspond to the four segments of the IPC’s IP address).

    estun 37

    If you need to modify these values, refer to the following example. The example below demonstrates how to change 127 to 192 in line 4.

    1. Select line 4 and tap Modify.

      estun 38
    2. Place the cursor on 127 and tap Modify.

      estun 39
    3. Enter 192, then tap OK  Confirm in sequence.

      estun 40
  3. Press the folder button on the teach pendant and enter the Project view. Expand MM_Interface, select MM_COM_TEST, and tap Load to open the program file.

    estun 46
  4. Turn the key switch on the teach pendant to position A to switch to Auto mode.

    estun 41
  5. Press the Step button (position 1 in the figure) and confirm that the program is in continuous running mode (position 2 in the figure).

    estun 42
  6. Press the Mot button (position 1 in the figure) and confirm that the enable indicator light (position 2 in the figure) is lit.

    estun 43
  7. Press the Start button to run the program. Press the Stop button to stop the program.

    estun 44
  8. 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.