Master-Control Communication Setup

This guide shows you how to set up Master-Control communication with a DOBOT robot.

Preparation

Check Controller and Software Compatibility

  • Controller software version: 3.5.2 or above.

  • Mech-Vision & Mech-Viz versions: 1.6.0 or above

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 of the robot controller.

dobot setup instructions 1

① is the network port of the robot controller.

Set the IP Address

To allow communication between the IPC and the robot controller, the IPC’s network port connected to the robot controller should be in the same subnet as the robot. This means that the network portions and subnet masks of the IP addresses should be the same. For example, 192.168.100.1/255.255.255.0 and 192.168.100.2/255.255.255.0 are in the same subnet.

  1. Set Camera IP Address.

  2. Set Robot IP address.

    • If the robot controller software is DobotSCStudio, set the IP address according to the following steps.

      In DobotSCStudio, go to system  ToolConfigure  NetworkSetting  Auto IP Address  Save.

      dobot setup instructions 2
      If the IP address isn’t in the same subnet as the IPC, select Manual IP Address, set the IP address manually, and save the settings.
    • If the robot controller software is DobotStudio, set the IP address according to the following steps.

      In DobotStudio, go to Settings  Communication settings  Get IP automatically, enter the IP address, netmask and default gateway, and click Apply.

      dobot setup instructions 3

Switch to Remote Control Mode (only required by DobotStudio software)

In DobotStudio, click Settings  Remote Control, select TCP/IP Secondary development for Current mode, and click Apply.

dobot setup instructions 4

Notes

  1. Do NOT use Mech-Viz and DobotSCStudio/DobotStudio software at the same time. Otherwise, Mech-Viz may not connect to the robot properly.

  2. Do not use Mech-Viz when operating the teach pendant.

  3. It is suggested to remove the Wi-Fi USB device connected to the controller since the device may affect remote control.

  4. When master-controlling the DOBOT robot, Mech-Viz does not support setting the robot’s TCP during the project. Therefore, please make sure that the TCP value on the robot side is consistent with the TCP set in Mech-Viz. Otherwise, the real robot’s linear move path will differ from the planned path of Mech-Viz. Users can perform the following steps to make the TCP values consistent:

    1. Modify the TCP value on the robot side manually to match the TCP set in Mech-Viz;

    2. Move the Robot;

    3. Reconnect the robot to Mech-Viz.

  5. The DI value of the DOBOT robot is one greater than that in Mech-Viz. For example, DI1 of the real robot corresponds with DI0 in Mech-Viz.

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.