Hi,
I am trying to RUN a stepper using labview from a parallel port. I came across this tutorial from the NET. Can I run the stepper with labview using this tutorial as a guide?
First off a little information about the parallel port on your computer. The parallel port has 8 output pins available via the DATA Port (D7-D0). It also has 5 input pins (S7-S3) accessible through the Status Port and 4 more output pins (C3-C0)accessible through the Control Port.
The pins that we are interested in are D7-D0. These 8 data pins are used to control the 2 stepper motors (4 per motor). D7-D4 are used to control motor A and D3-D0 are used to control motor B. Each data pin corresponds directly to one of the motor windings.
To rotate motor A, simply send high (1) values to D7,D6,D5,D4 in the following manner 1000, 0001, 0100, 0010 (this would rotate motor A four steps).
Motor B follows the same pattern with the values being sent to D3, D2, D1, D0.
The continual repetition of the pattern steps the motors. The rate at which the members of the pattern are produced determines the speed of the motor shaft.
Is the following statement correct?
To rotate motor A, simply send high (1) values to D7,D6,D5,D4 in the following manner 1000, 0001, 0100, 0010 (this would rotate motor A four steps).