You are currently viewing CNC Red Seal Machinist Exam Questions – Know Your G-Code and M-Code

CNC Red Seal Machinist Exam Questions – Know Your G-Code and M-Code

CNC Red Seal Machinist Exam Questions: What the 429A Actually Tests

Your CAM software generates the G-code. You model the part, define the toolpaths, post-process, load the program, and run. You may not have written a line of G-code by hand in years — and the machine doesn’t care how it got there.

The Red Seal exam does.

What CNC programming questions appear on the Red Seal machinist exam — and do you need to write G-code by hand? Yes. CNC G-code M-code Red Seal machinist exam prep covers Sub-task H-18.02 of the RSOS for Machinist 429A, which requires you to manually produce a program using G-codes, M-codes, and coordinates — and to interpret and review code from a finished program. CAM programming (H-18.06) is also tested, but the exam weights manual code interpretation heavily, because the RSOS tests whether you understand what the machine reads, not just what the software outputs.

Most Challengers can set up and run a CNC machine flawlessly. Where they lose marks is when the exam presents a block of code and asks what a specific line does — or which G-code initiates cutter radius compensation to the left. At that point, CAM experience doesn’t help. Code literacy does.

CNC Red Seal Machinist Exam Questions: Understanding the Logic Behind the Code

CNC Red Seal Machinist Exam Questions cover Task H-18 of the RSOS for Machinist 429A — the ability to manually produce and interpret a CNC program, establish safety blocks, apply cutter radius compensation, and calculate program points using the Cartesian Coordinate System. MWA H carries 20% of the national exam weighting; Task H-18 alone accounts for 43% of that total — the largest share of any single task in the MWA.

MWA H — Machines Using Computer Numerical Control (CNC) Machines is the third-heaviest MWA on the entire Red Seal exam. Sub-tasks H-18.01 through H-18.06 cover process documentation, manual programming, program transfer, optimisation, 2D/3D modelling, and CAM. But H-18.02 — manual input programming — is where most Challengers drop marks.

The RSOS requires the candidate to “use programming codes to manually produce program,” “interpret and review codes from program,” “establish safety blocks of code to cancel previous code and initialize machine at a start point,” and “plan entry and exit moves to avoid collisions.” That is code literacy — and it cannot be substituted by CAM experience alone.

Layer 1 — The Coordinate System

Every G-code program operates in a coordinate space defined by the work datum. The exam tests whether you can calculate program points using trigonometry and the Cartesian Coordinate System (RSOS H-18.02.02P).

The critical distinction is absolute versus incremental positioning:

  • G90 — Absolute positioning: All coordinates reference the work datum (program zero). X50.0 always means 50 mm from datum — regardless of where the tool currently sits.
  • G91 — Incremental positioning: All coordinates reference the tool’s current position. X50.0 means “move 50 mm in the X direction from here.”

The exam will present the same toolpath in both modes and ask which code block produces the correct result — or give a sequence of incremental moves and ask where the tool ends up. Sketch it if you have to. Know both modes cold before exam day.

Layer 2 — Motion Codes: Cutting vs. Non-Cutting Moves

Four codes define how the machine moves. Understand the mechanical difference between them, not just the label.

  • G00 — Rapid traverse: Non-cutting. Maximum axis speed, but axes move independently. The path is not a predictable straight line on most machines. Never rapid when the tool is near the workpiece.
  • G01 — Linear interpolation: A cutting move at the programmed feed rate. Axes coordinate to produce a true straight line.
  • G02 — Circular interpolation, clockwise: Arc motion in the CW direction, viewed from the cutting tool side.
  • G03 — Circular interpolation, counter-clockwise: Arc motion in the CCW direction.

The exam ties G00 directly to the RSOS requirement to “plan entry and exit moves to avoid collisions.” Because G00 path behaviour is unpredictable, your approach moves must keep the tool clear of all obstacles. That is a safety logic question — and it appears on the 429A as a Procedural item.

Layer 3 — Cutter Radius Compensation: G41, G42, and the Lead-In Rule

Centreline programming requires the programmer to manually calculate the offset toolpath. Every coordinate describes the path of the cutter’s centreline — not the part profile.

