Set up Standard Interface Communication with Kawasaki

You are currently viewing the documentation for version 1.8.1. To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ To use the latest version, visit the Mech-Mind Download Center to download it.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

This guide shows how to load the Standard Interface program files to a Kawasaki 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

  • Controller: E-series or F-series

  • Controller system software version: no requirement

  • Additional controller software options: no requirement

Set up the Network Connection

Connect the Hardware

Use an Ethernet cable (prepared by yourself) to connect the Ethernet ports on the IPC and that inside the accessory panel on the front of the controller.

Two Ethernet ports are provided by the CPU board of the robot controller. The IP addresses of the two ports must reside in different subnets. In most cases, Ethernet port 1 (the upper one) is used to connect the front panel of the controller, while Ethernet port 2 (the lower one) is reserved.

handware connection

Set IP Addresses

  1. Press the Aux. button on the teach pendant, and then select 8. System  12. Network Setting to set the IP address of the robot Ethernet port.

    set ip 1
    set ip 2
    set ip 3
  2. Set the IP address and subnet mask of port 1 on the Port 1 network setting page. The IP addresses of the robot and the IPC must reside in the same subnet. If a network gateway is used, set the Gateway parameter.

    set ip 4

    If port 2 on the robot is used for network connection, press the Next Page button on the bottom of the Port 1 network setting page to go to the Port 2 network setting page and set the IP address.

    set ip 5
    set ip 6

    After you set the IP address, press the ENTER key on the teach pendant to confirm.

    login button
  3. Restart the controller.

    restart robot

Set up Communication with Robot

  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 ASCII 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 ascii
  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

Prepare Program Files

Navigate to Mech-Center\Robot_Interface\KAWASAKI from the installation directory of Mech-Vision and Mech-Viz, copy the mm_module.as file to the root directory of your flash drive, and then plug the flash drive to the USB port of the accessory panel on the controller.

Precautions

  1. Save user programs.

    If user programs exist in the program list on the teach pendant, save them before you load program files. If no user programs exist on the teach pendant, skip this step.
    Click here for instructions
    1. Press the Aux. button, and select 2. Save/Load  1. Save..

      attention before burning 1
      attention before burning 2
      attention before burning 3
    2. On the Save page, press Input File name to enter the file name, and then press the SAVE button. After the file is saved, press the R key on the teach pendant to return to the main page.

      attention before burning 4
  2. Before you load files, check if registered programs exist in the Program area on the teach pendant. If yes, deregister these programs by following instructions as shown below.

    attention before burning 5
  3. Before you load files, check to make sure that the robot is in teach mode. After above checks, the interface of the teach pendant is shown as below.

    attention before burning 6

Load the Program Files to the Robot

  1. Press the Aux. button on the teach pendant.

    load the program files 1
  2. Select 2. Save/Load  2. Load .

    load the program files 2
    load the program files 3
  3. Double-click the program file mm_module.as to allow mm_module.as to be displayed in the File Name field. Then, select LOAD.

    load the program files 4
  4. After you load the files, check to make sure that no errors occurred during the loading process. Press the R key on the teach pendant to exit.

    load the program files 5

Test Standard Interface Communication

Select and Modify the Program Used for the Communication Test

  1. Press the program area on the teach pendant. In the pop-up menu, select Directory.

    test connect 1
  2. Select the foreground program mm_comtest in the Directory list. Then, press the ENTER key on the teach pendant to confirm the selection.

    test connect 2

    The following figure shows the interface after the program is added.

    test connect 3
  3. Reset the parameters of the mm_init_skt function in the mm_comtest program by performing the following steps.

    1. Press J/E on the teach pendant, select Program Edit in the pop-up menu, and then press ENTER to confirm.

      test connect 4
      test connect 5
    2. Select mm_comtest in the program menu and press the ENTER key to confirm.

      test connect 6
    3. Move the red selection frame to line 5 on the teach pendant by using the arrow keys to select call mm_init_skt(127,0,0,1,50000). Then, press the ENTER key to confirm.

      test connect 7
    4. Use the arrow keys and number keys on the teach pendant to change 127,0,0,1 to the IP address of the IPC and “50000” to the host port number set in Mech-Vision. After you modify the settings, press ENTER to confirm and press R to exit.

      test connect 8
    5. In the prompted confirm window, press Yes and then Close.

      test connect 9
    test connect 10

Run the Program and Test Connection

  1. Switch Teach/Repeat on the controller to REPEAT, and switch the teach lock on the teach pendant to OFF. After these operations, the robot should be in REPEAT mode.

    change mode
  2. Switch to the STEP CONT. REP. ONCE mode on the screen, and reset REP. SPD to 10%.

    test connect 11
  3. Hold the A key on the keypad and press MOTOR on the screen to make MOTOR lit. Hold the A key on the keypad and press CYCLE on the screen to make CYCLE lit. If RUN is not lit, press A and RUN/HOLD together on the teach pendant.

    When RUN, MOTOR, CYCLE are all lit, the communication test program starts to run.
    test connect 12
  4. 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.