Page 1 of 1

Change First Layers Jerk / Acceleration

Posted: Thu Mar 24, 2016 9:23 am
by Couture619
Good morning everyone! I am searching a way to adjust the acceleration and jerk for the first ''X'' number of layers. Obviously to help adhesion of the first layer. I am using Repetier Firmware

// ************ Something like ************
If ( Z < 0.6)
{
Set jerk;
Set accel;
}
Else
{
Load values from EEPROM;
}
// **********************************

I am using Simplify3D and it has some speed reducing function (not accel) for the first layer but are very limited. My best solution so far is the manually add M201 M202 M207 in the Gcode.

I am also trying to learn how to make MXXX function within the firmware, this will probably work but I am not there yet. In Simplify3D there is an ‘’layer change script’’ option that can push G and M code at every layer change. One of my idea is to create a MXXX function that is call at every layer and if the height is below Y, it change the parameters.

Any solution?
thank you

Re: Change First Layers Jerk / Acceleration

Posted: Fri Mar 25, 2016 7:49 am
by CompoundCarl
My best recommendation would have been to manually add the M201/202 commands in the gcode at whatever location you want. You can automate that process using the {REPLACE} post-processing commands that S3D already includes. For example: {REPLACE "; layer 5" "M201 X Y Z\n; layer 5"}

Re: Change First Layers Jerk / Acceleration

Posted: Fri Mar 25, 2016 9:18 am
by Couture619
:o Id never realized that the post-processing commands also change the .gcode file! :o

Thank you, it works!