> > And although DIRSETUP in the ini file is set to 1000 nS the actual time from > > rising dir pin to first step pulse in this example was 2.89mS. The change > > in > > direction to first step to go back to 0.001" was 3.23mS. > > Its expected that you will not step instantly when you move because you > starting > somewhere between steps (and the control loop has a resolution of > 1/65536's of a > step) plus the initial velocity is very low >
Yeah, that last step pulse of course is at the end of the deceleration so without doing he real math based on parameters and motion it's hard to say specifically what the speed of the motor is as that last step is issued and then when the motor is actually stopped. Wasn't complaining about the time taken. Really just an observation. > > > > The other reason fo the assymetry of the direction behavior at 0 is the use > of > signed rather than sign-magnitude numbers (so 0 velocity has a positive > sign) So that implies that every time it moves to a point where it's stopped the system thinks it's going in a positive direction so then sets the direction to that. Interesting. Nice to know. Doesn't explain the 3 pulses. Do you think the parallel port stepper does this or is this unique to the 7i92H? BTW, I now have the step rate for 3000 RPM coming out of P1 port. Just need to convert that to RS422 since the motor driver is only rated to 200kHz with TTL pulses. Baby steps... > > Peter Wallace > Mesa Electronics > > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users