gCode and LinuxCNC

175 views
Skip to first unread message

cuagn

unread,
Mar 18, 2014, 1:26:12 PM3/18/14
to fla...@googlegroups.com
Hi everybody,

After a day of learning, tries and mistakes (all my fault!)  I've been able to generate drill, cutout and traces gcode files in my WIN7 environment.

That's fine even if some "goodies" could improve the job. Anyway, learning is not terminated...

However,when I've tried to open the files with LinuxCNC, they where rejected with an error message (sorry it's a French configuration, so my translation is probably not the same than the one you may get with an English configuration) : "% or end of file missing".

I've added M02 and the end and all has been accepted.

Have I missed some parameters somewhere ?

Marc

Juan Pablo Caram

unread,
Mar 18, 2014, 4:18:40 PM3/18/14
to fla...@googlegroups.com

Hi Marc,

You didn't miss anything. FlatCAM is not adding M02 at the end of the file. Maybe l should add it although it shouldn't make a difference.

l ommited it intentionally in the beginning thinking that you don't want to loose any settings between the end of one file and the next, and that some machines might reset their state upon finding M02.

l will consider adding an option to include M02 at the end of exported G-Code files.

Thanks,

JP

--
You received this message because you are subscribed to the Google Groups "flatcam" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flatcam+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

cuagn

unread,
Mar 19, 2014, 5:55:22 AM3/19/14
to fla...@googlegroups.com
There is probably the need to add either M02 and/or % at the end of gcode files.

I don't know if it makes any differences, but nothing is not compliant with LinuxCNC.
I'll made some tests to check if parameter reset may occurs...

As you may have understood my CNC (quite new and still with improvements). I was thinking to buy CopperCAM (not cheap for an amateur usage) when I've discovered FlatCAM.

The chain-tool is based on 2 environments:

- WIN 7 + KiCad (for electronic) + FlatCam on one physical computer
- UBUNTU + LinuxCNC live CD installed "out of the box" on another physical dedicated computer, without any change, driving a 3040Z-DQ. BTW there are no side effects and this environment may be considered a black-box.
Reply all
Reply to author
Forward
0 new messages