Results 1 to 3 of 3

Thread: G52 code explanation please

  1. #1
    Registered
    Join Date
    Sep 2008
    Location
    Great Britain
    Posts
    32
    Downloads
    0
    Uploads
    0

    G52 code explanation please

    I have this week started operating a 5 axis routing machine with a Fanuc 15-M series controller. The method of programming on this machine is one that i am not familiar with and am having trouble getting my head around it.
    At the start of the programmes there is a G52 code and a line of X,Y,Z, values, i am aware that this is in someway altering how the machine reads its datum positions, its almost as if it is reversing the 'plus' and 'minus' directions of the axis, i say this because on a particular job we run a test cut and then take a measurement before altering an 'X' co-ordinate in the programme by the required amount to produce the finish cut in the correct place. What is confusing me is that if the finish cut needs to be produced 1mm further over than the test cut in the 'X' plus direction we actually subtract 1mm from the 'X' co-ordinate in the programme to achieve this.
    Can somebody please explain what this code does and of what benefit it is, also is it in any way similar to a G10 code? (I am familiar with the G10 code)


  2. #2
    Registered beege's Avatar
    Join Date
    Feb 2008
    Location
    USA
    Posts
    546
    Downloads
    0
    Uploads
    0
    It's closer to a G92 code than a G10. G52 is used to describe a "local coordinate" or "child coordinate" system. It moves the working system by the XYZ you see in your program. It's canceled by a G52 X0Y0Z0. A G52 can be called with any of the G54-G59 fixture offsets active. I haven't had the opportunity to use it on a miller, but I have used it for back turning with a groove tool, with the Z changing by the width of the tool. HTH...


  3. #3
    Registered
    Join Date
    Sep 2008
    Location
    Great Britain
    Posts
    32
    Downloads
    0
    Uploads
    0
    Thanks for your reply, i see the benefit of using this code for what you have described with the groove tool, i have done that myself in the past on a cnc lathe only it wasnt a fanuc controller it was a seicos controller and if i remember rightly the code we used was a G151 or G152 so i didnt relate this to the G52 until you just described how you used it but now it makes a little more sense.
    So if i understand correctly then it is simply just a datum shift code? I still dont see what benefit it has on the job we are using it on and i still dont understand why it appears to have switched the 'plus' and 'minus' directions of the axes around.
    I do also vaguely remember seeing a G92 in the programme but didnt realise it was anything to do with what i wanted to know at the time, i have only been on the machine for a short time and the operator who is training me doesnt really seem to understand this G52 code, he just says that the G52 is what causes the axis directions to appear to be the wrong way in the plus and minus directions. I am sure it will become clearer to me after a while.


Similar Threads

  1. Need Help!- G71 explanation
    By chipcrazy in forum G-Code Programing
    Replies: 1
    Last Post: 08-25-2009, 02:47 PM
  2. Need Help!- G41 and G42/40 explanation
    By noshoesnoshirt in forum G-Code Programing
    Replies: 3
    Last Post: 05-10-2009, 12:57 AM
  3. G-code explanation
    By midnightrambler in forum G-Code Programing
    Replies: 0
    Last Post: 02-08-2009, 08:01 PM
  4. g02 g03 explanation
    By valmet58 in forum CNCzone Club House
    Replies: 4
    Last Post: 03-19-2008, 10:36 PM
  5. I need some explanation
    By grebator in forum Stepper Motors and Drives
    Replies: 0
    Last Post: 04-04-2007, 08:03 AM

Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.