Jump to content

Strange Feedrate GCode Causing Crashes


finchamp

Recommended Posts

Posted (edited) · Strange Feedrate GCode Causing Crashes

Hello all,

I have a Geeetech A20M running Marlin, and am using Cura 4.1. I have been using this combination for a couple of weeks now with great results. However, this morning, I switched back from my other printer, made a couple minor setting adjustments (I don't remember specifically; first layer print temp and supports probably), and now I am getting some odd lines in my gcode files. For example:

 

G1 X43.48 Y107.148 E69.47124
G0 F7200 X43.105 Y107.01
G0 X43.272 Y106.556
G1 F3240 E60.47124
G1 F17987547480000 Z0.75
G0 F7200 X43.327 Y106.41 Z0.75
G0 X43.695 Y140.43
;TYPE:WALL-INNER
G1 F17987547480000 Z0.25
G1 F3240 E69.47124
G1 F1200 X42.941 Y140.149 E69.50987
G1 X42.233 Y140.087 E69.544
G1 X41.535 Y140.209 E69.57803

 

You can see there twice in just a few lines, an insanely large G1 F command. I discovered the problem because any time my machine encounters one of these lines, it just freezes completely. No response from the controls, and nothing on serial. If I comment all of them out, it seems to run fine. They occur at almost every change between different portions of the print (as above, just before and after changing to printing an inner wall). Unfortunately, I don't see any settings in my Cura profile that would suggest an issue.

 

I have attached my filament profile if it's any help. Note that I have it set up for 5 extruders; these are virtual extruders, and represent different mixes between the two inputs of the mixing hotend.

 

Any suggestions?

A20M PETG (feedrate problem).curaprofile

Edited by finchamp
  • Link to post
    Share on other sites

    Posted · Strange Feedrate GCode Causing Crashes

    Yeah - it turns out that is the speed of light in mm/minute.  It also turns out that Marlin gets confused and doesn't limit it to the max Z speed for you machine.  As it should.  Probably some integer overflow problem.

     

    The fix is discussed in this other thread:

     

  • 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...