Master-Control Communication Setup (DOBOT CRA)

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 document describes how to set up Master-Control communication between {company} Vision System and a DOBOT CRA Series robot.

The operations described in this document have only been tested in a virtual simulator and have not yet been tested on a real robot.

Preparations

Check Controller and Software Versions

  • Controller version: 4.5.1.

  • DobotStudio Pro version: 4.5.

After you connect the controller in DobotStudio Pro, you can view the software and controller version information in the lower-right corner of the software interface.

Set up the Network Connection

  1. Plug one end of the Ethernet cable into the network port of the IPC and the other end into the LAN port on the back of the robot controller. In the following figure, ⑤ indicates the LAN port.

    port

  2. Set the IP address of the IPC and the IP address of the robot.

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.169/255.255.255.0 and 192.168.100.170/255.255.255.0 are in the same subnet.

Switch to TCP Mode

  1. In DobotStudio Pro, perform the following operations to search for and connect the controller.

    dobot cra 1
  2. After the controller is connected, click the option next to Device mode (such as Online as shown in the following figure). In the pop-up dialog box, select TCP and click Confirm.

    dobot cra 2
  3. Confirm that TCP/IP Secondary development is displayed next to Device mode.

    dobot cra 3

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.