Coduri G și M pentru strung CNC: lista esențială
Codurile G comandă mișcarea, codurile M comandă funcțiile mașinii. Iată codurile esențiale pentru strungul CNC și particularitatea diametrului pe axa X.
What each G-code and M-code means, in plain language for beginners.
Codurile G comandă mișcarea, codurile M comandă funcțiile mașinii. Iată codurile esențiale pentru strungul CNC și particularitatea diametrului pe axa X.
G-kódy řídí pohyb, M-kódy řídí funkce stroje. Zde jsou nejdůležitější kódy pro CNC frézku, příklad programu a jak je číst před spuštěním.
A legfontosabb CNC G-kódok egy rövid, fix lista, amit papírról és aktív felidézéssel is megtanulhatsz. Itt vannak a kezdő kódok és a mögöttük lévő logika.
A button pusher loads parts and presses cycle start. A setup machinist owns the offsets, tools, and program. The gap between them is mostly knowing the code.
A CNC machinist math cheat sheet covers the formulas you actually use: speeds and feeds, basic trig, and bolt circles. Here is what to include and the real limit.
A color coded G-code card groups codes by function so your eye finds them fast. Here is how to build the color system, what to include, and its real limit.
The ProtoTRAK is mainly conversational, but it uses standard M-codes for the spindle, tool change, coolant, and program stops. Here are the common ones and what they do.
DIN 66025 ist die Norm für CNC-Programme. Hier sind der Programmaufbau, die wichtigsten G-Codes und M-Befehle und wie du ein Programm sicher liest.
A G-code mouse pad keeps the common codes under your hand all day. Here is what to fit on the limited space, how to design one that lasts, and its real limit.
A 4K M-code wallpaper keeps the common machine codes on screen all day. Here is what to include, how to design one that stays readable, and its one real limit.
An interactive G-code map lets beginners explore and test the codes instead of just reading a chart. Here is what makes one effective and how to learn fastest.
M-Befehle schalten beim CNC-Drehen Spindel, Werkzeug und Kühlmittel. Hier sind die wichtigsten Schaltfunktionen, was beim Drehen besonders ist und wie du sie liest.
Mã G điều khiển chuyển động, mã M điều khiển chức năng máy. Hiểu rõ hai họ lệnh này và vài mã cốt lõi là đủ để đọc phần lớn chương trình phay CNC.
A wall poster of the common G and M codes is a great quick reference. Here is what to put on it, how to format it to read from a few feet, and its one real limit.
The Shapeoko runs GRBL, and Carbide Create generates a compact G-code set: G0, G1, arcs, and M3 to M5 for the router. Here is the list and how to read it.
A visual CNC milling poster shows the axes, planes, and key concepts, not just a code list. Here is what to include in the PDF, and the one limit to know.
A slash at the start of a block makes it optional: skipped when the block-delete switch is on, run when off. The legitimate uses, and the inherited-program trap.
A G-code lock-screen wallpaper is a fine pocket reference and a poor teacher: what belongs on it, how to make one that is actually readable, and the limit.
CNC is the control technology and VMC is one machine type that uses it, so there is no CNC-versus-VMC code split: the real split is mill codes versus lathe.
An operator runs proven jobs; a setter builds and proves them: workholding, offsets, first-offs, and the judgment calls. The skills ladder between the two.
Fadal controls run two G-code formats: Format 1, the Fadal-native conventions, and Format 2, the Fanuc-compatible mode. Which one a machine is in decides everything.
On system A Fanuc lathes, U and W are incremental X and Z: same axes, different reference. Why lathes got dedicated letters, and the rules that follow.
Fusion 360's post asks how to retract: G28 moves through a waypoint you command, G53 goes straight to machine coordinates. The decision and the reasons.
An arc needs a center, and G-code gives two ways to specify it: R names the radius, I and J point to the center. Each has a job, and R has one trap.
G04 means pause everywhere; the number's meaning is dialect: P as milliseconds or seconds, X and U as alternatives, and a decimal that changes everything.
G50 carries two unrelated jobs on lathes: the modern spindle-speed clamp with S, and the legacy coordinate-system-setting form. The words after it decide.
G76 is two lines that delegate a whole threading job: the first line sets the campaign rules, the second describes the thread. Each word, plainly explained.
G92 cuts one synchronized threading pass per block you write; G76 plans the whole sequence from two lines. When manual control of passes earns its keep.
GRBL runs a deliberate subset of the standard; LinuxCNC runs a full implementation with extensions. Programs flow down cleanly and up only with care.
Between the Haas Classic control and Next Generation, the G-code barely changed; the interface, features, and capacity did. What carries over, and what is new.
No universal Haas speeds and feeds chart exists, because cutting data belongs to the tool and material, not the machine brand. Two formulas replace the PDF.
HAL wires the machine's hardware; G-code commands its motion. They meet at named signals, and confusing the two layers is the classic LinuxCNC beginner trap.
Heidenhain controls speak two languages: Klartext, the typed dialogue format, and DIN/ISO G-code. What each is, which jobs favor which, and what transfers.
Printers find their zero by homing to switches; CNC machines are told theirs by touch-off into offsets. Why the philosophies differ, and what transfers.
Diameter programming won the lathe world because prints and micrometers speak diameter. How both modes work, where each lives, and the words that follow X.
LinuxCNC and Fanuc share the standard core and split on structure: O-words vs Macro B, dot-one extensions, G10 table writing, and per-dialect cycle details.
LNC controls run a Fanuc-shaped G-code dialect: the universal core is safe to trust, while cycles and builder M-codes belong to your machine's manual.
Mach3 and Fanuc share the standard core and diverge where dialects always do: cycles' fine print, macros, M-code ownership, and the strictness culture.
Mach4 is a ground-up rewrite of Mach3, but the G-code syntax stayed standard-shaped. What changed is the architecture, scripting, and plugins, not the language.
Marlin G-code and CNC G-code share a skeleton and split into ecosystems: temperatures and extrusion on one side, spindles, offsets, and cycles on the other.
An O number names a whole program or subprogram; an N number labels a line inside it. One is the file's title, the other is its page numbers. The distinction.
Standard G-code states fixed coordinates; parametric programming computes them from variables. One is a recipe with exact amounts, the other a recipe with formulas.
PlanetCNC and Mach3 both speak the PC-controller family's standard-shaped subset: the core ports cleanly, and the edges, M-codes, cycles, deserve the check.
Sinumerik 828D and Fanuc share the motion core and split at the cycle layer: CYCLE calls vs canned cycles, R-parameters vs macros, and one unit landmine.
The SYIL X7 has shipped with different controls across years and markets, so its G-code list is a per-unit question: identify the control, then the list.
A turning insert cuts with a radius, not a point, and tapers and arcs show the difference. How TNR comp works, the orientation number, and the lead-in rules.
PathPilot runs a LinuxCNC-shaped dialect, so vs Fanuc it differs the way LinuxCNC does: shared core, dot-one extensions, G7 lathe diameter mode, structure layer.
أكواد الخراطة هي النواة المشتركة زائد G18 والبرمجة بالقطر والتغذية لكل دورة وG96 مع سقف G50 ودورات G71/G70/G76. جدول مرتب وشرح للمفاهيم والأخطاء الشائعة.
G02 يرسم القوس مع عقارب الساعة وG03 عكسها، والحكم بالنظر عكس المحور الموجب للمستوى النشط. شرح I وJ وR مع مثال مبرمج وحيلة حفظ وفخ المخرطة.
Uma apostila de programação CNC básica serve de consulta, não de método: ler não fixa códigos. Veja o que uma boa apostila contém e como estudar por ela.
Ein Anfänger-PDF zur CNC-Programmierung taugt als Nachschlagewerk, nicht als Lernmethode. Hier steht, was hineingehört und wie aus Lesen Können wird.
CNC torna G ve M kodları için 40 sayfalık PDF aramayın: günlük çekirdek tek sayfaya sığar. Tablolar burada, sistem A tuzağı ve yazdırma notlarıyla birlikte.
The G-code core on a Datron HSM mill is the standard set every machine shares. What changes is the high-speed layer, and which codes belong to your manual.
G02 traza el arco en sentido horario y G03 en sentido antihorario, vistos desde el eje positivo del plano activo. Aquí está la regla, el truco y el ejemplo.
G90 fait travailler en coordonnées absolues depuis l'origine pièce ; G91 en relatif depuis la position courante. La confusion des deux ruine des pièces.
The Fanuc VMC code list worth printing is one page: the standard G and M cores, the G43 habit, blank lines for your machine's codes, and a provenance rule.
Fanuc과 Mitsubishi 컨트롤러의 G코드는 표준 코어가 거의 같고, 차이는 고정 사이클 파라미터, 매크로 문법, 제조사 M코드 같은 바깥층에 있습니다.
A fiber laser cutting table runs the standard 2D motion core plus a laser layer: power, gas, and height codes that vary by builder. Here is the honest split.
G-code and C++ differ in everything visible: words vs statements, modal state vs scope, no compiler safety net. Mapping the gap teaches both sides something.
G02は時計回り、G03は反時計回りの円弧補間です。判定の向きはプレーンの正の軸から見ること。覚え方、IとJの指定、旋盤での注意までまとめました。
GRBL implements a documented subset of standard G-code: full motion and offsets, no canned cycles or macros. The list, the omissions, and what they mean.
The GSK 980TDb speaks a largely Fanuc-compatible lathe dialect: standard motion, G96/G50, G71-class cycles. The list framework, plus where the manual rules.
Heidenhain programmeert in dialoogvorm (Klartext), Fanuc in klassieke ISO-g-code. Wat dat betekent voor leren, mbo en je eerste baan, met een duidelijk advies.
Los códigos M de una fresadora con control Fanuc: el núcleo estándar, los típicos de Fanuc como M98/M99 y M19, y las reglas de bloque que conviene conocer.
Los códigos M que usarás a diario en una fresadora Haas, explicados en español: husillo, refrigerante, cambio de herramienta y paros, con sus avisos de seguridad.
Okuma's OSP-P300 shares the standard motion core but carries its own conventions: one-shot G-codes, its own cycle and variable culture. The honest orientation map.
Onefinity machines ship with different controller generations, so the honest G-code list is the standard hobby core plus your specific controller's documentation.
Tormach publishes the full PathPilot G-code list free. Here it is mapped by family, with the lathe G7 rule, the LinuxCNC-shaped dialect, and Fanuc checkpoints.
G02 ведет дугу по часовой стрелке, G03 против часовой, если смотреть против положительной оси активной плоскости. Правило, пример и способ запомнить навсегда.
Star sliding-head lathes carry rich builder M-code sets: guide bushing, sub spindle, wait codes, bar feed. The category map, and why your model's manual is the list.
Wait codes are matched meeting points between a Swiss lathe's program channels: both must arrive before either continues. The mental model, rules, and reading drill.
الأكواد رموز عالمية تبقى لاتينية، والتعلم بالعربي يعني ربط كل رمز بمعناه. جدول النواة الأساسية مع ملاحظات الحفظ بالأزواج وخطة تثبيت يومية قصيرة.
G02 fährt den Kreisbogen im Uhrzeigersinn, G03 dagegen. Drei Eselsbrücken, ein Blickrichtungs-Trick und eine Übung, mit der die Verwechslung aufhört.
G54 und G55 verhalten sich identisch: Beide rufen eine gespeicherte Nullpunktverschiebung auf. Der Unterschied ist nur, welcher Werkstücknullpunkt aktiv wird.
A badge buddy holds about twenty codes legibly. Here is the exact front and back worth printing, the sizing specs, and when to retire the card on purpose.
A wood router's working M-codes are a short list: M3/M5 spindle, M0 pause, M2/M30 end, and the coolant pair M8/M9, usually rewired to dust collection or air.
I, J, and K give the arc center as an offset from the start point, while R gives the radius. Here is when each works, and why full circles need I and J.
Printers and mills share the same motion core; the dialects split at the tool: extrusion and heat words on one side, spindle, offsets, and cycles on the other.
Fanuc robots run point-taught TP programs; CNC machines run coordinate-explicit G-code. The concepts map cleanly: frames are offsets, points are positions.
Macro variables differ by lifespan: #100-series commons clear at power-off, #500-series survive it, and locals #1-#33 live only inside a call. Here is the map.
G-codes control how the machine moves and M-codes control machine actions like the spindle and coolant. Here is the real difference and how they work together.
G17 selects the XY plane, G18 the XZ plane, and G19 the YZ plane. Here is what plane selection controls, why arcs depend on it, and when to switch.
G20 tells the control to read the program in inches and G21 in millimeters. Here is the difference, why the wrong one is dangerous, and how to keep them straight.
G28 sends the machine back to its reference (home) position, through an intermediate point you specify. Here is how it works and how to use it safely.
G41 offsets the cutter to the left of the path and G42 to the right. Here is how cutter compensation works, the D register, and how to engage it without a crash.
G43 applies a tool's stored length so its tip reaches the programmed Z, no matter how long the tool is. Here is how G43, the H register, and G49 work.
G54 tells the machine where your part zero is. Here is what a work offset stores, how G54 to G59 differ, and how to set one without cutting in the wrong place.
G81 is a simple drill cycle and G83 is a peck drill cycle for deep holes. Here is how canned cycles work, their R, Z, and Q words, and when to use each.
GRBL has two different number-1 messages: error:1 is a malformed G-code word, ALARM:1 is a tripped hard limit with position lost. Here is how to fix each.
Heidenhain Klartext is readable dialogue code like L X+50 FMAX; Fanuc speaks word-address blocks. Here is how the two map and which to learn when.
I and J are the distance from the arc's start point to its center: I = center X minus start X, J = center Y minus start Y. Two worked examples and a self-check.
The core M-codes are identical on lathes and mills, so learn them once. The real difference to remember is the tool change: M06 on a mill, the T word on a lathe.
G71 roughs with passes along Z for shafts and long profiles, G72 roughs with passes along X for faces. Here is how each cycle works and which to pick.
The motion core is identical; six differences do the damage: default plane, diameter programming, feed modes, CSS, cycle families, and comp mechanics.
A left-hand tap runs on M04, the reverse spindle code, with the G74 cycle on mills. For single-point threading, the spindle and feed direction together set the hand.
LightBurn's console is a direct line to your GRBL controller: $$ lists settings, $H homes, $X unlocks, $G shows active modes. Here is the working command set.
M06 executes a tool change while the T word selects the tool. Here is how T6 M06 works, the safe sequence around it, and why G43 always follows.
In GRBL laser mode, M3 holds constant power while M4 scales power with speed, killing corner burn. Here is when each wins and why laser mode must be on.
Mazatrol is Mazak's menu-guided programming language; G-code is the universal word-address standard. Here is how they differ and when each one wins.
ShopMill programs Sinumerik machines through graphical work steps; ISO G-code programs them through classic blocks. Here is how they differ and when each wins.
Waterjet code keeps the 2D motion core and swaps everything tool-shaped: pump M-codes instead of a spindle, pierce dwells, and kerf comp doing the sizing work.
G54 selects a stored work origin, a CNC concept most 3D printers never use. Here is what it does, which firmware supports it, and what printers use instead.
G02 cuts a straight line when the arc is not actually defined: missing I and J words, a firmware without arc support, the wrong plane, or a huge radius.
The core G-code and M-code a TESDA CNC exam expects you to know: motion, units, positioning, spindle, coolant, and program control. A focused study list.
A blank G-code worksheet is a fine offline study aid if it forces recall. Here is what to put on one, and why a write-in format beats a plain code list.
There is no universal M-code that fires a plasma torch. Different controllers map it differently, often to M03 or a custom code. Here is why, and how to check.
Tapping uses a canned cycle like G84; thread milling uses helical interpolation with G02 or G03 plus Z. Here is how the two approaches differ in code.
G90 is absolute positioning and G91 is incremental. Mixing them up sends moves to the wrong place, which is a classic beginner crash. Here is the difference.
A helix is just a circular arc with a simultaneous Z move. Add a Z value to a G02 or G03 and the tool spirals instead of staying flat. Here is how it works.
M98 calls a subprogram and M99 returns from it, letting you reuse a block of code. Here is how the pair works on Fanuc-style controls, with an example.
LinuxCNC uses O-words, not Fanuc-style M98/M99, for subroutines, loops, and conditionals. Here is how o-sub, o-call, while, and if work, with examples.
G00 is a rapid positioning move and G01 is a controlled linear feed move. Here is the difference, why beginners mix them up, and how to keep them straight.
G02 cuts a clockwise arc and G03 cuts a counterclockwise arc. Here is how to tell them apart, which way to look, and why beginners reverse them.
A short reference list of the G-codes that show up in almost every CNC program, with a one-line meaning for each, built for beginners.
M03 starts the spindle clockwise, M04 starts it counterclockwise, and M05 stops it. Here is what each does and how to remember the set.
A short reference of the M-codes you will meet first: spindle, coolant, tool change, and program control, each with a plain-language meaning.
Modal G-codes stay active until you change them; non-modal codes act only on their own line. Here is why that distinction trips up beginners.