Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
Posted by
Larry Edington
on 2001-04-18 15:12:52 UTC
High speed I/O on the parallel port under Windows is not impossible. But it
is difficult to do a lot of calculations, timing and pump the data out under
Windows. The parallel port is just 3, 8 bit ports. You have hundreds of
other 8 bit ports in your PC screaming along at very high speeds under
Windows software control all the time.
The best way I know of to do this in Windows is by using a .vxd ( or wdm or
whatever it'll be called in the next versions of Windows ). The application
program reads the G codes and calculates the step commands. These commands
are handed off to the .vxd which runs at Ring 0 and has access to all ports
of the system without the usual restrictions of Windows. The .vxd handles
the timing and step / dir outputs.
Still, you are using the same processor to handle the .vxd as the control
program. A better approach is of course a dual processor system. One
processor handles the I/O .vxd and the other the control program.
Where the external box really shines, is the timing can be done on a
seperate microcontroller. This takes a big load off your control program.
This is the same reason the Ahha Artisian board has the timing circuits on
it's I/O board. It's like using the dual processor machine but the second
processor is out there at the end of your serial port.
The biggest limitation of this approach is the amount of data you can pump
out to the microcontroller due to the typical memory limitations of the
device.
While I've not built any CNC controllers from scratch in the last 8 years,
I've used this same approach to a lot of industrial control problems.
Flashcut does this with an 8051 family micontroller. They have a good
product but it's just too darn expensive. A VB program and an 8051 in a nice
plastic box for a grand! ( or is it more now ? )
Hopefully DeskNC Windows will be more reasonable.
later,
Larry E.
is difficult to do a lot of calculations, timing and pump the data out under
Windows. The parallel port is just 3, 8 bit ports. You have hundreds of
other 8 bit ports in your PC screaming along at very high speeds under
Windows software control all the time.
The best way I know of to do this in Windows is by using a .vxd ( or wdm or
whatever it'll be called in the next versions of Windows ). The application
program reads the G codes and calculates the step commands. These commands
are handed off to the .vxd which runs at Ring 0 and has access to all ports
of the system without the usual restrictions of Windows. The .vxd handles
the timing and step / dir outputs.
Still, you are using the same processor to handle the .vxd as the control
program. A better approach is of course a dual processor system. One
processor handles the I/O .vxd and the other the control program.
Where the external box really shines, is the timing can be done on a
seperate microcontroller. This takes a big load off your control program.
This is the same reason the Ahha Artisian board has the timing circuits on
it's I/O board. It's like using the dual processor machine but the second
processor is out there at the end of your serial port.
The biggest limitation of this approach is the amount of data you can pump
out to the microcontroller due to the typical memory limitations of the
device.
While I've not built any CNC controllers from scratch in the last 8 years,
I've used this same approach to a lot of industrial control problems.
Flashcut does this with an 8051 family micontroller. They have a good
product but it's just too darn expensive. A VB program and an 8051 in a nice
plastic box for a grand! ( or is it more now ? )
Hopefully DeskNC Windows will be more reasonable.
later,
Larry E.
----- Original Message -----
From: "Alan Marconett KM6VV" <KM6VV@...>
To: <CAD_CAM_EDM_DRO@yahoogroups.com>
Sent: Wednesday, April 18, 2001 3:49 PM
Subject: Re: [CAD_CAM_EDM_DRO] DeskNC Windows version
> Hi Art,
>
> Thanks for the reply. I'd heard that parallel was impossible, and
> serial possible under windows. Is there any EPP/ECP support under
> windows? Might that work better, similar to serial? But then, it
> wouldn't be a "simple" parallel port, I guess!
>
> By 8000 PPS, are assuming a 133Mhz Pentium class machine on Windoz? I
> thought I'd heard higher numbers, must be for Linux or DOS.
>
> I'd also like to hear about the P6 instruction(s) that aid in
> timing/step generation.
>
> Alan KM6VV
>
>
> Art Fenerty wrote:
> >
> > Alan:
> >
> > When sending to a serial port from windows, you don't hang the
system
> > as much. You simply send a series
> > of commands and let the intelligent box do the rest. Most windows
software
> > suffers greatly when sending to the parrallel port due to the time
involved.
> >
> > ""Sounds like a FlashCut!"" -- It is, thats just how flashcut does it
for
> > the most part. It tends to make it very smooth and is a good solution
for
> > the money.Without a black box, you really can't get higher than 8000
> > Pulses/Sec.
> >
> > Getting Master5 to be smooth under windows was a real challenge and
it's
> > easy to see why Black box idea's are starting to proliferate. You just
can't
> > go faster than 8000 pulses per second without such a black box, although
> > that may change under the P6 series chips. My experiments show that
variable
> > asynchronous velocities are possible with P6 processors at quite a
speed. I
> > may try to implement such a system in a year or so. But it will take
awhile
> > for most peoples computers to catch up with the latest motherboards. I
have
> > enough problems with the number of people out there using 133's.
> >
> > 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