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
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
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
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