CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Re: Smart box / Dumb box

Posted by Matt Shaver
on 2000-12-10 22:47:36 UTC
Mariss Freimanis wrote:

> I will take the plunge on the axis pulse generator cards. It will
> cost about $2,500 to get 1,000 of them. I believe in it enough to do
> it.

I've been thinking about your idea and I had two comments:

1. I really like your pulse generator circuit because of the equal
frequency divisions throughout its range.

2. I have some reservations about the velocity/time/distance
relationship that you are going to rely on to determine your position. I
know you've used this before with microprocessor controlled equipment,
but I think there could be problems using it with PC control in "Dumb
Box" mode. Are you going to interrupt the PC through the parallel port's
IRQ line? If so, that's usually IRQ 5 or 7, and they're prioritized from
the lowest to highest numbers:

IRQ0 - timer tick
IRQ1 - keyboard
IRQ2 - daisy chain to second interrupt controller (RTC, hard drive, FPU,
etc.)
IRQ 3 & 4 - serial ports
IRQ 5 or 7 - you
IRQ6 - floppy controller

What could happen is:

a. Some device with higher priority than you requests service and you're
pushed on the stack for longer than your interrupt period and you miss
the chance to update your position data.

b. Windows (or another OS) puts out the "Do Not Disturb" sign by
executing a CLI instruction and your interrupt is ignored.

Some possible fixes are:

1. An external computer (which gets you closer to the "smart box" crowd
;) ).
2. Accumulate your pulse count in hardware out on your pulse generator
boards (my personal favorite).
3. Flag an error if your INT is not ACKed.
4. Return a count of interrupt attempts so the software on the PC can
adjust the position data to account for missed interrupts.
5. Use a RTOS like RTLinux that gives you (rather than the PC) control
over interrupt priority.
6. Use NMI and hook its handler for your position update & fifo stuffing
code (this will be like your dedicated microprocessor systems).

Matt

Discussion Thread

ballendo@y... 2000-12-09 18:16:48 UTC Smart box / Dumb box was: Re: Signal gen Interface Mariss Freimanis 2000-12-09 18:42:34 UTC Smart box / Dumb box was: Re: Signal gen Interface Wally K 2000-12-09 19:15:37 UTC Smart box / Dumb box was: Re: Signal gen Interface JanRwl@A... 2000-12-09 19:20:56 UTC Re: [CAD_CAM_EDM_DRO] Smart box / Dumb box was: Re: Signal gen Interface Greg Nuspel 2000-12-10 03:27:56 UTC Re: [CAD_CAM_EDM_DRO] Smart box / Dumb box was: Re: Signal gen Interface Jeff Barlow 2000-12-10 10:22:32 UTC Re: [CAD_CAM_EDM_DRO] Smart box / Dumb box was: Re: Signal gen Interface Ken Jenkins 2000-12-10 10:39:26 UTC Re: Smart box / Dumb box was: Re: Signal gen Interface Doug Harrison 2000-12-10 14:49:28 UTC Re: [CAD_CAM_EDM_DRO] Re: Smart box / Dumb box was: Re: Signal gen Interface Jeff Barlow 2000-12-10 15:14:01 UTC Smart box / Dumb box Mariss Freimanis 2000-12-10 16:06:03 UTC Re: Smart box / Dumb box ballendo@y... 2000-12-10 17:50:40 UTC Re: Re: Smart box / Dumb box ballendo@y... 2000-12-10 18:36:07 UTC re: Smart box / Dumb box Carlos Guillermo 2000-12-10 18:54:21 UTC RE: [CAD_CAM_EDM_DRO] re: Smart box / Dumb box Jeff Barlow 2000-12-10 20:31:05 UTC Re: [CAD_CAM_EDM_DRO] re: Smart box / Dumb box JanRwl@A... 2000-12-10 20:44:34 UTC Re: [CAD_CAM_EDM_DRO] re: Smart box / Dumb box Jeff Barlow 2000-12-10 20:53:21 UTC Re: [CAD_CAM_EDM_DRO] re: Smart box / Dumb box Matt Shaver 2000-12-10 21:18:10 UTC Re: [CAD_CAM_EDM_DRO] re: Smart box / Dumb box Mariss Freimanis 2000-12-10 21:41:34 UTC Re: Smart box / Dumb box ballendo@y... 2000-12-10 22:29:15 UTC Re: re: Smart box / Dumb box Matt Shaver 2000-12-10 22:47:36 UTC Re: [CAD_CAM_EDM_DRO] Re: Smart box / Dumb box Matt Shaver 2000-12-10 23:03:10 UTC Re: [CAD_CAM_EDM_DRO] Re: re: Smart box / Dumb box Wally K 2000-12-11 02:21:40 UTC Re: Smart box / Dumb box Wally K 2000-12-11 02:43:59 UTC Re: Smart box / Dumb box ballendo@y... 2000-12-11 03:32:01 UTC Re: Smart box / Dumb box Wally K 2000-12-11 04:42:13 UTC Re: Smart box / Dumb box Jon Elson 2000-12-11 12:43:42 UTC Re: [CAD_CAM_EDM_DRO] Re: Smart box / Dumb box Doug Harrison 2000-12-11 14:46:09 UTC Re: [CAD_CAM_EDM_DRO] Re: Smart box / Dumb box Doug Harrison 2000-12-11 16:05:20 UTC Re: [CAD_CAM_EDM_DRO] Re: Re: Smart box / Dumb box ballendo@y... 2000-12-11 21:01:21 UTC Re: Re: Re: Smart box / Dumb box dave engvall 2000-12-11 22:32:39 UTC Re: [CAD_CAM_EDM_DRO] re: Smart box / Dumb box Jon Elson 2000-12-12 22:49:27 UTC Re: [CAD_CAM_EDM_DRO] re: Smart box / Dumb box