Robot Communication Configuration

You are currently viewing the documentation for the latest version (2.1.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

In this tutorial, you will learn how to load the Standard Interface program files to the ABB robot, and set up the Standard Interface communication between the 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.

  • If you are using the robots of other brands, you can find instructions on setting up the Standard Interface communication with the desired robot from the section Standard Interface Communication.

Preparation before Loading

Check Controller and Software Compatibility

  • The robot is a 4-axis or 6-axis robot. This section takes ABB_IRB6700_150_3_20 as an example.

  • 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 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 IP Addresses

Please set the IP address of the robot to the same subnet as that of the IPC. You can set the IP address by using the teach pendant or RobotStudio. This section introduces how to use the teach pendant to set the IP address. For more information about how to use RobotStudio to set the IP address, please refer to Set IP Address in RobotStudio.

  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

Create a Mech-Vision Project and Save It

  1. Open Mech-Vision. If the Welcome interface as shown below is displayed, it indicates that Mech-Vision is started successfully.

    image
  2. In the Welcome interface of Mech-Vision, click Create from solution library to open the Solution Library.

    project build welcome interface library
    The Solution Library is a resource library that provides typical solutions or projects (with sample data) from various application scenarios.
  3. In the Application Template tab of the Solution Library, select the Single-Case Depalletizing solution, as shown below.

    project build select project

    If you cannot find the Single-Case Depalletizing solution in the Solution Library, click the Download icon in the upper-right corner.

  4. Set the solution name and path, and then click Create.

    After the project is created, the created solution and project will be displayed in the project list in the upper-left corner of the Mech-Vision main interface.

    • A solution is a set of configurations and data related to robots and robot communication, vision processing, path planning, etc. that are required for the machine vision application.

    • A project is a workflow of vision processing in the solution. Normally, a solution only contains one Mech-Vision project, but it may contain more than one project in complex application scenarios.

    • The Single-Case Depalletizing solution only contains one project “Vis_Single_Case_Depalletizing”.

    project build check project list

    In the Graphical Programming Workspace of the main interface, the workflow of the “Vis_Single_Case_Depalletizing” project will be displayed.

    project build check project step
  5. In the project list, right-click the solution, and select Autoload Solution.

    project build click auto load

    After this solution is set to autoload, the project name will be displayed in green, and the project ID will be displayed in the left of the project name.

    project build auto load finish
    The project ID will be used by the robot pick-and-place program to trigger the Mech-Vision project to run.
  6. On the menu bar, select File  Save Solution.

    project build save solution

Set up Robot Communication Configuration

In this example, the robot communication configuration has been set for the ABB robot (ABB_IRB6700_150_3_20) by default. The Robot Communication Configuration option on the toolbar is enabled.

robot interface config

Load the Program Files to the Robot (Auto)

You can follow the instructions below to auto-load the Standard Interface programs or Standard Interface example programs to the robot. This section only introduces how to autoload the Standard Interface program. The autoload process of the Standard Interface example program is similar to this process.

  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.

Test Standard Interface Communication

Select and Modify the Program Used for the Communication Test

  1. Turn the switch on the controller to the automatic 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. Confirm that MM_Comtest is selected and click 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

Now you have loaded 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.

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.