Hello Guest it is March 29, 2024, 09:41:34 AM

Author Topic: Delay in G-code - can't seem to eliminate it  (Read 7523 times)

0 Members and 1 Guest are viewing this topic.

Delay in G-code - can't seem to eliminate it
« 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

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Delay in G-code - can't seem to eliminate it
« Reply #1 on: March 06, 2013, 12:00:38 PM »
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
Re: Delay in G-code - can't seem to eliminate it
« Reply #2 on: March 06, 2013, 12:22:02 PM »
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
...
Re: Delay in G-code - can't seem to eliminate it
« Reply #3 on: March 06, 2013, 01:17:07 PM »
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.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Delay in G-code - can't seem to eliminate it
« Reply #4 on: March 06, 2013, 01:47:30 PM »
Have you rechecked the value for the M3 delays in config??

(;-)TP
Re: Delay in G-code - can't seem to eliminate it
« Reply #5 on: March 06, 2013, 01:48:57 PM »
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.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Delay in G-code - can't seem to eliminate it
« Reply #6 on: March 06, 2013, 02:18:16 PM »
Also you may want to take a peak at what CODE is actually in your M3.

Has it ALWAYS done this??

(;-) TP
Re: Delay in G-code - can't seem to eliminate it
« Reply #7 on: March 06, 2013, 03:17:48 PM »
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.

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Delay in G-code - can't seem to eliminate it
« Reply #8 on: March 06, 2013, 03:32:24 PM »
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
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: Delay in G-code - can't seem to eliminate it
« Reply #9 on: March 07, 2013, 09:28:54 AM »
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?