[Coco] Questions about the Coco3 GIME Timer
jdaggett at gate.net
jdaggett at gate.net
Wed Feb 14 16:20:16 EST 2007
On 14 Feb 2007 at 11:24, Gene Heskett wrote:
> On Wednesday 14 February 2007, jdaggett at gate.net wrote:
> >On 14 Feb 2007 at 9:30, Gene Heskett wrote:
> >> The point is, that to drive a milling machine, we would need one of
> >> these per axis being moved. That's at least 2 just to cut circuit
> >> boards...
> >>
> >> --
> >> Cheers, Gene
> >
> >Gene
> >
> >ever considered using a CPLD and programming it to have the three
> > counters you need. You can have the timers generate a flag when
> > count is up. The the program can poll the memory mapped register
> > file or have the GIME timer tell you when it is time to read the
> > counter status.
> >
> >The CPLD program would be rather simple to do and rather inexpensive
> >add
> > on board. The counters could be driven by the E clock and each
> > counter could have a prescalar to a 16 bit free running counter.
> >
> James: Basicly I'm throwing out 'what if' ideas for George to pursue
> here just so he can say he did it with a coco. I myself plead
> ignorant of any CPLD knowledge. But I might be able to throw together
> some short assembly code loops to do the actual driving of the motors.
>
> Me, I took the easy way out, I'm running EMC2 on a kubuntu machine
> running on an XP-1400 Athlon with the realtime kernel modules loaded,
> driving a xylotex 3 axis amp & 3 of their nema 23 double stack 262
> oz/in motors mounted on a $300 Harbor Freight micromill. And
> seriously considering the Saig X3 as a replacement for that puny
> powered micromill. I'd druther carve parts. Writing a little g-code
> is pretty simple once you get your head into it.
>
> --
> Cheers, Gene
>
***********
No problem. Kind of doing the same here. I am in the process of designing a
CPLD to do PWM to drive servo motors to automate a telescope. I want to
consolated a few PC Basic programs and modifiy to run on a COCO1/2/3. I will
have to off load some tasks to dedicated hardware.
james
More information about the Coco
mailing list