Hello Guest it is March 29, 2024, 09:11:49 AM

Author Topic: G code will not load into Mach3  (Read 9637 times)

0 Members and 1 Guest are viewing this topic.

G code will not load into Mach3
« 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.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: G code will not load into Mach3
« Reply #1 on: April 17, 2013, 10:50:04 AM »
What does the first line of code look like?

(;-) TP
Re: G code will not load into Mach3
« Reply #2 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.

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: G code will not load into Mach3
« Reply #3 on: April 17, 2013, 07:34:10 PM »
You're trying to load a .dxf file, not the g-code.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: G code will not load into Mach3
« Reply #4 on: April 17, 2013, 10:28:42 PM »
YEP that is a dxf file.

(;-) TP
Re: G code will not load into Mach3
« Reply #5 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.
Re: G code will not load into Mach3
« Reply #6 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.
Re: G code will not load into Mach3
« Reply #7 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.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: G code will not load into Mach3
« Reply #8 on: April 18, 2013, 12:31:44 PM »
What Post processor are you running in SheetCam ?

(;-) TP
Re: G code will not load into Mach3
« Reply #9 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.