LinuxCNC Documentation
LinuxCNC "G-code" Quick Reference
Código Parámetros Descripción
Motion(X Y Z A B C U V W apply to all motions)
G0Rapid Move
G1Linear Move
G2, G3I J K or R PArc Move
G4PEspera
G5I J P QSpline cúbico
G5.1I JQuadratic Spline
G5.2P LNURBS
G38.2 - G38.5Straight Probe
G33K ($)Movimiento sincronizado del husillo
G33.1K ($)Roscado interno rígido
G80 Cancelar Ciclo Fijo
Canned cycles(X Y Z or U V W apply to canned cycles, depending on active plane)
G70Q (X) (Z) (D) (E) (P)Ciclo de acabado de torneado
G71 G72Q (X) (Z) (D) (E) (P)Ciclo de desbaste en torno
G73R L QDrilling Cycle, Chip Breaking
G74R L (P) ($)Left-hand Tapping Cycle, Dwell
G76P Z I J R K Q H L E ($)Threading Cycle
G81R L (P)Ciclo de taladrado
G82R L (P)Drilling Cycle, Dwell
G83R L QDrilling Cycle, Peck
G84R L (P) ($)Right-hand Tapping Cycle, Dwell
G85R L (P)Boring Cycle, Feed Out
G89R L (P)Ciclo de mandrinado, espera, alimentación de salida
Modo de distancia
G90, G91Modo de distancia
G90.1, G91.1Modo de distancia de arco
G7Lathe Diameter Mode
G8Lathe Radius Mode
Feed Rate Mode
G93, G94, G95S ($)Feed Rate Mode
Control de husillo
M3, M4, M5S ($)Control de husillo
M19R Q (P) ($)Orient Spindle
G96, G97 S D ($)Spindle Control Mode
Refrigerante
M7, M8, M9Coolant Control
Tool Length Offset
G43 H Tool Length Offset
G43.1 Offset de longitud de herramienta dinámico
G43.2 H Aplicar offset adicional de longitud de herramienta
G49 Cancel Tool Length Compensation
Stopping
M0, M1Program Pause
M2, M30 Program End
M60Pallet Change Pause
Unidades
G20, G21 Units (inch, mm)
Plane Selection (affects G2, G3, G81…G89, G40…G42)
G17 - G19.1Selección de plano
Compensación de radio de cortador
G40Compensation Off
G41,G42DCompensación del cortador
G41.1, G42.1D LCompensación del cortador dinámica
Modo de control de ruta
G61 G61.1Modo de ruta exacta
G61.1Modo de parada exacta
G64P QPath Blending
Modo de retorno en ciclos fijos
G98, G99Canned Cycle Return Level
Other Modal Codes
FSet Feed Rate
S($)Set Spindle Speed
TSeleccionar herramienta
M48, M49Speed and Feed Override Control
M50P0 (off) or P1 (on)Feed Override Control
M51P0 (off) or P1 (on) ($)Spindle Speed Override Control
M52P0 (off) or P1 (on)Control de avance adaptativo
M53P0 (off) or P1 (on)Feed Stop Control
G54-G59.3Select Coordinate System
Flow-control Codes
o subSubroutines, sub/endsub call
o whileLooping, while/endwhile do/while
o ifConditional, if/else/endif
o repeatRepeat a loop of code
[]Indirection
o callCall named file
M70Save modal state
M71Invalidate stored state
M72Restore modal state
M73Save and Auto-restore modal state
Códigos de Entrada/Salida
M62 - M65PDigital Output Control
M66P E L QWait on Input
M67TAnalog Output, Synchronized
M68TAnalog Output, Immediate
Non-modal Codes
M6TCambio de herramienta
M61QSet Current Tool
G10 L0Recargar tabla de herramientas
G10 L1P Q RSet Tool Table
G10 L10PSet Tool Table
G10 L11PSet Tool Table
G10 L2P RSet Coordinate System
G10 L20PSet Coordinate System
G28, G28.1Go/Set Predefined Position
G30, G30.1Go/Set Predefined Position
G53Mover en coordenadas de máquina
G52, G92Desplazamiento de sistema de coordenadas
G92.1, G92.2Reset G92 Offsets
G92.3Restablece offsets G92
M101 - M199P QComandos definidos por el usuario
Comments & Messages
; (…)Comentarios
(MSG,…)Mensajes
(DEBUG,…)Mensajes de depuración
(PRINT,…)Print Messages