586,043 active members*
3,726 visitors online*
Register for free
Login
Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2005
    Posts
    866

    Where am I going wrong with ports and pins setup?

    I am at the point in my mill conversion that I need step and direction pulses tomake finish it off. And so, I load Mach 3 and go into the ports & pins setup. Step pin is 2, direction 3. Before I attach motors, I just thought I would put a voltmeter between step and ground and direction and ground, just to make sure all is functioning. I tried it with a bare bone's breakout board, 0 volts everytime I tested. I was holding down the mouse button to jog. I tried it with a CNC4PC board that replaces the 3.3v pulses with 5v pulses, same result.

    I tried it with KCAM after that, thinking maybe it's some of my hardware. Well I got 3.31volts with the bare bones breakout board. And the CNC4PC functioned well, it rectified all to the full 5v. With both programs I am trying to jog in the X axis (not hooked up yet).

    Can anybody think of some possible causes of this?

  2. #2
    Join Date
    Oct 2004
    Posts
    727

    Exclamation Check your 'Port Setup' Configuration in Mach3

    Make sure that the port you are trying to control is enabled and set to the correct address in Mach3 under 'Config -> Ports & Pins'. Most parallel ports use either 0x378 or 0x278 as the assigned address. If you are using an I/O card the address may be something else entirely. My I/O card, for example, was assigned and is using address 0x1020. Verify the address of your parallel port using Windows Device Manager -> Ports (COM & LPT) -> 'Your parallel ports Properties' -> Resources Tab.

    See screen captures below...
    Attached Thumbnails Attached Thumbnails LPT1 Address Example - Std.png   LPT1  Address Example I-O Card.png   Mach3 Ports & Pins Config.png  
    HayTay

    Don't be the one that stands in the way of your success!

  3. #3
    Join Date
    Mar 2003
    Posts
    35538
    Also make sure each pin is NOT set to port 0, which is the default i think.

    And if you measure 0V on the direction pin while jogging, jog in the other direction. One direction should be 0V, the other direction 5V.
    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)

  4. #4
    Join Date
    Jun 2005
    Posts
    866
    I've taken a screenshot of my working KCAM configuration, and the non working Mach setup. Here it is:


  5. #5
    Join Date
    Mar 2003
    Posts
    35538
    Your step and direction port settings are wrong (the last 2 columns). They should all be set to port 1, You have the port number matching the pin number. You only have one port, port #1
    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)

  6. #6
    Join Date
    Jun 2005
    Posts
    866
    oooh, I see! It's port, not pin. Heh. So I should change all values on the last two columns to port 1 and it should be all set to go? Thanks

  7. #7
    Join Date
    Mar 2003
    Posts
    35538
    As long as port 1 is the one you're using.
    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)

  8. #8
    Join Date
    Jun 2005
    Posts
    866
    wow, that was easy. I just tested it with my voltmeter, all functioned properly. Tomorrow I will at last have three functioning axes! Thankyou again

  9. #9
    Join Date
    Oct 2004
    Posts
    727
    Right ON!!! I'm glad you got it going.

    Mystery solved, good job ger21 and phantomcow2. A picture is definitely worth a bunch of posts.
    HayTay

    Don't be the one that stands in the way of your success!

Similar Threads

  1. SPC Ports What are your Use?
    By SMW Precision in forum Calibration / Measurement
    Replies: 1
    Last Post: 07-31-2006, 09:46 PM
  2. ports and pins
    By planescott in forum Stepper Motors / Drives
    Replies: 5
    Last Post: 03-25-2006, 06:57 AM
  3. Parallel ports
    By itsme in forum Computers / Desktops / Networking
    Replies: 8
    Last Post: 10-01-2005, 02:20 AM
  4. 3.3 V vs. 5 V TTL on parallel ports
    By HansM in forum DNC Problems and Solutions
    Replies: 4
    Last Post: 07-28-2005, 08:28 PM
  5. Pins setup for gecko G 201
    By engraver in forum Mach Software (ArtSoft software)
    Replies: 7
    Last Post: 07-23-2003, 07:17 AM

Posting Permissions

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