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.
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.
Similar Threads:
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
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.
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
Jim Dawson
Sandy, Oregon, USA
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
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)