Re: CAM Software Advice for Shopmaster CNC
Posted by
Wayne C. Gramlich
on 2007-11-06 10:10:05 UTC
--- In CAD_CAM_EDM_DRO@yahoogroups.com, John Dammeyer <johnd@...> wrote:
The buffer board with the PIC16F877 can generate a step
every 20uSec. However, I'm not sure that there is any
realistic way to ramp a stepper up to that speed. I
think a step every 100uSec is a more realistically
obtainable rate -- call it 10KHz step rate. It won't
win any of the Inch/Min. derbies out there, but quite
respectable for a table top machine.
The software performs all of the computations in floating
point and quantizes at the very end. Thus, as the hardware
step rate improves, the software does not need to be
rewritten.
My next rev. of the buffer board will probably be to
switch over to an Atmel AVR processor (probably an
ATMega168) to pick of a factor of 5 or more in speed.
After that, I intend to tackle the bandwidth bottleneck
and switch over to 10MB Ethernet using a Microchip
ENC28J60 chip. After that, I would speed up the the
microcontroller again, -- either an ARM or an FPGA.
I'm leaning towards the FPGA, since they are kind of
neat devices I've always wanted to figure out.
Does that answer your questions?
-Wayne
>John:
> Hi Wayne,
>
> See below.
>
> > I have a system that is similar to what John suggests,
> > but differs in the details. Important features such as
> > ESTOP are not currently implemented (or even designed.)
> >
> > The system is broken into to two parts. One piece of software
> > (called Steps) takes a fairly standard set of CNC codes
> > and breaks them into timed step codes. A timed step code
> > is just a timestamp and axis increment/decrement --
> > (0:12:345.670 +X) (0:12:345.890 -Y). These are merged and
> > shipped down to a separate buffer board that that has
> > some memory and an inexpensive microcontroller that can
> > squirt out the pulses at accurately timed intervals.
> >
> > Here are the URLs:
> >
> > Serial => Parallel Buffer Board:
> > <http://gramlich.net/projects/cnc/buffer/rev_a/index.html>
> >
> > CNC => step code converter:
> > <http://gramlich.net/projects/steps/index.html>
> >
> > By the way, this stuff actually works; it has lots of
> > rough edges, but it works. In addition, everything
> > is published -- code, gerber files, parts lists, the
> > works. It needs another round or two of polishing, tho'.
> >
> > Is my approach of any interest to other people?
> >
> > -Wayne
>
> Interesting. Once I finish the Electronic Lead Screw I'd be interested
> in looking further into this. Especially since I have a spare tray of
> 16F877 devices that are sitting around doing nothing but getting older.
>
> I'm curious about the maximum step rate you can get. Your time stamp
> example appears to only be good to the nearest milli-second (1 kHz step
> rate) or was that just typing in the numbers from left to right on the
> keyboard.
The buffer board with the PIC16F877 can generate a step
every 20uSec. However, I'm not sure that there is any
realistic way to ramp a stepper up to that speed. I
think a step every 100uSec is a more realistically
obtainable rate -- call it 10KHz step rate. It won't
win any of the Inch/Min. derbies out there, but quite
respectable for a table top machine.
The software performs all of the computations in floating
point and quantizes at the very end. Thus, as the hardware
step rate improves, the software does not need to be
rewritten.
My next rev. of the buffer board will probably be to
switch over to an Atmel AVR processor (probably an
ATMega168) to pick of a factor of 5 or more in speed.
After that, I intend to tackle the bandwidth bottleneck
and switch over to 10MB Ethernet using a Microchip
ENC28J60 chip. After that, I would speed up the the
microcontroller again, -- either an ARM or an FPGA.
I'm leaning towards the FPGA, since they are kind of
neat devices I've always wanted to figure out.
Does that answer your questions?
-Wayne
Discussion Thread
napotellc
2007-11-01 20:07:07 UTC
CAM Software Advice for Shopmaster CNC
S DEBRUYN
2007-11-01 21:23:48 UTC
RE: [CAD_CAM_EDM_DRO] CAM Software Advice for Shopmaster CNC
Ron Ginger
2007-11-02 05:44:52 UTC
Re: CAM Software Advice for Shopmaster CNC
Jon Elson
2007-11-02 09:22:50 UTC
Re: [CAD_CAM_EDM_DRO] CAM Software Advice for Shopmaster CNC
Fred Smith
2007-11-02 12:55:14 UTC
Re: CAM Software Advice for Shopmaster CNC
Leslie Newell
2007-11-02 14:00:08 UTC
Re: [CAD_CAM_EDM_DRO] Re: CAM Software Advice for Shopmaster CNC
mlaws1172
2007-11-02 17:16:14 UTC
Re: CAM Software Advice for Shopmaster CNC
S DEBRUYN
2007-11-02 20:17:07 UTC
RE: [CAD_CAM_EDM_DRO] Re: CAM Software Advice for Shopmaster CNC
napotellc
2007-11-03 05:23:30 UTC
Re: CAM Software Advice for Shopmaster CNC
perolalars
2007-11-03 09:32:15 UTC
Re: CAM Software Advice for Shopmaster CNC
azdlb
2007-11-04 07:32:01 UTC
Re: CAM Software Advice for Shopmaster CNC
John Dammeyer
2007-11-04 09:20:38 UTC
RE: [CAD_CAM_EDM_DRO] Re: CAM Software Advice for Shopmaster CNC
azdlb
2007-11-04 11:52:00 UTC
Re: CAM Software Advice for Shopmaster CNC
Michael Fagan
2007-11-04 12:26:24 UTC
Re: [CAD_CAM_EDM_DRO] Re: CAM Software Advice for Shopmaster CNC
Energy Drink
2007-11-04 13:28:24 UTC
Re: [CAD_CAM_EDM_DRO] CAM Software Advice for Shopmaster CNC
azdlb
2007-11-04 14:02:41 UTC
Re: CAM Software Advice for Shopmaster CNC
azdlb
2007-11-04 14:09:19 UTC
Re: CAM Software Advice for Shopmaster CNC
John Dammeyer
2007-11-04 16:43:39 UTC
RE: [CAD_CAM_EDM_DRO] Re: CAM Software Advice for Shopmaster CNC
Harko Schwartz
2007-11-04 17:08:25 UTC
Re: [CAD_CAM_EDM_DRO] Re: CAM Software Advice for Shopmaster CNC
Michael Milligan
2007-11-05 01:13:26 UTC
RE: [CAD_CAM_EDM_DRO] Re: CAM Software Advice for Shopmaster CNC
azdlb
2007-11-05 16:30:08 UTC
Re: CAM Software Advice for Shopmaster CNC
John Dammeyer
2007-11-05 17:54:25 UTC
RE: [CAD_CAM_EDM_DRO] Re: CAM Software Advice for Shopmaster CNC
Wayne C. Gramlich
2007-11-05 22:07:20 UTC
Re: CAM Software Advice for Shopmaster CNC
John Dammeyer
2007-11-05 22:33:37 UTC
RE: [CAD_CAM_EDM_DRO] Re: CAM Software Advice for Shopmaster CNC
jeetendra_g10
2007-11-06 06:58:37 UTC
Re: CAM Software Advice for Shopmaster CNC
caudlet
2007-11-06 09:49:25 UTC
Re: CAM Software Advice for Shopmaster CNC
Wayne C. Gramlich
2007-11-06 10:10:05 UTC
Re: CAM Software Advice for Shopmaster CNC
John Dammeyer
2007-11-06 10:40:38 UTC
RE: [CAD_CAM_EDM_DRO] Re: CAM Software Advice for Shopmaster CNC
Peter Reilley
2007-11-06 10:50:06 UTC
Re: [CAD_CAM_EDM_DRO] Re: CAM Software Advice for Shopmaster CNC
Wayne C. Gramlich
2007-11-06 12:39:04 UTC
Re: CAM Software Advice for Shopmaster CNC
Jon Elson
2007-11-06 19:55:59 UTC
Re: [CAD_CAM_EDM_DRO] Re: CAM Software Advice for Shopmaster CNC
Alan KM6VV
2007-11-07 08:26:31 UTC
RE: [CAD_CAM_EDM_DRO] Re: CAM Software Advice for Shopmaster CNC, ARM7, USB
azdlb
2007-11-07 10:03:49 UTC
Re: CAM Software Advice for Shopmaster CNC, ARM7, USB
Jon Elson
2007-11-07 10:18:37 UTC
Re: [CAD_CAM_EDM_DRO] Re: CAM Software Advice for Shopmaster CNC, ARM7, USB