Set up Standard Interface Communication with ABB (RobotWare 7)

This guide shows how to load the Standard Interface program files to an ABB robot, and establish 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

  • Controller: OmniCore

  • Controller system software version: RobotWare 7.3 or above

    Click here for instructions
    1. In the Home interface of the teach pendant, select Settings  System.

      robotware home
      robotware check1
    2. Click About. In the System Details section, check whether the RobotWare version is higher than 7.3.

      robotware check2
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

Connect the Hardware

Plug one end of the Ethernet cable into the network port of the IPC and the other end into the WAN port of the robot controller. The following figure shows a sample WAN port.

robotware connection1
The Ethernet cable must be connected to the WAN port.

Set IP Addresses

  1. Tap icon controlpanel to open Control Panel, and then select Control  Manual.

    robotware manual
  2. In the Home interface of the teach pendant, select Settings  Network.

    robotware home
    robotware connection2
  3. Click Public Network, select Use the following IP Address, and then set IP Address, Subnet mask, and Default Gateway.

    robotware connection3
    When you set IP addresses, differentiate the IP address of the WAN port from the IP address of the LAN port.
  4. Set the IP Address on the IPC.

    To allow communication between the IPC and the robot controller, the IP addresses of the IPC and robot controller must reside in the same subnet. 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.

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

Enable the RapidSockets Network Service

  1. The Ethernet cable is connected to the WAN port of the controller. To add the controller, you can open RobotStudio, click Add Controller, and then select the controller and click OK. After the controller is added, the controller management port will be connected automatically.

    rapidsockets1
  2. Follow the steps as shown in the figure below to enable the RapidSockets network service.

    rapidsockets2
  3. Click Restart to restart the controller. The mortifications take effect only after the controller is restarted.

    rapidsockets3

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. Tap icon controlpanel to open Control Panel, and then select Control  Auto.

    robotware run4
  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 is completed, 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

  1. Plug the flash drive into a USB port on the IPC or another computer.

  2. Download the ABB.zip file by clicking download program files and decompress the file.

  3. Go to the decompressed ABB folder and copy all files in the folder to the flash drive.

    The files must be MODX files.

Load the Files

  1. Plug the flash drive into the USB port on the back of the teach pendant.

  2. In the Home interface of the teach pendant, click Code.

    load files 1
  3. Click Tasks. In the pop-up Tasks panel, select T_ROB1.

    load files 2
    load files 3
  4. Click the menu in the upper-right corner and then click Load Module.

    load files 4
  5. Click KINGSTON(D:), select MM_Module.modx from the flash drive files, and then click Load.

    In this example, KINGSTON is displayed as a part of the flash drive name. This is because a Kingston flash drive is used. If you use a flash drive of another brand, the band name is displayed as a part of the flash drive name.
  6. Repeat the preceding steps to copy MM_Auto_Calib.modx and MM_Com_Test.modx to the robot system. The following figure shows the interface after all three files are loaded.

    load files 6

Test Standard Interface Communication

Select and Modify the Program Used for the Communication Test

  1. Tap icon controlpanel to open Control Panel, and then select Control  Manual.

    robotware manual
  2. In the code interface, double-click MM_Com_Test.

    test 1
  3. Double-click the IP address of the program and click Edit to change the IP address into the IP address of the IPC. 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.

    test 2

Run the Program and Test Connection

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

    test 3
    test 4
  2. Confirm that MM_Comtest is selected and click OK.

    test 5
  3. Press and hold the following button to power up the motor. In this case, the status icon on the teach pendant indicates that the motor is powered up.

    test 6
    test 7
  4. Click the run button on the teach pendant.

    test 8
  5. Click Messages in the upper-left corner and select All Tasks. The following message is displayed.

    test 9
  6. 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

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.

    • Confirm that the robot firewall allows network communication.

Appendix

Backup

Before you operate the robot, you can follow the backup instructions below to back up the robot system so that the system can be restored if an incorrect operation occurs.

  1. Plug the flash drive into the USB port on the back of the teach pendant.

  2. In the Home interface of the teach pendant, select Settings  Backup & Recovery.

    robotware home
    robotware backup1
  3. Select Backup, reset Backup Name and Location, and then click Backup.

    robotware backup2
  4. In the pop-up window, click OK to complete the backup process.

    robotware backup3

Resetting

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

If the master-control program is already loaded, perform this step to remove the master-control program. Do not use the master-control program together with Standard Interface.
  • Resetting RAPID deletes the current RAPID program and data and retains system parameter settings.

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

      reset
    2. In the Home interface of the teach pendant, select Settings  Backup & Recovery.

      robotware home
      robotware backup1
    3. Select Reset user data in the left-side navigation pane, select Reset PAPID, and then click Reset.

      robotware reset1
    4. Select OK in the pop-up window.

      robotware reset2
  • Resetting the system restores factory system settings and the PAPID program and resets I/O settings. If the PCIe card and other communication devices are configured, you must reconfigure them after you restart the system. Excise caution to select the resetting the system option.

    Click here for instructions
    1. In the Home interface of the teach pendant, select Settings  Backup & Recovery.

      robotware home
      robotware backup1
    2. Click Reset user data in the left-side navigation pane, select Reset PAPID and System Parameters, and then click Reset.

      robotware reset3
    3. Select OK in the pop-up window.

      robotware reset2

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.