Re: [CAD_CAM_EDM_DRO] Parallel port interface for pulse Encoder
Posted by
Jon Elson
on 2007-08-02 08:17:56 UTC
heshammm2003 wrote:
you connecting this to? Did you check the voltage levels out of
the encoder? It may require pull-up resistors to +5 V if the
encoder outputs are open-collector.
You say "couldnt read the data at that rate", but you don't say
how fast the encoder was turning. At 60 RPM, the encoder would
produce, I think, 8340 counts per second. Even a 486 CPU could
read that fast enough, but not if you have a print statement
every read. The screen update is really slow on PCs because it
has to copy the whole screen up to scroll, pixel by pixel.
Jon
> Dear all,What rate is the C program reading the port? What port pins are
>
> first let me say hi to all the members,
> kindly if any one can help me abount readind a pulse encoder that sends
> 2085 pulses per second square wave TTL voltage level, the port couldnt
> read the data at that rate even using C lanuage under DOS
> can any body help?
you connecting this to? Did you check the voltage levels out of
the encoder? It may require pull-up resistors to +5 V if the
encoder outputs are open-collector.
You say "couldnt read the data at that rate", but you don't say
how fast the encoder was turning. At 60 RPM, the encoder would
produce, I think, 8340 counts per second. Even a 486 CPU could
read that fast enough, but not if you have a print statement
every read. The screen update is really slow on PCs because it
has to copy the whole screen up to scroll, pixel by pixel.
Jon
Discussion Thread
heshammm2003
2007-08-02 06:51:47 UTC
Parallel port interface for pulse Encoder
Jon Elson
2007-08-02 08:17:56 UTC
Re: [CAD_CAM_EDM_DRO] Parallel port interface for pulse Encoder
hesham elsayed
2007-08-04 23:31:38 UTC
Re: [CAD_CAM_EDM_DRO] Parallel port interface for pulse Encoder
Jon Elson
2007-08-05 17:40:48 UTC
Re: [CAD_CAM_EDM_DRO] Parallel port interface for pulse Encoder