Set up Standard Interface Communication with ABB (RobotWare 6)

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 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 IRC5, and the version of RobotWare is 6.02 or above.

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

    Click here for instructions
    1. Tap the drop-down button in the upper-left corner, 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
    ip setting10
  • 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. Run 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 area, 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

Backup

Back up the robot system before you operate the robot. This way, if any errors occurs, you can restore the robot system. 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

Prepare Program Files

Copy the following three program modules (program files) from Communication Component\Robot_Interface\ABB 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 Program Files to the Robot

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

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

    + image::abb/setup-instructions/load_program2_1.png[align="center",width=480,height=320]

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

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

      load program3
    2. Select the program module files and click Open.

      load program4
    3. 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. Select MM_Com_Test and tap Show Module.

    connect robot1
  2. Double-tap the IP address, select Edit  ABC..., change the IP address to the IP address of the IPC, and then click 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. Repeatedly tap the single-step execution button on the teach pendant to execute the program until the PP moves to 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

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.