Stephen Wille Padnos wrote:
> 
> Stepconf sets up the fast thread based on your max velocity settings, 
> within limits.  Your BASE_PERIOD is probably too high to generate steps 
> fast enough for 144000 deg/min.  at 2400 degrees/second * 13.888888888 
> steps/degree means you need 33333 steps/second.  To generate that, you 
> need 66666 interrupts per second, or one every 15000 ns.  You can try 
> setting BASE_PERIOD to 150000, but note that this can cause your PC to 
> lock up.  You might want to try 20000 first, then go down to 15000 in 
> steps of 1000, making sure that the user interface doesn't seem too slow 
> at any point.  The UI gets sluggish when the realtime tasks are taking a 
> large percentage of CPU time, so that's a good indication that you're 
> close to a lockup.  (the PC locks up when there isn't enough time to run 
> the interrupt routine before the next interrupt comes in)
Sorry to be blowing my own horn, again, but at some point, it 
may make sense to add hardware to ease the load on the CPU.
BASE_PERIOD of 15 us is getting pretty close to the limits.

Jon

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to