Kuka KRC4 DAT Post Processor - Base problem- Printable Version +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) + - - -论坛:RoboDK错误(//www.sinclairbody.com/forum/Forum-RoboDK-bugs) +--- Thread: Kuka KRC4 DAT Post Processor - Base problem (/Thread-Kuka-KRC4-DAT-Post-Processor-Base-problem--6475) |
Kuka KRC4 DAT Post Processor - Base problem- deactivated -01-13-2023 Hello, I created a simple robot progam. The points are teached and placed in a reference frame. When I compile the programm with the default Kuka post processor everything works fine. After switching to the DAT post processor, my linear movements doesnt fit. It seems like the robot doesnt use the reference frame / base. Is there any option to fix this? I would like to use the DAT post processor to be able to use the kuka touch up funtion. Also I have a bug that my filename ist always 2 times the same. Attached you will find the project and the compiled files. Thank you! RE: Kuka KRC4 DAT Post Processor - Base problem-Albert-01-16-2023 You should update RoboDK to the latest version to fix the problem you see with the double file name. This was a known bug we fixed. Regarding base and tool ID you should remove the comment on the line where you set the base:
Code:
BASE_DATA[5] = {FRAME: X 365.454,Y -483.317,Z 669.023,A 0.445,B -45.223,C 89.945}
This can be easily configured in the post processor. More information here: //www.sinclairbody.com/doc/en/Post-Processors.html#EditSamplePost You can contact us by email if you don't have the source code of the KUKA KRC4 DAT post processor. RE: Kuka KRC4 DAT Post Processor - Base problem- deactivated -01-17-2023 Hello Albert, Ok I think there is a problem with the tool data. The tool is definded as the following:
Code:
; ---- Setting tool (TCP) ----
And the linear movement refers to TOOL_NO 1:
Code:
DECL E6POS XP2={X 301.325,Y 325.389,Z -247.213,A -36.052,B 28.427,C -55.569}
Is it possible to choose which tooldata robodk should be used? Or do I have to edit the postprocessor? I also updatet to the newest version of robodk :) RE: Kuka KRC4 DAT Post Processor - Base problem-Albert-01-18-2023 Actually you should be able to configure the post processor to automatically use indexes for the TOOL and the BASE when available. Make sure the index number is available in the name of the tool and reference frame. To apply this change by default simply edit the following variables of the KUKA KRC4 DAT:
Code:
# Use the Frame index instead of the pose when the index is provided
If you want this change to be permanent it is better if you create a copy of this file so that reinstalling RoboDK does not override your changes. |