嗨,
我只使用速度(运行)命令来使用L6482,因为我们必须在速度模式下使用电机。 Acc / Del由我们控制。 Chip Acc / Del设置为无限(0xFFF),MIN_SPEED / MAX_SPEED设置为0x3FF。 STEP_MODE是1/4步
一切正常,我可以读/写所有寄存器。
如果我给出一个运行命令(0x50)电机以该频率运行,并且CurrentSpeed寄存器使用运行频率(除以4,因为我使用1/4微步)。电机的实际频率也是正确的。
只有当我写出相同或更高的速度(即增加频率)时才会出现这种情况。
如果我尝试降低速度,则电机以最后速度运行,SPEED注册表保持该值。无法减速。如果我一次性或连续地给出RUN命令,就会发生这种情况。
只有当我执行RUN(0x00)时,电机才会停止,SPEED也会转到0x00。
为了在直接速度模式控制中使用L6482,有特定的注册表设置或顺序吗?
谢谢
#l6482
以上来自于谷歌翻译
以下为原文
Hi,
I'm tring to use a L6482 using only speed (Run) command because we have to use the motor in speed mode. Acc/Del are on our control. Chip Acc/Del are set to infinite (0xFFF) and MIN_SPEED/MAX_SPEED at 0,0x3FF. STEP_MODE is on 1/4 step
Everything works fine, I can read/write all registers.
If I give a Run command (0x50) motor runs at that frequency and CurrentSpeed register give use the Run frequency (divided by 4 because I use 1/4 microstep). Real frequency of the motor is also correct.
This is true only if I write equal or greater speeds (i.e increase frequecy).
If I try to decrease speed the motor runs at last speed and SPEED registry remain at that value. No way to decelerate. This happen if I give the RUN command one shot or con
tinuosly as well.
Only if I execute a RUN( 0x00 ) the motor stop and SPEED goes at 0x00 as well.
There are particular registry setting or sequence in order to use th L6482 in a direct speed mode control?
Thanks
#l6482