ST意法半导体
直播中

陈蕾

7年用户 248经验值
私信 关注
[问答]

请问同时使用这种控制器移动2轴的最佳方法是什么?

同时使用这种控制器移动2轴的最佳方法是什么?

我应该使用SYNC输出吗?
#L6470-l6480-XY

以上来自于谷歌翻译


以下为原文




What is the best way to move 2 axis with such controler in a same time?

Shall I use SYNC output?  
#l6470-l6480-xy

回帖(2)

陈蕾

2019-6-17 09:32:55
谢谢回答。
 
 
 
好的菊花链模式。
好的,同时开始''移动''命令。
 
 
如何进行同步移动?
我有2个电机X和Y.
例如,我想为X移动144步,为Y移动91步。
我想在同一时间开始和停止:我想要直线前进。
 
 
什么是同步引脚的用途?这个引脚对XY移动有用吗?

以上来自于谷歌翻译


以下为原文





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?
举报

刘璐

2019-6-17 09:40:05
好的,我误解了你的问题。
 
在这种情况下,控制更复杂,需要MCU方面的一些努力。
也许您可以使用一系列RUN命令执行X-Y插值并通过ABS_POS寄存器检查定位。
另一种解决方案是使用步进时钟模式,但在这种情况下,禁用BEMF补偿算法。
 
同步输出用于将外部事件与电机位置同步(例如,MCU通过计数器监视同步输出)。

以上来自于谷歌翻译


以下为原文





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).
举报

更多回帖

发帖
×
20
完善资料,
赚取积分