G83 moving to next position too soon

More
10 May 2023 19:13 - 10 May 2023 19:14 #271122 by shanham67
All,
The following gcode drills the four holes shown in the block of wood below.  Notice that the tool 'drags' across the edge of the hole because the move to the next position begins before the tool is out of the material.  Where am I going wrong?  Change the R parameter to 0.25 resolves the issue.

 

#<bc_x>=6.25  (bolt center x distance)
#<bc_y>=2.0  (bolt center y distance)
#<xdim>=7.25    (plate length)
#<ydim>=3    (plate width)

M03 M08
S1200
G52 X[#<xdim>/2] Y[-#<ydim>/2]              (set the local coordinate offset)
                         ( to the center of the part)
G0 z.125                     (move to safe z)
F10                          (feed rate = 10ipm)
g83 X[-#<bc_x>/2] Y[#<bc_y>/2] z-.76 r.125 q.125 (peck drill top left hole)
Y[-#<bc_y>/2]                     (peck drill bottom left hole)
X[#<bc_x>/2]                     (peck drill bottom right hole)
Y[#<bc_y>/2]                     (peck drill top right hole)
g0 z.125                      (g0 clears 'canned' g83 cycle)

g0 x0 y0                     (move to center of part)

M2



 
Attachments:
Last edit: 10 May 2023 19:14 by shanham67.

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

More
10 May 2023 19:27 #271123 by MaHa
I think someone else solved this by optimal G64 P...  settings

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

More
10 May 2023 21:51 #271135 by tommylight
What version of LinuxCNC?
There was such an issue quite a long time ago, so update to something more recent, if that is the case.

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

More
01 Jun 2023 19:42 #272652 by shanham67
Thanks!

This machine is running 2.8.2-11.  I am currently converting a second Bridgeport Interact MkII with 2.8.4.  When I get the second machine online I will feel more comfortable updating this one.  

jh

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

Time to create page: 0.152 seconds
Powered by Kunena Forum