Arbitrary control of motors with Duet 3
-
I am looking to use my Duet 3 to control some linear actuators that help automate some things in my workshop. I was wondering if I can configure things so that I can just add arbitrary axes rather that use some existing machine profile like Cartesian or whatnot.
As of now I wired my stepper and endstop to the Duet. I configured things so that they are just controlled via the x axis. This all works great. However, the intended application for this axis is to set the height of a platform precisely. Preferably I would be able to just give it a name that reflects its purpose. Is there anyway to do this or am I locked to the predefined "architectures"? I would like to add further arbitrary axes over time to deal with other little tasks.
I don't mind doing a little coding to accomplish things. I guess a workaround for me would be to write a little plugin for the web interface to give me a panel that looks how I want it to.
-
You can define a number of additional axis and set them up however you like.
-
@sh54 The difficulty is having different motion systems. You can easily define extra axes to do other tasks, however you can’t independently control them at the same time as the main axes. It is one coordinated motion system per main board.
-
@sh54 as @theolodian the movement of all axes is coordinated. This means that if multiple axes are moving at the same time, they start and stop at the same time.
In RRF 3.5 we plan to add support on Duet 3 boards to move two sets of motors asynchronously with respect to each other.
-
Thanks for all the information! I'll take a poke at the M584 code. As of know with all my plans I can live the axes starting and stopping at the same time. I would see myself just manipulating one at the time in a simple fashion. Just starting out to experiment a bit with the hardware side of things. The planned RRF 3.5 features sound exciting.
-
@sh54 I added a section to 'Configuring stepper motors' wiki page today, to cover creating extra axes. See https://docs.duet3d.com/User_manual/Connecting_hardware/Motors_configuring#creating-additional-axes
Ian