Modifying parallel port
- Micromet
- Offline
- Senior Member
-
- Posts: 66
- Thank you received: 1
I don't want to take apart and modify the cnc machine control unit which currently just operates the 3 axes motors. So I'm thinking about making an intermediate parallel port box that sits between the PC and the cnc machine control box. This box is connected to the PC and the cnc machine control box by normal parallel port cables. Internally, the box would pass through the signals between the PC and the cnc machine control box. But extra sensor wires from the limit switches would enter this intermediate box and connect to the parallel port going to the PC. Is there anything wrong with this approach?
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23294
- Thank you received: 4938
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Offline
- Platinum Member
-
- Posts: 4987
- Thank you received: 1455
Please Log in or Create an account to join the conversation.
- Micromet
- Offline
- Senior Member
-
- Posts: 66
- Thank you received: 1
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23294
- Thank you received: 4938
No, the software knows nothing about the electrical wiring, nothing at all. All it knows is what the parallel port chips tell it.Linuxcnc software is evidently aware and need the 0v and 5v lines as they are mentioned in Section 5
You can steal 5V from a USB connector.I presume I can just ground the limit switches to the cnc table framework - but I'm guessing that the Pull Up resistor has to go to a 5v supply somewhere
Please Log in or Create an account to join the conversation.
- Micromet
- Offline
- Senior Member
-
- Posts: 66
- Thank you received: 1
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
-
- Posts: 1744
- Thank you received: 288
you'll be far better , using screened cables and bringing them all back to one common point the parallel port
if need be , pick off 5v from the pc power supplys 4 pin molex connector as used for hard drives etc , via a fuse holder
or use a breakout board for the purpose which has opto's built in this will assist in protecting the pc , in the event of any failure .
Please Log in or Create an account to join the conversation.
- Micromet
- Offline
- Senior Member
-
- Posts: 66
- Thank you received: 1
Please Log in or Create an account to join the conversation.
- Micromet
- Offline
- Senior Member
-
- Posts: 66
- Thank you received: 1
So it seems as if I can bring the limit switches input wire to this molex with the limit switch earth going to the G. But do I still need to supply the 5v or is that being supplied by the board? Can't seem to find a user manual for the JP-382A board to check but there is other information on other forums that might help once I've sifted through it all. But any comments by the linuxcnc forum would be welcome.
Please Log in or Create an account to join the conversation.
- Micromet
- Offline
- Senior Member
-
- Posts: 66
- Thank you received: 1
Please Log in or Create an account to join the conversation.