Jump to content
Ultimaker Community of 3D Printing Experts

Buggy G-Code Files? - solved


dbrgn
 Share

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
     Share

    • Our picks

      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
        • 8 replies
    ×
    ×
    • Create New...