Hello Guest it is April 19, 2024, 07:26:09 AM

Author Topic: G Code stops at 2nd line and requires a second push of Cycle Start  (Read 1387 times)

0 Members and 1 Guest are viewing this topic.

Hi Guys, I'm not sure where the problem is, and therefore , which forum to post it in, but here goes.
I recently installed a ESS in my Chinese 6040 Router.
I use Cut2D to generate the G Code and Mach3 to run the machine.

I think this started after the ESS install, but not sure.
Problem:  I load the G Code frorm Cut2D. When I press Cycle Start in Mach 3, the code moves 2 lines ( stops at N140TM06 ) and then stops....I have to press Cycle Start again before the spindle starts and the rest of teh G Code is read.
I ttied the same code in Mach3 in Demo mode on another PC and it doesn't do it!

I assume it has something to do with the Mach 3 configuration on my CNC Machine.( wrong box ticked?)
Has anyone seem this before? Any idea what causes it?

I  have no idea where to start looking. I don't know much about G Code.
I have attached the FIRST PART of the last G Code this happens on, but they all do it.

( ABS Sensor Blanks )
( File created: Monday November 26 2018 - 01:42 PM)
( for Mach2/3 from Vectric )
( Material Size)
( X= 100.000, Y= 100.000 ,Z= 6.100)
()
(Toolpaths used in this file:)
(holes)
(Pocket 1)
(outside)
(Tools used in this file: )
(1 = End Mill {3 mm} 2 Flutes Straight PVC)
N120G00G21G17G90G40G49G80
N130G71G91.1
N140T1M06
N150 (End Mill {3 mm} 2 Flutes Straight PVC)
N160G00G43Z20.000H1
N170S12000M03
N180(Toolpath:- holes)
N190()
N200G94
N210X0.000Y0.000F500.0
N220G00X30.222Y38.444Z5.000
N230G1X30.222Y38.444Z-0.886F400.0
N240G2X29.222Y39.444I0.000J1.000F500.0
N250G2X30.222Y40.444I1.000J0.000
N260G2X31.222Y39.444I0.000J-1.000
N270G2X30.222Y38.444I-1.000J0.000
N280G1X30.222Y38.444Z-1.771F400.0
N290G2X29.222Y39.444I0.000J1.000F500.0
N300G2X30.222Y40.444I1.000J0.000
N310G2X31.222Y39.444I0.000J-1.000
N320G2X30.222Y38.444I-1.000J0.000
N330G1X30.222Y38.444Z-2.657F400.0
N340G2X29.222Y39.444I0.000J1.000F500.0
.........

Steve
 
Regards
Steve

Offline TPS

*
  •  2,505 2,505
    • View Profile
Re: G Code stops at 2nd line and requires a second push of Cycle Start
« Reply #1 on: November 26, 2018, 06:39:19 AM »
check your Settings in:

Config -> General Config -> Tool Change
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: G Code stops at 2nd line and requires a second push of Cycle Start
« Reply #2 on: November 27, 2018, 06:21:48 AM »
Thanks TPS. You're on the money.
I must have inadverantly selected ' Stop spindle Wait for Cycle Start' instead of ( I assume the default ) 'Ignore Tool Change'

I did look into the M06 Command  and did see ATC mentioned, but I never made the connection.
Thanks again.
Steve
Regards
Steve