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 IRC4 or IRC5, and the RobotWare version is between 6.02 and 6.15 inclusive.

    Follow the steps below to check the RobotWare version.

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

    • 623-1 Multitasking

    • 616-1 PCInterface

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

    check installation
    To master-control an ABB robot, you must install the above control module options.

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 address on the teach pendant or in RobotStudio.

Set the IP Address on the Teach Pendant
  1. Follow the instructions in the figure below to set the IP address.

    ip setting1
    ip setting2
    ip setting3
    ip setting4
  2. After the restart is complete, the following interface appears. Follow the steps below to configure the IP address. The IP addresses of the robot and the IPC must reside in the same subnet.

    ip setting5
    ip setting6
    ip setting7
    ip setting8
    ip setting9
    ip setting10
Set the IP Address in RobotStudio

Follow the steps as shown below to configure the robot IP address and then restart the robot.

ip setting11

Check if the IP Address is Changed

Go to System Info  Network connections  WAN to check if the IP address is changed.

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

  2. When you set the IP address, distinguish the IP address of the WAN port from that of the LAN port.

Load the Program Files to the Robot (Auto)

After you set parameters in the Robot Program Loader tool, the tool auto-loads files to the ABB robot. Follow the steps below to allow the tool to auto-load files.

If the auto-load process fails and you cannot resolve the issue, proceed to Load the Program Files to the Robot (Manual).
  1. Switch the key in the controller to the automatic mode, and ensure that the motor indicator light is on.

    calilbration process8
  2. Navigate to the installation directory of Mech-Vision and Mech-Viz, go to the Robot Program Loader folder by using the Communication Component\tool\Robot Program Loader path, and then double-click the Robot Program Loader program to open the loader. The main interface of the loader appears.

    auto load files1
    auto load files2
  3. Select the ABB robot brand, enter the actual robot IP address, and then click Connect.

    auto load files3
    If the connection fails, click Test network connection in the lower-right corner to troubleshoot the issue.
  4. In the ABB Program Loading interface, select a folder to store the backup files and then click Back up. If the files are backed up, a message that indicates the backup is successful is displayed in the Log section.

    auto load files4
    • If errors occur in the subsequent loading process, the files can be used to reset the robot system.

    • If you have loaded master-control programs to the robot, you can load master-control programs again only after you reset the robot system.

  5. After the backup succeeds, select Load the Master-Control program(s) to confirm the folder that stores the program files and then select the IO card type of the robot. In this example, No IO card is selected. Your card type may be different from the card type that is used in this example. Set the card type based on your actual scenarios. After you set the preceding parameters, click Load with one-click. If a message that indicates the program files are successfully loaded appears in the Log section, the files are loaded to the robot.

    auto load files5

If the auto-load process succeeds, the controller restarts. After the auto-load process succeeds, proceed to Configure I/O System.

Load the Program Files to the Robot (Manual)

If the auto-load process succeeds, skip this section.

  • Before you manually load files to the robot, we recommend that you perform a backup. This way, you can reset the robot system if an incorrect operation occurs.

  • If you have loaded master-control programs to the robot, you can load master-control programs again only after you reset the robot system.

Prepare the Files

Backup

Before you operate the robot, 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 by using the teach pendant or RobotStudio.

  • Backup on the Teach Pendant

    1. Go to the home page by 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…, specify the directory for saving the file by pressing the button below, and 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

Resetting

Two types of resetting exist: resetting RAPID and resetting the system.

  • Resetting the system restores the default system parameters and RAPID program, and resets the I/O settings. If a communication board or other communication devices are used, you must re-configure the board and devices after the system is reset.

  • Resetting RAPID deletes the current RAPID program and data and retains system parameter settings.

Reset RAPID

Determine whether you need to reset RAPID based on the following flowchart.

reset
  1. Go to the home page by 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 restores factory settings. Make sure that the backup operation is performed.
  1. Go to the home page by 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 Communication Component/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. Choose the right config files from the config folders based on the actual scenario.

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

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

    • If other I/O unit is used or the program is only used for automatic calibration, 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 by using the LAN port, click One Click Connect….

    load program1
    • If the robot controller is connected by 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. Select 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 based on 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 select Signal in the Type column, locate gi16 and go16 in the Name column on the right, and then double-select 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, select OK. Then, restart the controller to make the changes take effect.

Test Master-Control Communication

Run the Program

  1. Turn the switch on the controller to the automatic mode, select the automatic mode in the teach pendant interface, and then press the motor power button. Make sure that the motor indicator light is on.

    calilbration process8
  2. 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
  3. Follow the steps in the image to modify the velocity to 25%.

    run program4
  4. Press the run key on the teach pendant, as shown below.

    run program5

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 ping the robot IP address with in the command prompt.

    • Antivirus software does not affect the connection.

    • Two network ports of the IPC belong to different subnets.

    • If the IPC is connected by using a router, other network cables do not affect the connection.

  • Robot side:

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

    • The correct robot IP address is set. Please ensure that the IP address of the WAN port, instead of other ports, is modified.

    • The program is run 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.