Welcome to Our Community

Some features disabled for guests. Register Today.

Homing switch pull off multi axis setting?

Discussion in 'Controller Boards' started by Matt McG, Oct 18, 2023.

  1. Matt McG

    Matt McG New
    Builder

    Joined:
    Sep 28, 2023
    Messages:
    50
    Likes Received:
    3
    I’m wanting to use the homing pull off setting to set my machine at (X0, Y0) on my workspace. Currently I would need to pull off 3mm for X and 5mm for Y.

    It doesn’t appear there is a way to do this with the default $27 command. Is there a way to manipulate the config file or another setting that would allow me to do this?

    I know I could either move my homing switches (which would be rather difficult) or set a 0,0 work coordinate but would rather have the home command accomplish this in hopes of reducing the amount of processes I have to remember at the start of a project. I should probably mention that part of my reasoning is that I have a clearly marked grid system on my spoil board that I rely on for WCS.

    Thanks in advance for any comments or feedback!
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,261
    Likes Received:
    4,356
    Home (Machine Coordinates) and Zero (Word Coordinates) are two different layers.

    1) Home
    2) Jog to where you want 0,0,0
    3) Hit SETZERO
    Done

    Jog around and stop somewhere random. Power off the machine
    Come back next day
    1) Home (re-establishes all stored locations, and aligns real machine position with theoretical)
    2) Click GOTOZERO and see how it goes right back to where you last set zero.
     
    Matt McG likes this.
  3. Matt McG

    Matt McG New
    Builder

    Joined:
    Sep 28, 2023
    Messages:
    50
    Likes Received:
    3
    That is what I do currently, was hoping to eliminate hitting the gotozero button as it never changes in relation to “home” position. Is there not a way to adjust each axis home switch pull off independently?

    I’m fine accomplishing this as you suggested, just figured I’d ask if this is even possible.
     
  4. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,801
    Likes Received:
    1,380
    It's only one click :). How you do things is up to you of course, but I wouldn't set workplace zero that close to home anyway - some tool paths (eg surfacing toolpath in Fusion) go outside the dimensions of the workpiece and there's a high risk of hitting a limit switch.

    Alex.
     
    Matt McG likes this.
  5. Matt McG

    Matt McG New
    Builder

    Joined:
    Sep 28, 2023
    Messages:
    50
    Likes Received:
    3
    Just to clarify, I don’t want workplace zero to be near home, rather where I set it for each work piece. I’m wanting to set the machine coordinate “0” near home so that it aligns with my spoil board grid. This would allow me to, let’s say, command a move to 150x,y and it actually move to 150x,y, and not 150x,y - (-3x,-5y) from the pull off location.

    Hopefully this makes more sense, if not oh well, I’ll just keep doing things as is.

    Still wondering if each axis pull off distance can be set independently, any ideas there?
     
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,261
    Likes Received:
    4,356
    Pull of doesn't change the position of Mpos:0. Pull off just "pulls off the switch to avoid triggering it". 0 is ALWAYS set at the point where the swith TRIGGERS. After moving to pull off you are at Mpos axis negative(pulloffvalue)

    If you do a G53 G0 X0 move for example it SHOULD run into the switch and if its a good switch it should actually trigger. G53 G0 X-1 should not trigger. G53 G0 X-<pulloffvalue> should definately not trigger the switch
     
    Matt McG likes this.
  7. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,801
    Likes Received:
    1,380
    Remember - coordinates are just a set of numbers used to identify a point in 3d space. If you have set a workplace co-ordinate that aligns with your grid there's no reason why you shouldn't use that co-ordinate system to move - you don't HAVE to use the machine co-ordinate system.

    Also, if you are using absolute movement (G90) rather than incremental moves (G91) - which would normally be the case unless you were running a specialist piece of code (eg probing) - the command G0 Xnnn Ynnn would go to that absolute co-ordinate in the current workplace co-ordinate system, not the specified distance from where the machine is now.

    Alex.
     
    #7 Alex Chambers, Oct 19, 2023
    Last edited: Oct 19, 2023
    Matt McG likes this.
  8. Matt McG

    Matt McG New
    Builder

    Joined:
    Sep 28, 2023
    Messages:
    50
    Likes Received:
    3
    Makes sense, thanks for the input!
     
  9. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,261
    Likes Received:
    4,356
    What about looking into G28/G30? Set stored position to align with grid. Home, then Goto G28 or Goto G30
    upload_2023-10-19_18-3-33.png

    That way it doesn't interfere with Work Coordinates either.

    Jog to where you want it, then set it from the menu next to gotozero near the DROs.
     
    Matt McG likes this.
  10. Matt McG

    Matt McG New
    Builder

    Joined:
    Sep 28, 2023
    Messages:
    50
    Likes Received:
    3
    Haha, I was just looking at that and getting ready to ask about G28/30…. Looks like this will accomplish what I’m after.
     

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