585,902 active members*
4,174 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2009
    Posts
    254

    Need some gcode help - Program Pause

    Hey guys, I'm just a hobbyist machinist. I rely a bit too much on my CAM program to generate all the gcode for me. I need to mill out some holes. That said it will leave some metal scrap inserts behind that may get caught by the tooling during a run cycle.

    What I basically want is a program pause, M00 and then send Z to home, X&Y to G54 (X0, Y0). Also would like the coolant to shut off.

    This way we can open the door, reach in and pull out the scrap inserts and then close the door and Cycle start so it advances to the next step in the program.

    I'm sure this is just a few lines of code. If someone could please help write this for me, it would be hugely appreciated. I can then edit my program.

    Thank you.

  2. #2
    Join Date
    Feb 2011
    Posts
    353

    Re: Need some gcode help - Program Pause

    Try this


    M9(STOP COOLANT)
    M5(STOP SPINDLE)
    G28Z0.(Z TO HOME POSITION)
    G54G90X0.Y0.(X/Y TO G54 0 WORK OFFSET)
    M00
    (Next step in program)

  3. #3
    Join Date
    Oct 2009
    Posts
    254

    Re: Need some gcode help - Program Pause

    Hi rcs60-

    Heading over to the shop right now. I will test it out.

    Thanks for knowing your g code.

    I will post back.

    Thanks.

  4. #4
    Join Date
    Oct 2009
    Posts
    254

    Re: Need some gcode help - Program Pause

    You're a genius! I could of probably reverse engineered some CAM code but I wanted to be safe by asking.

    Thanks again for the help.

  5. #5
    Join Date
    Feb 2011
    Posts
    353

    Re: Need some gcode help - Program Pause

    your welcome

Similar Threads

  1. Automate Pause / Resume of NC Program
    By trunkdog in forum G-Code Programing
    Replies: 3
    Last Post: 08-07-2014, 05:24 AM
  2. Irritating program pause
    By 2ferrous in forum Mach Mill
    Replies: 1
    Last Post: 10-31-2010, 12:17 AM
  3. Replies: 2
    Last Post: 03-30-2010, 12:52 AM
  4. Replies: 4
    Last Post: 09-01-2005, 01:18 AM
  5. Gcode pause command?
    By mark296 in forum G-Code Programing
    Replies: 8
    Last Post: 08-14-2005, 02:13 AM

Tags for this Thread

Posting Permissions

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