ROKAE Industrial Robot Setup Instructions

This section introduces the process of setting up master-control of a ROKAE industrial 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 or above.

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

Hint

The XBC5 series controller in version 3.6 has not been tested.

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_1.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_2.png
../../../_images/rokae_industrial_3.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_5.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_4.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_1.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.

Prepare the Files

  1. On the IPC, open the Mech-Center/Robot_Server/Robot_FullControl/rokae folder in the installation directory of Mech-Mind Software Suite.

    Attention

    There are three subfolders in the rokae folder.

    • singleTask5 contains commonly-used projects which support robot motion control and DO receiving. In this section, singleTask5 is used as an example.

    • splineCurve is an upgraded version of singleTask5. It is specifically developed for gluing applications. When running the program, please select either singleTask5 or splineCurve.

    • getDIServer is an integral service program to receive robot DI. If you want to use singleTask5 and getDIServer at the same time, the multitasking function should be enabled on the robot end. For detailed instructions, please refer to Enable Multitasking.

  2. Plug the USB flash drive into the USB port of the IPC. Copy the rokae folder to the USB flash drive and then remove the USB flash drive safely.

Load the Files to the Robot

Attention

It is recommended to back up robot system files before loading Master-Control 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 with the program files into the USB port on the robot controller.

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

  3. Press Project Manager.

    ../../../_images/rokae_industrial_9_1.png
  4. Press More and select Show U disk.

    ../../../_images/rokae_industrial_10.png
  5. Select the singleTask5 folder in the flash drive, press More, and select Copy U disk folder to root directory.

    ../../../_images/rokae_industrial_11.png

    Once pasted successfully, the singleTask5 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_12.png
  3. Add do0, and the specific options are shown below.

    ../../../_images/rokae_industrial_13.png

    Similarly, add do0 to do7. The final result is shown in the figure below.

    ../../../_images/rokae_industrial_14.png

Test Robot Connection

Before running the Master-Control program, please ensure you have configured robot in Mech-Viz and configured settings in Mech-Center. The Host IP address in Robot Server should be set to 192.168.2.160. For detailed instructions, please refer to Test Robot Connection.

In the main interface of Mech-Center, click Connect Robot on the toolbar. The loading and running process should be completed in 120 seconds, or else you should click Connect Robot on the toolbar again.

  1. Select the local singleTask5 folder, and press Load.

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

    ../../../_images/rokae_industrial_16.png

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

    ../../../_images/rokae_industrial_17.png
  3. Press the button on the controller as shown in the figure below. If the once-flashing indicator light turns to be always on, the servo is successfully turned on in the automatic mode.

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

    ../../../_images/rokae_industrial_19.png
  5. Press Debug and select PP to Main.

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

    ../../../_images/rokae_industrial_21.png
  7. Press the button as shown below to run the program.

    ../../../_images/rokae_industrial_22.png

    If the robot is connected successfully, a message saying Robot: server connected to the robot shows up in the Log panel of Mech-Center.

  8. Please refer to the last part in Test Robot Connection to move the robot.

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_6.png
  4. Select Backup in the pop-up window.

    ../../../_images/rokae_industrial_7.png

Restore

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

    ../../../_images/rokae_industrial_8.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_9.png