586,065 active members*
4,638 visitors online*
Register for free
Login

Thread: G code error

Results 1 to 9 of 9
  1. #1
    Join Date
    May 2011
    Posts
    65

    G code error

    Hi, very new to cnc so please be gentle, for my first project I did the instructural for the stepper plate, all went well until I tried to run the code, the machine started to position itself then I got an error saying "radius to end of arc differs from radius to startline 33". I have poured over the printout of the code but not knowing much about it I cannot find the problem. Can anyone point me to what I should be looking for?
    Thank you
    Terry
    Regards, Terry Howson

  2. #2
    Join Date
    Feb 2005
    Posts
    521
    Hello Terry,

    Hopefully this will help...
    CamBam CNC Software - FAQ

    Basically the arc commands G2/G3 have two ways of passing the arc center coordinates (I & J).
    There is no "standard" way of telling in the g-code so you need to make sure the CAM and controller are using the same method.
    Mach3 uses a non-standard G90.1 and G91.1 command to tell which method is used, so using the Mach3 post processor will also help (if you are using Mach3).

    Good luck!

    Quote Originally Posted by skylanehku View Post
    Hi, very new to cnc so please be gentle, for my first project I did the instructural for the stepper plate, all went well until I tried to run the code, the machine started to position itself then I got an error saying "radius to end of arc differs from radius to startline 33". I have poured over the printout of the code but not knowing much about it I cannot find the problem. Can anyone point me to what I should be looking for?
    Thank you
    Terry
    www.cambam.co.uk

  3. #3
    Join Date
    Jun 2007
    Posts
    3757
    Post your code, and it will soon be identified, with a bit of luck.
    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.

  4. #4
    Join Date
    May 2011
    Posts
    65
    Hi, thanks for replies, will try and post my gcode.
    Terry
    Seems I cannot post the file because it is an nc file?
    Regards, Terry Howson

  5. #5
    Join Date
    May 2004
    Posts
    4519
    Either highlight the code and copy and paste it to the text box, save as a file extension TXT file and upload, or ZIP it and upload.

  6. #6
    Join Date
    May 2011
    Posts
    65
    Will try to send file as zip.
    Terry
    Sorry that did not work either.
    Attached Files Attached Files
    Regards, Terry Howson

  7. #7
    Join Date
    Mar 2003
    Posts
    35538
    As 10Bulls said, you need to change your IJ mode. You can do it in General Config, or add a G91.1 to the code like this.

    ( Made using CamBam - CamBam CNC Software )
    ( stepper plate 2 10/11/2012 5:51:44 PM )
    ( T0 : 0.25 )
    G20 G90 G64 G40
    G91.1
    G0 Z0.1
    ( T0 : 0.25 )
    T0 M6
    ( Pocket1 )
    G17
    M3 S1000
    G0 X0.025 Y0.0
    G1 F2.0 Z-0.02
    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)

  8. #8
    Join Date
    May 2011
    Posts
    65
    Thanks very much Gerry, will give it a try.
    Terry
    Regards, Terry Howson

  9. #9
    Join Date
    May 2011
    Posts
    65
    Thanks to all for your help, it was just as suggested, the mode for ij was checked wrong.
    Really appreciate your help.
    Terry
    Regards, Terry Howson

Similar Threads

  1. error code 181 from a HPR 260. HELP!
    By rzapo in forum Hypertherm Plasma
    Replies: 7
    Last Post: Yesterday, 10:08 PM
  2. g code error with image to g-code
    By cruzin in forum LinuxCNC (formerly EMC2)
    Replies: 1
    Last Post: 09-05-2012, 11:34 PM
  3. Error code 104
    By morpwr in forum Haas Mills
    Replies: 8
    Last Post: 10-27-2011, 03:37 AM
  4. 004 error code
    By dek in forum Fagor Automation
    Replies: 0
    Last Post: 04-23-2010, 05:16 PM
  5. error code 017
    By musnar in forum HURCO
    Replies: 5
    Last Post: 10-13-2009, 02:20 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
  •