586,103 active members*
3,314 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Uncategorised MetalWorking Machines > G code Full circle G41-G42 compensation Problem
Results 1 to 7 of 7
  1. #1
    Join Date
    May 2011
    Posts
    0

    Question G code Full circle G41-G42 compensation Problem

    Good day to all of you CNC specialists out there!!

    I really need your help on this one...

    Let s say i want to machine a full circle of diamater 100mm (about 4inches)
    But i want to use compensation G41 With The tool of diameter 20mm (in the cnc controller tool list)
    The program looks something like this (bobcad Postprocessed)

    N23 G90 G54 X25.4 Y0. S1008 M03
    N24 D01 Z2.54
    N25 G41
    N26 G01 Z-12.7F123
    N27 X50.8F123
    N28 G17 G03 X50.8 Y0. I-50.8 J0.F123
    N29 G01 X25.4F123
    N30 G00 Z2.54
    N31 G40
    N32 M30

    The problem is how do i make the machine go full circle (the machine does not go 360 degrees it goes smthng like 330) when using compensation ? is there a G code that needs to be aded or something or do i have to manualy extend the circle to go another quarter of the circle over the end point (thats how my little mind got rid of that problem for now)

    And if anyone has any knowledge on the siemens 810M Ga3 (or just 810M)
    CNC controller maybe if you have a g-code program that works fine..I would be really appriciative if you helped me maybe even send me a g-code program so i can have a reference...
    I only have the manual and the cnc controller that is on the machine didnt have one single program in it....

    So PLease i really need your hellp:drowning: (group)

  2. #2
    Join Date
    May 2008
    Posts
    667
    You need to have a lead in move with the G41

    G41 X and Y

    Jeff

  3. #3
    Join Date
    Jul 2003
    Posts
    1220
    Try
    N23 G90 G54 X25.4 Y0. S1008 M03
    N24 D01 Z2.54
    N26 G01 Z-12.7F123
    N27 G41 G01 X50.8
    N28 G17 G03 X50.8 Y0. I-50.8 J0.
    N29 G40 G01 X25.4
    N30 G00 Z2.54
    N32 M30

  4. #4
    Join Date
    May 2011
    Posts
    0

    JAny

    I think i got it now ,i should use the circullar lead in ...I will try this and post the results.... Thank you for now

  5. #5
    Join Date
    May 2008
    Posts
    667
    Also, D word should be associated with the G41

    Z compensation is G43 Z2.54

    Jeff

  6. #6
    Join Date
    Jul 2003
    Posts
    1220
    Quote Originally Posted by jeffrey001 View Post
    Also, D word should be associated with the G41
    Z compensation is G43 Z2.54...
    Please post your full version of the code.

  7. #7
    Join Date
    Oct 2006
    Posts
    340
    You could use this :
    %
    G00 G54 G17 G90
    M06 T1
    N24 G00 X25.4 Y0. S1008 M03
    N25 G43 H01 Z2.54 M08
    N26 G01 Z-12.7 F123
    N27 G41 D01 X50.8 F123
    N28 G03 X50.8 Y0. I-50.8 J0. F123
    N29 G01 X25.4 F123
    N30 G00 Z2.54
    N32 G40
    N31 M30
    %

Similar Threads

  1. Circle G-code "I parameter problem
    By flash319 in forum LinuxCNC (formerly EMC2)
    Replies: 5
    Last Post: 02-27-2011, 02:31 PM
  2. g code for a circle
    By m8kingit in forum G-Code Programing
    Replies: 14
    Last Post: 02-20-2011, 11:29 AM
  3. Circle Help Trouble getting the right code.
    By ibuildstuff4u in forum G-Code Programing
    Replies: 3
    Last Post: 12-29-2009, 04:49 PM
  4. Crop circles - tiny arc turns into full circle
    By Fadal Error in forum Fadal
    Replies: 18
    Last Post: 10-20-2009, 10:50 PM
  5. G-Code outside circle Heidenhain
    By bigtoad170 in forum Bridgeport / Hardinge Mills
    Replies: 7
    Last Post: 07-03-2008, 12:29 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
  •