Right section? Crash on Mill

More
26 Dec 2016 14:14 #84698 by kg2v
Hey Gang,
I was running my first real part, and managed to crash, but caught it on video, plus rechecked my wax cuttings (hey, I proofed in wax first)

What happened is I was drilling a #35 hole (rapid), and when the machine goes to move to the next hole, it actually rapids in X before retracting.
I don't know if it is in the G code, my Machine config, something I did wrong in Fusion360 (although the simulation shows a retract) or what. I won't post the WHOLE thing, just from the tool change. The crash happens at line N80. The bit has not even started to retract after N75

(STEAM GLAND 2)
(T2 D=0.11 CR=0. TAPER=118DEG - ZMIN=-0.533 - DRILL)
N10 G90 G94 G17 G91.1
N15 G20
N20 G53 G0 Z0.
(DRILL5)
N25 M9
N30 T2 M6
N35 S2800 M3
N40 G54
N45 M9
N55 G0 X0.875 Y-0.625
N60 G43 Z0.6 H2
N70 G0 Z0.2
N75 G98 G81 X0.875 Y-0.625 Z-0.533 R-0.05 F10.
N80 X0.375
N85 G80
N90 G0 Z0.6
N100 M9
N105 G53 Z0.
N110 M30
%

Anyone tell me what I'm doing wrong?

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

More
26 Dec 2016 15:50 #84703 by PCW
Replied by PCW on topic Right section? Crash on Mill
I am no gcode expert, but I think that's expected behavior:
( from the LinuxCNC gcode guide: linuxcnc.org/docs/html/gcode/g-code.html#gcode:g81 )

"If a canned cycle is not turned off with G80 or another motion word, the canned cycle will attempt to repeat itself using the next block of code that contains an X, Y, or Z word."

So either you need the G80 before the X0.375 or the X0.375 should be G0 X0.375

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

More
26 Dec 2016 16:16 #84704 by kg2v
Replied by kg2v on topic Right section? Crash on Mill
Shouldn't it retract first to the value in either R or Z old? It never does a retract

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

More
26 Dec 2016 16:20 - 26 Dec 2016 16:47 #84705 by PCW
Replied by PCW on topic Right section? Crash on Mill
Maybe, maybe not, but its not clear from the LinuxCNC docs
what will happen with a X move and no G0 or no G80 before the X move

EDIT:
Actually, looking at the docs for G80 it should retract and drill again at x=0.375
(since G81 is still in force) is that the intention?
Last edit: 26 Dec 2016 16:47 by PCW.

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

More
26 Dec 2016 21:56 #84719 by kg2v
Replied by kg2v on topic Right section? Crash on Mill
Yes, the intention was the second hole in the hole pattern, but it starts the X move, and never even TRIES to retract - You can watch the crash at

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

More
27 Dec 2016 00:23 #84723 by PCW
Replied by PCW on topic Right section? Crash on Mill
What version of LinuxCNC is this?

There's a (possibly related) bug in 2.5, 2.6, 2.7 before 2.7.2:

sourceforge.net/p/emc/bugs/448/

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

More
27 Dec 2016 02:38 #84730 by kg2v
Replied by kg2v on topic Right section? Crash on Mill
Not sure on the version number ( how do I tell?), but I downloaded and installed about 2 weeks ago

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

More
27 Dec 2016 03:53 - 27 Dec 2016 04:02 #84732 by 64dodge
In the G81 line R-.05 means its going to start drilling and retract to Z-.05 . R should be set + positive.
G98 should have retracted to Z.2 . I don't put X & Z in G81 line but don't think it caused that.
I have never used G91.1 that may be the culprit.

Tim
Last edit: 27 Dec 2016 04:02 by 64dodge.

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

More
27 Dec 2016 13:45 #84743 by kg2v
Replied by kg2v on topic Right section? Crash on Mill
If you look at the video, it never tries to retract, does the X, and then starts the cycle over and the new Z offset, if the bit was still there, I'd have a hole in the table

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

More
27 Dec 2016 14:25 #84744 by Todd Zuercher
You said you "downloaded and installed about 2 weeks ago". Is that downloaded the Linuxcnc ISO, or the latest version of Linuxcnc?
The Linuxcnc installation ISO image does not get updated very often, and might be as old as 2.7.0. It is best to run the software updater first thing after starting a new installation (and not a bad idea to do it periodically there after.)
As to telling what version you have, it usually says what the version number is on the title bar of the UI window, or you can click on About in the Help menu.
The following user(s) said Thank You: kg2v

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

Time to create page: 0.162 seconds
Powered by Kunena Forum