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. The following steps involve the JAKA AddOn program, requiring a controller program version of 1.7.

  • If it is inconvenient to update the controller software version, users can modify the JAKA program to support standard interface communication. This method allows users to avoid installing the JAKA addon plugin program, and it has no specific requirements for the controller software version.

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

For details on how to connect the robot with the JAKA Zu APP, refer to the Set up the Network Connection part in setting up Master-Control communication with a JAKA robot.

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

Load the Program Files to the Robot

Load the AddOn File

  1. Navigate to Mech-Center\Robot_Interface\Robot_Plugin\JAKA_Addon from the installation directory of Mech-Vision & Mech-Viz. Copy the mm_custom_cmd.tar.gz file to the device with JAKA Zu APP installed.

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

    jaka 1
  3. Click Additional program···.

    jaka 2
  4. Select the mm_custom_cmd.tar.gz file and click OK. Then the program information of mm_custom_cmd will appear in the list.

    jaka 3
  5. Click the State button of mm_custom_cmd to activate it.

    jaka 4

Load the Example Programs

Go to Mech-Center\Robot_Interface\Robot_Plugin\JAKA_Addon from the installation directory of Mech-Vision & Mech-Viz. The files mm_cali.zip, mm_vis_sample.zip, mm_vispath_sample.zip and mm_viz_sample.zip in the folder are all sample programs. User should copy the program files to the device with JAKA Zu APP installed.

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

    jaka 8
  2. Click the folder icon on the right side.

    jaka 9
  3. Click the import icon.

    jaka 10
  4. Select the files in the figure below and click Ok.

    jaka 11

Create System Variables

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

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

    jaka 12
  2. Click Program settingSystem variable, and click the + button in the upper right corner. Create two variables (MM_CMD and MM_STATUS) as shown below. The initial values are 0.

    jaka 13

Test Robot Connection

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

    jaka 8
  2. Click + on the right to create a new program.

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

    The host IP address and the robot IP address must be on the same subnet.
    jaka 16
  4. Click Run on the toolbar.

    jaka 17
  5. If the robot is connected successfully, the Console tab of Mech-Vision’s Log panel will display a note.

    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.