Please help, I need some addvise
- allenwg2005
-
Topic Author
- Offline
- Elite Member
-
- Posts: 310
- Thank you received: 4
I have the same voltage on a different port cable now (separate from the integrated port on the Mboard),
Voltage is 4.6v on pins 2-9.
I changed ptestx.hal to- loadrt halparport cfg"0x8800 X" to get these results.
I haven't been able to identify the address for the last working port though.
Tried a number of things, all that changed was the pin colours on the tester for input side, from green to red,
different addresses changed different pins, but the cable/meter didn't respond.
What should I type and where should I type it now?
I will look at Todds sugestion now.
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
-
- Posts: 24
- Thank you received: 758
Forget ptestx.hal, you are not trying to test if the ports work in X mode, you don't know which address the ports are at.
You can test if they work in X mode later
Download the port tester at the link given several times and use that.
I have the same voltage on a different port cable now (separate from the integrated port on the Mboard),
Voltage is 4.6v on pins 2-9.
You will have those voltages whether it is the right port or not, did you get them after loading the tester, when you pressed the corresponding button for that pin and did it go to zero when you released it?
I changed ptestx.hal to- loadrt halparport cfg"0x8800 X" to get these results.
If that is what you entered I don't know if it worked properly, should be loadrt halparport cfg="0x8800 X"
If it is correct, likelihood is that second card has parport at 0xa000
Tried a number of things,....
I don't know what this means.
Start from the beginning, change the port address being tested by editing the
loadrt halparport cfg="0x378 out" line
and methodically work through each address on the card, testing the out pins for voltage when the button is pressed and none when released
Please Log in or Create an account to join the conversation.
- allenwg2005
-
Topic Author
- Offline
- Elite Member
-
- Posts: 310
- Thank you received: 4
I made a typo: loadrt hal_parport cfg=”0x378 X ” , I had the (=) sign in the command line.
I was going to try to and clear some of this up with the results I have here, however.
I did the testing you can see below, I had to stop all this and take care of some things before I wrote this post. When I returned I thought I would do the entire test over just confirm my findings.
For whatever reason when I tried this again I get no voltage reading on any pin from either meter.
I screwed something up here I just haven't been able to figure out what yet!
The port addresses were tested and responded as follows:
ptest.hal
loadrt hal_parport cfg=”0x0378 out” Out put pins 1-9, 14, 16, 17 meter shows 4.9v.
Input pins 10,11,12,13,15 steady green on port tester.
loadrt hal_parport cfg=”0x8800 out” Same pin and meter response as above.
loadrt hal_parport cfg=”0xa000 out” Same pin and meter response as above.
No voltage when releasing the out put button on the meter.
__________________________________________________________________________________
ptestx.hal
loadrt hal_parport cfg=”0x0378 X” Out put pins 2-9 meter showed 4.9v.
Input pins 1, 10-17 steady green on port tester.
loadrt hal_parport cfg=”0x8800 X” Same pin and meter response as above.
loadrt hal_parport cfg=”oxa000 X” Same pin and meter response as above.
No voltage when releasing the out put button on the meter.
I will be doing what I can to get these result again while waiting to hear back from you.
Thanks again
Please Log in or Create an account to join the conversation.
- allenwg2005
-
Topic Author
- Offline
- Elite Member
-
- Posts: 310
- Thank you received: 4
What else can go wrong? ( I suppose plenty, I shouldn't bitch)
One other thing to add:
The voltage on the ptest.hal out put pins is not 4.9v, it's 4.6v.
Another oversight.
I think we have “addresses” and “xmod” if I’m not mistaken.
We have voltage at a pin location specified, on a port that we call out, this is success isn't it?
What's next?
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
-
- Posts: 24
- Thank you received: 758
........this is success isn't it?
Indeed, you are never going to forget how to test a parallel port after this.
You appear to have established the port addresses are 0x378, 0x8800 and 0xa000

Back to Todd, he has experience with these drives, in fact he has a machine which uses them up for sale at the moment.
Fare well
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Offline
- Platinum Member
-
- Posts: 4987
- Thank you received: 1455
www.anaheimautomation.com/products/stepp...1&pt=i&tID=86&cID=20
The drive timings will be the same as for this drive.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Away
- Moderator
-
- Posts: 23315
- Thank you received: 4944
loadrt hal_parport cfg=”0x0378 out” Out put pins 1-9, 14, 16, 17 meter shows 4.9v.
Input pins 10,11,12,13,15 steady green on port tester.
I am not sure this is telling us anything at all. You will see those results whether or not LinuxCNC has control of the ports.
You need to see the voltage on the input pins changing between 5V and 0V when you press the buttons in the tester. You need to see the input states changing on screen when you connect the pins to a ground pin.
You can use your multimeter in "current" mode as a handy way to connect input pins to ground pins temporarily.
Please Log in or Create an account to join the conversation.
- allenwg2005
-
Topic Author
- Offline
- Elite Member
-
- Posts: 310
- Thank you received: 4
I agree, why not move those limit wires making use of the "natural" pin function.
This is how I will proceed as soon as I am certain I have confirmed Andy's point.
Andy,
Hmm, I see what you mean, we have port locations, pin functions via test meters and voltage meter, but is Linuxcnc able to drive the bus?

My meter has only AC/DCv and resistance on it, I don't have an amp hammer to test “current”.
I brought up ptest, to see what I do have, the ptest(er) has no “buttons” for inputs, only the lights, so I just grounded an input pin (15 to 25) and watched the ptest meter, the light stayed green, and the voltage meter read 4.6v.
I then (quite by accident) crossed the test probes, the voltage went to 0v and the light turned red for that pin (15).
Is this information helpful to us, yes, no, maybe!
Please, you tell me.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Away
- Moderator
-
- Posts: 23315
- Thank you received: 4944
This makes sense, what would an "input" button do?I brought up ptest, to see what I do have, the ptest(er) has no “buttons” for inputs,
quote] I just grounded an input pin (15 to 25) and watched the ptest meter, the light stayed green, and the voltage meter read 4.6v.
I then (quite by accident) crossed the test probes, the voltage went to 0v and the light turned red for that pin (15)..[/quote]That sounds extremely promising. it also sounds like you are not necessarily grounding pins when you think you are. But regardless of how you do it, if you can make an input pin change state then that port is definitely at whatever address you put into the ptest loading line.
Which port was this?
You should also see the voltage on the output pins go to zero on the multimeter when you press the button in ptest.
Please Log in or Create an account to join the conversation.
- allenwg2005
-
Topic Author
- Offline
- Elite Member
-
- Posts: 310
- Thank you received: 4
All inputs and outputs work as described under there respective command lines for port designations.
Yea, I can't be-leave it either.

Now there is one thing here I should mention, voltage on the output pins is 0v until I push the button on the meter, they then go to 4.6v.
They go back to 0v when the button is released.
Arseye is right I'll never forget this adventure.
Please Log in or Create an account to join the conversation.