Set up Standard Interface Communication with JAKA

This topic introduces the process of setting up the Standard Interface communication with a JAKA robot.

Check Controller and Software Compatibility

Before loading the Standard Interface program, please check whether the version of the controller software is 1.7.

  • If the version of the robot controller is lower than 1.7, please upgrade it to 1.7, because the following steps involve the JAKA AddOn program, which requires a controller program version of 1.7.

  • If you are unable to upgrade the version of the controller software, please use JAKA’s programming function to write a Standard Interface program, and you do not need to install the AddOn program.

Hint

Download JAKA 1.7 Controller Software (the file name is 1.7.0.32.zip). After you unzip the file, the controller software is stored in the controller folder and the JAKA Zu APP is stored in the APP folder.

Connect the Robot with JAKA Zu APP

Please refer to the “Set up the Network Connection” part in JAKA Setup Instructions to connect the robot with the JAKA Zu APP.

Attention

You should use a JAKA Zu APP of version 1.7, the APP software package is stored in the App folder after you unzip the 1.7.0.32.zip file.

Set up “Robot and Interface Configuration” in Mech-Vision

  1. Click Robot and Interface Configuration on the toolbar of Mech-Vision.

  2. Select Listed robot from the Select robot drop-down menu, and then click Select robot model.

  3. Select the robot model that you use, and then click Next.

  4. Select the following options and click Apply.

    • Interface Type: Standard Interface

    • Protocol: TCP Server and ASCII

  5. Make sure the Interface Service is started: on the toolbar of Mech-Vision, the Interface Service switch on the far right is flipped and turned to blue.

Load the File to the Robot

Load the AddOn File

  1. After you connect the robot with the JAKA Zu APP, click Settings in the upper right corner.

    ../../../../_images/jaka_1.png
  2. Click Additional program -> + -> ···.

    ../../../../_images/jaka_2.png
  3. Select the mm_custom_cmd.tar.gz file and click OK. Then the program information of mm_custom_cmd will appear in the list.

    Hint

    The mm_custom_cmd.tar.gz file is stored in xxx\Mech-Mind Software Suite-x.x.x\Mech-Center\Robot_Interface\Robot_Plugin\JAKA_Addon in the installation directory of Mech-Mind Software Suite. You should copy the file to the device with JAKA Zu APP installed.

    ../../../../_images/jaka_3.png
  4. Click the State button of mm_custom_cmd to activate it.

    ../../../../_images/jaka_4.png
  5. Click the instruction details button and the details will appear.

    ../../../../_images/jaka_5.png
  6. Click the edit button of each instruction one by one, and modify the IP address in the Script path to the IP address of the robot, and then click Confirm.

    ../../../../_images/jaka_6.png
    ../../../../_images/jaka_7.png

Load the Example Programs

  1. Go back to JAKA’s main interface, click Programming control in the lower left corner.

    ../../../../_images/jaka_8.png
  2. Click the folder icon on the right to open the file, and click Import.

    ../../../../_images/jaka_10.png
  3. Select the 3 files in the figure below and click Ok.

    Hint

    The files in the figure below are stored in xxx\Mech-Mind Software Suite-x.x.x\Mech-Center\Robot_Interface\JAKA in the installation directory of Mech-Mind Software Suite.

    ../../../../_images/jaka_11.png

Create System Variables

Before running the program, you should create 2 system variables, or else an error will occur.

  1. Go back to JAKA’s main interface, click Settings in the upper right corner.

    ../../../../_images/jaka_1.png
  2. Click Program setting -> System variable, and click the + button in the upper right corner, and create two variables (MM_CMD and MM_STATUS) as shown below. The initial values are 0.

    ../../../../_images/jaka_13.png

Test Robot Connection

  1. Go back to JAKA’s main interface, click Programming control in the lower left corner.

    ../../../../_images/jaka_8.png
  2. Click + on the right to create a new program.

  3. Click Extend in the lower left corner, and drag MM_Connect to add it to the NewProgram, and then set the IP address and port number of the IPC.

    Attention

    The robot IP should be in the same subnet as the IPC.

    ../../../../_images/jaka_16.png
  4. Click Run on the toolbar.

    ../../../../_images/jaka_17.png
  5. The robot can be connected successfully if the Console tab of Mech-Vision Log panel displays messages indicating that the client is connected.