Master-Control Communication Setup

This guide shows you how to set up Master-Control communication with a Hyundai robot.

Preparation

Check Controller and Software Version

Robot controller version: Hi5a-S and Hi5-N (Hi5a-T10 is not supported).

Set up the Network Connection

Connect the Hardware

Plug the Ethernet cable of the IPC into the CNETN3 port inside the controller or the Ethernet port on the outside, as shown below.

hardware connection
There are three ports inside the controller, namely CNETN1, CNETN2, and CNETN3, which correspond to the EN0 address, TP address and EN2 User Ethernet address on the teach pendant respectively. Therefore, the Ethernet cable should be connected to the CNETN3 port.

Set the IP Address

  1. On the teach pendant, go to System  Control parameter  Network  Environment setting.

    system
    control parameter
    network
    environment setting
  2. Select EN2(Public), and set the right IP Address. Please also make sure that the Subnet Mask is set to 255.255.255.0.

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

    • The subnet mask of the IPC is the same as that of the robot, which is 255.255.255.0.

    • Restart the robot after modifying the IP address.

Load the Program Files to the Robot

  1. Connect the USB flash drive to the teach pendant.

    To control a HYUNDAI robot, you need to modify the Program File Format Version information in the first lines of the master-control programs 0101.JOB and* 0102.JOB*.

    If you already have another available program on the robot, please directly copy and paste the program into the flash drive and skip to step 5.
  2. Select Command input.

    load file 1
  3. Choose either of the command to input, as shown below.

    load file 2
  4. Now you can see the robot version information on the top. Then save the program.

    load file 3
  5. Select the newly created program file (or a previous program file), and select Copy. Then switch to the USB folder and select Paste.

  6. Connect the flash drive to the IPC. Open the program, and then copy the first line.

  7. Go to Communication Component/Robot_Server/Robot_FullControl/hyundai/Hi5a-S from the installation directory where Mech-Vision and Mech-Viz are installed. Open the two Master-Control program files 0101.JOB and 0102.JOB. Replace the first line of the two files with the copied code, and then save the changes.

    change file
  8. Copy and paste the master-control program files 0101.JOB and 0102.JOB into the flash drive. Connect the flash drive to the teach pendant. Go to System  File manager  USB, and select 0101.JOB and 0102.JOB, and then select Copy. Then switch to T/P, select Paste to load the files to the robot.

    change file 1

Further Configuration

  1. Change the IP address of the IPC to 192.168.0.150.

    • This IP address is a default one which is specified in 0101.JOB and 0102.JOB. If you need to change the IP address, please modify the IP address in the programs accordingly.

    • The new IP address should be in the same subnet as that of the robot controller.

  2. Set the management IP address of the router to 192.168.0.1.

  3. Go to System  User Environment.

    system
    user environment
  4. Select User key, and enter 314 to request permission.

    user key
  5. Change the P Coordinate* to Axis.

    • Select Axis on the screen directly.

    • Press SHIFT on the teach pendant and simultaneously press the left or right arrow keys to move left or right.

      keyboard
      If the joint information has not been modified, the following error message will appear in the background.
    error information

Test Master-Control Communication

  1. Switch the robot into AUTO mode.

  2. Reset the program steps of the robot to 0 for both program 101 and program 102. Select Program  Step/Function, and enter 0 in the pop-up Step selection window.

    reset step 0
    Execute the program 101.JOB.
  3. Create a Mech-Viz project.

  4. Connect the robot. Specifically, the robot IP address should be set to the actual IP address of the IPC.

  5. Move the robot.

Reconnect the Robot

  1. Under the teach mode, press R.. [NO], enter 314 and then press ENTER [YES] to request permission.

    get permission
  2. Each time when reconnect the robot, the background tasks should be stopped and the step in the foreground program should be reset to 0. Select Service‣ Monitoring ‣ Multi-tasking_state ‣ ENTER [YES] to enter the multi-tasking interface.

    service
    monitoring
    multi tasking state
  3. Select Program (Subtask) and then select Selection. Enter 3 in the Program selection window and then press ENTER [YES] to complete configuration.

    reset pointer 0

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.