Set up Standard Interface Communication with ROKAE

You are currently viewing the documentation for the latest version (2.2.2). 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.

This guide shows how to set up the Standard Interface communication with a ROKAE robot.

Check Hardware and Software Versions

The models and versions listed below are tested and can be used. For other models and versions, you may refer to this guide for operation. If any issues occur, please contact Mech-Mind Technical Support.

  • The robot in use is a ROKAE industrial robot.

  • The HMI version is 5.0.13.0411 or above, and the RC version is 3.2 or above.

    Click here for instructions

    Open the Robot Assist software, and select Options  About ROKAE to view the versions of HMI and RC.

    check versions
  • The Robot Assist software has been installed on the IPC.

Set up the Network Connection

Connect the Hardware

Plug one end of the network cable into the network port of the IPC, and plug the other end into the LAN1 port of the robot controller.

connect lan1

Set the IP Address of the IPC

The default IP address of the LAN1 port of the ROKAE robot is 192.168.2.160. Please set the IP address of the IPC (for example, 192.168.2.222) to ensure that the IP address of the IPC and that of the robot are in the same subnet.

Set up Robot Communication Configuration

  1. Open Mech-Vision. 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 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. Under Robot integration, click Open program folder.

      The files needed for subsequent loading will be copied from this folder. Do not close this folder.
    5. (Optional) Select Auto enable interface service when opening the solution.

    6. Click Apply.

tcp ascii
  1. 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

To prevent the loading operations from affecting the robot system, it is recommended to back up the robot system files before loading the program files. If any problem occurs during the operations, you can restore the robot system with the backup files. For detailed operations, please refer to Back up Robot Files.
  1. Open the Robot Assist software, and click the WiFi icon in the lower-right corner. Enter “192.168.2.160” (the IP address of the robot) in the address bar, and then click Connect.

    connect robot
  2. Select Settings  User Group, select the “System” user level, enter the password “123456”, and then click Login.

    enter super admin
  3. Select Program  Task List, and then click the Import Task icon.

    import task list
  4. In the Import Task interface, select Import Mod, and then click Open in the Import Mod area.

    import mod
  5. In the file selection window that appears, select the folder that stores the program files to be loaded, and then click Select Folder.

    The program files to be loaded are stored in the Communication Component/Robot_Interface/ROKAE/Task_List folder in the installation directory of Mech-Vision and Mech-Viz.
    select burn folder
  6. In the Select Items area, select all the entries, and then click Finish.

    select all entries
  7. Click Variable List in the navigation bar. In the Import Variable area, set File Format to “json”, and then click Open. In the dialog box that appears, select the variable file, and then click Select File. In the Select Items area, select all the entries, and then click Finish.

    The variable file is the Communication Component/Robot_Interface/ROKAE/Variable_List/var.json file in the installation directory of Mech-Vision and Mech-Viz.
    import variables
  8. Click Points List in the navigation bar. In the Import Point area, set File Format to “json”, and then click Open. In the dialog box that appears, select the point file, and then click Select File. In the Select Items area, select all the entries, and then click Finish.

    The point file is the Communication Component/Robot_Interface/ROKAE/Point_List/point.json file in the installation directory of Mech-Vision and Mech-Viz.
    import points
  9. Click RL Editor in the navigation bar to enter the editing interface. Click main to compile the robot program. When “PP_To_Main” is displayed at the top of the software, the program files are loaded without any problem.

    compiled main successfully

Test Standard Interface Communication

  1. Select Program  Variable List, select the mechmind_socket variable, and then click the Edit button.

    select mechmind socket
  2. In the variable editing interface that appears, modify the IP address and port number, and then click Finish.

    The IP address and port number must be consistent with the settings of the vision system.
    edit mechmind socket
  3. Click RL Editor in the navigation bar, click main, select the “MM_Com_Test” program from the drop-down options, and then compile the program.

    select mm com test
  4. Click the first line of the program, and then click Run. The robot program starts to run.

    run mm com test
  5. If the communication between the robot and the vision system is successfully established, a related message will be displayed under the Console tab in the log window of Mech-Vision.

    vision center log

Common Robot Operations

Back up Robot Files

  1. Select Program  Prj Configuration, and then click Export in the Project Configuration tab.

    export project config
  2. In the Project Option area, select the project type. In the Selection Path area, set the export path. In the Select Items area, select the entries to be backed up, and then click Finish.

    select project entries

Is this page helpful?

You can give a feedback in any of the following ways:

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.