Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5

RoboDK Hanwha Driver

#1
Star 
This post contains no questions or suggestions. On the contrary, it contains a ready-to-use solution to support remote control of Hanwha collaborative robots via RoboDK. All necessary files are available to RoboDK team on GitHub in my private repository (https://github.com/vdm-dev/robodk-hanwha-driver).

Follow the steps below to configure RoboDK to work with Hanwha robots.

Step 1. Setup the Robot IP address
  • Log in as Administrator
Quote:Default Passwords
Login: Admin
Password: 170502
or
Login: user
Password: hcr5
* by default the "user" account also has administrator privileges.
   
  • Open SW Configuration ⇒ Network Setting and fill in the parameters of your local network, in particular the IP address and subnet mask. Click Apply and agree to reboot if the system asks you to do so.
   

Step 2. Install the RoboDK Connector Plug-in
  • Log in as Administrator
  • Prepare a USB flash drive with the RoboDK.asar file on it and plug it into the robot controller or the teaching pendant.
  • Open Management ⇒ Rodi-X Plug-in and click Add button to open the Select File dialog.
   
  • Choose RoboDK.asar and click OK.
   
  • Press the Restart button.
  • After reloading, you will be able to see information about the plugin.
   
  • Open Rodi X ⇒ RoboDK and make sure that the Server Status field contains no error messages. If the TCP 7000 port appears to be occupied by another application, you can change it by entering another value in the Communication Port field and clicking Apply.
   
  • Now the robot is ready for remote control.
Step 3. Setup the RoboDK connection
  • Copy the file hanwha.py to the folder /RoboDK/api/Robot (default path in Windows: C:\RoboDK\api\Robot).
  • Set up your RoboDK project and place one of the Hanwha robots in it. For example, the HCR-3.
  • Right-click on the robot in the project tree and select Connect to robot...
  • In the Connection to HCR-3 window, fill in the Robot IP/COM and Robot port fields (use the robot's IP address and the port number from the RoboDK Plug-in).
  • In the same window, click the More options button and type hanwha in the Driver field (or use the Select button to select the appropriate driver from the list).
  • Click the Connect button and if all the settings are correct, you will see Ready in the Connection status bar.
  • Check the system operation by pressing the Get Position and Move Joints buttons. Be careful, if the servo drives are on, then after pressing Move Joints the robot will start moving to the position set by RoboDK.
   

Demonstration


On Monday I will try to record a video with a real robot.

Best regards,
Dmitry Lavygin
PhD, Senior Researcher
#2
Attaching the video of the real robot, as promised.
Part 1

Part 2
#3
Awesome work!
Please read the Forum Guidelines before posting!
Find useful information about RoboDK by visiting our Online Documentation.
#4
Hello there,

I hope you're doing well. I recently tried to access the files that you shared, but unfortunately, it seems that they are no longer available. I was really looking forward to checking them out, so I was wondering if it would be possible for you to reupload the files.

If you're able to do so, could you please provide me with the new link to access the files? I would really appreciate it.

Thank you very much.
#5
This is unfinished version of the Hanwha driver.


Attached Files
.zip   Driver-Hanwha-Unfinished.zip (Size: 8.56 KB / Downloads: 172)
#6
We can work with this driver in real robot is possible.
#7
I'm not sure we understand.

Can you confirm if the driver that Dmitry sent you is working for you with the real robot?
  




Users browsing this thread:
1 Guest(s)