Master-Control Communication Setup

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 you how to load the Master-Control program to a FAIRINO robot, and set up the Master-Control communication between the robot and the Mech-Mind Vision System.

In this section, you will load the robot Master-Control program to the robot system to establish the Master-Control communication between the vision system and the robot.

Preparation

Set up the Network Connection

The Ethernet port on the button box defaults to the teach pendant control port with an IP address of 192.168.58.2. Therefore, you only need to configure the IP address of the IPC as follows:

  1. Connect the button box’s Ethernet port to the IPC Ethernet port using an Ethernet cable.

  2. Set the IP address of the IPC to 192.168.58.10.

  3. On the IPC, open Google Chrome and enter http://192.168.58.2 in the address bar to access the teach pendant webpage.

    The initial username is admin and the password is 123.

Check Controller and Software Compatibility

In the left sidebar, navigate to Settings  About.

  • The versions used in this section are shown in the figure. If you are using other versions, you can follow the procedures described here to set up the communication. However, we cannot guarantee success. If the setup fails, contact the Mech-Mind technical support for assistance.

  • If the controller version is outdated, it is recommended to contact the robot manufacturer to upgrade the system.

fr1

Load the Program Files

  1. In Manual mode, load the Master-Control program as follows.

    1. Navigate to Teaching  Program Teaching  Import. The Import File window will appear. Click Browse…​

    2. In the pop-up file browser, go to Communication Component/Robot_Server/Robot_FullControl/fr from the installation directory of Mech-Vision & Mech-Viz. Select the folder mm_control.lua and click Open.

    3. In the Import File window, click Import to complete the process.

      fr2
  2. Click the folder icon, select the mm_control.lua file in the pop-up window, and click Open to view the detailed Master-Control program code.

    fr3

Test Master-Control Communication

Create a Mech-Viz Project

  1. Open Mech-Viz, press Ctrl + N on the keyboard to create a new project. In the following interface, click Load online robot list. 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 the Robot

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

  2. Input the IPC IP address (192.168.58.10) in Robot IP address and select Connect the robot.

    Unnamed image
  3. Switch the robot from Manual mode to Auto mode as shown in the figure. Additionally, you may adjust the global speed as needed.

    fr5
  4. Run the program according to the instructions.

    fr6
  5. 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 IP address of the IPC, clear any robot alarms, and rerun the Master-Control program.

Move 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 button box immediately!
    Unnamed image

Precautions

  • If a 500 error appears on the robot webpage, reconnect the robot in Mech-Viz and rerun the Master-Control program.

  • If a singularity error occurs on the robot webpage, manually move the robot to a non-singular position, clear the alarms, and rerun the Master-Control program.

  • If the Master-Control program freezes and the robot fails to receive data from Mech-Viz, contact the robot manufacturer to upgrade the controller system version.

  • Do not power on the robot while the emergency stop button is pressed, as this may cause unknown errors.

  • For any other errors that cannot be cleared, try restarting the robot.

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.