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 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 3.5.6

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 IP addresses of the IPC and robot controller must reside in the same subnet. This means that the network portions and subnet masks of the IP addresses should be the same. For example, 192.168.100.2/255.255.255.0 and 192.168.100.3/255.255.255.0 are in the same subnet.

  1. Set the IP address of the IPC.

  2. Set the IP address of the robot.

    • If the robot controller software is DobotSCStudio, set the IP address by performing the following operations.

      In DobotSCStudio, go to System  ToolConfig  NetworkSetting  Auto IP Address  Save.

      dobot setup instructions 2
      If the robot IP address does not reside in the same subnet as the IPC, select Manual IP Address, set the IP address manually, and then save the settings.
    • If the robot controller software is DobotStudio, set the IP address by performing the following operations.

      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 (required only by DobotStudio)

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

dobot setup instructions 4

Precautions

  1. Do NOT use Mech-Viz and DobotSCStudio or DobotStudio at the same time. Otherwise, Mech-Viz may be unable to communicate with the robot.

  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 program runtime. 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 motion path will differ from the planned path of Mech-Viz. You can perform the following operations 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 to DI0 in Mech-Viz.

  6. If the robot suddenly stops when moving and SafeSkin is enabled, it indicates that collisions are detected. The collisions may be caused by cables wrapping around the robot arms. Disable SafeSkin to prevent false collision detection.

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