586,403 active members*
2,866 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Dolphin CAD/CAM > G code error with CAM
Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2009
    Posts
    16

    G code error with CAM

    I was trying to make a tooling plate. I used the Dolphin CAM "canned cycle", for drilling "points on a rectangular grid". I use Mach3 so I did the post processing with the Mach3 post processor choice.

    I loaded the Gcode file into Mach3 and got an error:
    Cannot use two g codes that both use axis values Line 5

    Is there a way to fix or avoid this?

    I've attached a screen cap. The error message is at the bottom in the "Status:" window. The G code is in the upper green window, the program has highlighted the line causing the error.

    Thanks for any help.
    David
    Attached Thumbnails Attached Thumbnails GcodeError.jpg  

  2. #2
    Join Date
    May 2007
    Posts
    428
    What is the name of the post you are using?
    Dolphin CAD/CAM Support

  3. #3
    Join Date
    Apr 2009
    Posts
    16
    I used M_MACH3.ppr
    then I tried M_MACH3-no-modal.ppr
    to see if it made any difference. It didn't.

    David

  4. #4
    Join Date
    May 2007
    Posts
    428
    Email Dolphin support for the updated Mach 3 Post (Mach3_inc.ppr)


    The Support Team at
    Dolphin CAD/CAM USA

  5. #5
    Join Date
    May 2007
    Posts
    428
    Just wanted to confirm you are all squared away.


    The Support Team at
    Dolphin CAD/CAM USA

  6. #6
    Join Date
    Apr 2009
    Posts
    16
    Yes, thanks for the rapid response.

    I may have found another problem. I'm using the peck drill routine. I'm enlarging a set of holes. When I run the animation, the drill withdraws to 0.25" before moving the bit to the next hole. After generating the gcode and running it, the drill does not withdraw to 0.25" above the surface, it just withdraws to the surface of the material then executes the move in x and y. This doesn't break the drill bit but does scratch the surface of the work. I'll attach the gcode file as a text file.

    Have I done something wrong? It seems the bit should do what the animation shows.

    Thanks.
    David
    Attached Files Attached Files

  7. #7
    Join Date
    Jan 2005
    Posts
    15362
    greeps

    The G99 + your R value is 0 so that is were the tool will go to,(Part/Tool 0 ) if you always need to be safe use G98 this will return to the Z height which you have as, well you don't have a Z move at the start of the program, you need this or you are going to crash into something, You need more work on your post processor to get this all right for you

    This is what you want your post processor output to look like, for trouble free machining, this is a peck full out using
    G83
    Attached Files Attached Files
    Mactec54

  8. #8
    Join Date
    Apr 2009
    Posts
    16
    Thank you for your reply in the Dolphin forum. I'll get out the docs for Mach3 and go through your list line by line. I'm new at this, it's been a week.

    I broke only one bit today, I chipped an end mill. That's better than yesterday.

    CNC problems happen very quickly, things break. I thought I'd be better off using the CAD/CAM to generate all the G code. I still don't understand why the animation didn't show the bit at the surface instead of 1/4 inch above it. I understand the generated code put the bit there and your reply will help me figure out the mechanics of why the bit was there. I also know I can avoid it by forcing all moves at the clear plane. Still the program generated all that code and it generated the animation so it seems they should match. I want to trust that the displayed animation will accurately reflect what will happen when I run it.

    Is there a setting in the tool setup definition to get the post processor to use a G98 instead of the G99? Is it reasonable to define the surface as a little above the actual surface then compensate by defining the material thickness that much thicker?

    Thanks again for the help. This is a blast, actually making things!

    David

Similar Threads

  1. 004 error code
    By dek in forum Fagor Automation
    Replies: 0
    Last Post: 04-23-2010, 05:16 PM
  2. error code 201
    By koppjb in forum Milltronics
    Replies: 4
    Last Post: 01-14-2010, 06:02 PM
  3. error code 017
    By musnar in forum HURCO
    Replies: 5
    Last Post: 10-13-2009, 02:20 PM
  4. art code error
    By Mike Boarman in forum Mach Software (ArtSoft software)
    Replies: 4
    Last Post: 12-31-2006, 05:46 AM
  5. M01 error code
    By MRU in forum Mazak, Mitsubishi, Mazatrol
    Replies: 2
    Last Post: 06-12-2006, 01:59 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
  •