Welcome to Our Community

Some features disabled for guests. Register Today.

homing issue

Discussion in 'General Talk' started by gilltee, Feb 7, 2021.

  1. gilltee

    gilltee New
    Builder

    Joined:
    Nov 19, 2020
    Messages:
    8
    Likes Received:
    2
    i've searched the threads and have done everything I can, check wiring, wheels, changed out limit switches I'm thinking it has to be something in my settings.

    When homing my lead 1010 Z axis moves, hits the switch and debounces then Y starts moving hits the switch but just stays stuck there.

    I have attached my settings file, I have toggled Limit switches installed on and off also toggling hard limits on and off. can someone please help

    Edit: btw I am using standard run of the mill limit switches in an NO wired configuration, my wiring at the switch is Com/Black NO/White then at the blackbox GND/Black Sig/White not that that should make any difference right?
     

    Attached Files:

    #1 gilltee, Feb 7, 2021
    Last edited: Feb 7, 2021
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,877
    Likes Received:
    4,285
    Please make a video showing what happens?
    When it gets "stuck" does the motor for that axis stop, or does it keep ramming into the switch. If it stops, it may be crossed wiring between X and Y (make sure you know which axis is which, and that the correct port is used to plug in that axis's switch)
    Any alarms onscreen?
     
  3. gilltee

    gilltee New
    Builder

    Joined:
    Nov 19, 2020
    Messages:
    8
    Likes Received:
    2

    Hi Peter,

    Thanks for your prompt reply mate. I have attached a short video of my issue in action. Imwuite certain i dont have the axis' mixed up as they trigger all correctly as you see inthe video.

    When i first encountered this issue the motor actually kept ramming until i hit abort but somehow that issue has gone or I've changed a setting I cant remember!
     

    Attached Files:

    Peter Van Der Walt likes this.
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,877
    Likes Received:
    4,285
    Thanks!

    Confirmed the wiring of the switches is correct.

    Right so at the point where the Y limit is hit, its correct, Y should stop moving first.
    But at that time X should still be moving - it should first contact BOTH the X and Y switches fast (called Homing Seek) - only once both are found, it should back out of the switch and come back in slowly for the final accurate homing operation (called Homing Feed - see gnea/grbl )

    So on yours, When it hits Y, what does X do? (Y looks fine, X is current suspect)

    When you hit Abort the error that comes up is "Homing fail. Reset during active homing cycle." - which Means Grbl hasn't given up - it was still trying to move the X axis toward the X Switch - so was it still moving at that time? If not, lets see why not. If you didn't abort it would have eventually alarmed with "Homing fail. Could not find limit switch within search distance. Defined as 1.5 * max_travel on search and 5 * pulloff on locate phases." if the X axis was not moving toward the switch

    Summarised:
    - When you kickoff homing, after Z, both X and Y should start moving
    - Whichever is nearest the switch hits it first, and waits for the other to catch up.
    - Once both has his the switches the first time, they then back off and then does the rehome step.

    Are you sure the X axis jogs the X motor?

    Flashed any custom Grbl builds that may have custom homing sequences?
    Default homing sequence I described above is defined in stock Grbl config: gnea/grbl
     
    #4 Peter Van Der Walt, Feb 8, 2021
    Last edited: Feb 8, 2021
  5. gilltee

    gilltee New
    Builder

    Joined:
    Nov 19, 2020
    Messages:
    8
    Likes Received:
    2
    So on yours, When it hits Y, what does X do? (Y looks fine, X is current suspect)So

    When you hit Abort the error that comes up is "Homing fail. Reset during active homing cycle." - which Means Grbl hasn't given up - it was still trying to move the X axis toward the X Switch - so was it still moving at that time? If not, lets see why not. If you didn't abort it would have eventually alarmed with "Homing fail. Could not find limit switch within search distance. Defined as 1.5 * max_travel on search and 5 * pulloff on locate phases." if the X axis was not moving toward the switch

    So as soon as the Y switch gets switched, X does nothing. Shouldn't Y do the same thing as Z where it hits the switch and then backs off it a little? If so Y isn't doing that. Yes you're right mate after a few minutes the alarm state is triggered


    Summarised:
    - When you kickoff homing, after Z, both X and Y should start moving If both X and Y are meant to start moving as soon as Z is triggered then thats not the case here. Only Y Starts moving as you can see in my video.
    - Whichever is nearest the switch hits it first, and waits for the other to catch up.
    - Once both has his the switches the first time, they then back off and then does the rehome step.

    Are you sure the X axis jogs the X motor? I'm 100% sure X axis jogs the X motor, as this is why im scratching my head. I am able to manually move my spindle around my entire CNC bed and when the switches are triggered faults will come up as they should

    Flashed any custom Grbl builds that may have custom homing sequences? I havent flashed anything myself, however since you've mentioned that. My brainboard was swapped over at makerstore.com.au due to it being DOA. I am unsure what the process is with the brainboards at the suppliers end whether they come preflashed with stock firmware or whatever else.. you may know more about this than I do :)
    Default homing sequence I described above is defined in stock Grbl andonfig: gnea/grbl[/QUOTE]
     
  6. gilltee

    gilltee New
    Builder

    Joined:
    Nov 19, 2020
    Messages:
    8
    Likes Received:
    2
    [17:05:26] [ $I ] [VER:1.1g.20181112:LEADMACHINE1010]
    [17:05:26] [ $I ] [OPT:V,15,128]
    [17:05:27] [ connect ] Firmware Detected: grbl version 1.1g on COM4

    that is the firmware that I'm currently running. I did speak to the mob which whom I purchased the blackbox from they said that there wasn't any funky custom firmware revisions flashed onto this new brainboard that had been swapped in.

    I am really stumped for solutions, have had spent a week now sifting through these forums and online for a fix for my problem. Today just for shits and giggles I went over all my wiring just to quad dripple check that I haven't wired anything incorrectly. This is my first CNC and even though I am new to all this I am a qualified electrician. Electricians can overlook their wiring of course! But I am quite confident I have wired everything correctly. I have even gone to lengths today as to seperate the limit switch wiring so it is physically located as far from power cables as possible to avoid any induction that may arise from them and snapped on some ferrite cores onto them just to eliminate that from the equation. (I didn't think that could be the issue as the switch for Z was actually ran in the same drag chain as the power cables and that worked the way it's suppose to as evident in my video)

    Really hope you have something else for me to try :([/QUOTE]
     
  7. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,877
    Likes Received:
    4,285
    But prior to it hitting the Y switch, is X moving?
    It really should. After the failed home, can you jog X? (Driver not in protection mode?)
     
  8. gilltee

    gilltee New
    Builder

    Joined:
    Nov 19, 2020
    Messages:
    8
    Likes Received:
    2
    in the homing sequence, prior to it hitting Y, X is not moving

    so after it hits the Y, can I jog X without removing the alarm? if thats what you're asking no I cannot

    once i remove the alarm then yes I can move X fine
     
    #8 gilltee, Feb 9, 2021
    Last edited: Feb 9, 2021
  9. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,877
    Likes Received:
    4,285
    Yes once alarm is cleared. Super weird.

    Try
    1) reset EEPROM ($RST=*) there is a button on the Grbl settings tab
    2) Reflash grbl from Wizards and Tools > Firmware Flashing tool
    3) reconfigure parameters - dont load a backup in case something is off, set it up from scratch please.

    You are using an OpenBuilds BlackBox right?
     
    #9 Peter Van Der Walt, Feb 9, 2021
    Last edited: Feb 9, 2021
  10. gilltee

    gilltee New
    Builder

    Joined:
    Nov 19, 2020
    Messages:
    8
    Likes Received:
    2
    I have followed your instructions above, reconfigured all the parameters manually again and not from a backup.

    hate to say this but am experiencing the same issue :(

    yes mate, I am using an OpenBuilds Blackbox.
     
  11. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,877
    Likes Received:
    4,285
  12. gilltee

    gilltee New
    Builder

    Joined:
    Nov 19, 2020
    Messages:
    8
    Likes Received:
    2
    I'll give it a go. Thanks very much for your assistance mate
     
    Peter Van Der Walt likes this.
  13. gilltee

    gilltee New
    Builder

    Joined:
    Nov 19, 2020
    Messages:
    8
    Likes Received:
    2
    hey mate one more thing. Have you got a picture of what the brainsboard is meant to look like? more specifically where the jumpers on the brainsboard should be located on all the jumper pins.
     
  14. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,877
    Likes Received:
    4,285
    See docs.openbuilds.com/blackbox
     

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