Re: [Emc-users] Adding parallel port

2011-07-30 Thread gene heskett
On Saturday, July 30, 2011 08:11:13 AM Farzin Kamangar did opine:

> Hello EMC users,
> I have difficulty when adding additional parallel ports (other than
> the parallel port on mother board) and configuring them as input. When
> I monitor the pins 2 to 9 they are
> always off, but the pins 10 or 11 are on. I do not have this problem
> when I configure the parallel port on the mother board as input. Pins 2
> to 9 on the parport on mother board
> are all on and they turn off when connect them to ground (They are all
> O.K.) Could you tell what I need to do to make pins 2 to 9 act
> correctly on the additional parports too.
> I do not have any problem when configuring additional parports as
> output.Thanks and regards
> Farzin

There are parport cards that do not properly do the mode emc uses, Rosewill 
being one of them.  I have on hand another card, a PCI1P from StarTech.com 
according to the box that claims all 3 of the common modes are supported.

However, as in all things that require I pull the emc computer off its high 
shelf in the shop, it has not been actually tested.  Perhaps others here 
have also found a card that works reliably?

I believe EPP is the magic acronym.

You didn't say what brand your card is, so I can't go much farther.  Please 
post the snippet from an lspci -v that represents your add-in card.

Cheers, gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Science is what happens when preconception meets verification.

--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Adding parallel port

2011-07-30 Thread Viesturs Lācis
2011/7/30 gene heskett :
>
> I believe EPP is the magic acronym.

EPP mode is only for communication with external I/O hardware, like Mesa cards.
Farzin, You should check, if that add-in card supports data input on pins 2-9.
AFAIK not all do.


Viesturs

--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Adding parallel port

2011-07-30 Thread Kirk Wallace
On Sat, 2011-07-30 at 16:34 +0430, Farzin Kamangar wrote:
> Hello EMC users,
> I have difficulty when adding additional parallel ports (other than the
> parallel port on mother board) and configuring them as input. When I monitor
> the pins 2 to 9 they are
> always off, but the pins 10 or 11 are on.

If the parallel port in question indicates that ECP, EPP or
Bi-directional is supported, then my guess is that input on pins 2-9
should work. One problem might be that for input, you may need a pull up
resistor on each input pin to pull the pin up to 3 or 5 volts. Then have
your input device sink the pin to ground for the active state. Most PCI
cards I have seen are 5 volt compatible. Size the resistors to be
greater than the sinking current limit of the input device, so the
device will not try to sink more current than it can handle (V=IxR, ie
5=.003xR or 5/.003 = 1.6kOhms). The parallel port input pin should not
sink or source much current, but you may need to use diodes to protect
against reverse voltage (series blocking) and/or over voltages or spikes
(Zener shunt). I am not an expert on this so the above should just give
you a start on do your own research. These links might be handy:
http://www.beyondlogic.org/spp/parallel.htm 
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2_Supported_Hardware 
   (See section "PCI and PCIe Parallel Port Cards")

Posting more details of your parallel port card and what it is connected
too, might help us to give better advise too.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Adding parallel port

2011-07-30 Thread Jon Elson
Viesturs Lācis wrote:
> 2011/7/30 gene heskett :
>   
>> I believe EPP is the magic acronym.
>> 
>
> EPP mode is only for communication with external I/O hardware, like Mesa 
> cards.
> Farzin, You should check, if that add-in card supports data input on pins 2-9.
> AFAIK not all do.
>   
Pico Systems boards also need the EPP mode. But Viesturs is right, EPP 
is NOT needed for
general purpose I/O for auxiliary control, step pulse output and similar 
connections.
It would be quite surprising if anything with a PCI connection did not 
support bidirectional
mode. It is possible that some oddball brand might not use the standard 
register layout
for controlling the input/output mode selection. It is also possible 
that some boards, when in
EPP mode, may ignore the in/out command bit, so you should set the board 
for PS/2 (bidir)
mode. How to set PCI plug-in boards for a default mode varies by make. 
Some have an
EPROM on the board that can be set by a program (like SIIG).

Jon

--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users