RE: [CAD_CAM_EDM_DRO] Driving the parallel port in WindowXP
Posted by
Alan Marconett
on 2006-08-10 12:15:19 UTC
HI Kory,
Ah, the age-old problem!
Windows makes a mess of critical timing involving a port write. Just
setting some lines? 20ms (?) doesn't bother you? Just work from windows.
If, on the other hand, you're trying to generate stepper pulses at 20K (or
even several hundred PPS), then Windoz is out, and you'll need to use DOS.
Art and Machs get around this with a high-priority "kernel" driver.
SPECOSOFT.COM is reported to have some portio routines, but I couldn't get
to their site today for some reason.
Even with Linux, you will need a special core routine, or a special build,
if I'm not mistaken.
So DOS may be required!
OR, start revving up on USB, which is what many are doing. Then buffer your
data out, and let a PIC or USB device clock data changes out at their best
interrupt rate.
Alan KM6VV
Ah, the age-old problem!
Windows makes a mess of critical timing involving a port write. Just
setting some lines? 20ms (?) doesn't bother you? Just work from windows.
If, on the other hand, you're trying to generate stepper pulses at 20K (or
even several hundred PPS), then Windoz is out, and you'll need to use DOS.
Art and Machs get around this with a high-priority "kernel" driver.
SPECOSOFT.COM is reported to have some portio routines, but I couldn't get
to their site today for some reason.
Even with Linux, you will need a special core routine, or a special build,
if I'm not mistaken.
So DOS may be required!
OR, start revving up on USB, which is what many are doing. Then buffer your
data out, and let a PIC or USB device clock data changes out at their best
interrupt rate.
Alan KM6VV
> [mailto:CAD_CAM_EDM_DRO@yahoogroups.com] On Behalf Of Kory Hamzeh
>
> I have a CNC application that I would like to write and I need to decide
> it if should be DOS based or Windows. I would like to write it in
> Windows because I want the UI to be graphical, but I do have concerns
> about driving the parallel port reliably and consistently (timing wise).
> Are there any API's, docs, or tricks for this? Another option would be
> Linux, which I have a lot of experience with, but I'm not certain now
> many machinists use Linux for CNC.
>
> Regards,
> Kory
Discussion Thread
rllalonde2000
2006-08-08 18:59:59 UTC
Are steppers considered low frequency motors?
Steve Stallings
2006-08-08 19:18:18 UTC
Re: Are steppers considered low frequency motors?
Mariss Freimanis
2006-08-08 20:49:49 UTC
Re: Are steppers considered low frequency motors?
ballendo
2006-08-08 21:49:27 UTC
Stepper motor 101 was Re: Are steppers considered low frequency motors?
Alan Marconett
2006-08-09 08:19:17 UTC
RE: [CAD_CAM_EDM_DRO] Stepper motor 101 was Re: Are steppers considered low frequency motors?
Mariss Freimanis
2006-08-09 09:15:28 UTC
Stepper motor 101 was Re: Are steppers considered low frequency motors?
Alan Marconett
2006-08-09 10:12:25 UTC
RE: [CAD_CAM_EDM_DRO] Stepper motor 101 was Re: Are steppers considered low frequency motors?
Dennis Schmitz
2006-08-09 20:13:06 UTC
Re: Stepper motor 101 was Re: Are steppers considered low frequency motors?
turbulatordude
2006-08-09 23:29:33 UTC
Stepper motor 101 was Re: Are steppers considered low frequency motors?
ballendo
2006-08-10 03:13:33 UTC
Stepper motor 101 was Re: Are steppers considered low frequency motors?
ballendo
2006-08-10 03:17:51 UTC
Stepper motor 101 was Re: Are steppers considered low frequency motors?
Alan Marconett
2006-08-10 08:02:12 UTC
RE: [CAD_CAM_EDM_DRO] Stepper motor 101 was Re: Are steppers considered low frequency motors?
Alan Marconett
2006-08-10 08:15:19 UTC
RE: [CAD_CAM_EDM_DRO] Stepper motor 101 was Re: Are steppers considered low frequency motors?
Dennis Schmitz
2006-08-10 08:20:37 UTC
Re: [CAD_CAM_EDM_DRO] Stepper motor 101 was Re: Are steppers considered low frequency motors?
Alan Marconett
2006-08-10 08:23:19 UTC
RE: [CAD_CAM_EDM_DRO] Stepper motor 101 was Re: Are steppers considered low frequency motors?
turbulatordude
2006-08-10 08:27:53 UTC
Stepper motor 101 was Re: Are steppers considered low frequency motors?
turbulatordude
2006-08-10 08:46:59 UTC
Stepper motor 101 was Re: Lini-stepper
Mariss Freimanis
2006-08-10 09:13:02 UTC
Stepper motor 101 was Re: Lini-stepper
Steve Stallings
2006-08-10 09:17:41 UTC
Stepper motor 101 was Re: Lini-stepper
Kory Hamzeh
2006-08-10 10:18:26 UTC
Driving the parrallel port in WindowXP
Lester Caine
2006-08-10 10:40:21 UTC
Re: [CAD_CAM_EDM_DRO] Driving the parrallel port in WindowXP
jzmuda2000
2006-08-10 12:12:37 UTC
Stepper motor 101 was Re: Lini-stepper
Alan Marconett
2006-08-10 12:15:19 UTC
RE: [CAD_CAM_EDM_DRO] Driving the parallel port in WindowXP
Alan Marconett
2006-08-10 12:56:43 UTC
RE: [CAD_CAM_EDM_DRO] Driving the parallel port in WindowXP
Mariss Freimanis
2006-08-10 13:05:39 UTC
Stepper motor 101 was Re: Lini-stepper
Sebastien Bailard - Dubsen
2006-08-10 15:53:45 UTC
Re: [CAD_CAM_EDM_DRO] Driving the parallel port in WindowXP
Kory Hamzeh
2006-08-10 17:15:54 UTC
RE: [CAD_CAM_EDM_DRO] Driving the parallel port in WindowXP
Jon Elson
2006-08-10 18:45:47 UTC
Re: [CAD_CAM_EDM_DRO] Driving the parallel port in WindowXP
Sebastien Bailard - Dubsen
2006-08-10 18:55:03 UTC
Re: [CAD_CAM_EDM_DRO] Driving the parallel port in WindowXP
caudlet
2006-08-10 20:39:33 UTC
Re: Driving the parallel port in WindowXP
turbulatordude
2006-08-10 23:35:26 UTC
Stepper motor 101 was Re: Lini-stepper
Steve Blackmore
2006-08-10 23:51:39 UTC
Re: [CAD_CAM_EDM_DRO] Driving the parallel port in WindowXP
turbulatordude
2006-08-11 00:23:16 UTC
Stepper motor 101 was Re: Lini-stepper
Lester Caine
2006-08-11 01:20:41 UTC
Re: [CAD_CAM_EDM_DRO] Driving the parallel port in WindowXP
Lester Caine
2006-08-11 01:21:36 UTC
Re: [CAD_CAM_EDM_DRO] Re: Driving the parallel port in WindowXP
Sebastien Bailard - Dubsen
2006-08-11 02:54:05 UTC
Re: [CAD_CAM_EDM_DRO] Re: Driving the parallel port in WindowXP
Jon Elson
2006-08-11 09:14:31 UTC
Re: [CAD_CAM_EDM_DRO] Re: Driving the parallel port in WindowXP