G code is not working...

More
16 years 1 week ago #4824 by shiv
hello friends,, i installed emc2 today.... and my problem is = my G code is not working at all. i created my G code from "unigraphics 6" , and the EMC2 says something like = invalid G code OR unknown G code format" .....

guyz plz help me......:(

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

More
16 years 1 week ago #4828 by andypugh
Does it give a hint what G-code it doesn't like?

Try pasting the G-code listing to www.pastebin.ca where we can have a look at it.

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

More
16 years 1 week ago #4833 by BigJohnT
EMC is certainly not lying to you... if you feed it bad g code it will complain.

Did you select an EMC or compatible post processor for your CAM program?

Did you check the offending line of code with the manual to see if it is correct?

You do have to be a bit more specific to actually get some help.

John

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

More
16 years 6 days ago #4880 by shiv
Replied by shiv on topic Re:G code is not working...
ok friends, here is that Gcode....


www.pastebin.ca/1973850


click on it plz.

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

More
16 years 6 days ago #4882 by BigJohnT
I can't test run it here but can you tell us which line the error occurs on?

John

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

More
16 years 6 days ago - 16 years 6 days ago #4883 by andypugh
G70 is not an EMC2 G-code.
#EMC thinks that G70 means "inch mode" in some G-code dialects,

EMC2 uses G20 for inch and G21 for mm. Looking at the size of the part, swap the G70 for a G21

I am not sure what the : on the next line is doing. If it is meant to be a block-delete then change that line to /N030 T0 M6

With those two changes your G-code loads fine. I guess it is an impeller?
Last edit: 16 years 6 days ago by andypugh. Reason: a 500mm impeller seemed wrong...

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

Time to create page: 0.076 seconds
Powered by Kunena Forum