Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: BriBis on August 23, 2009, 05:19:46 PM
-
Hi all,
I have just installed a second parallel port on my computer and am trying to configure it for Mach3 (version R3.042.029) on my XP-pc.
I configured it in Mach3 as "2-9 as inputs" because I would like to juse this port mainly for external jogging-buttons.
I've set all those inputs port #2 from pinnumbers 2 to 7 (X++ upto Z--) as active low.
I also have a probe attached to this port on pinnumber 10.
The parallelport-card is a Moschip MCS9865, which gives my secondairy LPT-port a base-address of 0xDFA8 (weird address, but ok)..
Now my problem:
When I push the probe, it works like a charm (and is visible in the diagnostic-window as "digitize").
BUT when I use one of the jog-buttons, nothing changes at all..
What could be the problem? And is there any software-program/tool to check the parallelport itself?
Hoping you guys can help me out!!
-
Some ports cant be configured as BiDirectional, yours is possibly one of them. I had exactly the same issue and the way I got around it was to use the motherbords port as port 2 and the PCI as Port 1.
Hood
-
It might also be necessary to put pull-up resistors on the lines, to ensure they see a strong logic 1 when the switches are not pulling them to ground.
Regards,
Ray L.
-
Thank you guys.. The problem was indeed that I totally forgot about the pull-up resistors.. I've added them to the board and: WORKING!! ;D
I'm a happy guy again!!