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

Post Edit for KRC4 with Sample CSV code

#1
I recently acquired an RMC10 robot cell from Robotic Solutions including a KR10 R1100-2 and rotary with tool changer. My workflow is Rhinocam to RoboDK and they recommended reaching out to finalize the post-processor. I have a sample CSV code with parameters I need to pump into the post. Are there any resources or services to create this post? In the meantime, attached is a sample src with 2 tool changes for reference.  Any info is much appreciated.


Attached Files
.src   TestOutput (1).src (Size: 131.6 KB / Downloads: 7)
.txt   csv.txt (Size: 21.38 KB / Downloads: 4)
#2
The workflow should be to load the CSV file in RoboDK as a program or as a curve first. Then, you can generate the program using an existing post processor for KUKA.

It looks like you have XYZABC values, speed and tool values in your CSV file.

For example, to load list of targets you can find this script which you can easily customize:
https://robodk.com/doc/en/PythonAPI/exam...ram-xyzwpr

You can also load the list of targets as a curve or an NC files and convert it into a simulation and a robot program:
https://robodk.com/doc/en/Robot-Machining.html
#3
Thank you Albert. I really appreciate the info to get things up and running. The folks at Robotic Solutions speak highly of you.

I went to run script and ImportCSV XYZWPR and receive the following error attached. My apologies, I'm unfamiliar with Python


Attached Files Thumbnail(s)
Script-Output.png   
#4
Thank you for your feedback. The load script I mentioned was designed for a CSV file formatted using comma as the separator. Your file has a semicolon as a separator. It is also not structured the same way.

To adjust this you can use a script like the one attached instead in the RoboDK project file called ImportCSV KUKA. I also added a script called ImportCSV Curves which will only load the curve. The difference is that with a curve you can change more settings in RoboDK. It would even be better if you create your custom NC file from your CSV files.

For the scripts to work I removed the header information inside your CSV file. Also, it looks like you have a very long approach to your part that should be removed. I recommend you to adjust the approach and retract settings in RoboDK.

To use this script you can follow these steps:
  1. Copy the scripts in your project.
  2. Double click on the file to run it (ImportCSV KUKA to import as targets, ImportCSV curve to import as a curve). 
  3. Select the CSV file. Make sure it is a CSV file with a similar format (without the header information).


Attached Files
.txt   csv.txt (Size: 20.34 KB / Downloads: 2)
.rdk   Sample-Load-KUKA-CSV.rdk (Size: 1 MB / Downloads: 2)
  




Users browsing this thread:
1 Guest(s)