Jump to content

A Good GCode / Firmware Tutorial


jleichne

Recommended Posts

Posted · A Good GCode / Firmware Tutorial

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

  • Link to post
    Share on other sites

    Posted · A Good GCode / Firmware Tutorial

    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

     

  • 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
    • Our picks

      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 26 replies
    ×
    ×
    • Create New...