Master-Control Communication Setup

You are currently viewing the documentation for the latest version (2.1.0). 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 MELFA 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 and the configuration files to the robot system to establish the Master-Control communication between the vision system and the robot.

Preparation

Set up the Network Connection

Connect the Hardware

Use the Ethernet cable to connect the network ports of the IPC and the robot controller.

melfa0

Set the IP Address on the IPC

The default IP address of the MELFA robot is 192.168.0.20. Therefore, set the IPC’s IP address to one on the subnet 192.168.0.0/255.255.255.0.

The IP addresses of the IPC and the robot should on the same subnet, but do not set the same IP addresses.

Create and Configure the Project

In this guide, the Master-Control program is loaded into the robot via the software RT ToolBox3. Therefore, before loading the program, you need to install RT ToolBox3.

  1. Install the software RT ToolBox3 onto the IPC.

    You may contact the robot manufacturer to obtain the software RT ToolBox3.
  2. Open RT ToolBox3. Click New on the menu bar, enter the workspace name and then click OK.

    melfa1
  3. Click Robot Model on the left panel, and select the Series, Type, Maximum Load and Robot Model of the robot in use.

    melfa2
  4. Click Communication on the left bar and check the robot’s IP address. Ensure that the robot’s and IPC’s IP addresses are on the same subnet. Set the connection method to TCP/IP. Then, click Finish.

    melfa3
  5. When the dialogue box as follows pops up, click Online to connect the robot in use.

    melfa4

Load the Program Files to the Robot

  1. On the Workspace panel, click Simulation  Program  Program Manager.

    melfa5
  2. Finish the steps below in the pop-up window.

    1. Click ....

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

    3. Select (Select All).

    4. Click Copy.

    5. Click OK in the pop-up window. The copied files will show up in the file list area on the right. Then, click Close.

      melfa6

Now, the Master-Control program and configuration files are loaded into the robot system.

Configure Ethernet

  1. Click Simulation  Parameter  Communication Parameter  Ethernet on the left Workspace panel.

    melfa7
  2. Click Device & Line on the left menu, and then double-click the line OPT18.

    melfa8
  3. In the pop-up window, set Protocol to Data Link, and click OK.

    melfa9
  4. Set Protocol of the device OPT19 to Data Link following the steps above.

  5. In the Ethernet window, set the value of COM7 to OPT18 and the value of COM8 to OPT19, and click Write.

    melfa10
  6. Click (Y) in the pop-up dialogue box.

    The robot automatically restarts after writing the program.
    melfa11

Test Master-Control Communication

Run the Program

  1. Switch the key on the robot controller to the AUTOMATIC mode.

    melfa12
  2. Click Simulation  Operation Panel in the workspace panel of RT ToolBox3.

    melfa13
  3. Click the Select icon in the operation panel. Select EXC in the pop-up window and click OK.

    melfa14
    melfa15

    After that, EXC will display in the Program text box.

    melfa16
  4. Click SVO ON, and then click START.

    melfa17

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.