Welcome! Log In Create A New Profile

Advanced

Trying to run first job but machine stops

Posted by azz00 
Trying to run first job but machine stops
November 03, 2013 04:13AM
Hi everyone.

I have just got everything set up but I am having trouble with the following;

Using Gen 6 electronics, Marlin firmware and Pronterface.

If I send a Gcode file that I would have done for 3D printing everything works fine.

However, any G code that is used for CNC milling does not work? I just get a huge list of unknown commands and nothing happens?

Attached is the sample G code others have used for their first run.

Any help would be appreciated.
Attachments:
open | download - ShapeOko_Calibration_Pattern_01b.gcode (94.2 KB)
Re: Trying to run first job but machine stops
November 03, 2013 06:50AM
Abit more information.

I believe it is something to do with how I generate the G-code.

Using Skeinforge to slice some STl files seems to work so would I be correct in thinking that there must be a communication issue between my GEN 6 electronics and the way CNC G code generators export their code?
Thanks
Re: Trying to run first job but machine stops
December 10, 2013 06:20PM
There are a few things with the gcode that you posted that make it incompatible with Marlin. Comments need to be prefaced with a semicolon (not parentheses). Every line that isn't a comment needs to start with a command, such as a Gnn, Mnn, or Tnn. Another issue is that the dwell command (G4) that Marlin expects is in milliseconds, where it appears that the gcode has it in seconds.


Help improve the RepRap wiki!
Just click "Edit" in the top-right corner of the page and start typing.
Anyone can edit the wiki!
Sorry, only registered users may post in this forum.

Click here to login