586,105 active members*
3,246 visitors online*
Register for free
Login
Results 1 to 15 of 15
  1. #1
    Join Date
    Aug 2008
    Posts
    142

    Direction keeps changing

    Mach can't remember what way to go. I will get everything moving in the right direction, then run a simulation program and ref all to home but my machine moves away from home instead of coming back. I will go in and change the direction in the homing and limits page to get it to move the right way and run another simulation and rehome and it does the same thing. It switches the movement direction anytime a limit switch is tripped. Any thoughts?

  2. #2
    Join Date
    Mar 2003
    Posts
    35538
    Check the voltage on your direction pins when jogging back and forth. It should be 0V in one direction, and 5V in the other.

    You might also try increasing the dir pulse width in motor tuning. Try 5-15 and see if that makes any difference.

    But my bet is on the voltage at the pin.
    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
    Aug 2008
    Posts
    142
    Where do I find the pins that I need to check? On the output of the gecko? Thanks

  4. #4
    Join Date
    Jun 2009
    Posts
    251
    Also use shielded cable for home and limit switches, i know for sure that can cause erratic behavior of the machine.
    Regards

  5. #5
    Join Date
    Mar 2003
    Posts
    35538
    Quote Originally Posted by jjacstcy View Post
    Where do I find the pins that I need to check? On the output of the gecko? Thanks
    At the parallel port. If you're using a G540, you'll need to unplug the parallel port cable and check at the cable, or at the PC.
    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
    Aug 2008
    Posts
    142
    I need to check pin 3 5 and 7 correct?
    Thanks Gerry

  7. #7
    Join Date
    Mar 2003
    Posts
    35538
    If that's how you set it up. Make sure you jog the appropriate axis for each pin while checking.
    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
    Aug 2008
    Posts
    142
    On my x and y I have .04 one way and 3 the other way and zero volts with no movement. On my z I have .04 one way and 3 the other and 3 volts with no movement.

  9. #9
    Join Date
    Aug 2008
    Posts
    142
    Depending on which way the axis moves determines if I will have the 3 volts on the pin or not after movement. One way I will have 0, move it the other way and stop and I will have 3 volts.

  10. #10
    Join Date
    Aug 2008
    Posts
    142
    Also when it does change direction if I run another simulation the machine will move in the wrong direction and hit the limits

  11. #11
    Join Date
    Mar 2003
    Posts
    35538
    I think the G540 needs at least 3.3V to work correctly.
    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)

  12. #12
    Join Date
    Aug 2008
    Posts
    142
    Well how do I do that? I have 48 volts from my power supply and my parallel cable is putting out 5 volts. Its losing the voltage in the gecko?

  13. #13
    Join Date
    Aug 2008
    Posts
    142
    Gerry I believe it was just the home negative was set wrong. I changed it and is hasn't done it again, yet!

  14. #14
    Join Date
    Mar 2003
    Posts
    35538
    my parallel cable is putting out 5 volts.
    You said it was 3V?
    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)

  15. #15
    Join Date
    Aug 2008
    Posts
    142
    No I got confused it is 3 volts. Me stupid sometimes!

Similar Threads

  1. changing axis direction in post
    By thermgood in forum Mastercam
    Replies: 5
    Last Post: 10-06-2020, 04:27 PM
  2. Mach newbie changing axis direction and lowering encoder count
    By toadjammer in forum Mach Software (ArtSoft software)
    Replies: 2
    Last Post: 12-29-2010, 10:45 PM
  3. Changing Direction of Internal Taper
    By dlall in forum Haas Lathes
    Replies: 5
    Last Post: 12-24-2009, 08:19 PM
  4. Help Please:- Stepper Not Changing Direction
    By audioandy1762 in forum CNC Machine Related Electronics
    Replies: 1
    Last Post: 11-07-2007, 11:15 PM
  5. motor changing direction by iteself using picstep
    By oliverthepig in forum CNC Machine Related Electronics
    Replies: 1
    Last Post: 04-30-2007, 10:11 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
  •