On Wednesday 31 October 2018 10:13:51 Todd Zuercher wrote:

> I am trying to use a PCIe duel parallel port card and I'm having some
> trouble with it.  It uses a Moschip 9865 according to lspci-v. I have
> 2 different breakout boards, one is a CNC4PC C10 board and it works
> perfectly fine with this parallel port card.  The other one is one of
> those cheap 5 axis boards targeted for Mach3.
>
Step one step up the rickety ladder that parport BoB's an replace that 
one with a Sainsmart. It has nice solid outputs w/o any opto's to screw 
you with making pwm-generators non-linear as hell, and if you have 
really high resolution encoders, the opto's in the 5 inputs are easy to 
trace and bypass. Well worth the extra 5 bucks USD.

> My problem seems to be that with Linuxcnc this parallel port card
> defaults to a mode where none of the input pins (10,11,12,13,15) are
> pulled up internally.  That isn't a problem with the C10 because it
> has it's own pull ups for all the inputs.  But it is a problem on the
> cheap board which has no pull ups on those pins.  The outputs all seem
> to work fine.

My stuff all has pullups, but I believe the Sainsmart has its own 
pullups. I'm rigged so output true = logic 0 for everything.

> It isn't that this parallel port card can't pull up those pins.  When
> I test the port in Windows it does pull up the input pins up to 3.3v,
> and the cheap breakout will work there.  So there must be some magic
> setting that can make it work.  Does anyone have a clue what it might
> be and how to use it in Linuxcnc?

You might have to use the in-not signal from your interface card if it 
has such a critter. 
>
> I also can't seem to make the card work in X mode in Linuxcnc, which
> makes me think that It isn't using SPP and is defaulting to EPP or ECP
> modes.  Is there a way to try to force a parallel port into SPP mode? 
> (I ask this hoping that forcing the ports into SPP will make the
> inputs pull up.)
>
> I did see on the forum that some have worked around this problem
> simply by adding pull ups to input pins on these cheap breakout
> boards.  But since this parallel port is in fact capable of pulling up
> those pins in Windows, I was hoping a way could be found to do it in
> Linux, and thus avoid having to get out the soldering iron.
>
> Todd Zuercher
> P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
>
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>


_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to