512,933 active members
2,458 visitors online
Register for free
Login
IndustryArena Forum > MetalWorking Machines > CNC Swiss Screw Machines > Have question on several G codes
Results 1 to 3 of 3
  1. #1
    Registered
    Join Date
    Oct 2011
    Posts
    64

    Have question on several G codes

    Hey Everyone,
    I'm programming several Citizen machines and I have a question on a few G codes, basically how they work and what they are useful for.

    G115
    G116
    G149
    adding a "K" after tool call

    Thanks

  2. #2
    Registered
    Join Date
    Oct 2008
    Posts
    108
    G115- Start point queuing (Type 1)
    or Queuing during an axis movement (Type 1)

    The programming system that G115 is in waits until the
    other system reaches a specified axis position then continues.
    See G116 below.

    Example... getting P.O. spindle over the part while still turning.

    $1 $2
    (TURN CUT OFF SAME TOOL) T3000
    G650 G650 Z-.1(SUPERIMPOSE Z2 TO Z1)
    M24S2=4000M16
    G0X.5Z.45T1S1=4000 G115 Z1. !L10 (WAIT FOR Z1 TO PASS POS 1.000)
    G1X.4Z.5F.002 G1Z.75F.02(FEED Z2 OVER PART .75)
    !L10 M15
    Z1.3 G600
    (G231)
    X-.1 M25
    G600

    G116- Start point queuing (Type 2)
    or Queuing during an axis movement (Type 2)

    G116 puts into memory a queue but instantly starts the next machining
    command. When the position is met in the same system then a queue is
    sent to the other system to continue.

    $1 $2
    G1 X.2 Z.5 !1!2L10
    G116 Z1. !1!2L10 (Z1. is greater than Z.5 and less than Z1.5)
    G1 Z1.5 F.001

    Z1. = let queue begin when Z axis of the programming line that G116
    is in reaches Z1. while still moving to Z1.5 . Also position Z1.
    has to be passed on the next CNC command line.

    !1!2L10 = just like queuing


    Example... getting P.O. spindle over the part while still turning.

    $1 $2
    (TURN CUT OFF SAME TOOL) T3000
    G650 G650 Z-.1(SUPERIMPOSE Z2 TO Z1)
    M24S2=4000M16
    G0X.5Z.45T1S1=4000 !L10 (WAIT FOR Z1 TO PASS POS 1.000)
    G1X.4Z.5F.002 G1Z.75F.02(FEED Z2 OVER PART .75)
    G116 Z1. !L10 M15
    Z1.3 G600
    (G231)
    X-.1 M25
    G600

    G149-End position queuing during an axis movement. Similar to G116 except
    G149 is smart and will calculate how long it will take to move to
    the desired position and finish moving at the queuing point. G149 is
    used in "M32 X.1" and will have Z2 and the catcher basket under the
    part when X=.1 . Z2 won't start coming in at X.1 but will start
    sooner to be there when X gets to .1 . You also need to add special
    line lables to mark the lines to end at. "BNxxx"

    $1 $2
    !1!2L10 G149 Q100 X.1 !1!2L10 Q200
    G1 X.3 F.002
    BN100 G1 X-.1 F.002 BN200 G1 Z3. F50.(BN200 done when X1=.1)
    www.atmswiss.com

  3. #3
    Registered
    Join Date
    Oct 2008
    Posts
    108
    T0700 K2 -After the Tool is called, the Z2 axis is the commanded
    Z axis. Also the C2 axis is called up. X1,Y1,Z2,C2 are
    commanded from $1. The next T__00 call changes it back.
    www.atmswiss.com

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. 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
  5. Spare M Codes Question?
    By AMCTony in forum Haas Lathes
    Replies: 12
    Last Post: 09-14-2007, 03:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •