Set up Standard Interface Communication with HYUNDAI

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

Check Controller and Software Compatibility

  • Robot controller version: Hi5a-S and Hi5a-T10.

  • Mech-Mind Software Suite: 1.6.0 or above.

Set up the Network Connection

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. The Ethernet port outside the controller corresponds to the CNETN3 port inside.

  • For the Hi5a-S controller, plug the Ethernet cable of the IPC into the Ethernet port on the outside, as shown below.

    ../../../../_images/hyundai_interface_1.png
  • For the Hi5a-T10 controller, plug the Ethernet cable of the IPC into the Ethernet port on the outside, as shown below.

    ../../../../_images/hyundai_interface_2.png

IP Address Configuration

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

    ../../../../_images/hyundai_interface_3.png
    ../../../../_images/hyundai_interface_4.png
    ../../../../_images/hyundai_interface_5.png
    ../../../../_images/hyundai_interface_6.png
  2. Select EN2 (Public), and set the IP Address and Subnet Mask.

    Attention

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

    ../../../../_images/hyundai_interface_7.png

Prepare the File

  1. On the IPC, open the folder Mech-Center/Robot_Interface/HYUNDAI stored in the installation directory of Mech-Mind Software Suite.

  2. In the HYUNDAI folder, please change the first line in each .JOB file according to specific robot models, for example, “Program File Format Version : 1.6 MechType: 739(HH4-01) TotalAxis: 6 AuxAxis: 0”.

    • If the specific robot model is known, change the file.

    • If the robot model is unknown, but the .JOB file is in the robot, export the program file, and copy the first line to replace the first line of each .JOB file.

    • If the robot model is unknown, and the .JOB file is not in the robot, please refer to Create Program File and Export Program File to create a .JOB file.

  3. Connect the flash drive to the IPC, and copy the changed HYUNDAI folder into the flash drive, and then remove the flash drive safely.

Load the Program Files

  1. Connect the flash drive to the teach pendant.

  2. Go to System ‣ File manager ‣ USB, select all the JOB files under the HYUNDAI folder, and then select Copy in the bottom panel. Then switch to the T/P folder, and select Paste in the bottom panel to load the files to the robot.

    ../../../../_images/hyundai_interface_8.png
    ../../../../_images/hyundai_interface_9.png

Further Configuration

  1. Press System‣ User Environment to enter the user environment.

    ../../../../_images/hyundai_interface_8.png
    ../../../../_images/hyundai_interface_10.png
  2. Select User key, and enter 314 (the general password) to request permission.

  3. On Pose record type, press the Shift button on the teach pendant and the left/right button to select Axis.

    ../../../../_images/hyundai_interface_11.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 UDP 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. On the teach pendant, select Program at the upper left corner and enter the program number 9704 to open the program.

    ../../../../_images/hyundai_interface_12.png
  2. Change the value of V500$ to the IP address of the IPC, and set the value of V500% to the port number configured in Mech-Vision.

    ../../../../_images/hyundai_interface_13.png
  3. Switch to AUTO mode, and press START to execute the robot program 9704. If the robot is connected successfully, the Console tab of Mech-Vision Log panel will display a note.

    ../../../../_images/hyundai_interface_14.png

Common Operations

Create Program File

  1. Press the SHIFT and PROG buttons simultaneously, and enter program number (eg. 1), and press Enter key.

    ../../../../_images/hyundai_interface_15.png
  2. Go to Command input ‣ Assignment, and press ENTER to create a program file.

    ../../../../_images/hyundai_interface_16.png
    ../../../../_images/hyundai_interface_17.png
    ../../../../_images/hyundai_interface_18.png

Export Program File

  1. Go to System ‣ File manager.

    ../../../../_images/hyundai_interface_8.png
    ../../../../_images/hyundai_interface_9.png
  2. Select the file to be exported, and press Copy, then switch to USB folder, and press Paste to copy it to the flash drive.