585,712 active members*
4,126 visitors online*
Register for free
Login
Results 1 to 8 of 8
  1. #1
    Join Date
    May 2006
    Posts
    2420

    Zero axis after jogging ?

    Hey guys, I am trying to work out how to zero an axis after jogging, so for instance I clamp a piece to be milled onto the table, jog the machine to what I feel is the 0,0,0 point and reset all axis (or only one if that is all that is needed).

    I am used to using DeskCNC and with that you just click on a button beside the DRO to do this but I cannot see how to do so in EMC. Read the manual and there is no mention of zero'ing an axis.

    Russell.

  2. #2
    Join Date
    May 2006
    Posts
    2420
    Never mind, I got onto the #EMC IRC channel and got it straight from the top (cradek)

    Russell.

  3. #3
    Join Date
    Jun 2003
    Posts
    866
    what's the answer?

  4. #4
    Join Date
    May 2006
    Posts
    2420
    Its a secret...heh not really, he said to use the touch off button and accept the default of zero, sounds simple enough, haven't tested it yet but hopefully soon.

    Russell.

  5. #5
    Join Date
    May 2007
    Posts
    1026
    Russell, could you post a little more detail on this? I'm interested in building a Z-depth touch-off sensor and while I've seen how to do this in Mach, EMC is still really opaque to me.

  6. #6
    Join Date
    May 2006
    Posts
    2420
    Sorry Sansbury but I haven't really got anything going yet, I am currently building the servo drives so I cannot really play with EMC just yet, I have the DRO updating on screen by turning the leadscrews but without the drives operational I cannot do much more.

    Hopefully in a fortnight I will have it operational.

    I definately want to build a touch off sensor myself so I will be trying to work it out just as soon as the machine is going.

    Russell.

  7. #7
    Join Date
    Jul 2003
    Posts
    1754
    You can hook the switch to the probe input of emc. (you will have to hook it up in your hal file to whatever pin in the printer port your using - assuming your using the printer port .) Looking at this program

    http://cvs.linuxcnc.org/cvs/emc2/nc_...ngth-probe.ngc

    gives you an idea of setting tool lengths with that switch.
    (it has nice comments in it)
    sam

    Quote Originally Posted by sansbury View Post
    Russell, could you post a little more detail on this? I'm interested in building a Z-depth touch-off sensor and while I've seen how to do this in Mach, EMC is still really opaque to me.

  8. #8
    Join Date
    May 2005
    Posts
    1662
    AHHa ! Was just about to ask if there were examples of TLO switches in emc. A member here named Bubba (I think) has a blog with a Mach example.

    To the original question, zero can be punched in as "touch off" if the machine is at the intended x0,y0. If using a pin or edgefinder, punch in the measuring tool radius +/- accordingly.

    In axis, click on Machine->show emc status
    This will pull up some useful information on position. Somewhere in your emc folder the is a file called stepper.var. Play around with the touch off and see how the lines 5221, 5222, and 5223 in stepper.var match the touch off position. Line 5220 needs to be 1.000000. These are the same lines used for offset G54 btw.

    G54 thru G59 is the way I'll be programming as soon as my home switches are setup. Line 5220 in stepper.var can be 1.0000, which corresponds to G54. A 2.0000 would activate G55 which uses the lines below 5223 etc.

    Just a bit of FYI. Hope it helps in someway.
    Anyone who says "It only goes together one way" has no imagination.

Similar Threads

  1. A axis jogging
    By mikeward2121 in forum Machines running Mach Software
    Replies: 4
    Last Post: 07-20-2009, 03:02 PM
  2. Jogging in World coords instead of axis.N ?
    By jimbobbus3 in forum LinuxCNC (formerly EMC2)
    Replies: 6
    Last Post: 09-24-2007, 05:17 PM
  3. jogging
    By mr.merlin in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 1
    Last Post: 08-01-2007, 01:48 AM
  4. jogging
    By nebyeh in forum DIY CNC Router Table Machines
    Replies: 2
    Last Post: 12-20-2006, 01:27 AM
  5. Jogging the Z Axis in Mach2
    By DaSigntist in forum Mach Software (ArtSoft software)
    Replies: 5
    Last Post: 07-16-2004, 10:38 PM

Posting Permissions

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