586,103 active members*
3,855 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Mach Software (ArtSoft software) > Mach Mill > How far before the end of travel should I trigger the limit switch
Results 1 to 8 of 8
  1. #1
    Join Date
    May 2012
    Posts
    12

    How far before the end of travel should I trigger the limit switch

    Not sure if this question is in the correct forum, sorry if I have it in the wrong place.

    I've read that stepper motors coast a bit before stopping.
    My question is how far before the end of travel should I trigger the limit switch to allow room for any motor coasting.

    I'm figure if I set the soft limits in Mach3 then the motors will be running slow enough before the limit switch trigger resulting in minimal coast.

    How much room is everybody allowing? I was figuring that .100 should be enough. any inmput would be appreciated.

  2. #2
    Join Date
    Dec 2003
    Posts
    24221
    Quote Originally Posted by bkp08817 View Post
    I've read that stepper motors coast a bit before stopping.
    My question is how far before the end of travel should I trigger the limit switch to allow room for any motor coasting.
    The stopping or overrun for steppers should be far less than for servo's, steppers posses residual torque, torque that exists when the power is removed.
    Any overrun will depends on the inertia of the machine at the rapid rate of travel, for that particular axis.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  3. #3
    Join Date
    Jun 2007
    Posts
    3757
    The limits switches can be fairly close to the mechanical limits as long as you ALWAYS have soft limits turned on and reference the machine before use.
    The deceleration time for the steppers is in you motor tuning.
    Steppers don't coast, but need to decelerated in a controlled manner, which Mach3 does once set up correctly.
    During normal operation, after referencing the machine, you never will hit the limits, if soft limits are enable.
    Hitting limits instantly stops the stepper motor and if running above a critical speed will overshoot steps during the abrupt stop that occurs.
    As for the .100, the value used depends on how well the machine is setup, and the performance of the steppers.
    I think .100 is very small, and many stepper/controller combinations, at speed can require much more than .100
    A rubber donut on the leadscrew can make a compact bumper, at the expense of losing a little travel.
    If using high powered motors this is good insurance against damage.
    I have seen older machines with a coil spring that gives a controlled energy absorption during a limit stop crash.
    The spring idea I have seen on Pratt and Whitney stepper driven mills - circa 1970's
    My powerful machine will use donuts. 6000mm/min with 25mm screws can do damage.
    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.

  4. #4
    Join Date
    Mar 2003
    Posts
    35538
    If you have Softlimits on, then you should never hit the switches.
    The limit switches should be considered a safety device in case the Softlimits don't work, and the switches are hit at full speed. The amount of space you need would depend on how fast the machine is and how heavy it is.
    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)

  5. #5
    Join Date
    Jun 2007
    Posts
    3757
    The hardest part of using soft limits, I have found, is the discipline of ALWAYS turning them back on if they are turned of manually for some temporary reason, like sneaking a little extra travel at the end of the axis, and using the safety margin,
    needing to jog off a homing switch that is not at the end of travel is also something that can occur.
    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.

  6. #6
    Join Date
    Dec 2003
    Posts
    24221
    It also depends on whether the O.T. limits are soft limits (S/W detected) or hardwired into drive enable or e-stop? which is usually the case when servo's are used, steppers not so important.
    Strictly speaking the control should no longer be responsible for control once the limits are hit.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  7. #7
    Join Date
    Jan 2005
    Posts
    1943
    Just thinking out loud, if you have adjustability in the limit stops you could set them up a far distance off. Then set up a long travle dial indicator and zero it right where the switch activates. Then rapid the machine down (with soft limits turned off) and use the indicator to see how far past the trip location the machine goes. Add a little bit for a safety factor and I would think it would be good.

  8. #8
    Join Date
    Feb 2007
    Posts
    505

    Smile

    Quote Originally Posted by bkp08817 View Post
    Not sure if this question is in the correct forum, sorry if I have it in the wrong place.

    I've read that stepper motors coast a bit before stopping.
    My question is how far before the end of travel should I trigger the limit switch to allow room for any motor coasting.

    I'm figure if I set the soft limits in Mach3 then the motors will be running slow enough before the limit switch trigger resulting in minimal coast.

    How much room is everybody allowing? I was figuring that .100 should be enough. any inmput would be appreciated.
    That figure seem right,but I ve installed my hard wire estop right after the limits on all axis. That way if i jog accidentally in my limits switch and reset and accidentally again jog the wrong way pass the limits it will estop before hitting the end of travel.It happened more than one might think.
    So in my case .1 inch after my estop (second microswitch)

Similar Threads

  1. Override travel to get off limit switch...
    By logger in forum Cincinnati CNC
    Replies: 2
    Last Post: 03-01-2012, 05:39 PM
  2. homing limit switch travel
    By tomcorden in forum Mach Mill
    Replies: 1
    Last Post: 12-24-2011, 12:46 AM
  3. syil xp5 trigger limit switch
    By Vik in forum Syil Products
    Replies: 3
    Last Post: 10-29-2010, 07:05 AM
  4. Limit swtich false trigger
    By HakBot in forum Benchtop Machines
    Replies: 18
    Last Post: 10-04-2008, 07:01 AM
  5. 4th axis trigger off coolent switch?
    By D.D.Machine in forum Uncategorised MetalWorking Machines
    Replies: 2
    Last Post: 10-10-2005, 09:04 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
  •