| {{nowrap|{{mono| }}{{codett|O4968 (OPTIONAL PROGRAM DESCRIPTION OR COMMENT)|gcode}}}} || Sample face and turn program. Comments are enclosed in parentheses.
|-
| {{codett|N01N10 M216 |gcode}} || Turn on load monitor
|-
| {{codett|N02N20 G20 G90 G54 D200 G40|gcode}} || Inch units. Absolute mode. Activate work offset. Activate tool offset. Deactivate tool nose radius compensation. <br/> ''Significance:'' This block is often called the '''safe block''' or safety block. Its commands can vary but are usually similar to the ones shown here. The idea is that a safety block should always be given near the top of any program, as a general default, unless some very specific/concrete reason exists to omit it. The safety block is like a [[sanity check]] or a [[preflight checklist]]: it explicitly ensures conditions that otherwise would be implicit, left merely to assumption. The safety block reduces risk of crashes, and it can also helpfully refocus the thinking of the humans who write or read the program under hurried conditions.
|-
| {{codett|N03N30 G50 S2000 |gcode}} || Set maximum spindle speed in rev/min — This setting affects Constant Surface Speed mode
|-
| {{codett|N04N40 T0300 |gcode}} || Index turret to tool 3. Clear wear offset (00).
|-
| {{codett|N05N50 G96 S854 M03 |gcode}} || Constant surface speed [automatically varies the spindle speed], 854 [[Surface feet per minute|sfm]], start spindle CW rotation
|-
| {{codett|N06N60 G41 G00 X1.1 Z1.1 T0303 M08 |gcode}} || Enable cutter radius compensation mode, rapid position to 0.55" above axial centerline (1.1" in diameter) and {{val|1.1 |u=inches}} positive from the work offset in Z, activate flood coolant
|-
| {{codett|N07N70 G01 Z1.0 F.05 |gcode}} || Feed in horizontally at rate of 0.050" per revolution of the spindle until the tool is positioned 1" positive from the work offset
|-
| {{codett|N08N80 X-0.016 |gcode}} || Feed the tool slightly past center—the tool must travel by at least its nose radius past the center of the part to prevent a leftover scallop of material.
|-
| {{codett|N09N90 G00 Z1.1|gcode}} || Rapid positioning; retract to start position
|-
| {{codett|N10N100 X1.0 |gcode}} || Rapid positioning; next pass
|-
| {{codett|N11N110 G01 Z0.0 F.05 |gcode}} || Feed-in horizontally cutting the bar to 1" diameter all the way to the datum, [[Revolutions per minute|in/rev]]
|-
| {{codett|N12N120 G00 X1.1 M05 M09 |gcode}} || Clear the part, stop the spindle, turn off the coolant
|-
| {{codett|N13N130 G91 G28 X0 |gcode}} || Home X axis — return the machine's home position for the X axis
|-
| {{codett|N14N140 G91 G28 Z0 |gcode}} || Home Z axis — return to machine's home position for the Z axis
|-
| {{codett|N15N150 G90 |gcode}} || Return to absolute mode. Turn off load monitor
|-
| {{codett|N16N160 M30 |gcode}} || Program stop, rewind to the top of the program, wait for cycle start
|-
| {{codett|%|gcode}} || Signal end of data during file transfer. Originally used to mark the end of the tape, not necessarily the end of the program. ISO uses {{mono|%}}, EIA uses ER ({{mono|0x0B}}).
|