G code error
G code error
Hello All.. I am running UGS platform on a E4 Bobs cnc, I keep getting an invalide G code error when trying to run the cut. I have tried with different photos and settings with in PVC, any one know what G code commands are supposed be at beginning of program or have any ideas.
- Adrian
- Vectric Archimage
- Posts: 14683
- Joined: Thu Nov 23, 2006 2:19 pm
- Model of CNC Machine: ShopBot PRS Alpha 96x48
- Location: Surrey, UK
Re: G code error
Which post processor are you using? Is it the correct one for your control software? Does the company that make it have a post processor on their support pages?
Re: G code error
It is GRBL, and it may be that it is writing a tool change command that it doesn’t recognize.. will try eliminating that from code.
- Leo
- Vectric Wizard
- Posts: 4092
- Joined: Sat Jul 14, 2007 3:02 am
- Model of CNC Machine: 1300 x 1300 x 254 Chinese Made
- Location: East Freetown, Ma.
- Contact:
Re: G code error
Are you using a post processor with ATC or one without ATC. You should not be using the one with ATC -- IF -- that is the problem code.
Imagine the Possibilities of a Creative mind, combined with the functionality of CNC
Re: G code error
The T1 command in the G code was the issue, once I eliminated the tool change command it started the cut. GBRL doesn’t support tool changes so the first command was incompatable and threw the code.
- Adrian
- Vectric Archimage
- Posts: 14683
- Joined: Thu Nov 23, 2006 2:19 pm
- Model of CNC Machine: ShopBot PRS Alpha 96x48
- Location: Surrey, UK
Re: G code error
You can download the grbl post processor from here - https://forum.vectric.com/viewtopic.php ... 13#p209813
It sounds like you're using the generic g-code one.
It sounds like you're using the generic g-code one.