Results 1 to 4 of 4

Thread: parallel port question

  1. #1
    Registered
    Join Date
    Oct 2007
    Location
    New Zealand
    Posts
    10
    Downloads
    0
    Uploads
    0

    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
    Registered
    Join Date
    Aug 2008
    Location
    Norway
    Posts
    18
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Oct 2007
    Location
    New Zealand
    Posts
    10
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Aug 2008
    Location
    Norway
    Posts
    18
    Downloads
    0
    Uploads
    0
    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, 02:12 PM
  2. Parallel Port Question
    By IMSlo in forum LinuxCNC (formerly EMC2)
    Replies: 81
    Last Post: 07-18-2007, 10:31 PM
  3. Where's the parallel port?
    By cdlenterprises in forum Mastercam
    Replies: 23
    Last Post: 01-20-2007, 06:23 PM
  4. 2nd PCI Parallel Port
    By sunmix in forum Mach Software (ArtSoft software)
    Replies: 8
    Last Post: 11-22-2006, 03:17 PM
  5. Parallel Port / Relay Control Question
    By Verboten in forum Computers and Networking
    Replies: 7
    Last Post: 12-21-2004, 05:17 PM

Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.