587,754 active members*
3,007 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2007
    Posts
    10

    parallel port question

    I'm looking for an simple circuit example for connecting a PICAXE chip output pin to a parallel ports data output pin (to be used as input).
    It is for my home built Pendant for my cncmill.

    Is it the same as connecting a simple switch?

    Gordon

  2. #2
    Join Date
    Aug 2008
    Posts
    18
    Simply connect the picaxe output directly to one of the INPUT pins of the parallel port (this is pins 10,11,12,13 and 15. DO not connect it to any of the parallel port OUTPUTS. Also the ground/0 pin of picaxe must be connected to ground of the parallel port (pins 18,19,20,21,22,23,24,25 are all ground)
    Mechatronicsman
    www.hobbymechatronics.com

  3. #3
    Join Date
    Oct 2007
    Posts
    10
    Thanks for the reply Mechatronicsman,

    I'm using a Sunix Golden I/O PCI Card/ 4018A (PCI).

    http://www.sunix.com.tw/it/en/Produc...id=303&sid=479

    I read that the Mach3 software can allow the 8 output pins on the second Parallel port to be inputs. Is there a way I can test this?

    I read here about Bi-directional ports

    http://www.beyondlogic.org/spp/parallel.htm#6

    If my port can do this, what is the best way to connect?

    I need to use all 8 pins to send signals from the CNC's pendant, eg XYZA, 0.1 0.01 etc.

    My other option is to use the serial, but don't now how the picaxe would communicate with Mach3. I need an example to help me understand if going down that road.

  4. #4
    Join Date
    Aug 2008
    Posts
    18
    in EPP and ECP mode paralell ports can communicate bidirectionally, i.e. data pins can be both inputs and outputs. But you have to make sure that the data pins are set to input before the picaxe drives its output. I do not know the PICAXE or Mach3 software (I use EMC) well enough to describe how you can do this.

    I always only use parallel ports in standard mode (output only) to ensure compatibility with old machines not supporting ECP/EPP. But then you only have five input signals available as mentioned above.

    -bjorn
    Mechatronicsman
    www.hobbymechatronics.com

Similar Threads

  1. C++, Win XP, Parallel Port
    By Zumba in forum Coding
    Replies: 7
    Last Post: 03-29-2012, 07:12 PM
  2. Parallel Port Question
    By IMSlo in forum LinuxCNC (formerly EMC2)
    Replies: 81
    Last Post: 07-19-2007, 03:31 AM
  3. Where's the parallel port?
    By cdlenterprises in forum Mastercam
    Replies: 23
    Last Post: 01-21-2007, 12:23 AM
  4. 2nd PCI Parallel Port
    By sunmix in forum Mach Software (ArtSoft software)
    Replies: 8
    Last Post: 11-22-2006, 09:17 PM
  5. Parallel Port / Relay Control Question
    By Verboten in forum Computers / Desktops / Networking
    Replies: 7
    Last Post: 12-21-2004, 11:17 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
  •