From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Stepper Motor Control via a DAQ - Is this possible?

Good Evening all,

 

I have a stepper motor and this is successfully being controled via a driver in labview using the command language the driver responds too, so this is fine. I also have a working DAQ code (**at least should do on Monday once I can test!**) that should be recording the data from my load cell and outputting a torque value.

 

The next bit is the part I am not sure on:

 

I have two motors running at the same time currently through the same piece of code copied twice and I have a DAQ measurement reading the torques of the two motors. What I want to do is for the absolute difference in torque to be measured between the two motors and then if either motor torque is greater, slow down that motor slightly until the overall torque is zero. It doesn't need to be performed at a super high rate or speed, but I would like the system to be able to adjust thoughout the experiment.

 

I have a Stepper motor, driver and a NI USB 6210 DAQ.

 

Is this possible? Any advice on documentation to read?

 

Mark 

 

0 Kudos
Message 1 of 2
(5,982 Views)

Hello RedWooden Box,

 

sorry for the late reply. Here are some developer zone tutorials and knowledge base articles that should help you: 

 

Stepper Motor Theory of Operation : http://zone.ni.com/devzone/cda/ph/p/id/248

 

Microstepping Concepts and Configuration : http://www.ni.com/white-paper/10638/en/#

 

Configure and Test a Stepper Motor: http://ae.natinst.com/public.nsf/web/searchinternal/9675c83f037811f68625727c0002a4a5?OpenDocument

 

Continuously Acquire Torque Bridge Samples (With Calibration) : https://decibel.ni.com/content/docs/DOC-11180

 

Using a USB-9472 to interface with a stepper motor driver : https://decibel.ni.com/content/docs/DOC-13289

 

Using SW-Timed Digital I/O to Control a Stepper Motor with DAQmx : https://decibel.ni.com/content/docs/DOC-6385

 

I hope these help! 

 

 

 

 

 

 

 

 

 

 

 

Message 2 of 2
(5,880 Views)