- Posts: 23
- Thank you received: 0
Wires detached from parallel plug
7 years 5 months ago #135394
by ictponder
Wires detached from parallel plug was created 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
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
Attachment not found
Please Log in to join the conversation.
7 years 5 months ago #135399
by PCW
Replied by PCW on topic Wires detached from parallel plug
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.
motion signals, this should tell you the function of each parallel port pin.
Please Log in to join the conversation.
7 years 5 months ago #135461
by andypugh
Replied by andypugh on topic Wires detached from parallel plug
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)
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)
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
7 years 5 months ago #135517
by tommylight
Replied by tommylight on topic Wires detached from parallel plug
Dang forgot to order some when I ordered other stuff today. I do have one, and they are very useful.
Thanks for reminding me.
Thanks for reminding me.
Please Log in to join the conversation.
7 years 5 months ago #135548
by pl7i92
Replied by pl7i92 on topic Wires detached from parallel plug
the wirers are way to big
for parport you van use 0,22mm²
AWG 32 to the brekoutboard or even to drivers
for parport you van use 0,22mm²
AWG 32 to the brekoutboard or even to drivers
Please Log in to join the conversation.
7 years 4 months ago #136475
by ictponder
Replied by ictponder on topic Wires detached from parallel plug
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 to join the conversation.
7 years 4 months ago #136476
by ictponder
Replied by ictponder on topic Wires detached from parallel plug
Do you know which file specifically?
Please Log in to join the conversation.
7 years 4 months ago #136477
by andypugh
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
entries.
(Ignore any that are commented out, ie
)
If you open each of those files in your text editor and search for lines of the type
then you should be able to figure out which parallel port pin corresponds to each of step, direction and limit switch inputs.
Replied by andypugh on topic Wires detached from parallel plug
ictponder wrote: 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
Code:
HALFILE =
(Ignore any that are commented out, ie
Code:
# HALFILE =
If you open each of those files in your text editor and search for lines of the type
Code:
net some-signal maybe-a-pin-name parport.0.pin-xxxx
Please Log in to join the conversation.
7 years 4 months ago #136496
by ictponder
Replied by ictponder on topic Wires detached from parallel plug
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.
Would there be another file that would have more pin assignments? I've look through all the hal files in the linuxcnc DIR.
Attachment not found
Please Log in to join the conversation.
7 years 4 months ago #136502
by PCW
Replied by PCW on topic Wires detached from parallel plug
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
(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
Please Log in to join the conversation.
Time to create page: 0.125 seconds
