Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Posted by
Larry Edington
on 2001-04-18 18:43:23 UTC
I haven't looked into Linux and it's interrupt rates, but the way I would do
it is reprogram the hardware timer on the system board to a much higher rate
then add your own interrupt service routine to divide down the faster tick
rate back to the original rate for routines that depend on it.
That's the trick we used to do on DOS to get high interrupt rates. Then trap
INT 08 if memory serves.
I'm not sure what the minimum resolution was but it seems like it was around
.8 us.
The kernel or ring 0 processes could do this in Linux and probably Windows.
I've never looked into this for Windows though I'm confident there's a way
to do it. I know I did some high res timing code in the early days of
Windows, but things have changed a lot since then.
later,
Larry E.
it is reprogram the hardware timer on the system board to a much higher rate
then add your own interrupt service routine to divide down the faster tick
rate back to the original rate for routines that depend on it.
That's the trick we used to do on DOS to get high interrupt rates. Then trap
INT 08 if memory serves.
I'm not sure what the minimum resolution was but it seems like it was around
.8 us.
The kernel or ring 0 processes could do this in Linux and probably Windows.
I've never looked into this for Windows though I'm confident there's a way
to do it. I know I did some high res timing code in the early days of
Windows, but things have changed a lot since then.
later,
Larry E.
----- Original Message -----
From: "Art Fenerty" <fenerty@...>
To: <CAD_CAM_EDM_DRO@yahoogroups.com>
Sent: Wednesday, April 18, 2001 10:19 PM
Subject: Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
> I must check this out further. 30000 steps/second from linux? Anyone know
> how the linux knows to interrupt itseld 30000 times a second. I don't see
> how its possible. I can't think of any way to instruct a motherboard to
tell
> linux to interrupt at that rate, no matter how fast the processor.
> Interesting though. But I think that 10 motor turns per inch at 200 pulses
> per turn is 2000 pulses per inch. This would make it 180 * 2000 / 60 =
6000
> pulses per second in the example given. Encoders do not up the steps per
> second. They simply give a higher resolution to the step decision.
>
>
> My VXD can interrupt at 8192 and then time to the closest 2 nanosecond
> granularity to ensure smoothness. Windows can still cause instability, but
I
> haven't seen this cause any lost steps or problems yet. I have users who
> tell me that their speed is up to 3 times what they could get from DeskNC
or
> KellyCam. But there's no question that windoze will never be ideal.
> Certainly ideal enough for a good 50% of home CNC users though. P6 onboard
> ASIC's are only on the latest generation of processors, typically at
700MHz
> and up.(the ones I've tested anyway).
> I have no problem releasing the Controller section of Master5 for
people
> to write programs for themselves, I just have to get time to document the
> OLE call to control the buffers.
>
> Timing is hard to check for smoothness. Actual running is the
easiest.
> I have had several users report scoping my pulses, and seeing drop-outs ,
> yet commenting that the motors were running surprisingly smooth. This is
due
> to an enertial averaging at the motor. Any stepper seems to have a certain
> window of tolerance to irregularities in its pulse stream. Stay within
this
> window, and no problems seem to occur. I have my pulse engine try to
correct
> for these irregularities by subtimeing from interrupt to the closest
> nanosecond possible with the hardware. Seems to work well, but like I
said,
> Windoze will never be EMC.
>
> I'd like to hear from anyone actually getting more than 8000 pulses from
> linux though.
>
> (My head hurts)
>
> Art
>
>
>
>
>
>
> Welcome to CAD_CAM_EDM_DRO@...,an unmoderated list for the
discussion of shop built systems, for CAD, CAM, EDM, and DRO.
>
> Addresses:
> Post message: CAD_CAM_EDM_DRO@yahoogroups.com
> Subscribe: CAD_CAM_EDM_DRO-subscribe@yahoogroups.com
> Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@yahoogroups.com
> List owner: CAD_CAM_EDM_DRO-owner@yahoogroups.com, wanliker@...
> Moderator: jmelson@... timg@... [Moderator]
> URL to this page: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
> bill,
> List Manager
>
> FAQ: http://www.ktmarketing.com/faq.html
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
Discussion Thread
The AntiYuppie
2001-04-16 22:08:51 UTC
FS: X-Y Table
mariss92705@y...
2001-04-17 15:16:20 UTC
Re: FS: X-Y Table
Tim Goldstein
2001-04-17 20:21:14 UTC
RE: [CAD_CAM_EDM_DRO] Re: FS: X-Y Table
mariss92705@y...
2001-04-17 21:07:04 UTC
Re: FS: X-Y Table
Tim Goldstein
2001-04-17 21:28:32 UTC
RE: [CAD_CAM_EDM_DRO] Re: FS: X-Y Table
Tim Goldstein
2001-04-17 21:55:50 UTC
DeskNC Windows version
Dan Mauch
2001-04-18 06:49:37 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Tom Eldredge
2001-04-18 06:59:43 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Tim Goldstein
2001-04-18 07:02:30 UTC
RE: [CAD_CAM_EDM_DRO] DeskNC Windows version
Dan Mauch
2001-04-18 08:05:39 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Dan Mauch
2001-04-18 08:07:01 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Alan Marconett KM6VV
2001-04-18 10:23:59 UTC
Re: DeskNC Windows version
Tim Goldstein
2001-04-18 10:42:30 UTC
RE: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version
afogassa@y...
2001-04-18 10:55:52 UTC
Re: DeskNC Windows version
Tim Goldstein
2001-04-18 11:05:37 UTC
RE: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version
Alan Marconett KM6VV
2001-04-18 11:22:06 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Alan Marconett KM6VV
2001-04-18 11:37:16 UTC
Re: DeskNC Windows version
Art Fenerty
2001-04-18 12:25:20 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Tim Goldstein
2001-04-18 12:51:18 UTC
RE: [CAD_CAM_EDM_DRO] DeskNC Windows version
Alan Marconett KM6VV
2001-04-18 14:50:40 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Art Fenerty
2001-04-18 15:09:51 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Larry Edington
2001-04-18 15:12:52 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Tim Goldstein
2001-04-18 15:35:23 UTC
RE: [CAD_CAM_EDM_DRO] DeskNC Windows version
Alan Marconett KM6VV
2001-04-18 15:48:03 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Alan Marconett KM6VV
2001-04-18 16:07:04 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Tim Goldstein
2001-04-18 16:20:02 UTC
RE: [CAD_CAM_EDM_DRO] DeskNC Windows version
Alan Marconett KM6VV
2001-04-18 16:24:07 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Tim Goldstein
2001-04-18 17:00:31 UTC
RE: [CAD_CAM_EDM_DRO] DeskNC Windows version
Alan Marconett KM6VV
2001-04-18 17:10:53 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Art Fenerty
2001-04-18 17:16:03 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Tim Goldstein
2001-04-18 17:37:16 UTC
RE: [CAD_CAM_EDM_DRO] DeskNC Windows version
Art Fenerty
2001-04-18 17:44:56 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Carol & Jerry Jankura
2001-04-18 17:58:45 UTC
RE: [CAD_CAM_EDM_DRO] DeskNC Windows version
Alan Marconett KM6VV
2001-04-18 18:26:01 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Larry Edington
2001-04-18 18:27:08 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Larry Edington
2001-04-18 18:43:23 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Alan Marconett KM6VV
2001-04-18 18:49:25 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Tom Murray
2001-04-18 20:54:30 UTC
Re: DeskNC - CNC Pro 3x as fast as EMC???
Ray
2001-04-18 21:36:52 UTC
RE: DeskNC Windows version
Matt Shaver
2001-04-18 23:45:35 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
kleinbauer@j...
2001-04-19 04:32:39 UTC
Re: DeskNC Windows version
kleinbauer@j...
2001-04-19 05:11:29 UTC
Re: DeskNC - CNC Pro 3x as fast as EMC???
Tom Murray
2001-04-19 06:27:27 UTC
Re: DeskNC - CNC Pro 3x as fast as EMC???
Fred Smith
2001-04-19 06:28:12 UTC
Re: DeskNC - CNC Pro 3x as fast as EMC???
Joe Vicars
2001-04-19 06:36:56 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC - CNC Pro 3x as fast as EMC???
Carlos Guillermo
2001-04-19 06:38:10 UTC
OT Re: DeskNC - CNC Pro 3x as fast as EMC???
Joe Vicars
2001-04-19 06:52:04 UTC
Re: [CAD_CAM_EDM_DRO] OT Re: DeskNC - CNC Pro 3x as fast as EMC???
kleinbauer@j...
2001-04-19 07:06:24 UTC
Re: DeskNC - CNC Pro 3x as fast as EMC???
kleinbauer@j...
2001-04-19 07:22:17 UTC
Re: DeskNC - CNC Pro 3x as fast as EMC???
kleinbauer@j...
2001-04-19 07:24:53 UTC
OT Re: DeskNC - CNC Pro 3x as fast as EMC???
stratton@m...
2001-04-19 07:34:58 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC - CNC Pro 3x as fast as EMC???
Joe Vicars
2001-04-19 07:39:33 UTC
Re: [CAD_CAM_EDM_DRO] OT Re: DeskNC - CNC Pro 3x as fast as EMC???
kleinbauer@j...
2001-04-19 08:53:30 UTC
Re: DeskNC - CNC Pro 3x as fast as EMC???
kleinbauer@j...
2001-04-19 08:57:21 UTC
OT Re: DeskNC - CNC Pro 3x as fast as EMC???
Tim Goldstein
2001-04-19 08:58:59 UTC
RE: [CAD_CAM_EDM_DRO] Re: DeskNC - CNC Pro 3x as fast as EMC???
kleinbauer@j...
2001-04-19 09:30:14 UTC
Re: DeskNC - CNC Pro 3x as fast as EMC???
Art Fenerty
2001-04-19 10:38:36 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC - CNC Pro 3x as fast as EMC???
Paul
2001-04-19 12:32:30 UTC
All quiet on the EMC front ???
Jon Elson
2001-04-19 13:11:34 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Jon Elson
2001-04-19 13:18:32 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Tim Goldstein
2001-04-19 13:44:38 UTC
RE: [CAD_CAM_EDM_DRO] Re: DeskNC - CNC Pro 3x as fast as EMC???
Doug Harrison
2001-04-19 14:26:59 UTC
Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
beer@s...
2001-04-19 15:19:34 UTC
Re: DeskNC Windows version
IMService
2001-04-19 15:21:30 UTC
Re: All quiet on the EMC front ???
wanliker@a...
2001-04-19 15:41:19 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC - CNC Pro 3x as fast as EMC???
ballendo@y...
2001-04-19 20:45:12 UTC
Re: DeskNC Windows version
mariss92705@y...
2001-04-19 21:14:59 UTC
Re: DeskNC Windows version
wanliker@a...
2001-04-19 23:26:04 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version
Matt Shaver
2001-04-20 00:02:57 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version
Tom Eldredge
2001-04-20 04:08:40 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC - CNC Pro 3x as fast as EMC???
kleinbauer@j...
2001-04-20 04:21:47 UTC
Re: DeskNC Windows version
Ray
2001-04-20 06:17:58 UTC
Re: DeskNC Windows version
Tom Eldredge
2001-04-20 07:41:25 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC - CNC Pro 3x as fast as EMC???
stratton@m...
2001-04-20 07:52:09 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version
wanliker@a...
2001-04-20 08:58:00 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version
kleinbauer@j...
2001-04-20 09:44:18 UTC
Re: DeskNC Windows version
wanliker@a...
2001-04-20 10:34:20 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version
wanliker@a...
2001-04-20 10:36:08 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version
kleinbauer@j...
2001-04-20 11:04:06 UTC
Re: DeskNC Windows version
wanliker@a...
2001-04-20 11:11:52 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version
Alan Marconett KM6VV
2001-04-20 12:18:38 UTC
Re: DeskNC - CNC Pro 3x as fast as EMC???
wanliker@a...
2001-04-20 12:35:38 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC - CNC Pro 3x as fast as EMC???
Carol & Jerry Jankura
2001-04-20 12:54:57 UTC
RE: [CAD_CAM_EDM_DRO] Re: DeskNC - CNC Pro 3x as fast as EMC???
Alan Marconett KM6VV
2001-04-20 15:54:16 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version
Larry Edington
2001-04-20 17:53:39 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version
ballendo@y...
2001-04-21 02:14:24 UTC
Re: DeskNC Windows version
kleinbauer@j...
2001-04-21 04:51:11 UTC
Re: DeskNC Windows version
wanliker@a...
2001-04-21 07:09:44 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version
Tom Eldredge
2001-04-22 08:58:46 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version
Alan Marconett KM6VV
2001-04-22 20:57:58 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version
Larry Edington
2001-04-22 23:15:38 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version
Carol & Jerry Jankura
2001-04-23 05:39:37 UTC
RE: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version
Tom Eldredge
2001-04-24 06:23:34 UTC
Re: [CAD_CAM_EDM_DRO] Re: DeskNC Windows version