Advanced Motion Control + Duet3D 6HC

149 views
Skip to first unread message

Wolfgang Lienbacher

unread,
Feb 1, 2021, 8:05:51 AM2/1/21
to OpenPnP
Hello! 

I was curious about what the current state of development with the Duet3D boards in regards to the new advanced motion control feature is? 

I know there was some new code in the testing version of the firmware, but I found nothing specific in the release notes and all other information is buried in the threads for the openpnp testversions in late 2020, so I found it might be best to open a new discussion focused on this topic. 

I am specifically asking because I'd love to use the simulated 3rd order driver, but so far with the latest firmware release it only gives me choppy results which seems like the transmission of the moves just isn't fast enough, so instead of continuing a fluid motion the machine stops waiting for a command. I am however able to use gcode compression, which did not work the last time I tried with the previous firmware version. 

ma...@makr.zone

unread,
Feb 1, 2021, 9:03:25 AM2/1/21
to ope...@googlegroups.com

Hi Wolfgang

I'm glad you are asking.

dc42 has made significant improvements. There is one thing that he didn't respond back to. And I forgot to ask again. I have one number changed in the source code and it works, at least on my lab rig.

This version:

https://github.com/Duet3D/RepRapFirmware/tree/v3.02-dev

Change this line from 10 to 100

mainDDARing.Spin(simulationMode, idleCount > 100); // let the DDA ring process moves. Better to have a few moves in the queue so that we can do lookahead, hence the test on idleCount.

https://github.com/Duet3D/RepRapFirmware/blob/v3.02-dev/src/Movement/Move.cpp#L305

I can send you the built firmware, if you promise to a) not hold me responsible for any mishaps, and b) promise to report back with results ... and not only the negative ones...

;-)

_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/31e91a1c-963f-468a-ad1f-3246a61ecf3dn%40googlegroups.com.

Wolfgang Lienbacher

unread,
Feb 1, 2021, 9:05:59 AM2/1/21
to OpenPnP
Haha! Sure would love to test your compiled version! Will report ofc.

ma...@makr.zone

unread,
Feb 1, 2021, 3:26:03 PM2/1/21
to ope...@googlegroups.com

Hi Wolfgang,
Hi Duet 3D users,

I just made a Pull Request to add a crucial feature to the Duet firmware in order to allow advanced interpolated moves on that controller:

https://github.com/Duet3D/RepRapFirmware/pull/471

_Mark

dc42

unread,
Feb 11, 2021, 3:58:06 AM2/11/21
to OpenPnP
I accepted Mark's PR several days ago, so this will be a standard feature of the RepRapFirmware 3.3 release.

ma...@makr.zone

unread,
Feb 11, 2021, 5:58:33 AM2/11/21
to ope...@googlegroups.com

Hi @dc42

Thanks again for accepting the PR. There are some follow-up questions here:

https://github.com/Duet3D/RepRapFirmware/pull/471#issuecomment-774061634

I need some guidance, so I can build "out-of-the-box" support into OpenPnP.

_Mark

dc42

unread,
Feb 19, 2021, 6:13:13 AM2/19/21
to OpenPnP
Thanks Mark, I replied to those questions a week ago.
Reply all
Reply to author
Forward
0 new messages