Machsupport Forum
G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: shobley on March 06, 2013, 11:09:13 AM
-
Hi,
I'm not in front of the machine right now, but I've been having a problem recently with a 6-8 second delay before the machine starts to cut.
In the following G-code:
(Toolpaths used in this file:)
(center2_pocket)
(center2_cut)
(Tools used in this file: )
(1 = End Mill {0.125 inch})
N110G00G20G17G90G40G49G80
N120G70G91.1
N130T1M06
N140 (End Mill {0.125 inch})
N150G00G43Z0.8000H1
N160S12000M03 << This line waits
I'm assuming it is a "spin-up" delay for the spindle, but I've set everything back in Mach3 to 0.
I don't see anything in the preceding G-code that would override the values in the settings - does anyone have any ideas why it is still waiting?
Thanks,
Steve
-
Close down Mach3 and try it again. Go back and double check for the Spinup delay. What is the next line AFTER the M3 call?
Just a thought, (;-) TP
-
It's been doing it for several days now, so I don't think restarting is the issue.
Good idea on the G-code though - there's the rest of it...
N160S12000M03
N170(Toolpath:- center2_pocket)
N180()
N190G94
N200X0.0000Y0.0000F50.0
...
-
I guess the easiest thing to do would be to delete the M03 command from the G-code processor definition - I start the spindle manually so I don't really need it.
-
Have you rechecked the value for the M3 delays in config??
(;-)TP
-
I will do that again, I was pretty sure that they were all set to 0.
When I get back tonight I will take a look.
-
Also you may want to take a peak at what CODE is actually in your M3.
Has it ALWAYS done this??
(;-) TP
-
Not sure what you mean - how would I check that?
I thought the G-Code was pretty much the lowest level.
Steve
P.S. I recently went from a router to a spindle, and I played with the settings. At the same time I moved to a different G-Code generation processor - so before both of those changes everything was fine.
-
Open the vb editor in Mach, (operator, VB script editor), file, open and browse to your mach 3 folder, macros, your profile, m3.m1s
Brett
-
The M3 code was "SpinCW()" - or something very similar. No timing commands.
I checked the values for delay in Mach3 and they all seem to be 0 - is there a place I may have missed?
-
Post up your XML and g code and I will take a look in a little bit. It may be a few hours as I'm going to a fab shop to have some pieces bent.
Brett
-
The GCode I posted at the start, the XML I'm unsure of, is this the configuration file for Mach3?
-
Yes, it will be in the C:/Mach3 folder and will have the .xml file extension. There may be several so be sure to choose the one you use on your machine and when you upload it make sure it has a unique name.
Brett