Re: PC to controller comunication protocols
Posted by
jcc3inc
on 2008-02-28 09:34:31 UTC
Gentlemen:
I too have been working (off and on) on a CNC controller. It is DOS
based with a max step rate of 4.166 KHz. It does work well, but I'd
like to have available a higher step rate, and a smoother output
pulse train. The current max pulse jitter is 240 microsec.
I've been working on an external curcuit which accepts commands of
up to 31 steps from the parallel port and does linear interpolation
in X, Y, Z from the sequential commands. The base update rate is 1
KHz, so there's time for the computer to do other tasks such as
velocity smoothing and cutter comp. My current IC external circuit
has added "noise" pulses at the rate of about 12 or so per 100,000
pulses, not acceptable. So far I have not eliminated the noise. The
supporting PC program for the above with linear and circular
interpolation is done, and appears to be OK. The objective for the
new approach is 31KHz pulse rate and a jitter of 30 microsec or less.
If I knew something about programming microprocessors, they would be
a better possibility, as the code to handle linear interpolation for
3 axes is simple, in BASIC anyway. My programming experience has
been only in QuickBASIC.
I'd be quite interested in communicating with others of similar
interests. A spec sheet and screen view of my controller are
available. I could post them in the files and photos section here.
Regards,
Jack C.
I too have been working (off and on) on a CNC controller. It is DOS
based with a max step rate of 4.166 KHz. It does work well, but I'd
like to have available a higher step rate, and a smoother output
pulse train. The current max pulse jitter is 240 microsec.
I've been working on an external curcuit which accepts commands of
up to 31 steps from the parallel port and does linear interpolation
in X, Y, Z from the sequential commands. The base update rate is 1
KHz, so there's time for the computer to do other tasks such as
velocity smoothing and cutter comp. My current IC external circuit
has added "noise" pulses at the rate of about 12 or so per 100,000
pulses, not acceptable. So far I have not eliminated the noise. The
supporting PC program for the above with linear and circular
interpolation is done, and appears to be OK. The objective for the
new approach is 31KHz pulse rate and a jitter of 30 microsec or less.
If I knew something about programming microprocessors, they would be
a better possibility, as the code to handle linear interpolation for
3 axes is simple, in BASIC anyway. My programming experience has
been only in QuickBASIC.
I'd be quite interested in communicating with others of similar
interests. A spec sheet and screen view of my controller are
available. I could post them in the files and photos section here.
Regards,
Jack C.
Discussion Thread
dandumit
2008-02-26 04:43:43 UTC
Cutting helical gear - req for info
Michael Fagan
2008-02-26 06:44:58 UTC
Re: [CAD_CAM_EDM_DRO] Cutting helical gear - req for info
stan
2008-02-26 06:52:14 UTC
PC to controller comunication protocols
Philip Burman
2008-02-26 11:08:41 UTC
Re: Cutting helical gear - req for info
dgoadby
2008-02-27 05:54:43 UTC
Re: PC to controller comunication protocols
Yahoo
2008-02-27 07:51:43 UTC
Re: PC to controller comunication protocols
stan
2008-02-27 08:52:00 UTC
ref: PC to controller comunication protocols
Doug Chartier
2008-02-27 09:02:36 UTC
Re: Cutting helical gear - req for info
Alan KM6VV
2008-02-27 09:59:07 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC to controller comunication protocols
jcc3inc
2008-02-28 09:34:31 UTC
Re: PC to controller comunication protocols
stan
2008-02-28 10:00:06 UTC
Ref: PC to controller comunication protocols
Yahoo
2008-02-28 12:43:04 UTC
Re: PC to controller comunication protocols
Yahoo
2008-02-28 12:45:10 UTC
Re: PC to controller comunication protocols
Alan KM6VV
2008-02-28 15:22:28 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC to controller comunication protocols
stan
2008-02-28 17:38:05 UTC
Ref: PC to controller comunication protocols
mrclicit
2008-03-01 08:51:43 UTC
Re: Ref: PC to controller comunication protocols
Alan KM6VV
2008-03-01 09:19:50 UTC
Re: [CAD_CAM_EDM_DRO] Re: Ref: PC to controller comunication protocols
stan
2008-03-01 09:31:51 UTC
Ref: PC to controller comunication protocols
Mike Pogue
2008-03-01 13:25:46 UTC
Re: [CAD_CAM_EDM_DRO] Re: Ref: PC to controller comunication protocols
stan
2008-03-01 14:10:47 UTC
Ref: PC to controller comunication protocols
stan
2008-03-01 15:46:36 UTC
Ref: PC to controller comunication protocols
Brian Foley
2008-03-01 18:47:49 UTC
Re: [CAD_CAM_EDM_DRO] Re: Ref: PC to controller comunication protocols