LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

rotating actuator lead screw

Frankly, it's been over 15 years since I have had hands on experience with stepper motors/drivers. From what I recall for the driver I used, 1 clock pulse cycle in related to 1 step of motion in the motor.
 
I suggest you contact the driver manufacturer to clear up what is expected inter terms of pulse in to motion out. But regardless, if you have repeatable and reliable motion use whatever scaling works for your task.
 
 
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
Message 11 of 14
(840 Views)
Let's say I have 4 iterations. That would be OFF,ON,OFF,ON,OFF,ON,OFF,ON,OFF. It means 4 iterations equals 4 steps. It's a bit complicated. Anyway 192 iterations gives one complete turn.
0 Kudos
Message 12 of 14
(829 Views)
Anyone would like to clarify? As I understand four clock pulses move the stepper four steps. Does it mean that one FULL step is actually four iterations of my program? Does it meran HALF step would be eight iterations of my program? It sounds logical. Any comments.
0 Kudos
Message 13 of 14
(805 Views)
Hello Labview1958,
 
In most motion applications one pulse is equivalent to one step.  There are some drives and motors, however, that will employ micro-stepping or half-stepping.  These modes serve to add more increments to your stepping making your actuator more accurate.  It is possible this is the case with your drive and actuator.  Meaning, maybe you really do need to send 192 pulses to see a full revolution of your motor.  I also agree that timing could be an issue.  If your results are inconsistent, it may be that your pulse widths are inconsistent, and modifying your program will help to have more reliable timing between frames.
 
From the way your code looks, one loop iteration generates one pulse (although as we discussed above, the width of this pulse may be inconsistent based on your timing).  (This is partially inferred from other comments on this forum, as I could not open your VI.)
 
With all that being said, as long as you get consistent results, for example, four pulses = 0.025 inches (or equivalent), you can write your control as you desire.  The relationship will be linear and reliable.
 
I hope this helps, let me know if you have any other questions.
Regards,
Angela M
Applications Engineer
Message 14 of 14
(775 Views)