cancel
Showing results for 
Search instead for 
Did you mean: 

Control 2 motors (X and Y) with l6470 in daisy chain configuration

marco239955_st
Associate
Posted on June 11, 2014 at 10:51

Dear all,

my question is about how to realize a syncronous movement of 2 stepper motor (one move in X direction and one move in Y direction), controlling by 2 l6470 connected in a daisy chain configuration also with STM32F4DIS-EXT.

In particular I would know if in this configuration's type there is a delay in sending the input command between the 2 motors, and which is the smartest way to obtain straight trajectories (i.e. have a simultaneous movement of both motors at the same speed)

Actually I using commands:

motor_Go_To_M1

motor_Go_To_M2

after calculation of the step that I want to realize with the 2 motors

Thanks in advance

Best regards

Marco Cingolani
1 REPLY 1
phil23
Associate
Posted on June 16, 2014 at 13:27

I have a very similar requirement, except that I also need to be able to change the speeds of the two drives synchronously (and without stopping), so that the x-y motion can define (say) a circle.

The two possibilities seem to be

  • Issuing new commands to all motors synchronously when a specific position is arrived at, or
  • Using the step-clock mode and some sort of programmable pulse generator

Thanks, Phil Atkin