Master-Control Communication Setup (RobotWare 6)

This guide shows you how to set up Master-Control communication with an ABB robot.

Preparation

Check Controller and Software Compatibility

  1. The robot controller is IRC5, and the version of RobotWare is 6.02 or above.

    Follow the steps below to check the RobotWare version.

    check version1
    check version2
  2. The following control modules should be installed:

    • 623-1 Multitasking

    • 616-1 PCInterface

    Follow the steps below to check whether the control module options are installed.

    check installation
    The above control module options must be installed to realize Master-Control of an ABB robot.

Set up the Network Connection

Connect the Hardware

Plug the Ethernet cable of the IPC into the X6 (WAN) port of the robot controller, as shown below.

port

Set the IP Address

You can set the IP on the teach pendant or via RobotStudio.

Set the IP on the teach pendant:
  1. Please follow the instructions in the figure below to set the IP address.

    ip setting1
    ip setting2
    ip setting3
    ip setting4
  2. After restarting, you will see the interface as shown below. Follow the steps below to complete configuring the IP address. The IP addresses of the robot and the IPC must belong to the same subnet.

    ip setting5
    ip setting6
    ip setting7
    ip setting8
    ip setting9
    ip setting10
Set the IP address via RobotStudio:

Follow the steps as shown below to configure the robot IP, and restart the robot after configuration.

ip setting11

Check if the IP configuration was successful

Go to System Info  Network connections  WAN to check if the IP configuration was successful after restarting.

ip setting12
ip setting13
  1. Please ensure that the Ethernet cable is connected to the X6 (WAN) network port of the robot controller.

  2. When setting the IP address, be careful not to confuse the IP address of the WAN port with the LAN port.

Load the Program Files to the Robot

Prepare the Files

Backup

Before operating the robot, please follow the backup instructions below to back up the system so that the robot system can be restored if an incorrect operation occurs. You can backup the robot system via the teach pendant or RobotStudio.

  • Backup on the teach pendant

    1. Go to the home page using the menu in the upper-left corner, and then select Restart.

      backup1
    2. Select Backup Current System….

      backup2
    3. Specify the backup file name by pressing on ABC…, and specify the directory for saving the file by pressing the button below. Then, press Backup in the lower-right to start the backup process.

    backup3
  • Backup in RobotStudio

    1. In the main interface of RobotStudio, select the controller you want to backup, and then select Backup  Create Backup….

      backup4
    2. In the pop-up window, confirm the backup name and location and then click OK.

    backup5

Reset

There are two types of resets, which are resetting the system and resetting RAPID.

  • Resetting the system will restore the default system parameters and RAPID program, and the I/O configuration will be reset too. If a communication board or other communication devices are used, they should be re-configured after the system is reset.

  • Resetting RAPID will delete the current RAPID program and data, while the system parameter settings will be retained.

Reset RAPID

Please determine whether you should reset RAPID according to the following flowchart.

reset
  1. Go to the home page using the menu in the upper-left corner, and then select Restart.

    reset1
  2. Select Advanced… in the lower-left.

    reset2
  3. Select Reset RAPID, and then press Next in the lower-right.

    reset5
  4. Press Reset RAPID.

    reset6

Reset System

Resetting the system will restore the factory settings. Please make sure that you have completed the backup operation.
  1. Go to the home page using the menu in the upper-left corner, and then select Restart.

    reset1
  2. Select Advanced… in the lower-left.

    reset2
  3. Select Reset system, and then press Next in the lower-right.

    reset3
  4. Press Reset system.

    reset4

Obtain the Program Files

Copy the program files into a USB flash drive. Please locate the folder where Mech-Vision and Mech-Viz are installed, and the files are stored in Mech-Center/Robot_Server/Robot_FullControl/abb/RobotWare 6.

  1. The config files in the RobotWare 6 folder should be compatible with the I/O Unit in use. Please choose the right config files from the config folders according to the actual situation.

    • If a DSQC 652 I/O unit is used, please select D652.cfg and SYS.cfg.

    • If a DSQC 1030 I/O unit is used, please select DSQC1030.cfg and SYS.cfg.

    • If other I/O unit is used or the program is only used for automatic calibration, please select EIO.cfg and SYS.cfg.

  2. In the RobotWare 6 folder, files in the MM folder are robot program modules.

Load the Files to the Robot

  1. Open RobotStudio on the IPC and connect to the controller.

    • If the robot controller is connected via the LAN port, click One Click Connect….

    load program1
    • If the robot controller is connected via the WAN port or a switch, click Add Controller and then select the controller and click OK. If the controller is added successfully, RobotStudio will be connected to the service port of the controller automatically.

    load program2
  2. Request write access:

    Click Request Write Access to request the write access to the teach pendant.

    load program2 1

    Press Grant in the Request Write Access window on the teach pendant.

  3. Import the config files as shown below. Click Confirm in the pop-up windows.

    load program3
    load program3 1
  4. Follow the steps as shown in the figure below to copy the MM folder in the RobotWare 6 folder and paste it to the HOME directory of the robot system.

    load program4
  5. Modify the safe zone threshold (in mm) in the safe_area.mod program according to the actual on-site work space of the robot.

    load program5

Configure I/O System

If an I/O unit other than DSQC 652 or DSQC 1030 is used, you should configure the robot I/O system after loading the program. Please follow the steps below to proceed:

  1. In the main interface of RobotStudio, select Configuration  IO System.

    configureio1
  2. Locate and click Signal in the Type column, locate gi16 and go16 in the Name column on the right, and then double-click to enter the edit window.

    configureio2
  3. After confirming the corresponding devices and device mapping, modify the values of Assigned to Device and Device Mapping for gi16 and go16 respectively.

    configureio3
    configureio4
  4. After the configuration, click OK. Then restart the controller to make the changes take effect.

Test Master-Control Communication

Run the Program

  1. Move the PP of tasks T_ROB1 and safe_area to Main respectively. After selecting PP to Main, if a window as shown below pops up, please tap Yes to confirm.

    run program1
    run program1 1
    run program2
  2. Run the program manually or automatically. The program pointer is shown in the figure below.

    run program3

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

Troubleshooting

If the program has been loaded but the robot cannot be connected successfully, please check whether the following requirements have been met.

  • IPC side:

    • The firewall is turned off.

    • The IPC can communicate with the robot IP address with the ping command in the command prompt.

    • There is no interference from any antivirus software.

    • Two network ports of the IPC belong to different subnets and there is no conflict.

    • If the IPC is connected via a router, there is no interference from other network cables.

  • Robot side:

    • The Ethernet cable is connected to the WAN port of the controller properly.

    • The robot IP address is set correctly. Please ensure that the set IP address is that of the WAN port instead of others.

    • You have run the program on the robot side.

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.