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 set up Master-Control communication with a STAUBLI robot.

Account password:

  • default: empty.

  • maintenance: spec_cal.

  • staubli: The password is not open to the public.

Check Hardware and Software Versions

Controller series: CS8 or CS9.

Set up the Network Connection

Connect the Hardware

Connect the hardware as shown in the following figure. Connect ① to the IO board, and ② to the IPC.

handware connection

Set the IP Address

Set the IP address to the one in the following figure.

set ip

Load the Program Files to the Robot

Obtain the Program Files

The program files are stored in Communication Component/Robot_Server/Robot_FullControl/staubli in the installation directory where Mech-Vision and Mech-Viz are installed.

Prepare for Loading Program Files

Set IO before copying the program files. On the teach pendant, find the IO board and view its number.

begin to load 2

The standard etherCAT IO board from STAUBLI provides four DOs (exDO) and eight DIs (exDI). You can set the IO by modifying the mm_control.dtx file in the mm_control folder. Change the “Digital_I/O” string to “Term_1_(D24403000)” as shown in the following figure.

begin to load 3

Load the Program Files to the Robot

You can copy the program files to the robot via FTP. Before copying them, make sure that the IP addresses of the IPC and the robot are in the same subnet, and you can ping the robot from the IPC successfully. In addition, make sure that the FTP service has been enabled on the IPC.

begin to load 4

Then, perform the following steps:

Reboot the robot and check whether the IO board is set successfully. The following figures show the settings of IO board before and after the IO setting respectively:

begin to load 5
begin to load 6

Further Configuration

Switch to the Automatic mode and load the program. Select VAL3 and then double-click mm_control under Storage.

begin to load 7
begin to load 8
begin to load 9

Perform steps indicated by ①-③ of the following figure. If any errors occur, fix them before proceeding. The errors are mostly caused by IO settings. Then power on the robot by pressing the button indicated by ④. When the blue light blinks, press the button indicated by ⑤. The blue light becomes solid. The button indicated by ⑥ is used to adjust the speed.

begin to load 10

Test Master-Control Communication

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.