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
.txt   csv.txt (Size: 21.38 KB / Downloads: 6)
#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: 3)
.rdk   Sample-Load-KUKA-CSV.rdk (Size: 1 MB / Downloads: 4)
#5
Thank you Albert. I seem to be running into an issue as things aren't looking quite right after following those steps. I attached my test file for any suggestions.
Let me know if you have any thoughts to clarify. Much appreciated.

-Tim
#6
What you see at the end of your program where the turntable stops and the tool tries to continue to move following the path is a common issue that you reached the limit of the turntable. You can simply extend the limits by a factor of 100.

Also, you should place the part in a coordinate system held by your turntable and select it in your robot machining parameters.

You can also speed up the calculation if you set the parameter Allow a tool Z rotation of +/- 0 deg instead of 180. By doing this, your last machining operation (axis parallel) should be created in less than 10 seconds (as opposed to probably 2 minutes).

Another detail: I used the simplify mesh Add-in to reduce the size of the 3D model. It was way too detailed which was creating a heavy part to display and to save as a RDK file. I used the default settings and the mesh size was reduced by 80% approximately. You can find this Add-in here:
https://robodk.com/addin/com.robodk.app.simplifymesh

See attached image and project with these changes.
KUKA-machining-turntable-proper-setup.png   


Attached Files
.rdk   Pogany-TEST-v2.rdk (Size: 34.81 MB / Downloads: 1)
  




Users browsing this thread:
1 Guest(s)