Set up Standard Interface Communication with HYUNDAI

You are viewing an old version of the documentation. You can switch to the documentation of the latest version by clicking the top-right corner of the page.

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-Vision & Mech-Viz versions: 1.6.0 or above

Set up the Network Connection

Connect the Hardware

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.

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

    hyundai interface 2

Set the IP Address

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

    hyundai interface 3
    hyundai interface 4
    hyundai interface 5
    hyundai interface 6
  2. Select EN2 (Public), and set the IP Address and Subnet Mask.

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

    hyundai interface 7

Prepare the Program Files

  1. On the IPC, go to Communication Component/Robot_Interface/HYUNDAI from the installation directory of Mech-Vision & Mech-Viz.

  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.

    hyundai interface 8
    hyundai interface 9

Further Configurations

  1. Go to System  User Environment.

    hyundai interface 8
    hyundai interface 10
  2. Select User key, and enter 314 to request permission.

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

    hyundai interface 11

Set up “Robot Communication Configuration”

  1. Run Mech-Vision, and 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 area, select Standard Interface for Interface service type, UDP 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. (Optional) Select Auto enable interface service when opening the solution.

    5. Click Apply.

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

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.

    hyundai interface 12
  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.

    hyundai interface 13
  3. Switch to AUTO mode, and press START to execute the robot program 9704.

    hyundai interface 14

Common Operations

Create Program File

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

    hyundai interface 15
  2. Go to Command input  Assignment, and press ENTER to create a program file.

    hyundai interface 16
    hyundai interface 17
    hyundai interface 18

Export Program File

  1. Go to System  File manager.

    hyundai interface 8
    hyundai interface 9
  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.

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.