Duet3D / RepRapFirmware

OO C++ RepRap Firmware
GNU General Public License v3.0
947 stars 538 forks source link

[Bug]: Jerk & acceleration value change after Resume APF #971

Open ButalaRishita opened 7 months ago

ButalaRishita commented 7 months ago

Duet Forum Discussion Thread

https://forum.duet3d.com/topic/35334/jerk-acceleration-value-change-after-resume-apf?_=1712377194339

Which Duet products are you using?

Firmware Version

RRF 3.5.0 rc3

Duet Web Control Version

DWC3.2.2

Are you using a Single Board Computer (RaspberryPi) with your Duet?

Please upload the results of sending M122 in the gcode console.

M122 Report

Please upload the content of your config.g file.

Config.g

Please upload the content of any other releveant macro files.

No response

Details specific to your printer.

No response

Links to additional info.

No response

What happened?

I am using Duet 2 wifi with RRF 3.5.0 rc3.

sudden change in jerk and acceleration after resume APF, it's set random value which is not in config and not in gcode.

gcode in which jerk is 300 mm/sec & acceleration 500 mm/s2, when i run the power failure sequence and after resume the print there is sudden vibration in X Y axis, so i am rum M204 to check it's acceleration and the result of it is 50000 mm/s2 and jerk is 600mm/s but gcode generated on jerk 300mm/s and acceleration 500 mm/s2.

dc42 commented 7 months ago

Restoration of M204 settings is now implemented in 3.5.0-rc.4. Restoration of jerk settings has not been done because it is not clear that it is a good idea. The original reason for jerk settings was to specify the limits that the machine is capable of. Unfortunately some slicers now generate commands to set jerk limits. One possibility is in future to treat M566 as setting machine limits (just as M201 sets machine acceleration limits) but treat M205 as setting possibly lower limits for the current print only (just as M204 sets travel and printing acceleration limits for the current print only).