CAD CAM EDM DRO - Yahoo Group Archive

Re: delay time

Posted by ballendo@y...
on 2001-11-13 16:13:59 UTC
Hello,

Chris already gave you some good explanations. I will add that you may
get some ideas from Dave Kowalczi's (Dave, am I getting better<G>)
TURBO CNC program, which has source code available.

You could also approach it the way Otto at MaxNC does: He has written
a "timeset.exe" program which determines the speed of the computer
upon which the program is running, and uses the results to "plug"
likely values into the "timing" parameters file "pr.exe" used by his
control software "max.exe". A timeset type program can be pretty
simple, as you just run a loop for a given amount of TIME, and count
the iterations; or you run a CERTAIN number of iterations and then
look at how much TIME has passed. From this you can calc some factor
by which to change your "default" parameters.

The older Dancad/cam also used this technique, but within the single
"dancam.exe" or "Danplot.exe" program. Dan used the term "pc's", which
referred to the old xt 4.77mhz machines. It was kinda fun to see how
many "pc's" faster the modern computers were/are...

Hope this helps.

Ballendo

P.S. Loops are fine for a dedicated dos control, IMO. Reprogramming
the 8254 interrupt is better, but not a trivial pursuit, if all the
bases are to be covered... Our list archive has some *interesting*
threads on this subject.

--- In CAD_CAM_EDM_DRO@y..., sdiken@r... wrote:
> I have a small problem. I am sending signals to parallel port
> 1010101 and step motor is turning due to signals. I write a program
> and the motor is turning normaly. But if I use the computer of my
> lecturer in university, motor is turning app. 10 times speed. I
thing
> frequency of pulses are in my computer lower than computer of the
> lecturer. It mieans "delay(1000)" by my PC = "delay(10000)" by other
> PC. How can I regulate it? Thanks

Discussion Thread

sdiken@r... 2001-11-13 00:44:02 UTC delay time Sven Peter 2001-11-13 06:16:10 UTC Re: [CAD_CAM_EDM_DRO] delay time ccs@m... 2001-11-13 07:44:13 UTC Re: [CAD_CAM_EDM_DRO] delay time Alan Marconett KM6VV 2001-11-13 11:11:45 UTC Re: [CAD_CAM_EDM_DRO] delay time ballendo@y... 2001-11-13 16:13:59 UTC Re: delay time