585,557 active members*
3,386 visitors online*
Register for free
Login
IndustryArena Forum > OpenSource CNC Design Center > Arduino > GRBL alarm 8 after the first hit on X limit switch
Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2015
    Posts
    43

    GRBL alarm 8 after the first hit on X limit switch

    Hi yall!

    I have tried for hours to solve this nut scratcher:

    When homing Z does fine. X gets alarm 8 (failure to clear the endstop) after the first, faster search. I have them set normally closed, and $5=1.

    Otherwise Z and X switches are supposed to be similar, but the homing direction is inverted for X (and Y, at the moment - will change their switches to max positions) thus $23=1.

    I measured the resistance of both Z and X switches and their wiring from the RPI CNC board's endstop connectors - everything looks to be fine and similar for both: Normally the pins are grounded, 5V between gnd and endstop connector's pin when triggered.

    I have no idea what might be the solution - maybe I have a dorky mistake that I just don't get by myself. Noise it most probably is not, because I have shielded cables (grounded in the PSU end) and the alarm always comes when the pull of movement is done. I tried a longer pull off (2cm off of the switch), same result.

    Would pull down resistors solve this? Doesn't the RPI CNC board have pull up resistors? Can I add pull downs on top of the existing pull ups?

    So weird that the Z works perfectly at the same time.

    I do have A and Z limit switches connected in series because I have enabled the auto squaring homing, but I am still far from getting to wrestle with Y and A homing

    Any advise appreciated!

  2. #2
    Join Date
    Mar 2015
    Posts
    409

    Re: GRBL alarm 8 after the first hit on X limit switch

    failure to clear the endstop
    This means that after retracting, the limit switch is still active.
    Increase the retract distance (pull off distance) ($27 on grbl)

  3. #3
    Join Date
    Sep 2015
    Posts
    43
    Quote Originally Posted by hfjbuis View Post
    This means that after retracting, the limit switch is still active.
    Increase the retract distance (pull off distance) ($27 on grbl)
    Pls read before answering. I put 20mm already, and I know what it means. What is a mystery is how to fix it.

  4. #4
    Join Date
    Oct 2014
    Posts
    3

    Re: GRBL alarm 8 after the first hit on X limit switch

    I know this is a 6 years old thread, but it describes exactly what is happening to my cnc today. Did you ever found the mistery?
    Thank you very much,

  5. #5
    Join Date
    Oct 2014
    Posts
    3

    Re: GRBL alarm 8 after the first hit on X limit switch

    I just noticed that the post is not that old, 2015 was the joining date of PropellerHat. Getting old, need better glasses :-D

  6. #6
    Join Date
    Oct 2014
    Posts
    3

    Re: GRBL alarm 8 after the first hit on X limit switch

    Problem fixed:
    Just in case somebody goes through the same issue, the solution in my case was to replace wiring of the X-limit switch with a shielded cable.
    Regards

Similar Threads

  1. 2030 limit switch alarm
    By jschmid in forum Fanuc
    Replies: 3
    Last Post: 12-10-2022, 04:31 AM
  2. Limit switch setup, grbl/candle.
    By ca280 in forum G-Code Programing
    Replies: 6
    Last Post: 10-30-2019, 08:21 AM
  3. Z limit switch alarm
    By guydrisc in forum Okuma
    Replies: 2
    Last Post: 01-22-2012, 06:29 AM
  4. X Limit switch '92 VF-0 103 Alarm
    By lkenney in forum Haas Mills
    Replies: 14
    Last Post: 07-05-2010, 04:57 PM
  5. TM-1 Y axis limit switch alarm
    By jwknow in forum Haas Mills
    Replies: 2
    Last Post: 10-26-2007, 09:53 PM

Tags for this Thread

Posting Permissions

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