585,712 active members*
4,332 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Tormach Personal CNC Mill > End of Job, Return to Mazhine Zero?
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2006
    Posts
    302

    End of Job, Return to Mazhine Zero?

    Is there a code that will return the spindle to machine zero? I would like the spindle to go home at the end of a program, of course, I'd want the "Z" to be the first movement to prevent crashes.

  2. #2
    Join Date
    Feb 2006
    Posts
    7063
    John,

    G53 G0 Z0

    Regards,
    Ray L.

  3. #3
    Join Date
    Dec 2006
    Posts
    302
    Ray,

    Thanks, you bailed me out again!

  4. #4
    Join Date
    Mar 2009
    Posts
    1863
    Another way (the way I do it) is G91G28Z0

    When I reach the end of my program, I will add a line that takes the Y axis and the Z axis close to their tool change positions.

    I will use something like:
    G0Z1.M9
    Y_._ Z_._
    M998
    G91G28Y0
    M30

    I don't worry about stopping the spindle with a M5. Your M30 will do that. I turn the coolant off so I have a little time to start blowing the part off while the machine moves away from the part.

    Works for me every time.
    You can buy GOOD PARTS or you can buy CHEAP PARTS, but you can't buy GOOD CHEAP PARTS.

Similar Threads

  1. 10m zero return
    By vpmachine in forum Fanuc
    Replies: 3
    Last Post: 08-12-2012, 12:31 AM
  2. z return
    By Clyde_06 in forum Surfcam
    Replies: 8
    Last Post: 11-16-2011, 06:45 PM
  3. Zero return
    By bubba107 in forum EMCO Mills
    Replies: 0
    Last Post: 10-22-2009, 01:49 AM
  4. Return to Zero
    By mikemill in forum Machines running Mach Software
    Replies: 0
    Last Post: 08-25-2009, 08:47 AM

Posting Permissions

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