585,759 active members*
4,058 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2007
    Posts
    67

    Why is my program stopping on this line?

    I'm bringing up my milling machine after replacing its ancient WinXP PC with a new Win10 one and a SmoothStepper. I thought I had everything dialed in, so I ran a program (admittedly a new one I'd never run before), and it stopped mysteriously about 85% of the way through (line 4990 out of 5660). I can't figure out why. I've attached a screenshot of Mach 3 showing the line it stopped on, a copy of the G code (generated by Cut2D from my drawing), and a photo of the part after the machine stopped (it was milling out that central pocket). Also, the spindle stopped gradually, like it was using Mach 3's deceleration parameter, not abruptly. Any ideas what's causing this?

    PS - I realize the cutout profile should have been cut last, but in my zeal to get the program running I didn't realize I saved it in the wrong order. The tabs held everything together just fine, though.

  2. #2
    Join Date
    Dec 2013
    Posts
    5717

    Re: Why is my program stopping on this line?

    It looks like that N5000 is just repeating over and over on the screen shot. Looks like Mach3 is confused. I just ran your code on Mach3 and it seems to work fine, except the unclosed comment in the first line.
    Jim Dawson
    Sandy, Oregon, USA

  3. #3
    Join Date
    Mar 2007
    Posts
    67

    Re: Why is my program stopping on this line?

    Huh. I was so focused on 4990 I didn't even look at 5000. That's crazy, especially since the code isn't written that way, as you can tell in the pdf. I'll load it up again tomorrow and see if I can duplicate it. I've used Mach 3 for years, though I'm hardly an expert, and I've never seen that happen. Thanks for pointing it out.

  4. #4
    Join Date
    Mar 2007
    Posts
    67

    Re: Why is my program stopping on this line?

    Btw, the first line sure looks like a closed comment to me. Can you explain why it's unclosed? Thanks.

    Here are the first few lines, for reference:

    ( 1Mill_250.tap )
    ( File created: Friday, May 29, 2020 - 01:11 PM)
    ( for Mach2/3 from Vectric )
    ( Material Size)
    ( X= 3.550, Y= 3.200, Z= 0.400)
    ()
    (Toolpaths used in this file

  5. #5
    Join Date
    Dec 2013
    Posts
    5717

    Re: Why is my program stopping on this line?

    Sometimes it just takes another set of eyes to look at the problem


    Quote Originally Posted by Involute View Post
    Btw, the first line sure looks like a closed comment to me. Can you explain why it's unclosed? Thanks.

    Here are the first few lines, for reference:

    ( 1Mill_250.tap )
    ( File created: Friday, May 29, 2020 - 01:11 PM)
    ( for Mach2/3 from Vectric )
    ( Material Size)
    ( X= 3.550, Y= 3.200, Z= 0.400)
    ()
    (Toolpaths used in this file

    I guess it was the second line. In the PDF, it was split into 2 lines like this:
    ( File created: Friday, May 29, 2020
    - 01:11 PM)

    Only took a second to find that one.
    Jim Dawson
    Sandy, Oregon, USA

  6. #6
    Join Date
    Mar 2003
    Posts
    35538

    Re: Why is my program stopping on this line?

    It looks like it's running in Demo mode, stopping at 500 lines of code. Is it actually licensed to you (Richard Lowe?), or is it a license that's been passed around?
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

Similar Threads

  1. Ending program without stopping spindle?
    By mmurray70 in forum Dynomotion/Kflop/Kanalog
    Replies: 4
    Last Post: 06-29-2017, 05:36 PM
  2. Okuma LU 15 Program stopping
    By jmckinn1 in forum Okuma
    Replies: 3
    Last Post: 02-04-2014, 03:24 PM
  3. Stopping/Aborting Program on TNC2500?
    By xxcar2 in forum Bridgeport / Hardinge Mills
    Replies: 5
    Last Post: 12-20-2012, 03:11 AM
  4. Replies: 14
    Last Post: 02-24-2009, 01:45 PM
  5. Stopping and Restarting in a Program
    By Dugg in forum Haas Mills
    Replies: 5
    Last Post: 01-14-2007, 10:32 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •