CAD CAM EDM DRO - Yahoo Group Archive

Re: CPU speed vs step pulse rate

on 2002-11-11 12:47:53 UTC
Echnidna:

Not really, as Jon has already noted. The speed limit is in how
fast the parallel port can be written by software.

A year or so ago I wrote a truly trivial program to test this:

MOV DX, $0378
LOOP: MOV AL, $FF
OUT DX, AL
MOV AL, $00
OUT DX, AL
JMP LOOP

This puts the computer in an infinite loop of toggling the port
data pins. The resulting pseudo-squarewave output was consistently 2-
300 kHz on several machines, from 486-66's to a 450 Mhz AMD. Past
the P-90 level or so, the speed becomes more dependent on factors
like these, rather than on the instruction cycle clock rate.

Dave Kowalczyk
Everett WA

> echnidna wrote:
>
>Hi Group,
>Is there a definable relationship between CPU speed and the computer
output pulse rate to the stepper\servo motors
>

Discussion Thread

echnidna 2002-11-11 01:23:30 UTC CPU speed vs step pulse rate Tim Goldstein 2002-11-11 10:59:19 UTC Re: [CAD_CAM_EDM_DRO] CPU speed vs step pulse rate Jon Elson 2002-11-11 11:03:41 UTC Re: [CAD_CAM_EDM_DRO] CPU speed vs step pulse rate Dave Kowalczyk 2002-11-11 12:47:53 UTC Re: CPU speed vs step pulse rate