Speed setting in 3D printing using kuka|prc G-code import

Started by ziqiuhuang, August 02, 2023, 05:40:38 AM

Previous topic - Next topic

ziqiuhuang

Hi, Johannes
I can now use G-code import to generate infill pattern as I want. But the speed of each point I cannot still control. In this way, I can only use constant speed settled in setting window to do the printing.
In any way can I incorporate speed into the command?
Looking forward to your reply!
Best regards,
Ziqiu

Johannes @ Robots in Architecture

Hello Ziqiu,

KUKA|prc should take the speed values from the G-code. Can you share an example of the G-code you are importing?

Thanks,
Johannes

ziqiuhuang

Hi, Johannes
Thank you for your rapid reply.
Here is a G-code generated from Cura. I can make sure its path works well, but I don't know where the speed is settled.
The G-code file is attached below.
Thank you for your kind help.
Best regards,
Ziqiu

Johannes @ Robots in Architecture

Hello,

When I import your file I do get speed values, like e.g. here:
PTP {X 0, Y 0, Z 15, A 0, B 90, C -155.962, E1 -1, E2 0, E3 0, E4 0, S 'B110'} C_PTP
LIN {X 0, Y 0, Z 15, A 0, B 90, C -155.962, E1 -1, E2 0, E3 0, E4 0} C_DIS
$VEL.CP=0.00333333
LIN {X 0, Y 0, Z 15, A 0, B 90, C -155.962, E1 3, E2 0, E3 0, E4 0} C_DIS
$VEL.CP=0.06
LIN {X 14.623, Y 14.349, Z 0.3, A 0, B 90, C -155.962, E1 3, E2 0, E3 0, E4 0} C_DIS
$VEL.CP=0.03
Are you also getting $VEL.CP values or not?

Best,
Johannes

ziqiuhuang

Hello, Johannes
Thank you for your help!
I can see the speed if I export file as krl or xml file.
However, I wonder if I can change the speed in kuka|prc by some ways.
Best regards,
Ziqiu

Johannes @ Robots in Architecture

Technically yes, you can use the "Extract Command" to get the plane plus the speed, modify it, and then put it together again into a LIN movement. Just note that you will have to sort out any non-movement commands.
Best,
Johannes

ziqiuhuang

Hi, Johannes,
Thank you very much for your method.
I think it is a good way to solve the problem.
I can use "extract command" to obtain information I need.
Best regards,
Ziqiu