Hello Guest it is June 18, 2019, 09:33:41 PM

Author Topic: Problem; rapid at end of op  (Read 2843 times)

0 Members and 1 Guest are viewing this topic.

Problem; rapid at end of op
« on: November 22, 2008, 10:24:50 PM »
I've ran into a problem and I'm not sure if mach3 is to blame, mastercam, or most likely, me.

The machine is an X3 that I recently converted to CNC.

The problem is that at the end of the operation, the machine decides to go somewhere instead of straight up and stop. The first time, I was pocketing and at the very end the machine rapided to another xy coordinate and snapped the bit. The second time, the machined rapided up, then  over and then back down partially into the part, ejecting the part.

So I guess my question is what dictates where the machine goes at the very end of the operation? I don't know what safeZ is. Could that possibly help?

Re: Problem; rapid at end of op
« Reply #1 on: November 22, 2008, 10:36:24 PM »

   You need to examine the G-code, and see what is causing those moves.  It is almost certainly in the G-code, not a Mach problem.

Ray L.
Ray L.
Re: Problem; rapid at end of op
« Reply #2 on: November 22, 2008, 10:58:03 PM »
Here is the end of the gcode:

Code: [Select]

I'm confident that the code was fine until N266. I don't know what a M5, G91, G28 or M30 is but there is no place where it rapids down a good half inch. Could it possibly be trying to go to a home location or something?

I don't have my machine quite setup properly as it stands. The part I'm machining is the stop for the y axis limit switch so I don't have my homing location setup. Could this be a part of the problem?

Offline Sam

  • *
  •  988 988
    • View Profile
    • hillbillyhilton.com
Re: Problem; rapid at end of op
« Reply #3 on: November 22, 2008, 11:31:05 PM »
G28 returns the machine to home position. There is a definition of G and M codes on the start-up page in Mach, next to the reset button. The manual has a superb wealth of knowledge for such things too. Definitely worth the time to read through it.

« Last Edit: November 22, 2008, 11:42:42 PM by Sam »
"CONFIDENCE: it's the feeling you experience before you fully understand the situation."
Re: Problem; rapid at end of op
« Reply #4 on: November 22, 2008, 11:52:30 PM »
Alright, thank you very much. So the machine is going home, which I have set incorrectly, inside the part,as in the latter case.