Welcome to Our Community

Some features disabled for guests. Register Today.

Homing not stopping at limit switch

Discussion in 'Control Software' started by Stephen Charles Lynn, Sep 26, 2023.

  1. Stephen Charles Lynn

    Builder

    Joined:
    Aug 3, 2023
    Messages:
    78
    Likes Received:
    2
    I am having trouble with the Homing cycle. Z axis first to home goes to the end stop without triggering the proximity switch. No alarm shown on the screen. The manual inputs and end stops all green. I am unable to trigger anything manually in the software. If I place a screwdriver in front of the switches they all trigger the Alarm. I am not sure what I have missed. Everything appears to be good it just doesn't home. I have been reading the GBRL definitions, could it be $23 which is set at 3. I tried setting it at 2 which my axis direction represent. but nothing changes. I am new to this so please be patient with me.
    I have also gone through the Open-builds Control software. On the Troubleshooting Tab the screen to the right details the firmware status. Mine displays communication. How do i access the other menu
     
  2. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,430
    Likes Received:
    1,907
    in CONTROL use the Troubleshooting tab to make sure that the limit switches trigger, AND that they trigger the correct axis for each switch
    ie Z switch must show as Z in the troubelshooter, same with X and Y

    proximity switches sense metal, is a metal part moving close to the switch to be sensed?

    for directions
    1 - make sure the tool jogs in the correct directions, Z+ is up, X+ is right, Y+ is away
    2 - set the homing invert to make it home toward the switches. default is for the switch to be at + ends of travel, so that would be 'no invert'.
    Z limit must always be at top of travel, X and Y can be the other end if you really want to.
     
  3. Stephen Charles Lynn

    Builder

    Joined:
    Aug 3, 2023
    Messages:
    78
    Likes Received:
    2
    That's one of the problems I have In the troubleshooting Tab I click with the mouse on the switches but nothing happens they just stay Green. I have checked directions everything seems to be fine The switches work if I place a screwdriver blade in front of them.
     
  4. Stephen Charles Lynn

    Builder

    Joined:
    Aug 3, 2023
    Messages:
    78
    Likes Received:
    2
    I have just tried the buttons in troubleshooting the buttons show they have been clicked by the mouse but nothing happens.
    On the Home Invert I options for X,Y and Z showing Min or Max X and Y are set at Min Z is set at Max
     
  5. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,870
    Likes Received:
    4,283
    Did you remember to load a machine profile (Grbl Settings tab > Select machine from the list)

    The profiles sets key things like ReportMasks etc that enables Troubleshooting to work (amongst others)
     
  6. Stephen Charles Lynn

    Builder

    Joined:
    Aug 3, 2023
    Messages:
    78
    Likes Received:
    2
    The limit switches are located looking at the front of the machine Left rear X Left rear Y.
    Going towards the limit switches X moves positive ie DRO numbers increase, Y moves negative DRO numbers decrease Z DRO numbers increase
     
  7. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,870
    Likes Received:
    4,283
    I am referring to the Report Mask ($10=511), and things like Hard Limits, Pin Inversions etc. Post a Grbl Settings backup - we'll be able to see if you skipped the step if you can't remember
     
  8. Stephen Charles Lynn

    Builder

    Joined:
    Aug 3, 2023
    Messages:
    78
    Likes Received:
    2
    Current configuration attached
     

    Attached Files:

  9. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,870
    Likes Received:
    4,283
    $10=511 ; Status report options, mask
    Report mask is correct, so Troubleshooting tab should reflect status of switches while testing

    $21=1 ; Hard limits enable, boolean
    Disable Hard limits just for a moment, lets get Homing working first. It might Alarm before you see the testing in Troubleshooting

    $5=0 ; Invert limit pins, boolean/mask
    $6=1 ; Invert probe pin, boolean
    That's a little non-standard, our Switches on our BlackBox needs $5=7, yours is set for NC switches - are you wired NC? If you have 3rd party switches and non standard wiring, thats the next thing to check then (pics of wiring) - or go standard and use our Switches

    $23=3 ; Homing direction invert, mask
    That says X Homing switch is on X Axis Minimum,Y Homing switch is on Y Axis Minimum and Z Homing switch is on Z Axis MAXIMUM (As it should be, you want to home Up and away from the stock for Z. XY doesn't really matter, whatever is convenient)
     
  10. Stephen Charles Lynn

    Builder

    Joined:
    Aug 3, 2023
    Messages:
    78
    Likes Received:
    2
    This is the switch I am using I followed the pinout info ton the blackbox black is trigger right side of the connector brown centre pin and blue gnd right hand pin. I can trigger a response using a metal blade but i have tried placing a knife blade on the Zaxis in close proximity of the switch pressing HOME the limit is ignored even if its triggered
     

    Attached Files:

  11. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,870
    Likes Received:
    4,283
    That's an NPN switch, so still needs $5=7
     
  12. JustinTime

    JustinTime Veteran
    Builder

    Joined:
    Dec 18, 2013
    Messages:
    778
    Likes Received:
    256
    It's a NO proximity switch.
     
  13. Stephen Charles Lynn

    Builder

    Joined:
    Aug 3, 2023
    Messages:
    78
    Likes Received:
    2
    Thanks I will try that
     
  14. Stephen Charles Lynn

    Builder

    Joined:
    Aug 3, 2023
    Messages:
    78
    Likes Received:
    2
    $5=7 fixed that now i get an alarm 8 telling me to alter pull-up distance but whatever value i use seems to make no difference.
    Setting was 5 increased 10,15,20,30 Alters Z but still alarm 8. How high should i go?
     
  15. Stephen Charles Lynn

    Builder

    Joined:
    Aug 3, 2023
    Messages:
    78
    Likes Received:
    2
    $5=7 didn't fix it. It just showed all switches triggered. The pull up amount entered ie, 10,20,30 just raised the Z axis by that amount
     
  16. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,870
    Likes Received:
    4,283
     
  17. Stephen Charles Lynn

    Builder

    Joined:
    Aug 3, 2023
    Messages:
    78
    Likes Received:
    2
    I will check my wiring tomorrow and document the set-up and forward it to you
     
  18. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,870
    Likes Received:
    4,283
    And as its inductives, did you remember to change the Limits-V+ jumper as recommended in our docs?
     
  19. Stephen Charles Lynn

    Builder

    Joined:
    Aug 3, 2023
    Messages:
    78
    Likes Received:
    2
    Yes I changed to provide 24volts. I am going to methodically go through it today and try and find why its not working
     
  20. Stephen Charles Lynn

    Builder

    Joined:
    Aug 3, 2023
    Messages:
    78
    Likes Received:
    2
    I Have solved the problem with the Z axis not homing the design of the head prevented the switch triggering moving the switch solved the problem. No i have an issue with the X axis. Using jog mode it works ok. When its homing after Z the motor runs really rough not smooth like running in jog mode. I am not sure what to do to overcome this?
     

    Attached Files:

  21. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,870
    Likes Received:
    4,283
  22. Stephen Charles Lynn

    Builder

    Joined:
    Aug 3, 2023
    Messages:
    78
    Likes Received:
    2
    I will try that a bit later jus awaiting a delivery
     
  23. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,430
    Likes Received:
    1,907
    you dont click them, they change color when the state of the switch changes, sowhen you put metal at the sensor the color changes on the screen.

    work as in the indicator on the troubleshooting screen changes color or the indicator on the switch itself changes color?
    you need BOTH to work, AND you need the X switch to show as X on the screenm, and Y as Y and Z as Z
     
  24. Stephen Charles Lynn

    Builder

    Joined:
    Aug 3, 2023
    Messages:
    78
    Likes Received:
    2
    Hi,
    Finally sorted homing cycle in Z and X the problem was the limit switch wouldn't trigger. Both switches were poorly positioned so as not to trigger. Made some brackets and re-positioned the switches. Z and X work as designed. problem now Y axis will not Home it just doesn't move after X has Homed supposedly X and Y should move together but nothing happens . No indication as to why. No errors appear on the serial console everything says ok. Checked Wiring with multi meter and plugs all appear good. Any ideas would welcome
     

    Attached Files:

  25. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,769
    Likes Received:
    1,357
    Are you sure that the Y switch isn't showing triggered at the start of the homing cycle?

    Alex.
     
  26. Stephen Charles Lynn

    Builder

    Joined:
    Aug 3, 2023
    Messages:
    78
    Likes Received:
    2
    Checked that everything says green for go. I can jog the Y but it doesn't move when i Home
     
  27. Stephen Charles Lynn

    Builder

    Joined:
    Aug 3, 2023
    Messages:
    78
    Likes Received:
    2
    I have solved the issue I slowed the Axis down when I was having trouble with the limit switches. this was what caused the problem. Returning the values to their default settings overcame the issue. Sorry to have troubled you
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice