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

Preparation

Check Hardware and Software Versions

  • The robot belongs to the M-series, and the robot controller of this series is shown below.

    doosan setup instructions 1
  • Controller firmware version: V2.8.

Start the Robot and Teach Pendant

  1. Open the power switch under the controller.

  2. Press the power button at the upper left corner of the teach pendant.

    doosan setup instructions 2
  3. On the home screen of the teach pendant, press Setting in the bottom panel, and then press Robot Update to confirm whether the firmware, which is GV02080000 in the figure below, version is V2.8.

    doosan setup instructions 3
  4. On the teach pendant, press Status in the bottom panel and then select On. A Safety Message window will pop up.

    Before you press any options in the bottom panel, make sure you have closed windows of other options on the screen.
    doosan setup instructions 4
  5. Press and hold the Home Position button until an Information Message window pops up. The pop-up window will disappear after a few seconds, which indicates that the robot has moved to the home position. Then press the exit button to close the Safety Message window.

    Before performing this step, please make sure the safety of the personnel and robot to avoid collisions when the robot is moving.
    doosan setup instructions 5

After the above operations, the status light of Servo in the upper right corner becomes green.

Set up the Network Connection

Connect the Hardware

Use the Ethernet cable to connect the network ports of the IPC and the robot controller. All three network ports marked in the figure below can be used in TCP communication, and you can choose any one of them.

doosan setup instructions 6

Set the IP Address

  1. On the teach pendant, press Setting in the bottom panel and then press Network. Then enter the password and press OK. The default password is admin.

    doosan setup instructions 7
  2. Press Static Address, set the IP address of the robot, and then press Set.

    doosan setup instructions 8
  3. Set the IP address of the IPC.

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

Prepare the Files

  1. On the IPC, go to Mech-Center/Robot_Server/Robot_FullControl/doosan/Backup_Script from the installation directory where Mech-Vision and Mech-Viz are installed.

  2. Plug the USB flash drive into the USB port of the IPC. Copy the MM_Server.txt file in the Backup_Script folder to the USB flash drive and then remove the USB flash drive safely.

Load the Program Files to the Robot

It is recommended to back up robot system files before loading Master-Control program files to avoid system corruption that may be caused by the loading operation. In case any issue occurs, you can use the backup file to restore the robot system. Please refer to Backup and Restore Robot Files for detailed instructions.
  1. Plug the USB flash drive with the program file into the USB port of the robot controller.

    doosan setup instructions 14
  2. On the teach pendant, press Task Writer → New, enter a file name (e.g., MM_Server_1), and then press OK.

    doosan setup instructions 15
  3. Press Property and select CustomCode. Then press Script file and Import in turn.

    doosan setup instructions 16
  4. In the pop-up window, locate and select the MM_Server.txt file, and press OK at the end.

    doosan setup instructions 17
  5. Press Confirm and then Save.

    doosan setup instructions 18

Test Master-Control Communication

  1. On the teach pendant, press Play and enable the Real Mode. Reduce the robot speed appropriately and press the run button to run the Master-Control program.

    doosan setup instructions 19

    If a warning message as shown below pops up, please check if there is any inconsistent use of tabs and spaces in indentation in the MM_Server_1 Python script. Python uses indentation to distinguish different code blocks and therefore has a strict requirement for indentation.

    doosan setup instructions 20

    Follow the steps as shown in the figure below to edit the script on the teach pendant. You can also modify the MM_Server.txt file on your PC to fix the indentation problem and then re-import the file.

    doosan setup instructions 21
    doosan setup instructions 22
  2. Refer to Test Robot Connection to proceed with the following steps.

If Mech-Viz is disconnected, the program on the robot side should be stopped as well. That is, the above “MM_Server_1” task should be stopped. If you want to reconnect and control the robot, please re-execute the program.

Common Operations

Set TCP

When an end tool is used in the Mech-Viz project, please set the Tool Center Position according to the following instructions. A gripper is used as an example in the following instructions.

  1. On the teach pendant, press Workcell Manager in the bottom panel and then press +.

    doosan setup instructions 23
  2. Select Gripper in Categories and Gripper as the Type, and then press Select.

    doosan setup instructions 24
  3. Name the gripper and press Tool Center Position to set Position parameters. Z value in this example is set to 200 mm. After finishing the settings, press Confirm.

    Since the TCP in Mech-Viz cannot be synchronized to the teach pendant, please ensure the Position parameters set here are the same as the TCP values set in Mech-Viz. Otherwise, the robot’s linear motion will be problematic when there are special offsets and rotations of the end tool.
    doosan setup instructions 25
  4. Press OK to save the settings, and a “Successfully applied” message will pop up.

    doosan setup instructions 26
    doosan setup instructions 27

Backup and Restore Robot Files

It is recommended to back up robot system files before loading Master-Control program files to avoid system corruption that may be caused by the loading operation. In case any issue occurs, you can use the backup file to restore the robot system.

Backup

  1. On the teach pendant, press Setting in the bottom panel, and select Backup & Restore on the left panel. An Enter Password window will pop up. Then enter the password and press OK. The default password is admin.

    doosan setup instructions 9
  2. In the Backup tab, select the items you want to backup, select For Replacing or For Appending, and then press Backup.

    doosan setup instructions 10
  3. In the pop-up window, select the directory where you want to store the backup files, and press OK.

    doosan setup instructions 11

Restore

  1. In the Restore tab, select a backup to restore data. Please ensure that the option you select corresponds to the backup option (For Replacing or For Appending) you have selected. Then press Restore.

    doosan setup instructions 12
  2. Select the backup file in the pop-up window and press OK.

    doosan setup instructions 13

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.