Jump to content

Replacing Acceleration & Jerk G-code


l2n_pro

Recommended Posts

Posted · Replacing Acceleration & Jerk G-code

Hi all,

Cura uses M204 to set acceleration and M205 to set jerk. My printer uses M8008 for acceleration and M8007 for jerk control. At the moment, I have to manually set global jerk and speed in the machine start g-code. Is there a way to have cura use the correct g-code commands for speed and acceleration settings in a cura profile?

  • Link to post
    Share on other sites

    Posted · Replacing Acceleration & Jerk G-code

    There is a post processor called "Search and Replace".  You would need two instances.

     

    Search = M204

    Replace = M8008

    and

    Search = M205

    Replace = M8007

     

    Those will work as long as the units are the same and the parameters are the same.  Cura will use the S parameter for Accel.  Other parameters for Accel would be X and Y for each axis or P and T for print and travel.  You might have to get fancy with the regular expressions if there are numbers between the parameters.

    Jerk is by axis so it always uses X Y parameters.

    I think Search and Replace will start at the first layer (raft or model) but you'll need to check to make sure.

     

    Search = M204 S(\d*)

    Replace = M8008 P\1 T\1

    Use Regular Expressions = checked

    would go from

    M204 S1000

    to

    M8008 P1000 T1000

     

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