The Pocket NC, Penta Machine’s desktop line, exists to make five-axis machining learnable at desk scale, and its G-code story is honest about what that learning contains: two new letters, a lot of CAM, and a reading skill. The tutorial that fits reality is orientation, not mastery, what changes in the language, who writes which parts, and where the new dangers live, because multiaxis machining at any scale runs on the same division of labor.
The language extension: A and B
The machine’s two rotary axes get the next letters in the word-address alphabet: A for the tilt, B for the rotation, carrying angles in degrees the way X carries millimeters. The Pocket NC runs a LinuxCNC-based control, so the words behave as the underlying dialect documents, and they appear in two grammatically identical, operationally different ways:
| The move | What it looks like | What it is |
|---|---|---|
| Indexing | G00 A45. B90. alone, between operations | Reposition the part, then cut 3-axis style |
| Simultaneous | G01 X.. Y.. Z.. A.. B.. F.. in streams | Coordinated 5-axis contouring, CAM-born |
| Clearance | A retract before any big rotary word | The safety move that lets the part swing |
Indexed work, reorient, then machine flat, is where desktop five-axis spends most of its life, and its blocks are fully readable and even writable by hand. Simultaneous streams are CAM territory everywhere in the industry, because a human cannot usefully compute coordinated tool-vector motion, and the owner’s job with those streams is reading, not authoring.
The reading skill, which is the actual tutorial
Five-axis reading adds three checks to the standard ones. Rotary sanity: A and B values within the machine’s documented ranges, no surprise 720-degree unwinds mid-program. Move classification: every block with rotary words identified as indexing or simultaneous, because the two get different attention, an indexing move wants its clearance verified, a simultaneous stream wants its source trusted and its first seconds watched. And clearance discipline: the retract before reorientation is load-bearing, the part and fixture sweep through space the tool may occupy, and the program-versus-reality checks that catch 3-axis clearance problems apply with an extra dimension here. Desktop scale makes these collisions cheap tuition; the habits they teach protect industrial spindles later, which is much of the machine’s pedagogical case.
Everything else in a posted Pocket NC program is the standard curriculum: headers, offsets, tool calls, the state discipline that decides what blocks mean. The core transfers wholesale, and the small-machine precision world it borders runs on the same fundamentals at tighter tolerances.
The workflow that fits the machine
CAM-first, with the canonical pairing being Fusion 360 and the machine’s published post, the same post-is-the-translator logic as every machine, with five-axis raising the stakes on using the machine-specific post rather than a generic one, since the rotary kinematics live there. Hand-writing keeps its niches: setup blocks, indexing sequences, test moves during commissioning. Proving keeps its ritual, plus the rotary additions: first run with the part absent or foam standing in for it is the desktop five-axis equivalent of the air cut, and watching the first reorientation with a hand near stop is not paranoia, it is the curriculum. Foam deserves a sentence of advocacy here, because it is the desktop five-axis teacher nobody assigns: machinable wax or rigid foam runs the entire real program, reorientations included, at stakes measured in cents, and a learner who cuts three foam parts before the first aluminum one has rehearsed every habit this page lists on material that forgives all of them.
The foundation under all of it is unchanged: the standard core at recall speed, free to build in the 60-second rounds on the G-code practice page, because a five-axis program is mostly three-axis vocabulary, and the owner who reads that vocabulary automatically has attention left for the two letters that are genuinely new.
Sources
Frequently asked questions
How does G-code change on a 5-axis Pocket NC?
Two rotary words join the language: A (tilt) and B (rotation) carry angles alongside X, Y, Z, in the same blocks for simultaneous motion or alone for repositioning. The control is LinuxCNC-based, so the standard core behaves as documented.
Do you hand-write 5-axis G-code?
Indexing moves, sometimes: repositioning the part is readable, writable code. Simultaneous five-axis motion is CAM’s job everywhere in industry. The owner writes setup and indexing, posts the contouring, and reads everything.
What is the most common 5-axis beginner mistake on these machines?
Treating reorientation casually: a rotary move swings the part through space the tool may occupy, so the clearance retract before A or B moves is load-bearing safety code.
Should I learn 3-axis G-code before touching a 5-axis machine?
Yes, and the overlap is the good news: the standard core is the majority of any 5-axis program. The free G-Code Sprint app drills it in 60-second rounds; with it automatic, the two new letters are an afternoon.