Strange error: Bad character 'a' used

More
15 Sep 2011 02:10 - 15 Sep 2011 02:13 #13205 by GreenPlease
Hey guys

I'm really new to all of this so please bear with me. When I try to open up a .ngc file in EMC2 I get an error that says:

G-Code error in FirstCut.ngc

Near line 12 of /home/cornelius/Desktop/FirstCut.ngc
Bad character 'a' used

I'm not sure if this is a problem with the .ngc file created by meshcam or if it's a problem with EMC2. Also, after I click "ok" in the dialog box nothing loads and I'm just left with a blank workspace. I don't see toolpaths or any of the geometry that I saw in Meshcam or Inventor.

Right now my software chain goes Autodesk Inventor -> .stl file -> Meshcam -> .ngc file -> EMC2. Any help would be much appreciated.

Thanks

PS I'm posting the same question over on the Meshcam forum as well
Last edit: 15 Sep 2011 02:13 by GreenPlease.

Please Log in or Create an account to join the conversation.

More
15 Sep 2011 04:28 #13206 by jmelson
GreenPlease wrote:


Near line 12 of /home/cornelius/Desktop/FirstCut.ngc
Bad character 'a' used

Can you post the first 15 lines of this G-code file?

Jon

Please Log in or Create an account to join the conversation.

More
15 Sep 2011 15:55 #13212 by andypugh
GreenPlease wrote:

Bad character 'a' used

This error means that you are using an "A" word on a machine which does not have an A-axis.
If your machine _does_ have an A axis, then the problem is in the INI file. Look for a line saying COORDINATES and add A to the list.
This would be a very odd problem to find on a machine which was configured by stepconf, though. Is this a hand-built machine config?

Please Log in or Create an account to join the conversation.

More
15 Sep 2011 20:26 #13217 by BigJohnT
This error will occur anytime an "a" is found when not expected even if it is not used as an axis.

G4 a

will produce it.

John

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum