Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI6602 for motion control?

Hi, I am wondering if it is possible to use the pulse generation of the
PCI6602 to control a stepper motor
driver, the problem is that I need aceleration and deceleration in the
pulse train.

I'm using the PCI6602 for event counting (~ MHz), and I need to
synchronize the data acquisition to the stepper motor pulses at a rate
of ~10 KHz. It would be nice to use a single card for both acquisition
and motion control.

thanx,

Stefano
0 Kudos
Message 1 of 3
(2,675 Views)
Stefano,

Yes, you could use the PCI-6602 to control a stepper motor. This will require two counters per stepper axis to control the step/dir or CW/CCW lines, or one counter per axis if you only want to move in one direction. You would need to programmatically ramp up the pulse rate to control acceleration. However, since updating the output pulse train frequency is software timed, acceleration may not be very smooth and you risk losing step. Also, you would need to manually handle any pull in moves.

While you could achieve reasonable stepper control with the counter board with some trial and error, the PCI-7334 would probably be a better solution. This controller easily handles acceleration and deceleration and allows you to route the encoder signals over the
RTSI bus to control the data acquisition process.

Regards,

Brent Runnels
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,675 Views)
Could you send me the examples for stepper motor control?
I have the PCI-6602, Visual C++ 6.0.
I want to move the motor with step input and direction.

CCW CW
ch1 : ---__--__--__--------------------------

ch2 : ------------------__--__--__--__--__---
0 Kudos
Message 3 of 3
(2,675 Views)