588,190 active members*
4,298 visitors online*
Register for free
Login
Results 1 to 19 of 19
  1. #1
    Join Date
    Nov 2003
    Posts
    314

    Parrallel Port wiring

    Is there any standard for how the parrallel port is wired.
    e.g On some the x,y,z step are on pins 2,3,4 and dir on pins 6,7,8

    others have x step on pin2 with x dir on pin3 and so on.

    Also regarding the home and limit pins is this just all asigned by the software.

  2. #2
    Join Date
    Mar 2003
    Posts
    35538
    Depends on the software. Some controllers don't let you change the pins. Usually the step and direction are consecutive. X step=2, X dir=3, something like that. With Most controllers, however, all the pins are assigned in the software.

    I think that there are some limitations though. I think some pins can be output only and some can be input (limits and home) only. Not really sure, though.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  3. #3
    Join Date
    Jun 2003
    Posts
    3312
    No standard, but seems a lot of the boards follow the EMC pinout at least partially. EMC doesn't have software pin configuration. Here is a table that I put together:

    Phil
    Attached Thumbnails Attached Thumbnails pinout.png  
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com

  4. #4
    Join Date
    Jun 2003
    Posts
    1365
    glad you asked, I was just gonna ask
    Im going to be soldering right to the connector, do I only need 2,3 and 6,7 for x and z to hook directly? or do I need a ground somewhere? I should be running 5v off the computers power supply right, for gecko drives,
    Jon

  5. #5
    Join Date
    Aug 2004
    Posts
    2849
    You will need a ground. You should use a separate power supply for the Geckos.

  6. #6
    Join Date
    Jun 2003
    Posts
    1365
    I am using a separate power supply to power them, but the common is 5v right? or is that a ground on the parallel port connector?

    Jon

  7. #7
    Join Date
    Aug 2004
    Posts
    2849
    Quote Originally Posted by JFettig
    I am using a separate power supply to power them, but the common is 5v right? or is that a ground on the parallel port connector?

    Jon
    The common that everything (PC signals to Geckos) is referenced to should be ground and that ground is from the Parallel Port connector ground.

  8. #8
    Join Date
    Jun 2003
    Posts
    1365
    Oh ok, I just remembered seeing on my breakout board, 5v pin pin gnd for outputs from the breakout board and the diagram showed the 5v connected to the geckos and thats what I have been doing and it works.

    Jon

  9. #9
    Join Date
    Sep 2003
    Posts
    226
    Which Geckos?!
    "Common" is positive +5v from computer power supply on 320s...not parallel port ground.

  10. #10
    Join Date
    Jun 2003
    Posts
    1365
    G201s, yeah thats what I thought, is that for sure?

    Jon

  11. #11
    Join Date
    Sep 2003
    Posts
    226

  12. #12
    Join Date
    Aug 2004
    Posts
    2849
    Okay pin 10 of the Geckos is not a Common in electrical terms it is a common point for the anodes of the optical isolators which means that you have to supply +5 VDC from some source, +5 VDC is not available on the parallel port. My preference would be to have a +5VDC source where the Geckos reside and not draping a +5 VDC from your PC.

  13. #13
    Join Date
    Jun 2003
    Posts
    3312
    You need a 5vdc source such as a wall wart. If I'm reading the Gecko document correct, (Gecko) Pin 12 is the 5 volt from the wall wart. (Gecko) Pin 10 and (Gecko) pin 11 would be connected to your PC's db25 for direction and step signals for the appropriate axis. On the db25 of your computer you pickup the PC PPports gnd on pins 18-25 and wire that to the wall wart negative.

    Phil
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com

  14. #14
    Join Date
    Nov 2003
    Posts
    314
    so what are the x,y,z enables for ? are they to switch the motors on and off ?

  15. #15
    Join Date
    Jun 2003
    Posts
    1365
    I believe they are to turn the drives on and off.

  16. #16
    Join Date
    Jun 2003
    Posts
    3312
    The enable from the PPort are to enable that axis's Driver. For example the machine was sitting idle for a long time, the motors would still be pulling current if that axis was enabled.

    Phil
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com

  17. #17
    Join Date
    Nov 2003
    Posts
    314
    So the idea would be to have these feeding a relay circuit on each axis

  18. #18
    Join Date
    Oct 2003
    Posts
    593
    No. It just enables or disables the drive. No need for relays.
    I suppose in effect you already have solid state relays in the driver circuitry. The enable signal is 5V to 5V though. It disables the high output side of the driver using the 5V logic side of the driver from the 5V on the LPT.

    Regards Terry.....

  19. #19
    Join Date
    Feb 2004
    Posts
    813

Similar Threads

  1. Parrallel port hookup
    By joecnc2006 in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 1
    Last Post: 02-16-2005, 10:57 PM
  2. Parallel Port Options
    By JasonCroyle in forum CNC Machine Related Electronics
    Replies: 4
    Last Post: 01-12-2005, 02:23 PM
  3. Wiring Question
    By The Wizard in forum CNC Machine Related Electronics
    Replies: 17
    Last Post: 01-04-2005, 07:11 PM
  4. Driving Parrallel Port
    By JOE65 in forum Mastercam
    Replies: 0
    Last Post: 03-22-2004, 06:16 PM
  5. Using A Laptop Without Serial Port
    By mtech in forum Computers / Desktops / Networking
    Replies: 6
    Last Post: 08-17-2003, 02:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •