Jump to content
Ultimaker Community of 3D Printing Experts
Sign in to follow this  
jleichne

A Good GCode / Firmware Tutorial

Recommended Posts

Hey yall'

Two things: (1) I'm wondering if there is a good online resource for understanding the numerous commands in GCode. I know there is a list of all the commands but I haven't found any simple tutorial (although if there isn't I'm ready and willing to dissect the GCode of basic circles and squares for starters)

(2) I also want to update the firmware for Marlin, I've used Arduino environments before but before I start wading through the source code blind I would like to find a good resource. I plan to add additional printheads and I want to be able to add in the functionality of moving to a particular XY position and sending a trigger signal to the additional printhead (piezoelectric dropper) extrusion electronics.

Thanks for the help! I'm hoping there is a good place for me to start but I'm ready to start making my way through it anyways if there is not.

J

Share this post


Link to post
Share on other sites

You can start with the RepRap gcode reference (

http://reprap.org/wiki/G-code

), Ultimaker has the Marlin firmware and it supports most commands if the feature is present. The wiki does list for some commands if they are supported by Marlin or not, but others you just consider if the hardware support is there. For example the heated bed / heated chamber commands won't work on a stock Ultimaker as those features aren't present.

Daid has a Marlin builder you can use to custom-build a firmware, you can add the 2nd extruder there in the configuration options IIRC. (

http://daid.eu/~daid/marlin_build/

)

I'm not sure exactly what revision of Marlin it uses, I can't access it currently.

You can do what you want with moving the head to XY and turn on the 2nd extruder without writing any code in Marlin, it will just take custom gcode as no slicer will autogenerate it for you.

Edit: Also look at the Marlin github

https://github.com/ErikZalm/Marlin

Marlin.pde has comments for the list of supported commands.

https://github.com/ErikZalm/Marlin/blob ... Marlin.pde

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Our picks

    • How to 3D print with reinforced engineering materials
      Ultimaker is hosting a webinar where we explain how you can achieve and maintain a high print success rate using these new reinforced engineering materials. Learn from Ultimaker's Product Manager of Materials and top chemical engineer Bart van As how you can take your 3D printing to that next level.
      • 2 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies
×

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!