Gcode hangs

This forum is for general discussion about Cut3D
Post Reply
Rich1
Posts: 28
Joined: Tue Nov 12, 2013 7:47 pm
Model of CNC Machine: 3040Z-DQ
Location: Allen, TX

Gcode hangs

Post by Rich1 »

I am having an issue with my code. Would someone mind taking a look. I have generated three different files with Cut2d which all hang up on line 21 or 22. I am including 25 line of code to cut a square. I just don’t understand gcode well enough to see why all these are hanging.

( Text SQ )
( File created: Monday, March 24, 2014 - 08:43 PM)
( for Mach2/3 from Vectric )
( Material Size)
( X= 127.000, Y= 127.000, Z= 19.050)
()
(Toolpaths used in this file:)
(Text SQ)
(Tools used in this file: )
(4 = End Mill 1/8")
N100G00G21G17G90G40G49G80
N110G71G91.1
N120T4M06
N130 (End Mill 1/8")
N140G00G43Z5.080H4
N150S12000M03
N160(Toolpath:- Text SQ)
N170()
N180G94
N190X0.000Y0.000F254.0
N200G00X3.984Y3.369Z5.080
N210G1Z-3.175F254.0
N220G1Y20.959
N230G1X23.824
N240G1Y3.369
N250G1X3.984

Thanks
Rich

User avatar
rscrawford
Vectric Wizard
Posts: 1102
Joined: Mon Jan 17, 2011 6:49 pm
Model of CNC Machine: CAMaster Cobra 408 ATC, ShopSabre IS408
Location: Wetaskiwin, Alberta
Contact:

Re: Gcode hangs

Post by rscrawford »

Hard to say without knowing what control software you are using (WinCNC, Mach3, etc).

Seems strange to have a G94 command in there. Depending what your control software uses the G94 command for, that might be your problem (in WinCNC, G94 cancels the inverse time feed mode (G93)).
Russell Crawford
http://www.cherryleaf-rustle.com

PaulRowntree
Vectric Wizard
Posts: 1687
Joined: Sun Oct 24, 2010 7:28 pm
Model of CNC Machine: homebuilt 4'x2' (Mach3+G540)
Location: Guelph, Ontario
Contact:

Re: Gcode hangs

Post by PaulRowntree »

There is an 2009 post that suggests a fundamental problem with the Mach3 PP used in Cut2D, incorrectly adding lathe codes

http://forum.vectric.com/viewtopic.php?f=18&t=5111

Cheers!
pr
Paul Rowntree
WarpDriver, StandingWave, Topo and gadgets available at PaulRowntree.weebly.com

Post Reply