Set up Standard Interface Communication with ABB (RobotWare 6)

This guide shows how to load the Standard Interface program files to an ABB robot, and set up the Standard Interface communication between Mech-Mind Vision System and the robot.

In this section, you will load the robot Standard Interface program and the configuration files to the robot system to establish the Standard Interface communication between the vision system and the robot.

Preparation

Check Controller and Software Compatibility

  • The robot is a 4-axis or 6-axis robot.

  • The robot controller is IRC4 or IRC5, and the version of RobotWare is between 6.02 to 6.15.

  • The RobotWare option 616-1 PC Interface is installed.

    Click here for instructions
    1. Tap the drop-down button in the upper-left menu bar of the teach pendant interface and select System Info.

      check version1
    2. Tap System properties and check if the version of RobotWare is above 6.02.

      check version2
    3. Tap Options, and check if the control module 616-1 PC Interface is installed.

      check installation
If the preceding conditions are not met, the vision system cannot communicate with the robot by using the Standard Interface. Contact the robot manufacturer for support.

Set up the Network Connection

Hardware Connection

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

port

IP Address Configuration

You can set the IP address by using the teach pendant or RobotStudio.

  • Set the IP address by using the teach pendant

    Click here for instructions
    1. Follow the steps as shown in the figures below to start boot application.

      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
  • Set the IP address by using RobotStudio

    Click here for instructions
    1. Follow the steps below to set the IP address and then restart the robot.

      ip setting11
    2. Check if the specified IP address takes effect.

      ip setting12
      ip setting13

Set up Robot Communication Configuration

  1. Open Mech-Vision, and you may enter different interfaces. Create a new solution according to the instructions below.

    • If you have entered the Welcome interface, click New blank solution.

    create solution 1
    • If you have entered the main interface, click File  New Solution on the menu bar.

    create solution 2
  2. Click Robot Communication Configuration on the toolbar of Mech-Vision.

  3. In the Robot Communication Configuration window, complete the following configurations.

    1. Click the Select robot drop-down menu, and select Listed robot. Click Select robot model, and select the robot model that you use. Then, click Next.

    2. In the Communication mode section, select Standard Interface for Interface service type, TCP Server for Protocol, and HEX (little-endian) for the protocol format.

    3. It is recommended to set the port number to 50000 or above. Ensure that the port number is not occupied by another program.

    4. (Optional) Select Auto enable interface service when opening the solution.

    5. Click Apply.

      tcp hex little endian
  4. On the main interface of Mech-Vision, make sure that the Robot Communication Configuration switch on the toolbar is flipped and has turned blue.

    interface service

Load the Program Files to the Robot (Auto)

You can follow the instructions below to allow standard interface programs or standard interface example programs to be auto-loaded to the robot. In this example, standard interface programs are auto-loaded by using the following steps. The steps to auto-load standard interface example programs are similar.

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
    To switch languages in the loader, select a different language from the drop-down list in the upper-right corner and restart the loader for the new language to take effect.
  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.
  5. After the backup succeeds, select Load the Standard Interface program to confirm the folder that stores the program files and then click Load with one-click. If the files are loaded to the robot, a message that indicates the program files are successfully loaded appears in the Log section.

    auto load files5
If you want to load standard interface example programs, select Load the Standard Interface example programs and then click Load with one-click.

After the auto-load process succeeds, proceed to Test Standard Interface Communication.

Load the Program Files to the Robot (Manual)

If the Load the Program Files to the Robot (Auto) process is successfully, 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.

Prepare Program Files

Copy the following three program modules (program files) from Communication Component\Robot_Interface\ABB\RobotWare 6 in the directory where Mech-Vision & Mech-Viz are installed and paste them into the flash drive.

  • MM_Module.mod (program module file)

  • MM_Auto_Calib.mod (calibration program module file)

  • MM_Com_Test.mod (communication-testing program module file)

Load the Files

You can load the program files by using the teach pendant or RobotStudio. Before you begin, make sure that the robot is in manual mode.

manual mode
  • Load the program files by using the teach pendant

    Click here for instructions
    1. Plug the flash drive into the USB port on the back of the teach pendant.

    2. Tap Program Editor.

      copy file1
    3. Tap Tasks and Programs.

      copy file2
    4. Select T_ROB1 and tap Show Modules.

      copy file3
    5. Select File  Load Module....

      copy file4
    6. Select Yes in the pop-up window.

      copy file5
    7. Find the program files in the flash drive and select MM_Module.mod to display MM_Module.mod as the file name in the lower part. Then, tap Yes.

      copy file6
    8. Repeat the preceding instructions to load MM_Auto_Calib.mod and MM_Com_Test.mod. Then, check whether the three files are loaded under T_ROB1.

    copy file7
  • Load the program files by using RobotStudio

    Click here for instructions
    1. Open RobotStudio 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 using the X6 (WAN) port or a switch, click Add Controller and then select the controller and click OK. If the controller is added, 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

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

    3. As shown in the figure below, find and right-click T_ROB1, and select Load Module in the menu.

      load program3
    4. Select the program module files and select Open.

      load program4
    5. Confirm that the three program files appear under T_ROB1.

      load program5

Test Standard Interface Communication

Select and Modify the Program Used for the Communication Test

  1. Turn the switch on the controller to the manual mode.

  2. On the teach pendant, tap the menu in the upper-left corner, select Program Editor  T_ROB1, select MM_Com_Test, and then select Show Module.

    If you cannot find MM_Com_Test after you select T_ROB1 and program code is displayed, select Tasks and Programs in the upper part. In the Tasks and Programs interface, confirm that T_ROB1 is selected and then select Show Modules to make MM_Com_Test appear.
    connect robot1
  3. Double-tap the IP address, select Edit  ABC..., change the IP address to the IP address of the IPC, and then select OK. If the host port number set in Mech-Vision is modified, the port number 50000 here should be changed to the host port number in Mech-Vision.

    connect robot2
    connect robot3

Run the Program and Test Connection

  1. In the following interface, select Debug  PP to Routine....

    connect robot4
  2. Select MM_Comtest and tap OK.

    connect robot5
  3. Keep holding down the enable button on the right side of the teach pendant (ensuring you do not release it during program execution). Then, repeatedly press the following button to manually step through the program until the program pointer reaches line 9.

    connect robot6
    connect robot7
  4. Tap the following button to view the following message.

    connect robot8
  5. If the communication between the robot and the vision system is set up, a log will be recorded on the Console tab of the Log panel of Mech-Vision.

    vision center log

Appendix

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 back up the files by using the teach pendant or RobotStudio.

  • Back up the files by using teach pendant

    Click here for instructions
    1. Go to the home interface by tapping 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 tapping 1, and specify the directory for saving the file by tapping 2. Then, tap Backup in the lower-right corner to start the backup process.

      backup3
  • Back up the files by using RobotStudio

    Click here for instructions
    1. In the home 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 the system and resetting RAPID.

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

    Click here for instructions
    1. Determine whether you need to reset RAPID based on the following flowchart.

      reset
    2. Go to the home interface by tapping the menu in the upper-left corner, and then select Restart.

      reset1
    3. Tap Advanced….

      reset2
    4. Select Reset RAPID, and then tap Next.

      reset5
    5. Tap Reset RAPID.

      reset6
  • 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 them after the system is reset.

    Click here for instructions
    1. Resetting the system restores factory settings. Make sure that the backup operation is performed.

    2. Go to the home interface by tapping the menu in the upper-left corner, and then select Restart.

      reset1
    3. Tap Advanced….

      reset2
    4. Select Reset system and then tap Next.

      reset3
    5. Tap Reset system.

      reset4

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.