Set up Standard Interface Communication with ROKAE

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

Check Hardware and Software Versions

  • The robot in use is a ROKAE industrial robot.

  • The series of the controller is XBC3, and the version is 3.6.

  • The Mech-Mind Software Suite version is 1.7.2 or above.

Start the Robot and Teach Pendant

Turn the controller’s power switch on, as shown below. If the controller is started successfully, a welcome interface will appear on the teach pendant.

../../../../_images/rokae_industrial_110.png

Check the Controller Version

On the teach pendant, press the icon in the upper left corner, and then press Help to check the version.

../../../../_images/rokae_industrial_28.png
../../../../_images/rokae_industrial_31.png

Switch the User Type to Admin

An operator user does not have the right to manage files or operate. Therefore, please switch to the admin user.

  1. On the teach pendant, press the icon in the upper left corner, and then press Settings.

  2. Press General Settings ‣ User Group, and select admin.

    ../../../../_images/rokae_industrial_51.png
  3. Enter the password 123456 in the pop-up window.

Set up the Network Connection

Hardware Connection

Use the Ethernet cable to connect the network ports of the IPC and the robot controller.

../../../../_images/rokae_industrial_41.png

Configure External Communication

  1. On the teach pendant, press the icon in the upper left corner, and then press Settings.

  2. Press Communication ‣ External Communication, configure Socket communication as shown in the figure below, and then click Connect.

    ../../../../_images/rokae_industrial_4_11.png
  3. Restart the controller.

IP Address Configuration

The default IP address of the ROKAE robot to communicate with the vision system is 192.168.2.160, which cannot be modified currently. However, you can modify the IP address of the IPC (192.168.2.222 is used in this example) to ensure that their IP addresses are in the same subnet. Please refer to Set IP Address of the IPC for detailed instructions.

After modifying the IP address on the IPC, open the Command Prompt window of the IPC, enter “ping 192.168.2.160”, and test whether the connection between the IPC and the robot is successful.

Load the Files to the Robot

Attention

It is recommended to back up robot system files before loading program files to avoid system corruption that may be caused by the loading operation. In case any issue occurs, you can use the backup files to restore the robot system. Please refer to Backup and Restore Robot Files for detailed instructions.

  1. Plug the USB flash drive into the USB port of the IPC. Copy the MM_Project folder (which is stored in Mech-Center/Robot_Interface/ROKAE in the installation directory of Mech-Mind Software Suite) to the USB flash drive and then remove the USB flash drive safely.

  2. Plug the USB flash drive with the program files into the USB port on the teach pendant.

  3. On the teach pendant, press the icon in the upper left corner, and then press Project.

  4. Press Project Manager.

    ../../../../_images/rokae_industrial_9_11.png
  5. Press More and select Show U disk.

    ../../../../_images/rokae_industrial_101.png
  6. Select the MM_Project folder in the flash drive, press More, and select Copy U disk folder to root directory.

    ../../../../_images/rokae_industrial_111.png

    Once pasted successfully, the MM_Project folder can be found in the file browser at the bottom left.

Configure Robot I/O

  1. On the teach pendant, press the icon in the upper left corner, and then press Settings.

  2. Press Communication ‣ IO Configuration ‣ Add in turn.

    ../../../../_images/rokae_industrial_241.png
  3. Configure the options as shown in the figure below, and then press OK.

    ../../../../_images/rokae_industrial_251.png

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. Select the robot model that you use, and then click Next.

  3. Select Standard Interface for Interface Type, and TCP Server and ASCII for Protocol, and then click Apply.

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

Test Standard Interface Communication

  1. In the Project Manager window on the teach pendant, select MM_Project folder and press Load.

    ../../../../_images/rokae_industrial_121.png
  2. Select the “// MM_Calibration()” line, and press More ‣ Comment/Uncomment.

    ../../../../_images/rokae_industrial_131.png
  3. Then press More ‣ Print Dialog.

    ../../../../_images/rokae_industrial_141.png
  4. Switch the manual mode to automatic mode. The figure below shows the teach pendant in the automatic mode.

    ../../../../_images/rokae_industrial_161.png

    Select Ok in the pop-up window as shown below.

    ../../../../_images/rokae_industrial_171.png
  5. Press the button on the controller. If the once-flashing indicator light turns to be always on, the servo is successfully turned on in the automatic mode.

    ../../../../_images/rokae_industrial_181.png
  6. Press the R button in the lower right corner to power on the robot.

    ../../../../_images/rokae_industrial_191.png
  7. Press Debug and select PP to Main.

    ../../../../_images/rokae_industrial_201.png
  8. Click the icon as shown below to adjust the program’s running speed.

    ../../../../_images/rokae_industrial_211.png
  9. Press the button as shown below to run the program.

    ../../../../_images/rokae_industrial_221.png
  10. If the robot is connected successfully, a message saying MM:Init connection successfully shows on the teach pendant.

    ../../../../_images/rokae_industrial_231.png

Common Operations

Backup and Restore Robot Files

Backup

  1. Plug the USB flash drive into the USB port on the robot controller.

  2. On the teach pendant, press the icon in the upper left corner, and then press Settings.

  3. Press General Settings ‣ Backup/Restore, and select Backup.

    ../../../../_images/rokae_industrial_61.png
  4. Select Backup in the pop-up window.

    ../../../../_images/rokae_industrial_71.png

Restore

  1. Press General Settings ‣ Backup/Restore, and select Restore.

    ../../../../_images/rokae_industrial_81.png
  2. In the pop-up window, press Browse to select the directory where the backup files are stored. Then select the data to be restored according to the actual requirement, and press Restore.

    ../../../../_images/rokae_industrial_91.png