Eric H. Johnson wrote: > There was some discussion a year or so ago about high speed I/O, which I > would still like to do for laser writing and 3D engraving. That would > require updating a PWM output as fast as every 200 microseconds (5Khz) or > gating an output perhaps as fast as 50 microseconds.
As you know, you can change the PWM duty cycle that the 5i20/hostmot2 outputs at each servo cycle. It should be perfectly doable to run the servo loop at 5 KHz. I've run it at 10 KHz for testing and it was fine. I dont remember what the exact timing numbers were... But if you run for a while, then sum the tmax numbers for all the functions in the servo thread, then double it, the result is an ok estimate of the fastest reasonable servo period. -- Sebastian Kuzminsky "Okay, people. Now is the time to start discussing the rules of war for autonomous robots. Now, when it's still theoretical." -- Bruce Schneier ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users