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

      • 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
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...