[OpenPnP] strange behavior after first Homing (M204S problem)

66 views
Skip to first unread message

manu f

unread,
Oct 25, 2021, 4:53:38 PM10/25/21
to ope...@googlegroups.com
Hello,

2 days ago I recieved a Dell Optiplex 9020 who is very nice to put under my PNP machine.
So I completly reinstall OpenPnP on this machine (and for these who have seen my message, recompile my smoothieware to add temperature controler for vacuum sensor). I also add backlash compensation (onesidedoptimizepositioning).

Well this is my life and this is not very interresting.. untill..I notice a very strange things!
After my first homing who work perfectly, when I asked for a new one, homing movements is very very very slow! WTF ?

So I log gcode and play it with ponterface, after playing the sequence I got the same problem, homing is very slow!

Whats hapened ? In fact OpenPnP send M204S with a very slow acceleration (M204S0.52...look the log file).
And when I home with $H, smoothieware home with the last M204S settings, so very slowly!
So I dont know if it could be considering as a bug but this is not an expected working I think?

So for now I add a M204S200.0 in my driver Home command and this work fine!

Regards

Manu

log9119105080652423414.g

ma...@makr.zone

unread,
Oct 26, 2021, 3:37:17 AM10/26/21
to ope...@googlegroups.com

Hi manu,

yes, that's an artifact of using motion control Simulated3rdOrderControl.

https://github.com/openpnp/openpnp/wiki/GcodeAsyncDriver#gcodedriver-new-settings

On some controllers (Smoothie is one) the acceleration is not reset to the configured default when you home the machine, so it takes the last set acceleration from the simulated jerk. Which is typically very small.

Adding M204 Sxxx to HOME_COMMAND is the right thing to do.

I'll add this to the Issues & Solutions suggestion for HOME_COMMAND.

_Mark

--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CAGshWo2vGq6O4waBRV153YkYd2obEc7QUT1iVOmFHpW1rc_nwg%40mail.gmail.com.

manu f

unread,
Oct 26, 2021, 4:42:02 AM10/26/21
to ope...@googlegroups.com
Thank you Mark for your return, very clear as usual!

ma...@makr.zone

unread,
Oct 27, 2021, 3:11:41 PM10/27/21
to OpenPnP
Hi all,

This is available. It is even using variable substitution in the HOME_COMMAND, i.e. that will dynamically adapt to changed acceleration limits, when they are later changed on the Axes:

27-10-2021 18-05-14.png

See here (with Instructions):

This is available as new testing version (in about 5 minutes):

_Mark
Reply all
Reply to author
Forward
0 new messages