I tried your little program on the PCI addon LPT and it made no impact. 
I can see the inputs from pin 2 up to pin 4 but pin 6,7 and8 remains in 
output mode for some reason
Will the program work on the PCI card?


On 2013/06/20 08:25 PM, John Alexander Stewart wrote:
> Alex -
>
> 1) Jon Elson knows what he is talking about.
>
> 2) I had difficulty setting the on-board D525MW parallel port so that I
> could read data from my CNC4PC MPG controller. I *might* have been able to
> use the 2nd port on the Mesa 5i25, but I was very inexperienced with the
> 5i25 then.
>
> What I did was get code (from Jon Elson) that actually went out and set the
> parallel port to the right mode, so that the required LPT pins could act as
> input pins.
>
> I packaged it up, and now use it on a couple of computers. Setting the mode
> within BIOS did NOT set the parallel port into the correct mode, for some
> reason.
>
> There is an LPT port tester on the LinuxCNC site (link not available to me
> ATM) that runs an on-screen viewer that shows the status of the input
> lines. I'm certain I used that to see that some of the control signals from
> my mpg was not making it back to the system.
>
> After the running of the "set the printer port"  little program, all was ok.
>
> As mentioned, it *might* be possible to use the 2nd port on the 5i25 as a
> general input port, but others here can confirm or reject that assumption.
>
> John A. Stewart
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

-- 
Regards / Groete

Marius D. Liebenberg
MasterCut cc
Cel: +27 82 698 3251
Tel: +27 12 743 6064
Fax: +27 86 551 8029
Skype: marius_d.liebenberg



---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 130620-1, 2013/06/20
Tested on: 2013/06/20 10:40:45 PM
avast! - copyright (c) 1988-2013 AVAST Software.
http://www.avast.com


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to