Master-Control Communication Setup

You are viewing an old version of the documentation. You can switch to the documentation of the latest version by clicking the top-right corner of the page.

This topic describes how to set up master-control communication between Mech-Mind Vision System and a Han’s robot.

Check Controller and Software Versions

  1. In the logon interface of the teach pendant, enter the username and password and click Confirm to go to the robot system. The default username and password are both admin.

    hans master1
  2. Select the menu icon in the upper-right corner  About. In the pop-up window, view the interface, hardware, and CPS version.

    The versions listed below are tested and can be used. If you use other versions, errors may occur.
    hans master2
    hans master3

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 network port (LAN1) of the robot controller.

hans master4

Set IP Addresses

  1. On the teach pendant, select System  Network  enp1s0  Static IP, modify the robot IP address, subnet mask, and default gateway, and then click Apply. In the pop-up window, click the restart button for the new IP address to take effect.

    hans master5
    hans master6
  2. Set the IP address on the IPC.

    The IP addresses of the IPC and the robot should differ from each other but reside in the same subnet.

Test Master-Control Communication

Enable the Robot

  1. On the teach pendant, select Run  Open.

    hans master7
  2. In the following interface, click Enable.

    hans master8

    After you click Enable, the following interface appears.

    hans master9

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 joint positions 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.