Hello Guest it is December 09, 2019, 09:15:17 PM

Author Topic: 2nd LPT port. Inputs setup.  (Read 5704 times)

0 Members and 1 Guest are viewing this topic.

Offline birdbrain

*
  •  41 41
  • Stupidity, beyond belief!
    • View Profile
2nd LPT port. Inputs setup.
« on: June 13, 2008, 08:55:21 AM »
Hope someone can help...  I've read other relevant threads but problem not solved.
Here's what I'm trying to do: Connect 7 inputs from the Mill to Mach3. 5 of them are on LPT1 and the other 2 will have to go on LPT2. I've fitted the second LPT port and tested it with a printer. When I switch the port addresses around in Mach3 the motors seem to work but not homing properly. So at least Mach3 can see the 2nd port. Put ports back to their original order and all homing works fine.
Testing port2 pin10: Enabled OK. Set to active high or active low, watch diagnostics screen and... nothing happens if I short the pin to Ground or to 5V.
What am I doing wrong??

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: 2nd LPT port. Inputs setup.
« Reply #1 on: June 13, 2008, 11:15:01 AM »
Asign an input to the pin you are wanting and see if the Input LED lights when you ground it.
Hood

Offline birdbrain

*
  •  41 41
  • Stupidity, beyond belief!
    • View Profile
Re: 2nd LPT port. Inputs setup.
« Reply #2 on: June 13, 2008, 01:40:11 PM »
Asign an input to the pin you are wanting and see if the Input LED lights when you ground it.
Hood
Just tried this. No joy. Input LED does not light up.

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: 2nd LPT port. Inputs setup.
« Reply #3 on: June 13, 2008, 01:47:31 PM »
Can you attach your xml and maybe something can be found, but it may be that you have a faulty card as you said the outputs were working but not the inputs.

Hood

Offline birdbrain

*
  •  41 41
  • Stupidity, beyond belief!
    • View Profile
Re: 2nd LPT port. Inputs setup.
« Reply #4 on: June 14, 2008, 05:11:05 AM »
Thanks Hood. I'm also wondering about the pci card, so I've ordered a new one, but it'll take a few days to arrive.
When I set the (mach3) port 2 to ec00 mach3 changes this to 0xec00. Is this correct?
I'm using winXP oem, no service packs.

Offline Kristin D

*
  •  203 203
  • Take that you LazyCam, next stop the glue factory!
    • View Profile
Re: 2nd LPT port. Inputs setup.
« Reply #5 on: June 14, 2008, 05:33:17 AM »
Bird,

Got a printer, see if the port works. Aw, Gee too simple of a test.

Kristin

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: 2nd LPT port. Inputs setup.
« Reply #6 on: June 14, 2008, 05:35:30 AM »
Yes thats fine for the address. Just another thought, have you checked the cable you were using just in case it doesnt have all of the ground pins connected or even that its not a crossover and has some pins going to other pins at the opposite end.
Hood

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: 2nd LPT port. Inputs setup.
« Reply #7 on: June 14, 2008, 05:37:18 AM »
Bird,

Got a printer, see if the port works. Aw, Gee too simple of a test.

Kristin

Think he said he already tried a printer on it.

Hood

Offline birdbrain

*
  •  41 41
  • Stupidity, beyond belief!
    • View Profile
Re: 2nd LPT port. Inputs setup.
« Reply #8 on: June 14, 2008, 01:54:31 PM »
I've swapped the cable with the one on the 1st port. It's OK. The pci card was tested with a printer quite a long time ago and I don't still have a parallel port printer. So I cannot say for sure if the card is working right.
Thanks, Hood, for confirming the address. It just looked a bit strange.

Offline birdbrain

*
  •  41 41
  • Stupidity, beyond belief!
    • View Profile
Re: 2nd LPT port. Inputs setup.
« Reply #9 on: June 19, 2008, 04:35:27 AM »
UPDATE:
I've fitted a new PCI parallel port card and reinstalled the driver. Also a new cable. Still no joy. Mach 3 does not see the input (the address is correctly setup for port 2 pin 10).
Would it be possible to use an ncPod to provide the extra 2 inputs that I need? It seems that it's a lot of trouble to setup an extra LPT port  :(