CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Re: Re: Black box

Posted by Matt Shaver
on 2000-10-13 22:12:38 UTC
> From: ballendo@...
> P.S. If you're planning to issue steps from a "timebase" of 8192hz, I
> think you're going to follow the same rocky path that EMC(steppers)
> followed. See Matt Shavers recent post(referring to this in earlier
> posts)
>
> If you're going to use one channel of the 8254, or the pentium Rdstc
> (undocumented, HaH!)instruction, you'll still be dealing with base 2
> type granularity problems, but that is what CNCpro and EMC are using
> (8254), so it DOES work.
>
> The rdstc (read time stamp counter) is a Pentium specific(uP
> internal) that increments at the clock frequency! Not all pentiums
> have it accessible, but it may be worth a look.

1. If you read a high speed counter (or sit in a timing loop), you've stopped
servicing the GUI.

2. If you use a periodic interrupt from the 8254 as your timebase, the
granularity problem limits you to a low step rate,

3. If you try to speed up the periodic interrupts to cure the granularity
problem, you become interrupt bound and you either lock up, or the GUI
becomes unacceptably sluggish.

4. If you try to implement a scheduler that, reprograms the 8254 for each
successive interrupt, the granularity problem is solved, but you'll discover
that since the 8254 is out on the ISA bus, each reprogramming cycle takes
10uS or more (sometimes a lot more if a DMA operation is going on over the
ISA bus), and then you run into problems with jitter in the step pulse
output.

5. One promising avenue that's not yet been fully investigated is:

http://vincent.oberle.com/apic_timer-index.html

I don't know how hard it would be to use this idea under Windows 9x, but it
might be worth looking at.

Matt

Discussion Thread

Alvaro Fogassa 2000-10-13 00:08:30 UTC Black box Tom Caudle 2000-10-13 08:35:43 UTC Re: Black box Art Fenerty 2000-10-13 12:18:38 UTC Re: [CAD_CAM_EDM_DRO] Re: Black box Jon Elson 2000-10-13 16:33:14 UTC Re: [CAD_CAM_EDM_DRO] Re: Black box ballendo@y... 2000-10-13 18:29:16 UTC Re: Re: Black box Matt Shaver 2000-10-13 22:12:38 UTC Re: [CAD_CAM_EDM_DRO] Re: Re: Black box ballendo@y... 2000-10-13 22:44:39 UTC Re: Re: Re: Black box Anne Ogborn 2000-10-14 00:56:57 UTC Re: [CAD_CAM_EDM_DRO] Re: Re: Re: Black box ballendo@y... 2000-10-14 02:47:37 UTC Re: Re: Re: Re: Black box Art Fenerty 2000-10-14 05:03:53 UTC Re: [CAD_CAM_EDM_DRO] Re: Black box Art Fenerty 2000-10-14 05:09:03 UTC Re: [CAD_CAM_EDM_DRO] Re: Re: Black box Art Fenerty 2000-10-14 05:25:51 UTC Re: [CAD_CAM_EDM_DRO] Re: Re: Re: Black box Anne Ogborn 2000-10-14 13:18:30 UTC Re: [CAD_CAM_EDM_DRO] Re: Re: Re: Re: Black box Anne Ogborn 2000-10-14 13:26:40 UTC Re: [CAD_CAM_EDM_DRO] Re: Black box Jon Elson 2000-10-14 23:13:44 UTC Re: [CAD_CAM_EDM_DRO] Re: Black box ron ginger 2000-12-10 08:07:49 UTC Re: Black box Mariss Freimanis 2000-12-10 09:16:02 UTC Re: Black box ron ginger 2000-12-10 14:47:32 UTC Re: Black box ballendo@y... 2000-12-10 15:09:10 UTC re:Re: Black box Mariss Freimanis 2000-12-10 16:01:32 UTC re:Re: Black box Carlos Guillermo 2000-12-10 16:29:07 UTC RE: [CAD_CAM_EDM_DRO] re:Re: Black box Alan Marconett KM6VV 2000-12-10 18:31:07 UTC Re: Black box ballendo@y... 2000-12-10 18:43:14 UTC re:Re: Black box Carlos Guillermo 2000-12-10 18:58:30 UTC RE: [CAD_CAM_EDM_DRO] re:Re: Black box Mariss Freimanis 2000-12-10 21:18:59 UTC re:Re: Black box Jon Elson 2000-12-10 23:24:56 UTC Re: [CAD_CAM_EDM_DRO] Re: Black box Carlos Guillermo 2000-12-11 06:14:21 UTC RE: [CAD_CAM_EDM_DRO] re:Re: Black box