. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    So, I'm trying to decide exactly where to put the limit switches exactly, however it seems to me that there's quite a few variable involved. The big unknown is how quickly the gantry/carriage (gantry will be about 22Kg all in, carriage 7Kg less) will slow down, and does the controller (UC400ETH) actively brake the steppers or just shut them off. Obviously I don't want to lose cutting area by setting the limits too conservatively, but neither do I want to risk breaking stuff Anyone got any ideas please?

  2. #2
    Neale's Avatar
    Lives in Plymouth, United Kingdom. Last Activity: 3 Hours Ago Has been a member for 9-10 years. Has a total post count of 1,729. Received thanks 295 times, giving thanks to others 11 times.
    It's a good question, but in practice I don't think that you need to worry too much. I'm using Mach3 and the CSMIO/IP-M motion controller, but I'm assuming that the UC300 is similar in its functionality. I home at 40% of rapid speed (Mach3 configuration parameter); I believe that Mach3 respects the acceleration parameters you have specified for each axis so that it will never try to slow the axis faster than the steppers can handle - assuming that you have set appropriate acceleration/deceleration parameters, anyway! So, the motion controller does not need to brake the steppers as such, it just reduces the pulse rate sent to the stepper as it would for any change of speed. One very useful trick that is not obvious is to arrange the proximity switches (if that's what you are using) so that the trigger passes by it, not heads straight for it. This means that if the axis does overrun for any reason, it doesn't smash the switch! You might think that this will give less accurate trigger points but that doesn't seem to be the case in practice. You probably only need a few millimetres between the limit/home switch position and the physical end of travel, to only for the slight overrun as the first phase of homing completes. Again, I assume that the UC300 is similar, but the Mach3/CSMIO homing process involves driving the axis towards the home switch until it triggers. There will be a little overrun as the axis is decelerated. The axis is then stopped and reversed more slowly until the switch triggers again. The second trigger point is where the home position is registered.

    Oh, and my gantry weighs around 40Kg and I have absolutely no problems.
    Last edited by Neale; 29-01-2019 at 10:46 PM.

  3. #3
    Quote Originally Posted by Neale View Post
    One very useful trick that is not obvious is to arrange the proximity switches (if that's what you are using) so that the trigger passes by it, not heads straight for it. This means that if the axis does overrun for any reason, it doesn't smash the switch!
    Yerss - My MD machine was designed with axial approach to the homing switch. It is too easy to jog onto it and crush the coil. It was an expensive mistake buying a replacement switch from MD as they charged £17 for the replacement (£2 on AliExpress).

    The inductive switches such as the LJ12A-4-Z/BX trigger OK on the aluminium of the gantry, but, although they give a supply voltage range of 6 - 36V they need 12v min to operate reliably.

    The -4- is the trigger distance
    Last edited by cropwell; 30-01-2019 at 04:06 AM.

  4. #4
    Neale's Avatar
    Lives in Plymouth, United Kingdom. Last Activity: 3 Hours Ago Has been a member for 9-10 years. Has a total post count of 1,729. Received thanks 295 times, giving thanks to others 11 times.
    I agree with comments about voltage - when I was setting up my machine I tested the proximity switches on a variable-voltage power supply and they were getting a bit flaky once down to about 9V. 12V gives solid performance. I run mine on 24V, partly to allow for any voltage drops where I have a pair wired in series (where an axis has + and - limits, I pair these together to share an input). In testing, I wired 4 in series, just to see what happened, and that worked OK as well. Not surprising if you look at how they work, but it's comforting to know that it's also true in practice as well as in theory!

  5. #5
    If you haven’t built a machine before it’s easy to assume that the steppers are like regular motors and will spin on and coast down to a stop allowing the axis to sail on a bit. But as Neale says they only move if they get a series of step pulse signals. If the pulses stop then the motor pretty much stops dead and (someone jump in here!) is held in position by the coils being energised in one place. In fact Estops make a bit of a mild bump/bang as the stop is so quick so you only do it when called for. I’d be surprised if they overshoot more than an 1/8 of a turn and probably less.
    The estop is so fast that under normal conditions it is kinder to the machine to use a software accel/decel ramp. What looks like a soft ramp up to speed and soft ramp down to a stop is actually the motor following the ramp parameters you asked for in the setup, not an uncontrolled overrun In MACH3 this is easy to do and other software no doubt has this as it is required for nice machine control.
    So to cover all bases (homing and fast jog) maybe allow 10mm between home and limit. Make the home adjustable and you can claw some travel back once built and tuned.
    Building a CNC machine to make a better one since 2010 . . .
    MK1 (1st photo), MK2, MK3, MK4

  6. #6
    I always thought that the drivers went to half current hold when not actually stepping (if that feature selected). Maybe half current only comes in after a time delay allowing the motor to overcome any overrun due to rotational momentum? Anybody know?

  7. #7
    Learn from my mistakes. You will most likely at one point accidentally go further than your limit switches. My CNC crushed them on the very first test because of a dodgy endstop cable. My next CNC will use induction switches that won’t get crushed.

  8. #8
    Yes, they work just as well detecting side-on as face-on. Mounting them side-on allows the moving metal part to slide past the face of the sensor and if it overshoots it will go past and hit the physical end stop, and the sensor is saved. You still have to work out what went wrong, but the sensor is saved.
    Building a CNC machine to make a better one since 2010 . . .
    MK1 (1st photo), MK2, MK3, MK4

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. What Limit Switches?
    By Chaz in forum General Electronics
    Replies: 26
    Last Post: 14-12-2016, 10:50 AM
  2. EMC2 home/limit switches... only acting as limit?
    By vputz in forum LinuxCNC (EMC)
    Replies: 4
    Last Post: 15-10-2014, 09:51 AM
  3. Limit Switches
    By Leadhead in forum General Electronics
    Replies: 1
    Last Post: 16-10-2013, 10:41 AM
  4. Limit Switches with LED's
    By manofgresley in forum General Electronics
    Replies: 30
    Last Post: 02-01-2013, 03:08 PM
  5. Limit Switches
    By Lee Roberts in forum General Electronics
    Replies: 13
    Last Post: 27-06-2008, 02:21 AM

Bookmarks

Posting Permissions

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