585,919 active members*
3,924 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Autodesk CAM > Gcode with 2 fixtures with pause in between fixture setup
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2014
    Posts
    227

    Gcode with 2 fixtures with pause in between fixture setup

    Hello all. I have a piece that I want to machine. The process takes two fixture setups with the same part. In other words I machine one plane then when that process is done I need to move the table to a location such as a G53 G00 G90 Z-.5 and then G53 G00 G90 x1 Y1. This would move the table to the location to allow me to unclamp the part from the vise. After the first part G55 of the Gcode is done, take part out, flip it, put part back in vise, hit cycle start and my plan is for it to goto G56 which is the 2nd fixture. My vise has a vise stop and I already have fixture G55 and G56 programed in Mach3.

    So machine first plane in G55 STOP mill, move table to front of doors to take part out of vise, flip the part in the vise, clamp it down, hit cycle START, table moves to G56 location and Resumes the rest of the Gcode for the part in G56. I think my current Gcode if flawed between the end of the G55 to G56. Something does not seem right, should be an M1 somewhere with code G53 to allow me to change the part and then goto G56 location to machine the part again.

    Attached is the Gcode if anyone can help. Oh and yes I do have an ATC

    Thanks,
    Jeff
    Attached Files Attached Files

  2. #2
    Join Date
    Jan 2005
    Posts
    1943

    Re: Gcode with 2 fixtures with pause in between fixture setup

    I totally stopped even looking at anything once I saw that you pasted the entire g-code into the body of the post. Use an attachment rather than putting the whole thing in the post.

  3. #3
    Join Date
    Mar 2003
    Posts
    35538

    Re: Gcode with 2 fixtures with pause in between fixture setup

    I fixed it.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  4. #4
    Join Date
    Feb 2014
    Posts
    227
    Quote Originally Posted by ger21 View Post
    I fixed it.
    Ger21, Thanks for looking at it! I will affix the code as an attachment so easier to look at. I did not realize that it was not an attachment. I will attach later tonight as my phone can’t attach the file. I will have to take a look at how you made the changes to make this work. I could of run some code but nervous as I do not want to crash the machine.

    Thanks for the help!!

    Jeff

  5. #5
    Join Date
    Jan 2005
    Posts
    1943

    Re: Gcode with 2 fixtures with pause in between fixture setup

    I see an M1 command at line 97.

    M1 is an optional stop that means you have to set the controller so that it mill stop on an M1.

    Typically on an M0 or M1 the machine will stop but you won't be able to move it via MDI unless you cancel the program at the M1, and then do a "Start from line" type program start. You have to be careful with this though because modal values are generally reset to default when you cancel a program so any modal values changed previously in the program will be lost.

    I would recommend edting your code to include the G53 commands you want before the M1. If this requires re-fixturing then an M0 would be more appropriate IMO because the M0 will trigger every time whereas an M1 without setting the controller will blow right past without stopping and could result in a crash.

Similar Threads

  1. HELP. need to add a pause in gcode
    By Mr.Chips in forum G-Code Programing
    Replies: 3
    Last Post: 04-02-2019, 04:03 AM
  2. Fixture Setup Sanity Check
    By sharmstr in forum Tormach Personal CNC Mill
    Replies: 4
    Last Post: 11-25-2016, 01:26 AM
  3. Need some gcode help - Program Pause
    By Rotax91 in forum G-Code Programing
    Replies: 4
    Last Post: 08-25-2015, 12:33 AM
  4. Replies: 2
    Last Post: 03-30-2010, 12:52 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
  •