Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Why don't I get pos. and neg. direction from my stepper motor through Labview?

I have a stepper motor that is controlled by the NI Motion Control card, NI PCI-7342. I can get the motor to spin in both the positive and negative directions in the Measurement and Automation Explorer, but not through the Labview code for arc motion. I was wondering if there is a reason why it is unable to rotate in either direction through the code.
0 Kudos
Message 1 of 5
(3,591 Views)
I have just tried the Two-Axis Circle with Position Monitor.vi that is located in the examples directory and it's no problem to draw circles in positive and negative direction with this vi. The only thing you have to do in order to change direction is to change the sign of the Travel Angle value (e. g. -360° or +360°).

I hope this helps,

Best regards,

Jochen Klier
National Instruments Germany
0 Kudos
Message 2 of 5
(3,586 Views)
Thank you. I actually figured it out shortly after writing the question. I used the Load Target Position function.
0 Kudos
Message 3 of 5
(3,582 Views)
I would like to make a change to the Two Axis Circle VI. I would like to change the direction onf the X axis.  If you envision an X Y grid, the circle is "drawn" on the negative side of the Y axis.  I would like to change it so that the circle is "drawn" on the right side of the Y axis.
 
I think I need to change the direction of the X axis motor, but I can't see where to change it.
 
Thanks,
 
Bill
0 Kudos
Message 4 of 5
(3,262 Views)
Bill,

you should play around with the start angle parameter of "Load Circular Arc.flx". E. g. if you are now using 0°, try 180° to inverse the angle the circle starts.

Kind regards,
Jochen
0 Kudos
Message 5 of 5
(3,238 Views)