Command a 1mm move with a G0 or G1. Depending on the feedrate, Mach has to accelerate, possibly move at the feedrate (if it can be reached in that short of a distance), then decelerate. Pulses are spaced accordingly to accommodate the accel and decel. They will most likely all be spaced differently. It's far more complicated than you're thinking, I think.
lets say the're 32 steps pr revolution, and 1 rev = 1 mm (unit)
and here is the motor tuneing:
32steps 3000velocity 21 accel 5us steppulse 2dir pulse
ok, here are the actual questions :
1) to move the motor 'forward' one revolution:
output: 5usec (on) ??usec (off) looped 32 times. (on pin2)
correct? wrong? kinda?
Exact same thing as the other direction, with the direction pin the opposite. The direction pin puts out a constant 5V in one direction, and 0V in the other direction. The direction pulse width only comes into play during rapid direction changes
2) to move the motor backwards would it:
output once(on) for 2usec then continue like the forward pulses?
or would it do 2usec(on), ??usec(off) looped till amount of steps desired.
first one right? second one right? none of them right?
None of the above. It can't do it.
3) data being sent to mach, is it:
a) when pin10 is on it counts one pulse till it's off.
b) distinguish direction between 5 usec to move cw, and a 2usec pule = ccw?
c) something else?