
07-23-2010, 10:29 PM
|
| | | Join Date: Jan 2007 Location: USA
Posts: 355
| |
There is a much easier way to do this using a PIC.
Use Mach3 to generate the step pulses. The PIC records the pulses and stores the information on an SD card. The PIC just reads the SD card and outputs the recorded information to drive the steppers.
With .200 pitch ballscrews and microstepping Geckos, 200 ipm would require only 33,333 bytes per second to drive a 4 axis system.
A 4GB SD card would hold over four hours of machining information at 200 inches per minute.
A 40 Mhz PIC executes 10 million instructions per second.
This gives the PIC enough time to execute 300 instructions between pulses.
The SD card is more than capable enough to record and play back at twice this speed.
This is roughly equivalent to 8 bit monaural audio.
And the PIC doesn't have to crunch the numbers for circular interpolation. It's already been done by Mach3.
__________________ Diplomacy is the art of saying "Nice doggie" until you can find a rock. - Will Rogers |