On Friday 21 August 2009, Peter C. Wallace wrote:
>On Fri, 21 Aug 2009, Gene Heskett wrote:
>> Date: Fri, 21 Aug 2009 21:06:16 -0400
>> From: Gene Heskett <[email protected]>
>> Reply-To: "Enhanced Machine Controller (EMC)"
>>     <[email protected]>
>> To: "Enhanced Machine Controller (EMC)" <[email protected]>
>> Subject: Re: [Emc-users] Realistic spindle encoder count for parallel
>> port?
>>
>> On Friday 21 August 2009, Peter C. Wallace wrote:
>>> OK got it done and it fits in XC9572 we have on little CPLD board but I
>>> wont be able to test it until Monday
>>>
>>> 1. Input digital filter
>>> ok 15 count filter on a,b,index
>>>
>>> 2. Quadrature decoder (quadrature to up/down)
>>> ok
>>>
>>> 3. Up down modulo N counter (for divide  by N)
>>> ok has 8 selectable DIVIDE_RATIOS via three input signals (jumpers on
>>> CPLD bd)
>>>
>>> 4. 2 bit up/down counter
>>> ok
>>>
>>> 5. 2 bit binary --> quadrature encoder
>>> ok
>>>
>>> 6. Optional index stretcher
>>>
>>> Works a little strange but should be ok, basically index out is set by
>>> incoming (filtered) index and cleared when DIVIDE_RATIO input encoder
>>> counts have occured (either up or down or a mix) As long as only one
>>> edge is used you will always get a index signal with a minimum width of
>>> one (divided) count
>>
>> That sounds almost exactly like what I would need to control the spindles
>> on both my little lathe, and on the micro-mill.  Do you have a target
>> price for the completed unit?
>
>I have bare CPLD circuit cards that I can send out for shipping cost, the
> CPLD is about ~2.00 its in a 44 lead PLCC. I could make preprogrammed
> version if anyone wants just chips or just post the source if anyone wants
> to hack it. The source is basically just bits and pieces copy-pasted from
> the HostMot2 encoder counter with a few added wigglers and twirlers.
>
>for a standalone chip version I'd add a ring or R/C oscillator so it does
> not need a separate clock

Is there room in the cpld for that?

>I think I only have one assembled CPLD card An I promised that to Steve B

And how much trouble to assemble it, considering I have had a soldering iron 
in hand most of the last 60 years?  Used to the fine point in an XYtronic 
bench iron, thermally controlled of course.

If you make it standalone except for 5V and ground, I want two.  Name the 
ransom & I'll have my bank send a check. :-)

>Peter Wallace
>Mesa Electronics
>
>(\__/)
>(='.'=) This is Bunny. Copy and paste bunny into your
>(")_(") signature to help him gain world domination.
>
>
>---------------------------------------------------------------------------
>--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day trial. Simplify your report design, integration and deployment -
> and focus on what you do best, core application coding. Discover what's
> new with Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>_______________________________________________
>Emc-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/emc-users


-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
The NRA is offering FREE Associate memberships to anyone who wants them.
<https://www.nrahq.org/nrabonus/accept-membership.asp>

There are no threads in a.b.p.erotica,  so there's no  gain in using a
threaded news reader.
(Unknown source)


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to