Wires detached from parallel plug

More
30 May 2019 14:54 #135394 by ictponder
I bought a used 4x8 Warthog a couple weeks ago and it's just about ready to power on. I had to relocate the receptacle that houses the parallel plug to the control box and in the process a couple wires popped off the back pins of the plug (pic attached). I need to find out what these pins are for, what they do and where they go.

The machine was operational when I picked it up and came with the computer and LinuxCNC. Is there some documentation that can give me the information I need to figure out how to rewire this plug? I've read about the parallel port driver but thought maybe LinuxCNC perhaps dealt with port addressing.

This is the last step in order to get this thing running.

TY for any help

Attachments:

Please Log in or Create an account to join the conversation.

More
30 May 2019 16:17 #135399 by PCW
You can look at the hal file to see how the parallel port pins connect to LinuxCNCs
motion signals, this should tell you the function of each parallel port pin.

Please Log in or Create an account to join the conversation.

More
31 May 2019 12:30 #135461 by andypugh
I might be tempted to re-wire the whole thing. That isn't the neatest wiring job I have ever seen.

Something like this might help:
www.amazon.co.uk/SIENOC-DB25-M2-Breakout...ectors/dp/B01N5CBPQE
(They used to be very expensive, but now are cheap enough to consider using)
The following user(s) said Thank You: BigJohnT

Please Log in or Create an account to join the conversation.

More
01 Jun 2019 00:37 #135517 by tommylight
Dang forgot to order some when I ordered other stuff today. I do have one, and they are very useful.
Thanks for reminding me.

Please Log in or Create an account to join the conversation.

More
01 Jun 2019 08:17 #135548 by pl7i92
the wirers are way to big
for parport you van use 0,22mm²
AWG 32 to the brekoutboard or even to drivers

Please Log in or Create an account to join the conversation.

More
10 Jun 2019 14:34 #136475 by ictponder
I wouldn't be opposed to rewiring the plug but I first need to find out where the detached wires go first.

Please Log in or Create an account to join the conversation.

More
10 Jun 2019 14:35 #136476 by ictponder
Do you know which file specifically?

Please Log in or Create an account to join the conversation.

More
10 Jun 2019 14:41 #136477 by andypugh

Do you know which file specifically?


The config you select in the config picker is actually an INI file in your linuxcnc folder.

If you open the INI file in a text editor you should be able to find a number of
HALFILE =
entries.
(Ignore any that are commented out, ie
# HALFILE =
)

If you open each of those files in your text editor and search for lines of the type
net some-signal maybe-a-pin-name parport.0.pin-xxxx
then you should be able to figure out which parallel port pin corresponds to each of step, direction and limit switch inputs.

Please Log in or Create an account to join the conversation.

More
10 Jun 2019 17:25 #136496 by ictponder
In my router.hal file I found these entries, which look to be from pin 1 - 11. Those pins on the connector all have a wire going to them, some with resistors. However, there are wires also connected to pins 12, 13, 18 - 20 & 22. I know that one of the wires coming from the upper z limit switch is disconnected and it looks like it may have been soldered to either pins 23 or 24 as there is solder inside the pin.

Would there be another file that would have more pin assignments? I've look through all the hal files in the linuxcnc DIR.
Attachments:

Please Log in or Create an account to join the conversation.

More
10 Jun 2019 18:09 - 10 Jun 2019 18:38 #136502 by PCW
Note that DB25 parallel port pins 18 through 25 are ground so will not show up in a hal file
(but some or all will be connected to the machine)

Also it would be helpful to attach the actual hal file so the complete file is there

DB25 pins 12 and 13 are inputs so likely used for limit switch sensing


en.wikipedia.org/wiki/Parallel_port#/med...lel_port_pinouts.svg
Last edit: 10 Jun 2019 18:38 by PCW.

Please Log in or Create an account to join the conversation.

Time to create page: 0.219 seconds
Powered by Kunena Forum