Master-Control Communication Setup

You are currently viewing the documentation for version 1.8.1. To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ To use the latest version, visit the Mech-Mind Download Center to download it.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

This guide shows you how to set up Master-Control communication with an ESTUN robot.

Check Controller Compatibility

The software version of the robot controller is V1.26 or above.

Set up the Network Connection

Connect the Hardware

Plug the Ethernet cable of the IPC to the LAN4 port of the robot controller.

estun 1

Set the Controller IP Address

Ensure that the IP addresses of the IPC and robot are on the same subnet. For example, if the IP address and subnet mask of the IPC are 192.168.100.1 and 255.255.255.0, the controller’s IP address should be 192.168.100.x (within the subnet 255.255.255.0). If the IP address and subnet mask of the IPC are 192.168.100.1 and 255.255.0.0, the controller’s IP address should be 192.168.x.x (within the subnet 255.255.0.0).

  1. Enter the main interface of the teach pendant, and press Login.

  2. Select Administrator on the current user list, and the password window will pop up.

    The default password of the administrator is 000000.
  3. Return to the main interface after logging in as an administrator. Press Advanced settingsNetwork settings.

  4. Set an IP address for ETH2 (lan4) and save the settings.

ETH2 (lan4) is the Ethernet port used to communicate with VNC.

Load the Program File

The master-control program should be loaded to the robot controller so that Mech-Mind Vision System can master-control the robot side. You should first connect the robot’s low-level control system with VNC before loading the master-control program.

Connect Robot’s Low-level Control System with TightVNC

As remote connectivity software, TightVNC enables easy remote access to your computer. When using TightVNC to remotely connect the robot system, you may conveniently modify files in the robot system.

  1. Download TightVNC software to the robot and unzip it.

  2. Double-click the tvnviewer.exe file, enter the host IP address, i.e., that of ETH2(lan4), and click Connect.

    The system might warn you of malware the first time you run the tvnviewer.exe file. You may ignore the warning.
  3. Enter the password in the authentication window and click OK.

    The default password of the low-level control system of the Estun robot is ERC654321.
  4. After entering the low-level control system, click Management.

  5. Enter the password (estun) in the pop-up window, and then click Minimize on the right panel. The Windows desktop will show.

Prepare and Load the Program

Before loading the program, you need to install Python 2.7 and configure the environment variables. For details, refer to Set up Python.

Prepare the master-control program “Robot3DFaceTestSrv1.py” and configure it before starting the program.

  1. Double-click the computer icon on the desktop, and go to C:/runtime/python/sdk/libs/Robot3DFace.

    estun 10
  2. Copy and paste the files Robot3DFaceTestSrv.py and runpythonSrv.bat, and rename the copy, and rename the respective copies to Robot3DFaceTestSrv1.py and runpythonSrv1.bat.

    estun 11
  3. Open the file Robot3DFaceTestSrv1.py with the Notepad, modify the 7080 port to 7081, save the file, and close the Notepad.

    estun 12
  4. Open the file runpythonSrv1.bat with the Notepad, modify Robot3DFaceTestSrv.py to Robot3DFaceTestSrv1.py, save the file, and close the Notepad.

    estun 13
  5. Go to C:/runtime and open the startSys file. Add the three lines below to the end of the file, save the file, and close the Notepad.

    cd /d c:\runtime\python\sdk\libs\Robot3DFace
    start runpythonSrv.bat
    start runpythonSrv1.bat
    estun 14
    estun 15
    You may double-check if the files are modified correctly.
  6. Restart the robot after the above configuration.

Test Master-Control Communication

Run the Program

  1. Press the green button on the controller.

    estun 16
  2. Turn the key on the teach pendant to the Run mode.

estun 17
estun 18

Then, the master-control program will automatically start to run.

Create a Mech-Viz Project

  1. Open Mech-Viz, press Ctrl+N on the keyboard to create a new project. Select the robot model corresponding to your real robot brand and model on the interface as shown below.

    Unnamed image
  2. Press Ctrl+S and create or select a folder to save the project.

  3. Right-click the project name in the left panel in Mech-Viz and select Autoload Project.

    Unnamed image

Connect to the Robot

  1. Click Master-Control Robot on the toolbar of Mech-Viz.

  2. Input the IP address of the real robot in Robot IP address (the IP address in the picture is only an example). Click Connect the robot.

    Unnamed image

    If Mech-Viz successfully connects the real robot, the current status will change to Connected. Meanwhile, the icon in the toolbar will turn from blue to green.

    Unnamed image

    If the connection fails, please double-check the robot IP address.

Move the Robot

  1. In the toolbar of Mech-Viz, change the “Vel.” (velocity) and “Acc.” (acceleration) parameters to 5%.

    Unnamed image
  2. Click Sync Robot in the toolbar, and you can synchronize the poses of the simulated robot in the 3D simulation space with the poses of the real robot. Then click Sync Robot again to unselect it.

    Unnamed image
  3. In the Robot tab, slightly adjust the value of “J1”, for example, from 0˚ to 3˚. This operation will move the simulated robot.

    Unnamed image
  4. Click Move real robot and check if the real robot has moved. If the real robot has reached the JPs set for the simulated robot, the master-control communication is working.

    When moving the robot, please ensure the safety of personnel. In the case of an emergency, press the emergency stop button on the teach pendant!
    Unnamed image

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.