. .
Page 1 of 2 12 LastLast

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Just fitted home switches to my machine & I’m now trying to figure out the best ‘methods of working’ with these in place!

    When knocking up something in CAD/CAM, I base all my designs around the origin – eg if drawing a circle, the centre would be the ‘origin’ ….therefore before home switches, I’d simply jog my machine’s table to the centre of its axis travel then zero the coordinates….then I’d simply start the cycle.

    But now, in Mach3 with home switches present, when I click ‘ref all home’ (btw: not sure if it relevant – but my table homes to the negative extremity of both X & Y axis), it then zeros all the axis…therefore if I load my Gcode, the lower part of the aforerementioned circle will not be ‘reachable’ by the machine.

    One immediate solution is to establish the central point of my table, then offset my work at the end of the CAD/CAM process to reflect this for my GCode ...but is this how it's normally done?

    If not,what should I be doing to ensuring that my machine works in the middle of it’s axis travel, yet still have the possibility of ‘homing’ should the steppers stall if I’ve pushed them too hard!
    Last edited by HankMcSpank; 15-02-2010 at 02:44 PM.

  2. #2
    I have often wondered about the same thing as to my mind a homing switch should be in the middle of the travel and limit switches at the extremities. If a homing switch is in the middle then its construction will dictate how accurate the position will be depending which direction the position is reached from(if you get my drift! - no pun intended)
    So far Ihavent fitted switches to my mill as I dont see how they are going to be that useful!

    Peter

  3. #3
    Quote Originally Posted by ptjw7uk View Post
    I have often wondered about the same thing as to my mind a homing switch should be in the middle of the travel and limit switches at the extremities. If a homing switch is in the middle then its construction will dictate how accurate the position will be depending which direction the position is reached from(if you get my drift! - no pun intended)
    So far Ihavent fitted switches to my mill as I dont see how they are going to be that useful!

    Peter
    Hi Peter....there seems to be a problem with homing switches for the hobbyist - lots of sites tell you how to implement them (indeed it only took me about 45 mins from scratch to fit mine & get them working) & I can certainly see the *massive* win wrt pushing steppers too hard & them stalling, then losing your place - but there seems to be scant info about how such switches fit into the overall picture/workflow wrt using CNC machines!

    I stumbled upon something via Google today that I need to investigate a little bit more - a possible 'offset' from the 'ref all home' position, which I can only assume means something along the lines of "after homing to a known point, go offset to position by Xx & Yy (ie the middle of your table) & then consider this to be 0,0. Something like that would make sense.

    I'll update you if I suss this one out tonight!

  4. #4
    Hi Rob

    Home switches are useful for repeatability if you want to use the center of the table you will use one of the offsets in Mach, G54 onwards I think they are, so you could set up a fixture in the center of the table then using the offset go to the exact same start position every time.

    Hope that makes sense!

    Andy

  5. The Following 2 Users Say Thank You to audioandy For This Useful Post:


  6. #5
    Andy has it in one,
    Read up in the Mach manual on the use of G54
    John S -

  7. The Following User Says Thank You to John S For This Useful Post:


  8. #6
    Quote Originally Posted by audioandy View Post
    so you could set up a fixture in the center of the table then using the offset go to the exact same start position every time.
    Andy hit the nail on the head. Homing switches are useful if you are working with a fancy metal clamping jig bolted down at a known location on the machine bed.

    I don't use MACH because as soon as you start working from G code you lose touch with the original drawing and cannot refer back to it when you want to align tool to metal.

    I locate by circles on the drawing, circles with a zero thickness do not cut but I can still see them.

    I pop the drawing on the screen and every circle has a little pick box dead centre. Left mouse button on a pick box moves the tool to the circle centre, right button sets the mill XY co-ordinates to the circle centre.

    Drilling holes becomes a doddle on my mill/drill, alignment is all sorted at the drawing stage.

  9. #7
    Quote Originally Posted by Robin Hewitt View Post

    I don't use MACH because as soon as you start working from G code you lose touch with the original drawing and cannot refer back to it when you want to align tool to metal.

    I locate by circles on the drawing, circles with a zero thickness do not cut but I can still see them.

    I pop the drawing on the screen and every circle has a little pick box dead centre. Left mouse button on a pick box moves the tool to the circle centre, right button sets the mill XY co-ordinates to the circle centre.

    Drilling holes becomes a doddle on my mill/drill, alignment is all sorted at the drawing stage.
    May I ask what you use if you do not use g code?

    bruce
    The more I know, I know, I know the less. (John Owen)

  10. #8
    Quote Originally Posted by motoxy View Post
    May I ask what you use if you do not use g code?
    You only need G code to transfer the cut from the program that produced it to the program that does the cutting.

    My software creates the cut then pumps it directly to the mill so I miss the file copying stage, no need for G code.

    Having the original drawing as well as the cut available makes setting the mill a doddle, but I can't say I'd recommend it

  11. #9
    Ok, this is one of those things that's just better to try out than explain! But the magic words in play were indeed offsets (I was looking for 'homing' related info earlier!)

    Anyway, in Mach3 go to the 'offsets' screen & in the X & Y fields, enter the distance from 0,0 set by the homing switches (machine coord home) to the 'middle' of your table.

    Now, when you click 'ref all home', your machine still returns to the homing switches, but now once the axis have homed rather than the DRO reading 0,0, they'll now read with whatever your entered offset is offset is (eg on mine when homed the DRO will read X -110, Y -60)

    Now click on 'Goto Z' and your table will move rapidy to position 0,0 (which is the middle of your table)...you can load up your G-Code as normal knowing that you can get back to this point in an instant.

    Lovely, I have exorcised the DIY CNC demons....no more worries about having to start from scratch if/when my steppers stall!

    Thanks!


    PS, Just one thing, apparently the offset settings are only a temp setting in Mach 3.....meaning they'll be lost each time you exit Mach3

    To have your machines specific offsets load up everytime you start Mach3, a google search reveals the following workaround (& it might seem a load of old gobbledegook, but it's simple enough to follow with the screen in front of you - & it works)....

    "On the offset screen, click "Save Offsets". Scroll down to the last one, G59P253. Set up your X & Y offsets there and save.

    Open the General Configuration screen. At the bottom right side, check the box that says "copy G54 from G59.253 at startup". Restart Mach3 and you'll have your G54 offsets."
    Last edited by HankMcSpank; 16-02-2010 at 12:16 AM.

  12. #10
    Thank you all, I am nowhere near ready to deal with the physical problem of limit switches (still amassing parts) but I do ponder things like that when I get 5 minuets of quiet time. The problem was clearly laid out and the solution was just as clearly explained. This forum is worth it's collective weight in gold.
    Tim G-C

    “I disapprove of what you say, but I will defend to the death your right to say it.”

    (attrib. Voltaire but written by Evelyn Beatrice Hall "The Friends of Voltaire" 1906)

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. G540, homing switches and mach3
    By marbles in forum Artsoft Mach (3 & 4)
    Replies: 11
    Last Post: 02-06-2018, 02:55 PM
  2. Limit switches and Mach3
    By cropwell in forum Artsoft Mach (3 & 4)
    Replies: 1
    Last Post: 06-03-2013, 10:51 AM
  3. homing problems in mach3
    By johngoodrich in forum Artsoft Mach (3 & 4)
    Replies: 2
    Last Post: 17-09-2011, 08:28 PM
  4. Homing Switches
    By m_c in forum General Electronics
    Replies: 3
    Last Post: 04-11-2010, 11:21 PM
  5. A simple query about homing switches & milling practise
    By HankMcSpank in forum General Discussion
    Replies: 5
    Last Post: 13-06-2009, 11:56 PM

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
  •