Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: Mickj on April 16, 2013, 10:42:42 PM

Title: G code will not load into Mach3
Post by: Mickj on April 16, 2013, 10:42:42 PM
I am new to using this software.  I am doing drawings in Audocad then going into Sheetcam & loading tools for CNC plasma cutter. From sheet cam i convert to G-code then go into mach3 and load the G-code into Mach3 but i have an error code "bad character used" in line 0. It will not load any other G-codes which cut alright before. The coding seems to be strange on all lines and no file name. Can anyone please help me with this problem.
Title: Re: G code will not load into Mach3
Post by: BR549 on April 17, 2013, 10:50:04 AM
What does the first line of code look like?

(;-) TP
Title: Re: G code will not load into Mach3
Post by: Mickj on April 17, 2013, 02:33:22 PM
On line 0 is 0. on line 1 it says section. on line 2 it says 2. on line 3 it says header.on line 4 it says 9. on line 5 it has $ACADVER, on line 6 itsays 1. on line 7 it says AC1009. on line 8 it says 9. on line 9 it says $INSBASE. line10 it says 10.
Title: Re: G code will not load into Mach3
Post by: ger21 on April 17, 2013, 07:34:10 PM
You're trying to load a .dxf file, not the g-code.
Title: Re: G code will not load into Mach3
Post by: BR549 on April 17, 2013, 10:28:42 PM
YEP that is a dxf file.

(;-) TP
Title: Re: G code will not load into Mach3
Post by: Mickj on April 17, 2013, 10:49:28 PM
I thought sheet cam automatically loaded the dxf file as a g-code after you put your tools and layers in.  Thank you for all the input that has come my way.
Title: Re: G code will not load into Mach3
Post by: Overloaded on April 18, 2013, 07:20:46 AM
After you put your tools and layers in, you have to run the appropriate Post Processor in SheetCam to produce the GCode.
Title: Re: G code will not load into Mach3
Post by: Mickj on April 18, 2013, 11:45:47 AM
The post processor is on the right setting on sheet cam, but it still seems to be making it into a dxf file.
Title: Re: G code will not load into Mach3
Post by: BR549 on April 18, 2013, 12:31:44 PM
What Post processor are you running in SheetCam ?

(;-) TP
Title: Re: G code will not load into Mach3
Post by: Mickj on April 18, 2013, 08:54:49 PM
I typed in a g-code file name in Mach3 search box, and as I was typing I spotted a ghost letter in front of what I was typing. I then deleted the ghost letter and my g-code file that showed up. I clicked on the file and it ran fine.  Everything seems to be working for now.  Thanks for all your help.