Cutter radius compensation (CRC) uses G41 or G42 to instruct the controller to apply an automatic offset based on the tool radius stored in the offset register. The RSOS requires the candidate to define this difference explicitly (H-18.02.06P).

  • G41 — Cutter left: The tool is to the left of the programmed path, in the direction of travel.
  • G42 — Cutter right: The tool is to the right of the programmed path, in the direction of travel.

The rule the exam tests: CRC must activate on a lead-in move, not on the first cutting pass. If you call G41 or G42 while the cutter already contacts the part, the controller applies the offset from that position — and gouges the workpiece. G40 cancels CRC and must appear in every safety block.

G-Code Quick Reference — CNC Red Seal Machinist Exam Questions Cheat Sheet

Code Function Plain Language Why the Exam Tests This
MOTION
G00 Rapid traverse Non-cutting move at maximum axis speed; path is not predictable Collision avoidance logic — entry and exit moves (H-18.02.04P)
G01 Linear interpolation Cutting move in a straight line at programmed feed rate Foundational motion code; feed rate calculation (H-18.02.05P)
G02 Circular interpolation CW Arc motion in the clockwise direction Direction identification — confusing G02/G03 is a common exam error
G03 Circular interpolation CCW Arc motion in the counter-clockwise direction Direction identification — same as above, paired with G02
POSITIONING MODE
G90 Absolute positioning Coordinates measured from work datum (program zero) Absolute vs. incremental — program point calculation (H-18.02.02P)
G91 Incremental positioning Coordinates measured from current tool position Used before G28 in safety blocks — misuse causes dangerous moves

CRC, Canned Cycles, and Reference Codes — Cheat Sheet Continued

Code Function Plain Language Why the Exam Tests This
CUTTER RADIUS COMPENSATION
G40 Cancel CRC Cancels G41 or G42; must appear in every safety block Safety block requirement (H-18.02.03P)
G41 CRC — cutter left Controller offsets tool to the left of programmed path G41 vs. G42 identification; lead-in rule — gouge trap (H-18.02.06P)
G42 CRC — cutter right Controller offsets tool to the right of programmed path Same as G41 — direction is determined by travel direction relative to part
CANNED CYCLES
G80 Cancel canned cycle Cancels any active canned cycle (G81, G83, G84, etc.) Safety block requirement — residual canned cycle re-executes at next XY move
G81 Drill canned cycle Drills to Z depth at feed; rapid retract Canned cycle selection — matched to operation type
G83 Peck drilling canned cycle Drills in increments with retract for chip clearance — deep holes G81 vs. G83 selection — Diagnostic question based on hole depth
G84 Tapping canned cycle Synchronised spindle-and-feed tapping cycle Feed rate = pitch × RPM; calculation tested alongside M03/M04 direction
TOOL LENGTH OFFSET AND REFERENCE POINTS
G43 Tool length offset — positive Applies stored tool length offset to Z-axis moves Paired with G49 in safety blocks — offset must be cancelled before next tool
G49 Cancel tool length offset Cancels G43; must appear in every safety block Residual TLO causes Z-axis crash on first move of next program
G28 Return to machine home Moves to machine reference point via an intermediate position Safety block — must be preceded by G91 Z0 to avoid driving to absolute (0,0,0)
G30 Return to second reference point Moves to a user-defined secondary reference — tool change position on some machines Recall — identifies reference points and their applications (H-18.02.03P)

Layer 4 — Safety Blocks and Modal Codes

G-codes are modal: they stay active until cancelled or replaced by another code. A canned cycle (G81) active in one program stays active when the next program starts — unless someone resets it. A cutter radius compensation call (G41) left uncancelled will offset the first move of the next program.

The RSOS requires the candidate to “establish safety blocks of code to cancel previous code and initialize machine at a start point” (H-18.02.03P). The exam tests whether you can identify what each code in that block cancels — and what failure mode results if it’s missing.

A standard safety block: G90 G80 G40 G49 G28 G91 Z0

