CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Windows PC as CNC controller

on 2006-10-11 15:28:54 UTC
Holy cow!

Thanks for pointing that 1.2 MHz rate. I had misread it as 120 KHz.

For most PCs (I'd say all, but I don't like absolutes), a 1.2MHz
interrupt rate is not possible. A single OUT or IN instruction for one
of the 3 parallel port registers takes around 1 microsecond, regardless
of the speed of the CPU. If you want to use more than the 8 data bits,
or you want both inputs and outputs, then you need at least two reads or
writes, which will prevent you from going faster than 500 KHz. That is
of course without counting any processing you want to do, and without
counting the very significant context switching time.

I do know of one EMC2 user who got his Athlon 1800 (I think) down to a 6
microsecond period for the step generation thread, or around 160 KHz
interrupts (and 80KHz step rate). That's the fastest I've heard of a PC
generating steps.

As for software to do this for you, there are several packages
available. People have already mentioned Mach and TurboCNC. Mach runs
on Windows whereas TurboCNC is a DOS app (and won't run on Windows 2000
or XP, AFAIK).

There's also EMC2: <http://www.linuxcnc.org> You can download a
liveCD, which you can boot and test with, then install to hard drive if
you like. If you want to mess around with CNC controller software, this
is a good way to go since it's open source.

- Steve

John Dammeyer wrote:

>[snip]
>So would you explain why you feel you need 1.2MHz? There's no way I could
>do that rate with a 40Mhz PIC and I've heard that someone has even developed
>a 3 axis control system with co-ordinated motion using a 20MHz PIC; which
>impresses me to no end.
>
>Regards
>
>John Dammeyer
>

Discussion Thread

gran3d 2006-10-11 13:24:21 UTC Windows PC as CNC controller Terry Owens 2006-10-11 14:06:00 UTC Re: [CAD_CAM_EDM_DRO] Windows PC as CNC controller cnc002@a... 2006-10-11 14:10:37 UTC Re: [CAD_CAM_EDM_DRO] Windows PC as CNC controller Darren Lucke 2006-10-11 14:13:27 UTC Re: [CAD_CAM_EDM_DRO] Windows PC as CNC controller John Dammeyer 2006-10-11 15:14:55 UTC RE: [CAD_CAM_EDM_DRO] Windows PC as CNC controller BRIAN FOLEY 2006-10-11 15:16:05 UTC Re: [CAD_CAM_EDM_DRO] Windows PC as CNC controller Stephen Wille Padnos 2006-10-11 15:28:54 UTC Re: [CAD_CAM_EDM_DRO] Windows PC as CNC controller Lawrence Gran 2006-10-11 18:01:22 UTC RE: [CAD_CAM_EDM_DRO] Windows PC as CNC controller Keith Bowers 2006-10-11 18:35:16 UTC Re: [CAD_CAM_EDM_DRO] Windows PC as CNC controller John Dammeyer 2006-10-11 19:36:01 UTC RE: [CAD_CAM_EDM_DRO] Windows PC as CNC controller Dave Halliday 2006-10-11 20:55:08 UTC RE: [CAD_CAM_EDM_DRO] Windows PC as CNC controller Peter Linss 2006-10-11 21:50:46 UTC Re: [CAD_CAM_EDM_DRO] Windows PC as CNC controller Mark Vaughan 2006-10-11 23:55:47 UTC RE: [CAD_CAM_EDM_DRO] Windows PC as CNC controller Harko Schwartz 2006-10-12 04:52:28 UTC Re: [CAD_CAM_EDM_DRO] Windows PC as CNC controller Darren Lucke 2006-10-12 05:32:40 UTC RE: [CAD_CAM_EDM_DRO] Windows PC as CNC controller lcdpublishing 2006-10-12 05:47:43 UTC Re: Windows PC as CNC controller KM6VV 2006-10-12 09:35:55 UTC RE: [CAD_CAM_EDM_DRO] Re: Windows PC as CNC controller Lawrence Gran 2006-10-12 12:50:18 UTC RE: [CAD_CAM_EDM_DRO] Windows PC as CNC controller Harko Schwartz 2006-10-12 16:52:24 UTC Re: [CAD_CAM_EDM_DRO] Re: Windows PC as CNC controller Harko Schwartz 2006-10-12 17:07:32 UTC Re: [CAD_CAM_EDM_DRO] Re: Windows PC as CNC controller saullios 2006-10-12 17:31:45 UTC Re: Windows PC as CNC controller Jack 2006-10-12 20:46:20 UTC RE: [CAD_CAM_EDM_DRO] Re: Windows PC as CNC controller Dave Halliday 2006-10-12 23:51:51 UTC RE: [CAD_CAM_EDM_DRO] Windows PC as CNC controller