You are on page 1of 3

CODIGO G PARA OPERACIONES DE TORNEADO

G00 Posicionamiento rápido
Formato: G00 X <position> Z <position>
Moves the tool at maximum speed to the X Z position
G01 Interpolación lineal
Formato: G01 X <position> Z <position>
Moves the tool at feed speed to the X Z position
G02 Interpolación Circlar C!
Formato: G02 X <end> Z <end> [ R <radius> ]
[ I<xdistance> K < zdistance>
You can either specify an arc by endpoint ( X Z ) and radius (R) or endpoint and distance to
center ( I, K )
G0" Interpolación Circlar CC!
Formato: G0 X <end> Z <end> [ R <radius> ]
[ I <xdistance> K < zdistance>
You can either specify an arc by endpoint ( X Z ) and radius (R) or endpoint and distance to
center ( I, K )
G0# Pasa $D%ell&
Format: G0! X <d"e##time>
!auses the machine to pause for a "iven number of seconds
G20 In'reso de datos en pl'adas
Formato: G20
#ollo$in" a %&' code, all dimensions are ta(en to be inches
G21 In'reso de datos en (il)metros
Formato: G21
#ollo$in" a %&) code, all dimensions are ta(en to be in millimeters
G2* + Retorno atomático a n pnto de re,erencia
Formato: G2$ X% Z%
*sin" %&+ the specified axes can be positioned to the reference point automatically ,his is a rapid
move and can be either incremental or absolute
G2- + Retorno atomático desde n pnto de re,erencia
Formato: G2& X% Z%
*sin" %&- the specified axes can be positioned from the reference point automatically ,his is a
rapid move and can be either incremental or absolute
G#0 Cancelación de la compensación para cortar
Formato: G!0
.fter %/' the pro"rammed path is the actual tool path
G#1 Radio de la .erramienta a la i/0ierda
Formato: G!1 ' <re(ister>
G#2 Radio de la .erramienta a la derec.a
Formato: G!2 ' <re(ister>
G10 Ciclo de terminado
Format: G)0 * < start +#oc,> - <end +#oc,>
,he start and endbloc(s are the be"innin" and end of a part pro"ram se"ment %0' $ill cause the
controller to 1ump to the start bloc(, and then process all pro"ram bloc(s until the end bloc( usin"
profilin" operations #or this, and related %0) 2 %0& to $or(, only %), & 2 3 codes can be used
bet$een the start and end bloc(
G11 Ciclo de des2astado para cilindrado
Formato: G)1 * < start +#oc,> - <end +#oc,> . <xo//set> 0 <zo//set> ' <dept1 o/ cut>
,he start and endbloc(s are the be"innin" and end of a part pro"ram se"ment %0) uses the
se"ment to define a profile, and automatically removes metal up to the profile boundary in a series
of axial cuts #or this, and related %0' 2 %0& to $or(, only %), & 2 3 codes can be used bet$een
the start and end bloc(
G12 Ciclo de des2astado para re,rentado
Formato: G)2 * < start +#oc,> - <end +#oc,> . <xo//set> 0 <zo//set> ' <dept1 o/ cut>
,he start and endbloc(s are the be"innin" and end of a part pro"ram se"ment %0& uses the
se"ment to define a profile, and automatically removes metal up to the profile boundary in a series
of facin" cuts #or this, and related %0' 2 %0) to $or(, only %), & 2 3 codes can be used
bet$een the start and end bloc(
G1# Pec3 drillin' in 4+a5is
Format: G)! Z <dept1> [X <x"idt1> ]F </eed+ac,> ' <re#ie/> K<cut dept1> [ I <xmo2ement> ]
#or drillin" a hole in the end of a billet If the X and I $ords are used then the tool is moved
bet$een drillin" to provide lar"e diameter holes
G16 Ranrado en el e7e 8
Format: G)3 X <dept1> [Z <"idt1> ] F </eed+ac,> ' <re#ie/> I <cut dept1> [ K <zmo2ement> ]
#or machinin" a slot or "roove in the side of a billet If the Z and K $ords are used then the tool is
moved bet$een drillin" to provide a lon" slot
G19 Ciclo de roscado
Format: G)4 X <end > Z <end> ' <dept1 o/ 1st cut> K </ina#dept1> 5 <too# an(#e> F <pitc1>
#or cuttin" a thread from the current tool position to XZ
G-0 Pro'ramación en coordenadas a2soltas
Format: G&0
.ll values for X and Z $ords are defined $ith relation to the current machine datum
G-1 Pro'ramación en coordenadas incrementales
Format: G&1
.ll values for X and Z $ords are defined $ith relation to the last tool position
G-* A:ance por nidad de tiempo $in;min< mm;min&
Formato: G&$
4ets the feedrate to be units per minute
G-- A:ance por re:olción
Formato: G&& 6in7re28 mm7re29
4ets the feedrate to be units per revolution
G&& is t1e de/au#t "1en t1e mac1ine is po"ered :n;
(+CODES
(00 Parada pro'ramada
Format: <00
,he M'' command is a temporary pro"ram stop fuction .ll functions are temporarily suspended,
and remain so until user input
(01 Parada pro'ramada opcional
Format: <01
=1e <01 command is an optiona# pro(ram stop; =1e optiona# pro(ram stop "i## on#> stop t1e
pro(ram i/ t1e <01 s"itc1 is set to :?;
(02 =in de Pro'rama
Format: <02
,he M'& command is used at the very end of a pro"ram and stops all machine operations such as
spindle and coolant
(0" >sillo 'ira en sentido .orario
Format: <0
,he M'3 command s$itches the spindle 56, $ith a cloc($ise rotation
(0# >sillo 'ira en sentido anti.orario
Format: <0!
,he M'/ command s$itches the spindle 56, $ith a counter7cloc($ise rotation
(06 Parada del >sillo
Format: <03
,he M'8 command stops the spindle
(01 Re,ri'erante 1 prendido
Format: <0)
,he M'0 command s$itches 56 the first coolant flo$
(0* Re,ri'erante 2 prendido
Format: <0$
,he M'+ command s$itches 56 the second collant flo$
(0- Re,ri'eración apa'ada
Format: <0&
,he M'- command s$itches 5## the coolant flo$
("0 =in de pro'rama< salta al inicio
Format: <0
,he M3' command stops execution of the pro"ram, and $aits for user to continue