DRILL CYCLE G81,G83 ERRORS

More
04 Apr 2025 17:48 #325699 by RBC
DRILL CYCLE G81,G83 ERRORS was created by RBC
Hi,
I have a configuration where X axis is the drill axis. 
When I run 
G19 
G0 X0.35 
G81 X-0.35 R0.1 F1 

it is accepted and runs but in reverse direction than what is needed.  
G19 
G0 X-0.35 
G81 X0.35 R-0.1 F1
It throws an error that r cannot be less than X.  In my case R-0.1 is above workpiece and x-0.35 is the start of drill, X0.35 is the end.  
Is this not supported or am I missing something. 
Best,
Rick

 

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

More
04 Apr 2025 19:40 #325709 by andypugh
Replied by andypugh on topic DRILL CYCLE G81,G83 ERRORS
I think that this is probably a built-in assumption in the code.

The canned cycles really expect to be used in X and Y with Z as the drill, and that can only ever drill in the negative Z direction.

If you use this a lot then it might be worth looking at building your own "canned cycle" by using G-code remapping.

Or if you really want to distract yourself from getting the job done, you could look at fixing the source code and submitting a fix. (but discuss it first, so there is agreement on what a fix would look like)

github.com/LinuxCNC/linuxcnc/blob/master...nterp_cycles.cc#L110

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

Time to create page: 0.112 seconds
Powered by Kunena Forum