Jump to content

Buggy G-Code Files? - solved


dbrgn

Recommended Posts

Posted · Buggy G-Code Files? - solved

Since Cura 13.10, when exporting G-Code files and printing them on my Ultimaker 2 via SD Card, the files seem to be buggy. The print head immediately starts to print in mid-air, without raising the build platform and without heating the head.

The temperature shows "22/0 °C".

Here's one of the generated G-Code files, if someone wants to analyze it: http://tmp.dbrgn.ch/bearing6.gcode

I'm using Arch Linux with the package from AUR: https://aur.archlinux.org/packages/cura/ (see https://aur.archlinux.org/packages/cu/cura/PKGBUILD)

 

  • Link to post
    Share on other sites

    Posted · Buggy G-Code Files? - solved

    What version of the firmware are you running on your printer?

    It seems that perhaps the printer isn't recognizing it as an UltiGcode file, and so expects the file to include all of the preamble to heat the bed etc. However, the file looks perfectly normal to me.

    So how do you print, since Cura messes up like this?

     

  • Link to post
    Share on other sites

    Posted · Buggy G-Code Files? - solved

    I simply downgraded to an older version. 13.06.5 seems to work fine.

    You might be right about the UltiGcode thing. In contrast to the older version, in the newer version this whole part is missing from the preamble:

     


    G21 ;metric values
    G90 ;absolute positioning
    M107 ;start with the fan off
    G28 X0 Y0 ;move X/Y to min endstops
    G28 Z0 ;move Z to min endstops
    G1 Z15.0 F9000 ;move the platform down 15mm
    G92 E0 ;zero the extruded length
    G1 F200 E3 ;extrude 3mm of feed stock
    G92 E0 ;zero the extruded length again
    G1 F9000
    M117 Printing...

    I last upgraded the firmware about half a year ago. I guess I'll have to do that again, to be compatible with the newer version...

     

  • Link to post
    Share on other sites

    Posted · Buggy G-Code Files? - solved

    I'm confused.

    You can't have had an Ultimaker 2 for 'half a year'. They didn't start shipping until the end of October.

    If you have an original Ultimaker, then you can't use 'Ultigcode', you have to configure Cura for an Ultimaker Original, with Reprap/Marlin gcode. That expects there to be the preamble gcode that you quoted above to set the temps, home the head, etc. Even with the most recent firmware, it won't work right with Ultigcode, currently.

    On an Ultimaker 2, you don't need to do those things if the file is marked as 'Ultigcode' - the UM2 firmware provides the necessary homing and warm-up operations automatically.

     

  • 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
        • 27 replies
    ×
    ×
    • Create New...