Z axis does not lift out of job

More
16 Sep 2012 14:59 #24307 by mariusl
Hi all,

I have a situation where the tool path travels through the job instead of over. It would seem that the planner smooths the move of the Z axis on its way to the next operation.

Look at the last two line in this piece of Gcode. I would expect it to complete the X move and then perform the Z
(Filename: ZB nut plate.ngc)
 (Post processor: EMC.scpost)
 (Date: 9/16/2012)
 G21 (Units: Metric)
 G40 G90
 F1000
 G64 P0
 (Part: ZB nut plate)
 (Operation: Spiral pocket, pocket, T5: Mill/router, 6.35 mm diameter, 5 mm Deep)
 M6 T5  (Mill/router, 6.35 mm diameter)
 G00 Z4.0000
 M03 S5000
 X22.5000 Y18.9750
 G01 Z-2.0000 F300

and again here it goes to the xy position while on its way up???
(Operation: Outside Offset, 0, T5: Mill/router, 6.35 mm diameter, 12.2 mm Deep)
 G00 Z4.0000
 X27.3250 Y17.5000

I am on 2.5.1

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
16 Sep 2012 15:07 - 16 Sep 2012 15:08 #24308 by BigJohnT
G64 P0 = "G64 and G64 P0 tell the planner to sacrifice path following accuracy in order to keep the feed rate up."

A must read...

linuxcnc.org/docs/html/common/User_Concepts.html

The effects of using G64 are magnified on a machine with slow acceleration.

A good (biased opinion) tutorial on G code is here . Read the Start Here! section.

I never could understand the rational of making G64 default...

John
Last edit: 16 Sep 2012 15:08 by BigJohnT.

Please Log in or Create an account to join the conversation.

More
17 Sep 2012 08:24 #24324 by mariusl
John
I changed the Gcode post processor to output a G61 only. On the backplot it shows that the tool moves up straight and then to the new X position but on the machine it actually cuts the corner still.

On slightly higher feeds ( nothing near maximum) it also does not complete an arc. It goes to the start of the arc and then moves directly to the end of the arc in a straight line.

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
17 Sep 2012 09:23 #24326 by cncbasher
try adding a G17 X Y Plane select

Please Log in or Create an account to join the conversation.

More
17 Sep 2012 11:17 #24327 by Rick G
Take a look on the AXIS screen of the list active codes to confirm that G61 or G64 is active.

Just to experiment you might try adding a short pause in the g code between the two moves to see if that changes anything.

Are you using backlash compensation?

Rick G

Please Log in or Create an account to join the conversation.

More
17 Sep 2012 11:54 #24329 by BigJohnT
mariusl wrote:

John
I changed the Gcode post processor to output a G61 only. On the backplot it shows that the tool moves up straight and then to the new X position but on the machine it actually cuts the corner still.

On slightly higher feeds ( nothing near maximum) it also does not complete an arc. It goes to the start of the arc and then moves directly to the end of the arc in a straight line.


I'd have to say something is wrong on the machine if it is not following the exact path programmed with G61. G61 means go to each end point even if you have to stop an axis to do so.

What kind of machine is this?

John

Please Log in or Create an account to join the conversation.

More
17 Sep 2012 12:25 #24330 by mariusl
Rick
G61 is active and no backlash compensation is used.

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
17 Sep 2012 12:27 #24331 by mariusl
John
The machine is a router that has been running with Mach. I am using it to get EMC running. It is fitted with a G540.

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
17 Sep 2012 13:23 #24332 by BigJohnT
What clearance height are you using in your CAM software?

I was looking at the bit of code in your first message it is seems a bit strange to make a 5mm deep hole and only go to -2mm...

John

Please Log in or Create an account to join the conversation.

More
17 Sep 2012 13:35 #24333 by mariusl
John
The cuts are small. Probably 2mm at a time and I only show a small piece of the code so you dont see the whole picture. :)

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.098 seconds
Powered by Kunena Forum