540,744 active members*
7,913 visitors online*
Register for free
Login

Thread: G52 code

Results 1 to 2 of 2
  1. #1

    Join Date
    Mar 2021
    Posts
    1

    G52 code

    Hello guys, I`m a junior in CN programing and machining, and I have a question regarding G52 code. I know that there it is a lot of threads regarding this but I didn1t undestood very well, and maybe you can help me . So , G52 it is considerate another workoffset like G54...G59 ? it is necessary to take work coordinates ( X Y Z ) for this code like for G54...G59 in offset page ? For example , I had N1 G00 G80 G90 G54 G40 ; N2 S8000 M03 ; N3
    G52 X0 Y-69..2 ; N4 A0 B0 X0 Y0 ...how it works ? Thanks a lot in advance for your help...

  2. #2
    Member
    Join Date
    Aug 2007
    Posts
    339

    Re: G52 code

    Hi,
    G52 is a local and absolute zero offset. The shift has a modal effect. It is retained when the zero point is changed. If you have set an offset (G52 X.. Y.. Z..), you must also delete it again (G52 X0 Y0 Z0).
    G52 is not required for programs from the CAM. It is not necessary to process G52 in the zero point memory. It helps to recognize whether there is a G52 and which values ​​are currently effective. G52 helps the programmer on the machine.
    What can it be used for?
    Recognize dimensional tolerances.
    Part 100 -0.2 wide; Zero point left; Step on the right 10 +0.2 wide
    G54
    G52 X99.9
    ...
    G41 X-10.1
    ...
    G52 X0

    Repetitions
    If the part changes, this change only needs to be carried out once.
    Part 15x4; Material 16xnn; largest cutter DM4; Offset per part 8.5 (4+4+2×0.25)
    G54
    #1 = 10 (number)
    #2 = 0 (counter)
    Wh [#2 LT #1] DO 1
    G52 X[8.5*#2]
    ...
    #2=#2+1
    END 1

    same complex machining at different positions

    G54
    G52 X.. Y..
    M97 P1000
    G52 X.. Y..
    M97 P1000
    ...
    M30
    N1000
    G0 X.. Y..
    ...
    M99

Similar Threads

  1. Replies: 51
    Last Post: 09-16-2020, 01:28 AM
  2. Replies: 0
    Last Post: 02-25-2019, 10:06 AM
  3. mach3 crashing with run of code/drilling holes through table with other code
    By normalform in forum Mach Software (ArtSoft software)
    Replies: 1
    Last Post: 07-28-2014, 03:38 AM
  4. corel.hpgl > sheetcam.tap > pronterface.g-code > slic3r.g.code> ramps 1.4 > H-BOT
    By thesignworks in forum Uncategorised CAM Discussion
    Replies: 0
    Last Post: 05-25-2014, 02:11 PM
  5. Replies: 8
    Last Post: 12-15-2010, 09:32 PM

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
  •