It doesn't tell the motor anything, it's aimed to the controller. The controller has to change the polarity on the motor's windings to make it move.Originally Posted by phantomcow2
Assuming a unipolar drive, a sequence like this is needed to move it on one direction:
1000
0100
0010
0001
or for halfstepping:
1100
0110
0011
1001
For turning the other way the sequence must be reversed. So whenever the controller receives a step signal while the direction pin is high it should move the motor in the next step of the sequence, if the direction is low to the previous.
What the controller will do from there depends on the type of motor it has to control (unipolar/ bipolar) and the step type (full/ half etc).
Nikolas


LinkBack URL
About LinkBacks




