585,949 active members*
4,124 visitors online*
Register for free
Login
Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2006
    Posts
    3

    G68 and G69 codes

    can anyone help me out with these codes maybe asample program

  2. #2
    Join Date
    May 2006
    Posts
    82
    On a Fanuc control G68 is coordinate rotation "On" and G69 Coordinate rotation "Cancel". On your line with G68 supply the X & Y value for the position of rotation and an "R" in degrees of rotation. A negative number will rotate CCW.

    G68 X0 Y0 R90.

    At the end of the run use the G69.

  3. #3
    Join Date
    May 2010
    Posts
    0

    Program coordinate rotation Mazatrol M Plus

    I found some more info but the string you gave me was helpful. On the mazatrol m plus its G17 G68 X0 Y0 R5 for example. But my machinist here has raised the issue of whether this code only has to be inserted at the beginning of the program or at each tool change. Can you shed some light on this for me?

    Eric

  4. #4
    Join Date
    May 2007
    Posts
    781
    Quote Originally Posted by ebragdon View Post
    I found some more info but the string you gave me was helpful. On the mazatrol m plus its G17 G68 X0 Y0 R5 for example. But my machinist here has raised the issue of whether this code only has to be inserted at the beginning of the program or at each tool change. Can you shed some light on this for me?

    Eric
    Don't know much about mazatrol but on the controls I have programmed if you want to rotate the entire program you just put it at the start. If you want to rotate parts of the program you turn it on and off as needed.
    Also if by chance you are also using local work offsets G52, in my experience mixing the two can sometimes be unpredictable.

  5. #5
    Join Date
    Mar 2005
    Posts
    988
    On most controls including Mazatrol, there are some commands that won't work in G68 mode and you probably wouldn't want it to anyway. So, things like tool change commands, G28/G30 commands, etc won't generally work. This means you need to turn G68 on/off for each tool in the program.

    You also cannot randomly change work offsets in G68 mode so on some controls, using G53 as a retract may become a problem (Since this is viewed as an offset for some machines).

    You can use it in G52 mode and it's not that it becomes "unpredictable" but you certainly need to visualize it enough to follow it.

    A wise thing to do is after picking up your work offset, turn on G68. At the end of the tool (before tool change), turn off G68 (G69). Next tool do the same thing....
    It's just a part..... cutter still goes round and round....

  6. #6
    Join Date
    Feb 2006
    Posts
    1792
    Syntax:
    G17 G68 X_ Y_ R_;
    as already described.
    If you omit XY words, the current tool position becomes the center of rotation.

  7. #7
    harshal Guest

    Re: G68 and G69 codes

    FANUC G68 ROTATE COORDINATE MAIN PROGRAM & SUB PROGRAM EXAMPLE
    August 08, 2018 - FANUC G68 ROTATE COORDINATE SYSTEM [M]



    MAIN PROGRAM

    N10 G54 X0 Y0 ;
    N20 M06 T05 ;
    N30 G43 H5 ;
    N40 M03 S1500 ;
    N50 M08 ;
    N60 G98 F300 ;
    M98 P034321 ; sub program call
    N70 G00 Z100 ;
    N80 M05 M09 M30 ;

    SUB PROGRAM

    O4321
    N10 G91 G68 X10 Y10 R22.5 ;
    N20 G90 X30 Y10 Z5 ;
    N30 G01 Z-5 ;
    N40 X47 ;
    N50 G00 Z5 ;
    N60 M17 ;

    DESCRIPTION OF PROGRAM
    Main program
    N10- Work co-ordinate system command ( Offset point) , where X0 and Y0
    N20- Tool change command , select tool no 5
    N30- Tool height offset compensation H5(we set tool height of z axis )
    N40- Spindle on clockwise at speed 1500 rpm
    N50- Coolant on
    N60- Feed rate per minute F300
    M98- Sub program call , P03- no same operation repeat ,4321- no. of sub program.
    N70- Rapid command , where Z100 [ tool up ]
    N80- Spindle off , coolant off , main program end
    Sub program
    N10- Incremental co-ordinate command , rotate coordinate system command where X10 , Y10 and angle of rotation R22.5
    N20- Absolute co-ordinate command , X axis distance count from 0 to starting position ,Y at same place 10 and tool is 5 mm up.
    N30- linear interpolation command , cutting depth is 5
    N40- Operation end position 47 along X

    N50- Rapid command , tool up 5 mm
    N60- Sub program end .

    my link is
    FANUC G68 ROTATE COORDINATE MAIN PROGRAM & SUB PROGRAM EXAMPLE - CNC PROGRAMMING TUTORIAL

Similar Threads

  1. G codes and M codes for Mazak Quick Turn T-2
    By sauli in forum Mazak, Mitsubishi, Mazatrol
    Replies: 0
    Last Post: 05-23-2011, 05:22 PM
  2. G codes M codes Mach3
    By eaglezsoar in forum Mach Software (ArtSoft software)
    Replies: 2
    Last Post: 02-04-2011, 12:38 AM
  3. Need full list of G CODES AND M CODES FOR FANUC 21I
    By SonnyTees.com in forum G-Code Programing
    Replies: 3
    Last Post: 02-23-2010, 05:27 PM
  4. G-Codes
    By mocnc in forum DIY CNC Router Table Machines
    Replies: 2
    Last Post: 07-28-2008, 01:36 PM
  5. M-codes and G-codes 4 Matsuura ES-1000V
    By maximusek in forum G-Code Programing
    Replies: 2
    Last Post: 11-27-2007, 01:41 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
  •