2013-04-05 10:52 AM
What is the best way to move 2 axis with such controler in a same time?
Shall I use SYNC output? #l6470-l6480-xy2013-04-12 02:40 AM
Hi,
I think the best way is to use the daisy chain feature.If you connect your X and Y drivers in the same chain you are able to synchronize the command execution through the CS line.Example:You need to Move the X motor (1st of the chain) of 1024 usteps forward and stop the Y motor (2nd of the chain) at the same time.You can do it using this sequence:2013-04-16 01:21 PM
Thanks for answering.
Ok for the daisy chain mode.Ok for starting in the same time a ''move'' command.How to have a synchronous move?I have 2 motors X and Y.For instance, I want to move 144 steps for X and 91 step for Y.I want to start AND stop at the same time: I want to move on a straight line.What-is the use of the sync pin ? would this pin usefull for XY move?2013-04-23 07:17 AM
OK, I misunderstood your question.
In this case the control is more complex and requires some effort from the MCU side.Maybe you can use a sequence of RUN commands performing the X-Y interpolation and checking the positioning through the ABS_POS registers.Another solution is to use the step-clock mode, but in this case the BEMF compensation algorithm is disabled.The synch output is designed to synchronize external events with the motor position (e.g. the MCU monitor the synch output through a counter).