Code What It Cancels or Sets Failure Mode If Missing
G90 Sets absolute positioning mode Residual G91 — incremental moves position the tool incorrectly from the start
G80 Cancels all canned cycles Active G81 or G83 re-executes automatically at the next XY move
G40 Cancels cutter radius compensation CRC active on first move — potential gouge or crash into workpiece
G49 Cancels tool length offset Previous TLO shifts Z — collision on first rapid move
G91 Sets incremental mode for G28 return only G28 in absolute mode drives to machine coordinate (0,0,0) — potentially through the table
G28 Z0 Returns Z-axis to machine home (reference point) Z not at safe height — XY rapid moves risk collision with the workpiece or fixture

Exam answer: If the exam asks “what should the first line of a CNC program contain?” — the answer is not the first cutting move. It is the safety block that cancels all modal codes from the previous program.

Layer 5 — M-Codes and Machine Functions

G-codes control geometry and motion. M-codes control machine functions. The exam may present a scenario where the wrong M-code creates a dangerous condition — spindle running backwards for a right-hand cutter, or coolant off during a deep drilling cycle. Know these six before you sit down.

Code Function Plain Language Exam Alert
M03 Spindle ON — clockwise Right-hand rotation for standard right-hand cutting tools Wrong direction = broken tool or damaged part; Diagnostic question
M04 Spindle ON — counter-clockwise Left-hand rotation for left-hand taps, some face mills Mixing M03/M04 with the wrong cutter is a classic exam Diagnostic trap
M05 Spindle STOP Stops spindle without ending program Must appear before tool changes in a manual program
M08 Coolant ON Activates flood coolant Required before deep drilling cycles — Procedural sequencing question
M09 Coolant OFF Deactivates all coolant Standard before tool change or program end
M30 Program END and RESET Ends program and resets cursor to beginning The exam distinguishes M30 from M02 — M30 resets to start, M02 does not

Red Seal Radar — CNC Programming and the 429A Exam

🎯 RED SEAL RADAR — 429A

MWA H carries 20% of the national Red Seal exam — the third-heaviest MWA. Task H-18: Performs CNC Programming carries 43% of that total, making it the single largest task in the entire MWA.

The exam tests CNC programming across four question types:

  • RECALL — Identify a G-code or M-code by function; identify reference points; state the difference between G41 and G42.
  • PROCEDURAL — Order the codes in a safety block correctly; sequence a program from approach to retract; identify the correct M-code before a tapping cycle.
  • DIAGNOSTIC — Read a block of code and identify the error; determine why a surface was gouged given a CRC activation sequence; identify which M-code caused an unsafe condition.
  • CALCULATION — Calculate program points using the Cartesian Coordinate System and trigonometry; compute spindle speed and feed rate for a canned tapping cycle.

Example exam phrasing: “A programmer activates G41 on the first cutting pass rather than a lead-in move. What is the most likely result?” — That is a Diagnostic question. The answer: the controller applies the CRC offset from the first point of contact, gouging the workpiece. CAM software prevents this automatically. The exam tests whether you know why.

Book vs. Reality

In the shop, you probably haven’t read a G-code printout since your first apprenticeship year. You load the program, verify toolpaths in simulation, check the offsets, and run. If something looks wrong at the control, you stop and adjust — or call the programmer.

On the exam, there is no simulation. There is no offset page. There is a block of code on the page, and the question is: “What does this line do — and is it safe?”

After 25 years of teaching CNC programming, the question I see fail apprentices most consistently is not the calculation. It’s the safety block. They know G-codes in isolation. They don’t know why each code in that opening line is there — because CAM always generated it and they never had to think about it.

The RSOS requires the candidate to “interpret and review codes from program” (H-18.02.07P) for a specific reason: a machinist who can’t read the code cannot verify that a post-processed program is safe before the first run. CAM software is reliable — until a post-processor outputs a wrong arc direction or a missing G40. The machinist at the control is the last checkpoint. The exam tests whether you can hold that position.

Exam Curveballs

What the Red Seal (429A) Is Really Asking

Q: What CNC programming questions are on the Red Seal machinist exam and do you need to write G-code by hand?

Yes — the RSOS for Machinist 429A (Sub-task H-18.02) explicitly requires candidates to “use programming codes to manually produce program” using G-codes, M-codes, and coordinates. The exam tests manual code interpretation: reading a block of G-code, identifying what each line does, explaining the difference between centreline programming and cutter radius compensation, and verifying that safety blocks correctly cancel all modal codes. CAM programming (H-18.06) is also a tested competency, but the exam weights manual code interpretation heavily because CAM post-processors cannot substitute for a machinist’s ability to troubleshoot a program at the control.

Q: What is the difference between G41 and G42 on the Red Seal machinist exam?

Under RSOS H-18.02.06P, G41 activates cutter radius compensation to the left of the programmed path — in the direction of tool travel — while G42 activates compensation to the right. The exam tests both direction identification and the lead-in rule: CRC must activate on a lead-in move, not on the first cutting pass. Activating G41 or G42 while the cutter already contacts the part causes the controller to apply the offset from that point, gouging the workpiece. The exam presents this as a Diagnostic question.

Safety Blocks and the RSOS

Q: What is a CNC safety block and why does the RSOS require it for the 429A exam?

A safety block is a line of G-codes placed at the start of a CNC program to cancel all modal codes that may be active from a previous program. RSOS Sub-task H-18.02.03P requires the candidate to “establish safety blocks of code to cancel previous code and initialize machine at a start point.” A standard safety block — G90 G80 G40 G49 G28 G91 Z0 — cancels incremental mode, all canned cycles, cutter radius compensation, tool length offset, and returns the Z-axis to machine home. The exam tests whether you can identify what each code cancels and what failure mode results if it’s missing.

Exam Trap Questions

Q: A machinist’s CNC program includes the line “G41 D01” at the start of the first cutting pass. The part profile is 0.5 mm undersize after the operation. What caused the error?

This is a classic 429A CRC trap. G41 must activate on a lead-in move — a non-cutting approach — before the cutter engages the part. When G41 is called on the first cutting pass, the controller calculates the offset from the point of initial contact and applies it from there. The result is that the cutter removes less material on the first pass than intended, leaving the part undersize. The fix is to activate G41 on an approach move that brings the cutter into position before it touches the workpiece. The exam expects you to identify the cause, not just the symptom.

Q: A safety block reads “G90 G80 G40 G49 G28 Z0” — without G91 before G28. Why is this a problem?

This is a modal code trap that Challengers miss because CAM generates the safety block and they have never read it critically. G28 commands the machine to return to its home reference point via the current position. In absolute mode (G90), G28 Z0 means “move to Z coordinate zero on the machine coordinate system” — which may be at the table surface, the fixture, or somewhere else entirely. That move can crash the Z-axis into the workpiece or the table. The correct sequence is G91 Z0 first — incremental mode, move Z zero distance (or a small clearance), then G28 returns Z to home safely. The exam presents this as a Procedural question: which line of this safety block contains an error, and what is the consequence?

The Tailgate Checklist — CNC Red Seal Machinist Exam Questions

  • (CNC) MWA H = 20% of the exam; Task H-18 = 43% of MWA H. This is not a minor topic. It is the largest single task block in MWA H.
  • (CNC) G00 is non-cutting and non-predictable in path. Never rapid when near the workpiece. Plan every entry and exit move.
  • (CNC) G41 = cutter left, G42 = cutter right — relative to direction of travel. CRC activates on the lead-in move, never on the first cutting pass.
  • (CNC) Every safety block must include G90 G80 G40 G49 G28 G91 Z0. Know what each code cancels and what failure results if it’s absent.
  • (CNC) CNC G-code M-code Red Seal machinist exam prep is a code literacy test. CAM experience tells the examiner you can run the machine. Code literacy tells them you can verify it’s safe to run.

Don’t leave your certification to chance. Unlike standard courses, XLR8ed Learning offers a Commitment to Completion (C2C) Plan. We provide 8 weeks of initial access to our mobile-optimised quizzes and lessons. If you are unsuccessful with your exam attempt, we provide you 4 weeks of access prior to each additionally required exam attempt at no charge. We are in this with you until you get that Red Seal.

Start your Red Seal exam prep at xlr8edlearning.ca

Leave a Reply