CNC Machining Basics

Learn how CNC lathes, machining centers and routers move and where they measure from. Name the machine axes, set work zero and write positions in absolute and incremental coordinates. Read and write simple G-code programs for milling and turning with moves, arcs, spindle, tool and coolant commands and drilling cycles. Apply tool length offsets and radius compensation, see how CAM software and conversational controls produce programs, and prove out a program safely: simulate it, run the first part, measure it and correct the offsets.

BeginnerLesson 5 of 8 in Mechanical Workshop Technology Course

What you will learn

  1. Describe the parts and controls of CNC lathes, machining centers and routers, name their axes, and use machine zero and work zero to locate a part.
    • Describe how a CNC machine runs a program
      Name the main parts of a CNC machine, follow the chain from drawing to finished part, and use the operating modes and safety controls of the operator panel.
    • Name the axes of lathes, mills and multi-axis machines
      Apply the right-hand rule and the standard axis conventions to identify X, Y, Z and the rotary axes A, B and C on lathes, machining centers and multi-axis machines.
    • Use machine zero, reference points and work zero
      Distinguish machine zero, the reference point and work zero, set a work offset, and choose a sensible work zero on mills and lathes.
  2. Write the positions a tool must reach as absolute or incremental coordinates and calculate the points of a contour from a workshop drawing.
    • Switch between absolute and incremental coordinates
      Write the same path in absolute and in incremental coordinates, choose the right mode for a task and avoid the errors that come with switching modes.
    • Work out contour points from a drawing
      Choose work zero to match the drawing, calculate missing coordinates of lines, chamfers, radii, tapers and hole patterns, and check the results.
  3. Read ISO G-code programs block by block and write simple complete programs for a machining center and a lathe, including moves, spindle, tools, coolant and canned cycles.
    • Read the structure of a G-code program
      Recognize programs, blocks and words, the meaning of the address letters, modal and non-modal codes and the usual layout of a program, and know how control dialects differ.
    • Program straight-line and circular moves
      Use rapid moves, linear feed moves and clockwise and counterclockwise arcs in the right plane, with the arc center or radius, and set the feed in the right unit.
    • Control spindle, tools and coolant with S, T and M words
      Use S, T and the common M codes, calculate spindle speed and feed rate from cutting data, and apply constant surface speed on a lathe with a speed limit.
    • Write and read a simple milling program
      Plan, write and explain a complete milling program with a contour and drilled holes, using canned cycles and the right return levels.
    • Write and read a simple turning program
      Plan, write and explain a complete turning program with facing, a chamfer and a diameter, and recognize roughing cycles and the special features of lathe programs.
  4. Measure and enter tool length and geometry offsets, and program contours with cutter radius and tool nose radius compensation so the part comes out at size.
    • Set and use tool length and tool geometry offsets
      Explain why each tool needs its own offsets, activate length offsets on a mill and geometry offsets on a lathe, and keep geometry and wear values apart.
    • Program with cutter radius and tool nose radius compensation
      Use G41, G42 and G40 to program the part contour directly, apply them correctly on approach and exit, and use nose radius compensation on the lathe.
  5. Follow the CAM workflow from model to machine-ready program, use conversational programming at the control, and plan nested panel machining.
    • Follow the CAM workflow from model to machine program
      Set up stock, coordinate system and tools in CAM software, choose and adjust operations, and post-process and transfer the program to the machine.
    • Program with conversational controls and plan nested parts
      Program simple parts with a conversational (dialogue) control, choose between G-code, conversational programming and CAM, and plan nesting on a panel.
  6. Find errors by simulation, run the first part safely, respond to alarms, correct sizes with wear offsets and improve programs for cycle time, tool life and material use.
    • Simulate a program and find programming errors
      Use graphic simulation and a systematic read-through to find syntax, geometry and logic errors, and respond correctly to alarms on the machine.
    • Run the first part safely
      Check the setup, prove out the program step by step with dry run, single block and overrides, and inspect the first part before production.
    • Correct sizes with wear offsets and improve the program
      Turn measurements into the right wear offset corrections and improve a proven program for cycle time, tool life and material use.

CNC Machining study guide

6 chapters

1

Read the machine and its zero points

A CNC machine turns program numbers into relative movement between a cutting tool and a part. The control, drives and feedback system carry out those movements, while the setup gives the numbers a physical location. Reading the panel, recognizing the axis directions and distinguishing machine zero from work zero let you connect a drawing point with the position you see inside the machine.

1.1 From a drawing to controlled motion

A CNC machine cuts with the same tools and cutting principles as a conventional machine. Computer numerical control (CNC) replaces handwheel movements with instructions for positions, feeds and machine functions.

What makes the axes move

The control reads the program. A drive supplies power to an axis servo motor, and a ball screw turns motor rotation into linear movement along guideways. An encoder or linear scale reports position. In a closed loop, the control compares the requested and measured positions and corrects the difference continuously. Repeatable motion depends on that feedback and the condition of the machine. Some small stepper-driven machines use an open loop, where a lost step is not detected by position feedback.

The spindle supplies the cutting rotation. A tool changer on a machining center, or a turret on a lathe, brings the selected tool into position. A vise, chuck, fixture or vacuum table holds the stock. Coolant equipment manages cutting fluid; guarding and interlocked doors separate people from moving parts and flying chips.

Match the machine to the work
MachineWhat rotatesMain cutting movements
CNC lathe or turning centerWorkpieceTool moves in X and Z
Machining centerCutting toolRelative tool movement in X, Y and Z
Router or woodworking centerCutting tool, usually at high speedRouting and drilling in panels, wood, plastics or composites

A turning center may also have driven tools and a position-controlled spindle. Lasers, plasma cutters and EDM machines share the use of numerical coordinates, although their material-removal processes differ.

Plan the whole job

Read the drawing, choose an operation order, select tools and decide how to hold the stock. Write the program by hand, at a conversational control or in CAM. Transfer it, clamp the work, and enter the tool and work offsets. Simulate and prove out the motion, cut the first part, inspect it and correct the setup before producing a batch.

A valid program can still make the wrong part. For example, the control can reach a coordinate perfectly while the work offset places that coordinate on the wrong side of the vise. Feedback checks position; it does not compare the finished shape with the drawing.

Read the panel by function

Edit changes program text; memory/auto runs a saved program. MDI runs a short typed instruction. Jog and the handwheel position an axis manually; reference return establishes its reference position. Single block pauses execution after each block until cycle start continues it.

Feed hold pauses axis feed but normally leaves the spindle rotating. Emergency stop stops hazardous motion and the spindle; recovery usually needs a reset. Reset ends execution. Feed, rapid and spindle overrides change their respective programmed rates, so reducing feed override does not necessarily reduce rapid travel.

At the machine, work under supervision, keep guards and interlocks in service and doors closed, and never reach in while motion is possible. Wear eye protection, secure hair and clothing, remove chuck keys and loose tools, and use a brush or hook for chips.

Key Takeaways

  • CNC controls positions and machine functions; cutting data still matters.
  • Position feedback lets a closed-loop axis correct its movement.
  • The physical setup must agree with the program.
  • Feed hold and emergency stop have different effects.
  • Feed and rapid overrides control different movements.

1.2 Read linear and rotary axes

An axis name tells you the direction in which a programmed coordinate acts. Read that direction as tool motion relative to the part, even when a table actually moves.

Find Z, then X and Y

Z runs parallel to the main spindle. Positive Z increases separation between tool and work: upward on a vertical mill and away from the chuck on a lathe. On a horizontal machining center, Z is horizontal because the spindle is horizontal.

The axes form a right-handed coordinate system. Hold your right thumb, index finger and middle finger at right angles: thumb is +X, index finger +Y and middle finger +Z. Orient your hand to the machine's axes. The relationship between the three directions stays the same when you turn your hand.

On a typical vertical machining center viewed from the operator, +X points right, +Y toward the column and +Z up. X and Y follow the machine convention together with the right-hand rule; increasing tool-to-part distance alone does not define them.

Separate table movement from program movement

Suppose the spindle stays fixed horizontally while the table carries the part. A +X tool movement relative to the part requires the table to move left. Watching the table move right and calling that +X reverses the program's viewpoint. Use the axis display and the machine's marked directions when jogging.

With work zero at the front-left corner of a plate's top face, a point 30 mm right, 20 mm back and 5 mm below the top is X30.0 Y20.0 Z-5.0. Its negative Z locates it inside the material; positive Z values lie above that top face.

Read lathe X as diameter

Lathe Z follows the spindle centerline. +Z points away from the chuck toward the tailstock. X moves radially, and +X points away from the centerline. A front turret and a rear turret look different from the operator's position, so identify the centerline before assigning the direction.

In diameter programming, X30.0 puts the tool at a radius of 15 mm. If a cut reduces a diameter from 30 to 28 mm, the programmed X changes by 2 mm while the tool moves inward by 1 mm. This distinction also applies to incremental X moves and diameter-valued wear offsets.

Name rotations by their axes
Rotary axisAxis it rotates about
AX
BY
CZ

Point your right thumb along the positive linear axis. Your curled fingers show the positive rotation about it. A rotary table turning about X is an A axis. A lathe spindle that can stop at a commanded angular position provides a C axis; C90.0 can orient a part for a cross hole with a driven tool.

A machine with X, Y, Z, B and C can tilt and rotate the part as well as move linearly. In indexed machining, a rotary axis first reaches a fixed angle and the cutting moves then take place at that orientation. Having five axes does not mean all five must move together during every cut.

Key Takeaways

  • Read coordinates as tool movement relative to the part.
  • Z is parallel to the main spindle; +Z increases separation.
  • Lathe X normally specifies diameter, so radial motion is half the X change.
  • A, B and C rotate about X, Y and Z.

1.3 Locate the part with work zero

A drawing locates features on a part. The machine needs to know where that part sits inside its travel. Zero points and offsets connect those two views.

Three points with different jobs

Machine zero (M) is the fixed origin chosen by the builder. The reference point (R) is a known position reached during homing. A machine with incremental encoders needs reference return after startup to establish its position; absolute encoders retain position through power-off.

Work zero (W) is the origin chosen for the part program. Use a drawing datum that can also be found accurately during setup: a squared corner, the center of a bore or a finished face. Machine zero stays fixed while work zero changes with the job.

The tool reference point is separate again. On a mill it is the spindle gauge line where the holder seats; on a lathe it is a reference point on the turret. Tool offsets account for the distance from that point to each cutting tip.

Store the connection

A work offset locates work zero in machine coordinates. Fanuc-style controls select registers with G54 through G59. Siemens provides settable zero offsets including G54 through G57; Heidenhain uses a preset table.

Suppose G54 contains machine X−412.350 and Y−203.120. The work point X30, Y20 corresponds to:

XM=−412.350+30=−382.350 YM=−203.120+20=−183.120

Calling G54 lets the program keep the drawing coordinates. Moving the vise later requires a new work-offset measurement, not a new coordinate for every feature. Two vises can use G54 and G55 with the same local toolpath.

Measure the datum

An edge finder locates an edge through contact. A 10 mm edge finder has a 5 mm radius, so its spindle center is 5 mm from the contacted edge. Apply that radius on the correct side. For a left edge with material extending in +X, the spindle center is 5 mm to the negative side at contact; the edge is 5 mm farther in +X.

A probe can locate edges automatically. Sweeping a bore with a dial indicator locates its center. Set Z from the top face using the shop's chosen tool-length method, so work and tool offsets do not count the same distance twice.

On a lathe, X0 is the centerline and Z0 is normally the finished front face. Face the stock, establish Z0, and use a measured test diameter to establish the tool's X geometry. Points along the shaft behind the front face then have negative Z coordinates.

Check the register and the position

Confirm that the program calls the register you measured. Data in G55 does not help a program calling G54. Also compare the physical datum with the programmed datum: a raw face and a finished face are different surfaces.

For a position check, first establish verified clearance with the correct tool-length compensation active. Move over the datum in XY while high, then lower under controlled movement to a checking height, such as 50 mm, and compare with a gauge. An unchecked direct move to X0 Y0 Z0 can send the tool into the stock or a clamp. Re-establish reference position during recovery when the control requires it.

Key Takeaways

  • Machine zero belongs to the machine; work zero belongs to the job.
  • A work offset locates the part datum in machine coordinates.
  • An edge finder needs a radius correction.
  • Work and tool offsets account for different distances.
  • Check the selected register and datum surface.
  • Verify XY above the part before lowering to a checking height.
2

Calculate the tool positions

Every contour becomes a sequence of positions. You can describe each destination from work zero or describe the distance from the previous point; the geometry must stay the same in either form. Drawing datums, signed coordinates and a checked point table make those positions dependable. Chamfers, radii, bolt circles and lathe tapers add a few calculations before the movement blocks can be written.

2.1 Write destinations or distances

The same contour can be described by its destinations or by the distances between them. The control's coordinate mode decides which meaning it gives a number.

Absolute and incremental on a mill
ModeCodeMeaning of X70.0
AbsoluteG90Reach X70 measured from work zero
IncrementalG91Move 70 mm in +X from the present position

Both modes are modal: the selection stays active until replaced. An omitted axis does not move in either mode. To calculate an increment, subtract the current coordinate from the target coordinate, separately for every axis:

increment=target−current
Convert a closed path

Start at P1(10, 10). The next points are P2(70, 10), P3(70, 40), P4(40, 55), P5(10, 40), then P1 again.

MoveAbsolute destinationIncrement from previous point
P1 to P2X70.0 Y10.0X60.0 Y0.0
P2 to P3X70.0 Y40.0X0.0 Y30.0
P3 to P4X40.0 Y55.0X-30.0 Y15.0
P4 to P5X10.0 Y40.0X-30.0 Y-15.0
P5 to P1X10.0 Y10.0X0.0 Y-30.0

The X increments total zero, and so do the Y increments. That confirms the path closes. It does not confirm that every intermediate corner is correct: two wrong moves can cancel. Check the point table as well as the sums.

Absolute coordinates are convenient for contours because each destination can be compared directly with the drawing. Incremental coordinates suit repeated spacing, such as holes at a 15 mm pitch. To recover absolute positions, add each increment to the previous position, keeping its sign.

Restore the intended mode

A mill can return Z to reference with G91 G28 Z0.0. The zero increment avoids an intermediate Z displacement before the reference return. G28 acts in its own block, but G91 remains active. Put G90 in the following block before using absolute work coordinates again.

If the tool is at X10 and an intended destination X70 is interpreted in G91, it reaches X80. An apparently reasonable coordinate can therefore be wrong because of an earlier mode, not because of its own number. A tool section should establish its required modes before movement.

Use the lathe's coordinate language

Fanuc-style lathe G-code system A uses X and Z for absolute positions and U and W for incremental distances. U is still a diameter change: X30 to X26 is U-4.0, with only 2 mm radial movement. A block may mix absolute and incremental addresses for different axes.

On that lathe code set, G90 calls a turning cycle; it does not select absolute coordinates. Siemens uses G90/G91 and permits an individual increment such as X=IC(5). Heidenhain marks increments with I, as in IX+5. Identify the control and code set before interpreting a coordinate-mode command.

Key Takeaways

  • Absolute values locate destinations from work zero.
  • Incremental values equal target minus current position.
  • A closed incremental path has zero net movement on each axis.
  • Restore G90 after incremental reference-return moves on a mill.
  • Fanuc lathe system A uses U/W increments and a different meaning for G90.

2.2 Turn drawing dimensions into contour points

Before writing motion blocks, make a point table. Each straight line needs its end point; each arc also needs a direction and a center or radius. A clear table keeps geometry work separate from code entry.

Start from the drawing datum

Place work zero on the dimensioning datum, sketch the contour and number the points in travel order. Record X/Y for a mill or X/Z for a lathe. Read direct dimensions first, then calculate missing ones. Check each result against another dimension or geometric relationship.

Baseline dimensions already measure from one datum. Chain dimensions measure successive distances, so add them before entering absolute coordinates. Their tolerances also accumulate; do not treat each link as an independent coordinate from zero. Select a machining target within the drawing's tolerance, commonly its midpoint.

Chamfers and rounded corners

At the plate corner (80, 50), a 5 × 45° chamfer reaches the top edge at (75, 50) and the right edge at (80, 45). Those two points replace the sharp corner.

An R5 quarter-circle at the same corner has the same tangent points, but its center is (75, 45). Equal end points do not make the chamfer and radius interchangeable: one is a straight line and the other an arc. Check that both distances from the center to the tangent points equal 5 mm.

On a Ø30 shaft, a 1 × 45° front chamfer runs from X28.0 Z0.0 to X30.0 Z-1.0. Its radial change is 1 mm, so its diameter change is 2 mm. Using X29 at the face would make a different angle.

Calculate a bolt circle

For a circle centered at coordinates Xc, Yc, with radius r and angle measured counterclockwise from +X:

X=Xc+rcos⁡θ,Y=Yc+rsin⁡θ

A 60 mm pitch circle has radius 30 mm. Four holes around (40, 25), beginning at 45°, use a horizontal and vertical displacement of 21.213 mm. The points are (61.213, 46.213), (18.787, 46.213), (18.787, 3.787) and (61.213, 3.787). The center is not an extra hole; it is the origin used in the calculation. A bolt-circle cycle can calculate these positions from the same inputs.

Calculate a lathe taper

The radial increase along a cone is its length times the tangent of its half-angle. Double that increase for diameter:

D2=D1+2Ltan⁡α

Starting at Ø30 and extending 20 mm toward the chuck with a 15° half-angle gives an end diameter of about 40.718 mm. The end point is X40.718 Z-20.0. Use the half-angle, not the 30° included angle, and retain the factor 2 for diameter.

Keep enough decimals for the control and drawing. Three decimal places in millimeters are common. Coarse rounding can move an arc end point off its circle and trigger an alarm. Negative signs also carry geometry: a point behind the lathe's front datum needs negative Z. CAD can supply coordinates directly, but the same datum, sign and circle checks still apply.

Key Takeaways

  • Build and check a point table before entering code.
  • Chamfers and radii can share end points but need different motion.
  • Use the bolt-circle radius, not its diameter, in coordinate calculations.
  • Lathe taper calculations use the half-angle and double radial change.
3

Read and build milling and turning programs

A complete program controls more than the finished shape. It establishes units and modes, selects tools and offsets, starts cutting functions, approaches the stock and leaves it in a clear sequence. Reading blocks as a continuous set of active instructions helps you see why a later line behaves as it does. Milling and turning examples show how that sequence changes with the machine and its control dialect.

3.1 Read blocks, words and active modes

A G-code program is a sequence of blocks, usually displayed one per line. Each block contains words: an address letter followed by a value. In N40 G01 X30.0 Z-25.0 F0.15, each letter-and-number pair has a separate job.

Recognize the addresses
AddressJob
O, NProgram number and block number on Fanuc-style controls
GMotion or operating mode
X Y Z, A B CLinear positions and rotary positions
I J K, RArc-center offsets; radius or cycle return level
F, S, T, MFeed, spindle setting, tool and machine function
H, DTool-length and cutter-compensation register numbers
P, QCycle-specific values, such as dwell or peck depth

A Fanuc screen may show an end-of-block character as a semicolon. Parentheses enclose comments, such as (D10 END MILL); Siemens uses a semicolon to begin a comment. The address's meaning comes from its surrounding command: R in an arc is not the same instruction as R in a drilling cycle.

Track what stays active

A modal selection remains in effect. After G01 X50.0 F200, a following Y30.0 is another straight feed move at 200 mm/min. Motion, plane, units, coordinate mode, work offset, compensation, feed and spindle settings have modal behavior.

A non-modal command acts in its own block. G04 dwell and G28 reference return are examples. A block containing one does not clear unrelated modes.

Only one code in a modal group should be selected in a block. G00 G01 gives conflicting motion instructions. G90 G54 G00 combines different groups: absolute coordinates, work offset 1 and rapid positioning.

Establish a readable program structure

The start identifies the program and sets known modes. A mill safety block can contain G21 G17 G40 G49 G80 G90 G94: millimeters, XY plane, cancelled radius and length compensation, cancelled cycle, absolute coordinates and feed per minute. Length compensation is then activated for the selected tool before approaching the part.

Each tool section changes the tool in a clear position, selects the work offset, starts the spindle, applies the correct tool data and coolant, cuts and retracts. The end turns off coolant and spindle and uses M30 to finish and return to the start.

Read units and dialect before numbers

Fanuc-style G21 selects millimeters; G20 selects inches. Feed units also depend on the feed mode: per minute or per revolution. Siemens G70/G71 change geometric units, while G700/G710 also change feed units.

Write decimal points in coordinate values. Some Fanuc input settings read X10 as 0.010 mm, while X10.0 means 10 mm. Zero values such as G40 or M30 are codes, not dimensions, and do not need decimal points.

ISO 6983-1 defines the word-address framework, but builders extend it. Siemens adds forms such as CYCLE81 and CR=; Heidenhain Klartext uses lines such as L X+50 Y+0 R0 FMAX. A familiar-looking word is interpreted through the actual machine's control manual and selected code set.

Key Takeaways

  • A block contains words made of an address and value.
  • Modal settings stay active until replaced.
  • Use one command per modal group in a block.
  • Set units and modes explicitly at a tool-section start.
  • Write decimal points in dimension values.
  • Control dialects can assign different meanings to the same code.

3.2 Choose safe positioning, lines and arcs

Motion commands describe both where the tool goes and how it gets there. A correct end point alone does not establish a safe path.

Position in clear space, then feed

G00 is rapid traverse for free-space positioning. Some controls move axes independently, producing a dog-leg path. Establish clearance before moving across the part: raise Z before lateral travel when leaving; approach in XY while high, then lower Z. Check the entire route against clamps and stock.

G01 coordinates the axes to make a straight line at feed F. A diagonal cut can change X, Y and Z together while remaining a straight movement. Supply F on the first feed move so the cutting rate is known.

Select the working plane
Plane codePlaneView used to judge arc direction
G17XYFrom +Z toward the plane
G18ZXFrom +Y toward the plane
G19YZFrom +X toward the plane

In that view, G02 is clockwise and G03 counterclockwise. Changing the plane changes which coordinates describe an arc; it is not just a display preference.

Calculate an arc center from its start

In the usual Fanuc center format, I, J and K are the signed distances from the arc start to its center, even when the end point uses absolute coordinates.

Start at (40, 0), end at (60, 20), and use center (40, 20). Both points are 20 mm from the center. From the start, the center is 0 mm in X and +20 mm in Y. The counterclockwise quarter-circle is:

G17 G03 X60.0 Y20.0 I0.0 J20.0 F300

The radius form is G03 X60.0 Y20.0 R20.0. Under the Fanuc convention, positive R chooses an arc of 180° or less; negative R chooses one over 180°. A full circle needs center format because coincident start and end points do not locate an R-format circle. From (60, 20), G02 I-20.0 J0.0 makes a full clockwise circle about (40, 20).

Reversing G03 to G02 with the same I/J center follows the long route around that circle. Reversing it in R format selects a different curved route between the end points. Trace the actual geometry when checking either form.

Read lathe arcs and feeds

For a lathe diagram with +Z right and +X up, a convex R2 front edge on a Ø30 shaft runs from X26.0 Z0.0 to X30.0 Z-2.0. Its counterclockwise block is G18 G03 X30.0 Z-2.0 R2.0. The radial change is 2 mm, although X changes by 4 mm.

On a mill, G94 F200 means 200 mm/min in metric mode. On a Fanuc system-A lathe, G99 F0.15 means 0.15 mm/rev; many other controls select that feed mode with G95. Reading an intended 150 mm/min as 150 mm/rev would command an extreme feed. Identify the feed mode before judging an F value.

Key Takeaways

  • Use G00 for clear-space positioning and G01 for straight cutting feeds.
  • Judge G02/G03 from the positive end of the axis normal to the plane.
  • Fanuc I/J/K center values are measured from the arc start.
  • Positive and negative R select short and long arcs in the Fanuc convention.
  • Read F together with the active units and feed mode.

3.3 Set spindle, feed, tools and coolant

A cutting path needs the right tool and cutting conditions before it enters the stock. S, T and M words control those parts of the tool section.

Read machine functions
CodeFunction on common Fanuc-style machines
M00, M01Program stop; optional stop when enabled
M03, M04, M05Spindle clockwise, counterclockwise, stop
M06Tool change on a machining center
M08, M09Coolant on, off
M02, M30Program end; end and return to start

Clockwise is viewed from the spindle toward the workpiece. Standard right-hand drills and end mills use M03. A lathe tool mounted upside down may need the opposite spindle direction. Other machine functions, including many special M codes, come from the builder's instructions.

T1 M06 selects and loads mill tool 1. T alone may only preselect a magazine pocket. On a lathe, T0101 selects station 01 and offset 01. The tool number and the offset number perform different jobs, even when they match.

Calculate rpm and milling feed

With fixed-speed mode G97, S is spindle rpm. For cutting speed vc in m/min and tool or work diameter d in millimeters:

n=1000vcπd

A Ø10 end mill at 120 m/min needs about 3 820 rpm. For milling, feed per tooth fz, tooth count z and rpm n give:

vf=fzzn

At 0.05 mm/tooth with 3 teeth and 3 820 rpm, feed is 573 mm/min. Practical rounded commands are S3800 and F570. For a drill, multiply feed per revolution by rpm to obtain feed per minute; a lathe can program the feed per revolution directly.

Limit constant surface speed

G96 makes S the surface cutting speed. As a lathe tool approaches the center, diameter decreases and rpm rises to maintain that speed. At G96 S200, Ø40 needs about 1 592 rpm and Ø10 about 6 366 rpm.

Set a safe speed ceiling first, for example G50 S3000 on the Fanuc lathe code set. The control then holds at the limit when the calculated rpm would exceed it. Select the limit for the machine, chuck and actual workholding. G97 returns to fixed rpm, useful for drilling on the centerline and threading.

Put the actions in order

Change the tool with enough clearance, call the work offset, position clear of the part and start the spindle. Apply the correct length offset on a mill, then approach with coolant enabled when required. Feed through the cut, retract, and turn off coolant and spindle before the next tool change.

A dwell holds position briefly, often to clean up a groove or counterbore. In the Fanuc convention used here, G04 P500 or G04 X0.5 gives 0.5 s. Dwell units are control-specific. An optional M01 only pauses when its panel switch is on, so enable it during a first-run inspection plan.

Key Takeaways

  • Read S as rpm in G97 and cutting speed in G96.
  • Set a spindle-speed ceiling before lathe constant surface speed.
  • Milling feed equals feed per tooth times tooth count times rpm.
  • T selects a tool; its related offset must also be correct.

3.4 Build a milling program with a contour and holes

Plan the setup before the blocks. An 80 × 50 mm plate sits in a vise with G54 at the front-left corner of its finished top. A Ø10 end mill cuts the outside 5 mm deep. A Ø6.8 drill then makes holes at (20, 25) and (60, 25) through the 12 mm thickness; parallels and clamps leave both hole paths clear.

Follow the tool center

With radius compensation off, the end mill center must stay 5 mm outside the finished edges. Its contour corners are (−5, −5), (−5, 55), (85, 55) and (85, −5). Start beside the stock so the plunge does not cut a full-width slot. Here Z25 clears the fixture and Z2 is the feed-start level.

%
O1001 (PLATE 80 X 50 - OUTSIDE PROFILE AND 2 HOLES)
N10 G21 G17 G40 G49 G80 G90 G94
N20 T1 M06 (D10 END MILL, 3 FLUTES)
N30 G54 G00 X-15.0 Y-5.0 S3800 M03
N40 G43 H01 Z25.0 M08
N50 Z2.0
N60 G01 Z-5.0 F200
N70 X-5.0 F570
N80 Y55.0
N90 X85.0
N100 Y-5.0
N110 X-5.0
N120 G00 Z25.0 M09
N130 M05
N140 G91 G28 Z0
N150 G90
N160 T2 M06 (D6.8 DRILL)
N170 G54 G00 X20.0 Y25.0 S1400 M03
N180 G43 H02 Z25.0 M08
N190 G99 G81 X20.0 Y25.0 Z-15.0 R2.0 F140
N200 G98 X60.0
N210 G80 M09
N220 M05
N230 G91 G28 Z0
N240 G90
N250 M30
%
Read each tool section

N10 establishes the mill's modes, including feed per minute. N20 loads the end mill. N30 positions beside the part and starts the spindle; N40 applies H01 and reaches clearance. N60 feeds to depth outside the stock. The next moves cut clockwise around the plate with the center 5 mm outside it. With M03 and a right-hand cutter, this is climb milling. Conventional milling can be chosen for conditions such as hard surface scale or drive play.

N120 retracts before reference return and the next tool change. G90 restores absolute mode after each G91 G28 return. The drill section selects H02, not H01.

Read the drilling cycle

G81 positions at a hole, rapids to R, feeds to Z and retracts. Here R2 is above the top and Z−15 gives space for the drill point beyond the 12 mm thickness. The cycle remains active, so N200 supplies only the next X position and a return-mode change. G80 cancels it before unrelated travel.

On this mill, G99 returns to R2 and G98 returns to the initial Z25. A move between holes can cross a clamp, so choose the return level for the obstacle, not just for speed. The final hole returns high before cancellation.

For deeper holes, G83 pecks with full returns to R to clear chips; G73 uses short chip-breaking retracts. G84 tapping synchronizes feed to pitch: an M8 × 1.25 tap at 400 rpm needs 500 mm/min. Siemens uses named cycles such as CYCLE81 and CYCLE83.

Deeper contours can repeat at several Z levels. A router follows the same setup logic, but uses cutting data for wood or board, often 18 000–24 000 rpm, vacuum workholding and a spoilboard. Its chosen top-face or table Z0 must agree with the programmed through-cut depth.

Key Takeaways

  • Plan tools, datum, fixture clearance and depths before coding.
  • Without radius compensation, program the cutter center outside the finished contour.
  • Apply the correct H register for each tool.
  • G81 remains active at subsequent hole positions until G80.
  • On a mill, G98 returns high and G99 returns to R.
  • Tapping feed must match pitch and rpm.
  • Router Z0 and through-cut depth must agree with the panel setup.

3.5 Read facing, turning and a front chamfer

A turning program locates the profile with X diameters and Z distances from the finished front face. The working plane is G18. The example uses Fanuc lathe G-code system A, where G99 selects feed per revolution and T0101 calls station 1 with offset 1.

Plan the shaft end

Start with Ø32 bar. Face the front, then turn Ø30 for 25 mm with a 1 × 45° front chamfer. The tool has a 0.4 mm nose radius. Its geometry and nose orientation are set; the turret indexes at a verified clear position. G50 limits spindle speed before G96 starts constant surface speed.

%
O2001 (D30 SHAFT END FROM D32 BAR)
N10 G21 G18 G40 G99
N20 T0101
N30 G50 S3000
N40 G96 S200 M03
N50 G00 X34.0 Z2.0 M08
N55 G01 Z0.0 F0.12
N60 X-0.8
N70 G00 Z3.0
N80 X22.0
N85 G01 G42 X24.0 Z2.0 F0.15
N90 X30.0 Z-1.0
N100 Z-25.0
N110 X34.0
N115 G40 G01 X38.0
N120 G00 X100.0
N125 Z100.0 M09
N130 M05
N140 M30
%
Follow the facing tool

N55 feeds to the finished face outside the bar, then N60 feeds across it. X−0.8 is a diameter coordinate: the imaginary tip moves 0.4 mm beyond center, one nose radius, so the rounded cutting edge reaches the center. Returning only to X0 can leave a central pip with this tool geometry.

After facing, the tool backs away in Z before moving across the front. The chamfer's theoretical end points are X28 Z0 and X30 Z−1. N85 starts compensation in free space; N90 approaches along the extension of that same 45° line from X24 Z2. The tool is already following the chamfer direction when it enters the stock.

Account for the rounded nose

G42 puts the tool on the proper side for this outside profile toward the chuck, viewed with +X up and +Z right. The control uses the entered nose radius and tip orientation. N100 turns the cylinder, N110 cuts out along the shoulder, and N115 cancels compensation on a clear lead-out before rapid retraction.

Without nose compensation, faces and straight diameters can be correct while the chamfer retains extra material. The control positions an imaginary sharp tip; the insert's rounded edge contacts a sloping line elsewhere. Nose compensation corrects that contact geometry.

Recognize roughing and other lathe work

Reducing Ø32 to Ø30 removes 1 mm radially. Bigger allowances need several passes. G71 roughing reads a profile between nominated block numbers and repeats cuts while leaving finishing stock; G70 finishes that profile. Siemens offers CYCLE95 for related roughing work.

Grooving and parting feed mainly in X. Constant surface speed increases rpm as the tool moves inward, so the spindle limit remains essential. Keep unsupported stock short, check chuck and tailstock clearance, and choose support from the actual job's rigidity and workholding limits. Inspect the finished chamfer as well as the shaft diameter.

Key Takeaways

  • Lathe X is diameter and Z0 is the finished front face.
  • Set the speed ceiling before G96.
  • Facing overtravel depends on nose geometry and diameter programming.
  • A rounded insert needs nose compensation on chamfers, tapers and arcs.
  • G71 roughs a defined profile; G70 finishes it.
  • Tool changes and retractions need clearance from the chuck and supports.
4

Set tool offsets and follow the contour

The control positions a machine reference point, but the part is cut by an edge some distance away. Measured tool offsets connect the reference point to the tip; radius compensation connects the programmed contour to the tool center or rounded nose. Following both relationships makes it possible to replace tools, program drawing dimensions directly and correct small size changes without rewriting the contour.

4.1 Connect tool measurements to the cutting tip

The program describes where a cutting tip belongs. The machine positions a spindle or turret reference point. Tool offsets connect those positions so a long tool and a short tool can follow the same programmed surface.

Measure a mill's tool length

Tool length is measured from the spindle gauge line to the cutting tip. A presetter measures the tool outside the machine. An in-machine setter measures contact with a known surface; a manual touch-off can establish the same relationship. Clean the contact surfaces first: a chip under the tip becomes a measurement error.

Store the value in the tool-length register. G43 H01 applies register 1; G49 cancels length compensation. Matching T1 with H01 is a useful shop convention, but the control follows the H number actually called. Loading T1 does not make a mistaken H02 correct.

Calculate the reference-point position

With gauge-line lengths, tool 1 is 112.450 mm long. G54 Z locates the part top at machine Z−430.200 for a zero-length reference. For a requested tool-tip height of Z25:

ZM=−430.200+25.000+112.450=−292.750 mm

The gauge line is at −292.750 while the tip is 25 mm above the part. Adding the positive length moves the spindle upward enough to leave room for the tool below it.

Some shops touch every tool directly on the part and use a different distribution of values between H and G54 Z, often with G54 Z at zero. Follow one consistent measurement method. Mixing a gauge-line work offset with tool values measured for another method can count a distance twice or omit it entirely.

Set lathe geometry

A lathe tool has X and Z geometry values from the turret reference to its imaginary tip. Touch the faced front to establish Z. Turn a short test diameter, measure it and enter that measured diameter to establish X. A tool-setting arm can measure tools automatically. T0101 selects station 1 and its geometry/offset record 1.

The offset page also stores a lathe insert's nose radius and tip orientation. On a mill, the D register provides cutter compensation size. Confirm whether its setting expects a radius or a diameter before entering the tool size.

Keep geometry and wear separate
Offset partPurposeWhen it changes
GeometryBasic measured tool dimensionsTool setup or replacement
WearSmall production size correctionAfter measurement and diagnosis

The control combines geometry and wear. When a new insert is fitted and measured, reset the old wear correction so it does not carry the previous insert's adjustment forward. Router tool sensors use the same basic length relationship, often measuring after a tool change.

After entering data, verify a known height with the correct compensation active and slow controlled movement. Missing length compensation or a wrong register can put a long tool far below its intended position.

Key Takeaways

  • Tool offsets connect the machine reference point to each cutting tip.
  • G43 applies the selected H length register on a mill.
  • Geometry stores measured tool size; wear stores a small correction.
  • Reset old wear when a replacement tool is measured.
  • Confirm radius versus diameter settings for cutter offsets.

4.2 Follow the part contour with compensation

A rotating cutter has width, and a lathe insert has a rounded nose. Compensation lets the control account for that geometry while the program follows the drawing.

Choose the side along travel

With mill radius compensation off, programmed XY values describe the cutter center. With compensation on, they can describe the part contour. The D register tells the control how far to shift the center.

Look forward along the programmed direction: G41 places the cutter center to the left; G42 places it to the right. G40 cancels the shift. For a right-hand end mill with M03, keeping the cutter on the left of the contour gives climb milling. The right choice comes from travel direction, not from which side of the screen contains the part.

Build a clear entry and exit

Turn compensation on during a straight movement in the working plane before contact. Leave at least a tool radius of lead-in distance for the offset to build. Cancel it on a straight lead-out away from the surface.

For the 80 × 50 mm plate and a Ø10 tool, D01 stores radius 5.000 mm. With the tool already at X−15 Y−15, Z−5 in clear space beside the stock:

G01 G41 D01 X0.0 F570
Y50.0
X80.0
Y0.0
X-10.0
G40 G01 Y-15.0
G00 Z25.0

The first move supplies 15 mm of entry. The contour runs up the left edge, across the back, down the right and along the front. The control constructs the center path outside those drawing lines. The final movement exits clear of the part while cancelling compensation. Starting G41 on an arc, or switching it on while already cutting the finished edge, prevents a controlled entry.

Check that the tool fits

Compensation shifts a path; it cannot make a cutter reach an inside corner smaller than its radius. A slot narrower than the cutter also cannot be machined by offsetting its center. Use a cutter small enough for the smallest inside radius and plan a suitable finishing pass.

A radius-setting D register needs 5.000 for a Ø10 tool. Entering 10.000 doubles the intended shift. Choosing the wrong compensation side can move the tool into the part by a full cutter diameter relative to the intended center path.

Correct contact on a lathe insert

The imaginary tool tip is where tangents to the rounded nose in X and Z meet. The real edge never contacts the part at that imaginary point. Faces and cylinders still size correctly because their contact points share the imaginary tip's Z or X coordinate. Slopes and arcs need nose compensation.

With a 0.8 mm nose, the perpendicular gap from an uncompensated 45° chamfer line is approximately 0.33 mm; with a 0.4 mm nose it is about 0.17 mm.

For the usual +X-up, +Z-right lathe view, outside turning toward the chuck uses G42 and boring toward the chuck uses G41. Enter both the nose radius and the correct tip-orientation number; the control needs to know which way the insert faces.

Key Takeaways

  • G41 means left and G42 right along the programmed travel.
  • Compensated coordinates can follow the finished part contour.
  • Activate and cancel compensation on clear straight lead moves.
  • A cutter must physically fit the slot or inside radius.
  • A rounded lathe nose needs compensation on sloping and curved profiles.
  • Nose radius and tip orientation both affect lathe compensation.
5

Create programs with CAM and control dialogs

Programs can be created from toolpaths calculated in CAM or from dimensions entered in a control dialog. Each route still needs a defined origin, real tool data and a planned operation order. A post-processor supplies the machine dialect, while nesting software also solves the layout and workholding problems of panel parts. The setup sheet and saved revision carry those choices to the operator.

5.1 Turn a CAM setup into machine code

Computer-aided manufacturing (CAM) calculates toolpaths from a model or drawing. It is useful when a part has many features, a complex contour or a 3D surface. The resulting path still depends on the setup information entered by the programmer.

Define the physical job

Import the geometry, commonly STEP for a model or DXF for a flat outline, and check its units and overall size. Define the stock and workholding, then set the coordinate system and origin. Choose actual tools and holders from the tool library.

The CAM origin must match the work zero used on the machine. If the program measures Z from the stock top while the setter measures it from the table, every depth is shifted by the stock thickness. A correct-looking toolpath does not repair that mismatch.

Tool-library diameter, length and holder shape must match the assembly loaded at the machine. A holder omitted from the model can pass through a clamp in simulation without showing the real collision.

Build operations in machining order

Milling operations include facing, outside contours, pockets, adaptive roughing, drilling and finishing. Turning operations include facing, roughing, finishing, grooving and parting. Roughing removes most of the allowance; stock to leave reserves material for a controlled finishing pass.

ParameterWhat it sets
StepoverSideways engagement between adjacent paths
StepdownDepth added at each cutting level
Clearance and retract heightsSpace for moves above the job
Top and bottom heightsStart surface and final cutting depth
Lead-in, lead-out and entryHow the tool enters and leaves material

Adaptive roughing controls engagement with a small stepover and often a larger stepdown. A ramp or helical entry suits pocketing when straight plunging would overload the tool or when the cutter cannot cut at its center.

Plan a pocket

A 40 × 30 mm pocket is 8 mm deep. With a Ø10 end mill and 2 mm stepdowns, roughing uses four levels: Z−2, −4, −6 and −8. Leave 0.2 mm on the walls and use helical entry. A full-depth finishing pass then removes that wall allowance. Stepdown controls the depth sequence; finishing allowance controls material left on the walls. They are different settings.

Translate and verify

Generate and simulate the paths. A post-processor converts the CAM system's internal path into the exact machine/control dialect, including cycles, tool-change sequence and program layout. A Fanuc mill post is not interchangeable with a Siemens lathe or a woodworking-center post.

Read the posted program's opening modes, tool calls, offsets and first approach. Simulate the resulting code where the verification system supports it. Repeated hand edits to every output indicate that the post needs correction.

Transfer the approved revision by USB, network or DNC, which can stream long programs. Supply a setup sheet naming stock, fixture, tools, offsets and origin. The operator needs those details to reproduce the CAM setup physically, not just a file containing the toolpath.

Key Takeaways

  • CAM needs accurate stock, origin, tools, holders and fixtures.
  • The CAM origin must match the machine work zero.
  • Stepdown, stepover and finishing allowance control different parts of the cut.
  • A post-processor generates the selected machine dialect.
  • Simulation and a setup sheet connect the digital path with the physical job.

5.2 Use control dialogs and lay out panel parts

A simple part can often be programmed directly at the machine. A panel containing many parts is usually planned in nesting software. Both methods begin with drawing dimensions and produce movements that still need checking.

Build a part through a dialog

A conversational control asks for dimensions and shows graphics as the operator enters them. Siemens ShopMill and ShopTurn, Heidenhain Klartext and woodworking-center editors use this approach. A pocket cycle can ask for its center, length, width, corner radius, depth, infeed, allowance, tool and cutting data. The control calculates the detailed toolpath.

Manual G-code suits short programs and small edits. Conversational programming suits simple turned or prismatic parts at the control. CAM is efficient for many features, complex surfaces and nested panels. Whichever route creates the program, the operator must be able to read and check its result.

Recognize Klartext movements

TOOL CALL 1 Z S3800 calls a tool along Z at 3 800 rpm. L X-5 Y-5 R0 FMAX makes a rapid straight move without radius compensation. RL means compensation left, RR right and R0 none.

For a circle centered at (40, 20), first reach the start point (40, 0). Then CC X+40 Y+20 defines the center and C X+60 Y+20 DR+ makes a counterclockwise arc to (60, 20). Both ends are 20 mm from the center. A circle-center entry does not move an off-circle start point onto the circle.

Check a nesting layout

Nesting places flat parts on a sheet while allowing for edge trim, cutter gaps and workholding. For 600 × 400 mm rectangles on a 2 800 × 2 070 mm panel, a 10 mm trim on every edge leaves 2 780 × 2 050 mm. A 12 mm gap is needed between neighbors.

With 600 mm along the length, four columns need 2 436 mm and five rows need 2 048 mm, so 20 parts fit. Rotating every rectangle gives six columns by three rows, or 18 parts. Without trim and gaps, a rotated 7 × 3 grid would suggest 21, but the cutting layout cannot use that zero-gap arrangement.

The 20 parts occupy 4.8 m² of the original 5.796 m² panel, about 83% material yield. Dividing areas alone would suggest room for 24 whole parts; it ignores whether their shapes fit in the available length and width.

Hold and identify the cut parts

Vacuum tables or pods hold panels, with through cuts entering a sacrificial spoilboard. Cutting order matters because small released pieces can lose vacuum holding. Nesting software can plan the sequence and print labels so similar pieces stay identifiable. Use cutting data for the actual wood, board or composite and cutter; metal-cutting settings do not transfer directly.

Save a proven program with its revision, setup sheet and offset record. Archive earlier versions. A repeat order needs a traceable program and setup, especially when a dialog program or nesting file has been revised since the previous batch.

Key Takeaways

  • Conversational controls calculate paths from entered dimensions.
  • Manual code, conversational control and CAM suit different job sizes and shapes.
  • Nesting needs a real layout with edge trim and cutter gaps.
  • Cutting order must preserve workholding for small panel parts.
  • Archive proven revisions together with setup information.
6

Prove out and improve the job

A first part tests the whole job: code, tools, offsets, workholding and cutting conditions. Simulation helps locate mistakes before motion; controlled prove-out checks the real setup; inspection establishes whether the part meets its drawing. Measurements then guide small wear corrections or a search for another cause. A proven job can be improved for time, tool life and material yield, with each change checked again.

6.1 Find errors before they reach the part

Simulation displays the path and often the stock removed. It can distinguish rapid and feed travel, show the resulting shape, estimate time and detect collisions with modeled fixtures and holders. It checks the digital setup it has been given.

Sort errors by their effect
Error typeExampleHow it appears
SyntaxUnknown address or missing required valueControl rejects the program format
GeometryArc end point off its circleArc or compensation calculation alarms
LogicValid coordinate with the wrong signMachine can execute the wrong path

A logic error can be fully legal code. The absence of an alarm says nothing about whether a hole is at the correct position. Compare the simulated path with the drawing and point table.

Trace an unsafe fragment

Consider:

N50 G00 Z-5.0
N60 X40.0 Y0
N70 G01 X10 Y0

N50 rapids to cutting depth before the lateral position has been established. N60 inherits G00 and travels sideways at that depth. N70 changes to feed but supplies no F, and X10 can be interpreted as 0.010 mm on some input settings.

With correct offsets active and the tool already at verified clearance, a corrected approach is:

G00 X40.0 Y0.0
Z2.0
G01 Z-5.0 F200
X10.0

The first move is lateral while high, the second reaches the feed-start height, and only the third enters the stock at a known feed. This sequence also requires the actual entry point and the cutter to suit the planned plunge.

Check the whole setup

Inspect each tool's lowest Z, travel near clamps, tool changes and compensation entries. Confirm the tool, holder, stock, fixtures and offsets in the simulation match the machine. A short modeled holder cannot reveal a collision made by a longer real holder.

Step through suspicious regions block by block. Track modal state: an XY line without G is still rapid after G00, and a coordinate after an uncorrected G91 remains incremental. After an edit, rerun the affected simulation and check the following moves as well as the edited block.

Read alarms before resetting

Record the alarm number, text and active block. Overtravel, format, servo, spindle, door, low-air and lubrication alarms point to different causes. Stop safely, identify the cause from the message and manual, correct it, then reset and home again if requested.

Mechanical or electrical faults go to maintenance. Keep guards and interlocks operating; removing an alarm by bypassing its protective input leaves the hazard in place. A program that ran before still needs review when stock, fixture, tool or offsets have changed.

Key Takeaways

  • Syntax, geometry and logic errors need different checks.
  • Valid code can still command a dangerous path.
  • Simulation needs the real tools, holders, stock and fixture geometry.
  • Trace inherited modes when a move looks wrong.
  • Read and correct an alarm cause before resetting.

6.2 Prove out the setup and inspect the first part

A first run checks whether the physical setup and the program agree. Use a staged process so each approach can be assessed before it reaches the stock.

Start with the setup sheet

Match the program name and revision, stock size, clamping method, tool stations, offset numbers and work offset to the machine. Establish reference position as required. Check tool data and the work datum using a verified high position before moving over the part, then lower under controlled movement to a known checking height.

The tool-length offset must already be correct when comparing the displayed tool-tip height with a real gap. A work-offset check made with the wrong tool register tests the wrong relationship.

Distinguish three checks
FunctionWhat it doesWhat still needs checking
Air runMoves through verified free space without cuttingReal cutting behavior and restored temporary shifts
Dry runChanges commanded feed behaviorAll positions and physical clearances
Machine lockPrevents physical axis motion during program executionActual travel and clearances

An air run may use a verified temporary raised Z work offset or a setup without stock. The whole path must clear clamps and machine structures. Restore and verify the production offset afterward. Dry run does not lift the tool; it can run feeds much faster, so do not use it to cut stock.

Watch the approach in single block

For the first cut, use single block, low rapid override and a reduced feed override suited to the cut. Keep feed hold ready. Before an approach, compare the displayed distance to go with the physical gap. If the screen expects 30 mm of travel but only 10 mm remains, stop before continuing and find the offset or position error.

Single block lets you inspect the next commanded movement; it does not make that movement safe. Feed hold normally leaves the spindle turning. Keep the working area protected during pauses and use the machine's safe access procedure before reaching in.

Enable optional stop if the program contains M01 between tools. These planned stops allow a feature to be checked before another operation hides it or removes its supporting material. After the job is proven, unnecessary optional stops can be disabled for production.

Release the batch from measurements

Carry out first-article inspection against the drawing. Measure all critical dimensions and the other dimensions where practical, record results and compare each with its tolerance. Appearance alone cannot establish a bore diameter or pocket depth. Correct and recheck before releasing a batch.

If execution must restart, use the approved restart procedure at a tool-section beginning that re-establishes modes, work and tool offsets, spindle and coolant. Starting at an arbitrary cutting block can omit the state needed to interpret it correctly. After recovery, check position and the next approach before resuming the cut.

Key Takeaways

  • Check the setup sheet against the physical job.
  • Dry run changes feeds; an air run requires actual clearance.
  • Single block and low rapid override support controlled first approaches.
  • Compare distance to go with the physical tool-to-part gap.
  • Measure and record the first part before releasing production.
  • Restart from a section that establishes all needed modes.

6.3 Use measurements to correct and improve a proven job

A dimension error becomes a useful correction only after its cause is known. Measure the feature, choose its target and decide whether the error belongs to tool wear, setup, workholding or another cause.

Aim inside the tolerance

For Ø30.00 with a tolerance of 0 to −0.04 mm, the permitted interval is 29.96–30.00 mm. Its midpoint target is 29.98 mm. Define deviation as measured size minus target size.

A measured diameter of 30.03 mm has a +0.05 mm deviation. On a lathe whose X wear table uses diameter values, reduce that tool's X wear by 0.05 mm. The edge moves inward radially by 0.025 mm and the next diameter decreases by 0.05 mm. Leave the measured geometry value unchanged.

Correct radius and length wear

For a compensated outside contour measuring 50.08 mm across instead of 50.00, the excess is 0.04 mm on each side. With a radius-valued D register, reduce D wear by 0.04 mm. The cutter center moves closer to both finished edges.

A 29.96 mm pocket that should be 30.00 mm needs 0.02 mm removed from each wall. Reduce D wear by 0.02 mm: the smaller effective cutter radius lets the real edge reach farther outward inside the pocket. The same sign can correct an outside feature that is too large and a pocket that is too small.

For a step measuring 4.90 mm deep with a 5.00 mm target, reduce H length wear by 0.10 mm under G43. This commands the spindle 0.10 mm lower, making the same tool cut deeper. Reinspect after each correction.

Diagnose the pattern first

A steady size drift can come from wear or temperature change. Identify which before adjusting. Random scatter suggests inconsistent seating, chips or loose clamping; a large sudden change suggests a broken insert, incorrect offset or setup error. Repeated wear adjustments cannot stabilize a loose workpiece.

Geometry is the basic tool measurement; wear is the small adjustment. After replacing and measuring a tool, clear its old wear correction so the new edge does not inherit the previous tool's history.

Improve time, tool life and material use

Cutting time is path length divided by feed. A 1 200 mm contour takes 2.0 min at 600 mm/min or 1.5 min at 800 mm/min, if the tool, workholding and part can support the higher feed. That 0.5 min saving concerns cutting time; tool changes, rapid travel and stops still contribute to the total cycle.

First look for unnecessary air cutting and repeated tool changes. Shorten safe approaches, group work by tool and use the tool maker's cutting data. Maintain chip evacuation and suitable coolant or dry-cutting practice; a feed too low can rub. Avoid heavy full-width entries and use climb milling where suitable.

Smaller sensible stock allowances, practical nesting and useful offcuts can reduce waste. After an improvement, simulate, prove out and save a new revision with the change noted. Compare its measured parts, tool behavior and cycle time before accepting it for the batch.

Key Takeaways

  • Choose the tolerance midpoint and calculate measured size minus target.
  • Use diameter-valued X wear corrections as diameter changes.
  • Radius-valued D corrections act on each side of a feature.
  • Negative H wear under G43 lowers the tool for a deeper cut.
  • Identify wear, thermal drift, scatter or breakage before correcting.
  • Verify improvements through simulation, prove-out and measurement.

CNC Machining examples

6 Walkthroughs

1

Locate a plate on a CNC mill

13 steps
Follow the control, axis directions and datum choices that put a drawing point in the machine.
  1. 1
    IntroductionConnect the numbers to the part

    A drawing gives a hole position, but the machine must connect that position to the clamped part. Follow three connections: the control moves an axis, the axis name gives its direction, and work zero gives its origin. You will trace a point above a plate and check why a correct-looking coordinate can still land in the wrong place.

  2. 2
    ExplanationFollow one position command

    The control reads a target position and sends movement commands to a drive. The motor and ball screw move the axis, while an encoder or scale reports actual position.

    A closed-loop control compares the report with the target and corrects the difference. This checks movement toward the commanded point; it does not decide whether that point matches the drawing.

  3. 3
    ConnectionChoose what rotates

    On a lathe, the spindle turns the work while the tool moves mainly in X and Z. On a machining center, the spindle turns the tool and the relative path uses X, Y and Z.

    A router also turns its cutter, often at high rpm over a vacuum-held panel. The coordinate ideas transfer across these machines, but workholding and cutting data must suit the job.

  4. 4
    ChallengeInterpret a pause

    The operator presses feed hold during an approach. Is it safe to reach toward the cutter just because the axis has stopped? Explain the relevant panel behavior.

    ---reveal---

    No. Feed hold normally pauses axis feed while the spindle keeps turning. Keep the working area guarded and follow the machine's safe access procedure. Emergency stop and feed hold have different effects; a pause is not permission to enter the working area.

  5. 5
    ExplanationKeep the tool viewpoint

    Imagine that the part stays still and the tool moves over it. On a typical vertical mill, +X is right, +Y is toward the column and +Z is up.

    If the real table moves left, the tool has moved right relative to the part: that is +X. Read coordinates from this relative viewpoint so table motion does not reverse your interpretation.

  6. 6
    ExampleLocate a point above the plate

    Set work zero at the front-left corner of the top face. A tool-tip point 26 mm right, 18 mm back and 12 mm above the top is X26.0 Y18.0 Z12.0. Each sign follows the axis direction from that corner. A cutting depth 4 mm below the same face would instead use Z−4; the XY location can stay unchanged.

  7. 7
    Key InsightDouble a radial change for lathe X

    On a diameter-programmed lathe, X describes the full diameter at the tip. Reducing X from 42 to 38 mm moves the edge inward by 2 mm, not 4 mm. Z remains an ordinary axial distance. Keep this difference in mind when translating a radial depth of cut into a coordinate or a diameter-valued wear correction.

  8. 8
    ChallengeName the indexed axis

    A mill fixture turns about X to present a new face. After the rotary movement stops, the tool cuts with the linear axes. What is the rotary-axis name, and what kind of machining is this?

    ---reveal---

    Rotation about X is the A axis. Reaching a fixed rotary angle before cutting is indexed machining. The additional axis changes the orientation of the setup; it does not require all axes to move together during the cut.

  9. 9
    ExplanationGive each zero point its own job

    Machine zero is the builder's fixed coordinate origin. Homing reaches a known reference point so an incremental-encoder machine can establish its position.

    Work zero is your chosen part datum. The work offset stores where that datum is in the machine. A tool offset separately locates the cutting tip relative to the spindle or turret reference.

  10. 10
    ExampleAdd the work coordinate to the datum

    Suppose G54 X is −390.000 and G54 Y is −220.000. The point X26 Y18 is at machine X−364.000 and Y−202.000. Add each local coordinate to the stored datum location. The program can keep X26 Y18 if the fixture moves; measuring a new G54 then reconnects the same drawing point with the new physical location.

  11. 11
    TipCheck the height before crossing

    Before checking a datum position, establish verified clearance with the correct tool length active. Move in XY while above the job, then lower under controlled movement to a known checking height and compare with a gauge.

    Confirm the register name too: a measured G55 cannot locate the job for a program that calls G54.

  12. 12
    ChallengeSeparate a moved datum from a tool error

    The same local hole program runs correctly in vise 1 using G54. Vise 2 has its own measured datum in G55, but the operator repeats the program with G54 still active. What needs changing?

    ---reveal---

    Select the measured G55 datum for vise 2 and verify the next approach. The local hole coordinates still describe the part correctly. Editing tool lengths would not locate the second vise, and editing every hole coordinate would hide the missing datum selection.

  13. 13
    RecapRead the next position as a setup

    For any commanded point, identify the machine and active modes, read the axes as tool motion relative to the part, and find the selected work datum. Tool data then locates the actual cutting tip. When the physical position disagrees with the program, trace those connections before changing individual drawing coordinates.

2

Build and check a point table

11 steps
Convert a plate path between coordinate modes, then calculate a rounded corner and a lathe taper.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionKeep one shape through two coordinate modes
  2. 2
    ExplanationRead the active coordinate mode
  3. 3
    ExampleSubtract coordinates one axis at a time
  4. 4
    ExampleClose the path and check its sums
  5. 5
    ChallengeRecover after a reference return
  6. 6
    ExplanationCalculate from a chosen drawing datum
  7. 7
    ExampleLocate two tangencies and a center
  8. 8
    ExampleUse the taper half-angle
  9. 9
    ChallengeFind a hole from a circle
  10. 10
    ChallengeTranslate a lathe chamfer into an increment
  11. 11
    RecapCheck geometry and interpretation separately
3

Read a job from safety block to program end

20 steps
Build the movement and machine-state decisions behind milling, drilling and a turned shaft.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionRead a tool section as a sequence
  2. 2
    ExplanationRead the address and value together
  3. 3
    ExampleEstablish the mill modes
  4. 4
    ChallengeFind the conflicting group
  5. 5
    ExplanationApproach with a clear route
  6. 6
    ExampleWork out a center-format quarter-circle
  7. 7
    ChallengeKeep the center tied to the start
  8. 8
    ExplanationStart the selected cutting tool
  9. 9
    ExampleCalculate speed, then feed
  10. 10
    ChallengePredict the lathe speed limit
  11. 11
    ExampleOffset the center around a plate
  12. 12
    ExampleSeparate the plunge from the contour
  13. 13
    ExplanationExpand one drilling-cycle block
  14. 14
    ChallengeReturn high before the obstacle
  15. 15
    ConnectionChange to the lathe conventions
  16. 16
    ExampleFace and locate the chamfer
  17. 17
    ExampleCarry compensation through the slope
  18. 18
    ChallengeCheck the depth of a roughing cut
  19. 19
    ChallengeRead the same code on two machines
  20. 20
    RecapTrace state through the next cut
4

Use the right offset for the right distance

10 steps
Follow gauge-line length compensation, mill cutter compensation and the rounded nose of a turning insert.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionLocate the real edge
  2. 2
    ExplanationMeasure from the machine reference
  3. 3
    ExampleCalculate a gauge-line height
  4. 4
    ChallengeKeep a new insert from inheriting wear
  5. 5
    ExplanationLook along the contour
  6. 6
    ExampleEnter on a clear straight movement
  7. 7
    ChallengeCheck fit before changing the offset
  8. 8
    Key InsightSeparate the imaginary tip from contact
  9. 9
    ChallengeDiagnose two different size errors
  10. 10
    RecapKeep tool data organized by function
5

Take a pocket and a panel from dimensions to code

12 steps
Plan CAM depth levels, interpret a control dialog and check a practical nesting layout.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionChoose how to calculate the path
  2. 2
    ExplanationMake the digital setup match
  3. 3
    ExampleSeparate depth from wall allowance
  4. 4
    ChallengeFind the origin mismatch
  5. 5
    ExplanationTranslate for the real machine
  6. 6
    ConnectionUse the control dialog for a simple feature
  7. 7
    ExampleRemove the panel edge trim
  8. 8
    ExampleCount rows and columns with the gaps
  9. 9
    ChallengeCalculate yield from the original panel
  10. 10
    TipKeep small parts held and identified
  11. 11
    ChallengeSeparate a correct post from a correct setup
  12. 12
    RecapCarry the setup through every stage
6

Find a fault and release a measured first part

14 steps
Use simulation, controlled approaches and measurement patterns to decide what needs correction.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionCheck the whole job in stages
  2. 2
    ExplanationLook beyond a successful code read
  3. 3
    ExampleTrace the inherited rapid
  4. 4
    ChallengeRead a plausible but wrong hole
  5. 5
    ExplanationCheck the machine against the sheet
  6. 6
    Key InsightKeep air run and dry run distinct
  7. 7
    ExampleCompare travel with the real gap
  8. 8
    ChallengePlan the pause before production
  9. 9
    ExampleChoose the target before the correction
  10. 10
    ChallengeCorrect a pocket with radius wear
  11. 11
    ExplanationRead the measurement pattern
  12. 12
    ExampleCalculate the whole time change
  13. 13
    ChallengeChoose a correction from a fault pattern
  14. 14
    RecapRelease a proven revision

CNC Machining practice questions

60 Practice Questions in 6 sets

Set 1: Machine movement and datum choices10 Practice Questions

Question 1 of 10

What does position feedback contribute to a closed-loop CNC axis?
  1. It chooses the cutting speed from the stock material.
  2. It checks the finished contour against the workshop drawing.
  3. It lets the control correct actual position toward the target.
  4. It establishes the work datum from the loaded program.
Show answerHide answer
Answer: C
Feedback reports the actual axis position, allowing the control to compare it with the target and correct the difference. It does not inspect the drawing or decide whether the commanded target is right. A wrong programmed coordinate can still be reached accurately.

Question 2 of 10

During a cutting pause, what does feed hold normally do to the spindle?
  1. It leaves the spindle turning.
  2. It reverses spindle rotation.
  3. It stops the spindle and axes.
  4. It resets the spindle speed.
Show answerHide answer
Answer: A
Feed hold normally pauses axis feed while leaving spindle rotation active. It differs from an emergency stop, which stops hazardous movement and the spindle. A pause therefore does not make the working area safe to reach into; the machine's access procedure still applies.

Question 3 of 10

A rotary table turns about the Y axis. What is its rotary-axis name?
  1. A axis
  2. C axis
  3. Z axis
  4. B axis
Show answerHide answer
Answer: D
The rotary axes A, B and C correspond to rotation about X, Y and Z. Rotation about Y is therefore B. Calling it C because the table turns horizontally confuses the appearance of the table with the linear axis about which it actually rotates.

Question 4 of 10

A diameter-programmed lathe changes from X46 to X40. How far does the tool move radially?
  1. 6 mm inward
  2. 3 mm inward
  3. 3 mm outward
  4. 6 mm outward
Show answerHide answer
Answer: B
The diameter decreases by 6 mm, which requires an inward radial movement of half that amount: 3 mm. A 6 mm inward movement would reduce the diameter by 12 mm. X values describe the diameter here, not the physical radial travel of the tool.

Question 5 of 10

G55 X is −365.400 mm. What machine X position corresponds to work X42.600 with G55 active?
  1. −408.000 mm
  2. −322.800 mm
  3. +322.800 mm
  4. −365.400 mm
Show answerHide answer
Answer: B
Add the work coordinate to the machine location of work zero: −365.400+42.600=−322.800 mm. Subtracting 42.600 gives −408.000 and places the point on the opposite side of the datum. Selecting G55 does not make every work coordinate equal to its stored origin.

Question 6 of 10

A 6 mm edge finder touches the left edge of a block whose material extends in +X. The spindle center is at machine X−280.000. Where is the edge?
  1. X−283.000 mm
  2. X−274.000 mm
  3. X−280.000 mm
  4. X−277.000 mm
Show answerHide answer
Answer: D
The edge finder has a 3 mm radius, and the contacted edge lies 3 mm in +X from its center. The edge is therefore at machine X−277.000. Subtracting the radius would put the datum on the free-space side of the finder; adding the whole diameter would overcorrect.

Question 7 of 10

A mill starts at (18, 12), executes G91 X24.0 Y-7.0, then G90 X9.0. What is its final XY position?
  1. (9, 5) mm
  2. (51, 5) mm
  3. (9, −7) mm
  4. (42, 5) mm
Show answerHide answer
Answer: A
The incremental move first reaches (42, 5). G90 then makes X9 an absolute destination, while the omitted Y stays at 5. Ending at X51 would apply the second X value incrementally and ignore the switch back to absolute coordinates.

Question 8 of 10

A drawing gives holes 14 mm from the left datum, then another 27 mm farther along +X. What absolute X coordinate locates the second hole?
  1. X27.0
  2. X13.0
  3. X41.0
  4. X54.0
Show answerHide answer
Answer: C
The second hole is 14+27=41 mm from the datum. The 27 mm dimension measures between holes, so entering X27 would use an incremental spacing as an absolute position. Both dimensions must be tied back to the chosen work zero before writing the block.

Question 9 of 10

G54 X is −420.000 mm. A fixture is moved 24 mm in +machine X, then the new program point is 36 mm in +work X from its datum. What G54 X and machine destination are needed?
  1. G54 X−396.000; destination X−360.000.
  2. G54 X−444.000; destination X−408.000.
  3. G54 X−396.000; destination X−432.000.
  4. G54 X−420.000; destination X−384.000.
Show answerHide answer
Answer: A
Moving the datum 24 mm in +X changes its machine location to −396.000. Adding the local coordinate 36 gives machine X−360.000. Keeping the original offset would preserve the old fixture location; reversing the sign of the local coordinate would then locate the feature on the wrong side.

Question 10 of 10

A shaft grows toward the chuck from Ø24 over 16 mm. Its included cone angle is 20°. Which programmed end point describes the theoretical taper?
  1. X26.821 Z-16.0
  2. X29.642 Z-16.0
  3. X35.647 Z-16.0
  4. X29.642 Z16.0
Show answerHide answer
Answer: B
The half-angle is 10°, so the diameter grows by 2×16tan⁡10∘, about 5.642 mm. Add this to 24 and use negative Z toward the chuck. X26.821 uses only the radial increase; X35.647 uses the full included angle in the tangent.
Set 2: Coordinate changes and circular paths10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

From what direction do you judge clockwise motion for an arc in G17?
  1. From +X toward the YZ plane.
  2. From −Z toward the XY plane.
  3. From +Y toward the ZX plane.
  4. From +Z toward the XY plane.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A Fanuc system-A lathe is at X38 Z−12. What U/W move reaches X32 Z−29?
  1. U-6.0 W-17.0
  2. U-3.0 W-17.0
  3. U6.0 W17.0
  4. U-6.0 W-29.0
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

On a metric mill in G94, G01 X45.0 F260 is followed by Y18.0. How does the second block move?
  1. In a rapid move at maximum speed.
  2. In a straight feed at 260 mm/min.
  3. In a straight feed at 18 mm/min.
  4. In a dwell followed by a feed move.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A 3 × 45° chamfer removes the top-right corner (64, 38) of a plate. What are its theoretical end points?
  1. (64, 38) and (61, 35).
  2. (58, 38) and (64, 32).
  3. (61, 38) and (64, 35).
  4. (61, 38) and (61, 35).
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

In G17/G90, an arc starts at (12, 8), ends at (28, 24), and turns counterclockwise about (12, 24). What is its center-format block?
  1. G03 X28.0 Y24.0 I0.0 J16.0
  2. G03 X28.0 Y24.0 I12.0 J24.0
  3. G02 X28.0 Y24.0 I0.0 J16.0
  4. G03 X16.0 Y16.0 I0.0 J16.0
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

On a control where integer metric coordinates use 0.001 mm input units, how far from work X0 is the absolute destination X250?
  1. 250.000 mm
  2. 0.250 mm
  3. 25.000 mm
  4. 2.500 mm
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A Fanuc-format arc must travel 240° between two different end points. What sign should its R value have?
  1. Positive.
  2. Zero.
  3. The same sign as end X.
  4. Negative.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A closed incremental mill path starts at (6, 9), then moves (+28, 0), (0, +17), (−11, +5) and (−17, −5). What final incremental move closes it, and what is the final absolute position?
  1. X-6.0 Y-9.0; (0, 17).
  2. X0.0 Y17.0; (6, 43).
  3. X-28.0 Y-17.0; (−22, 9).
  4. X0.0 Y-17.0; (6, 9).
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Four holes are equally spaced on a Ø50 bolt circle centered at (32, 36), starting at 30° counterclockwise from +X. What are the coordinates of the second hole, to three decimals?
  1. (53.651, 48.500) mm
  2. (7.000, 79.301) mm
  3. (19.500, 57.651) mm
  4. (44.500, 14.349) mm
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A G17/G90 arc starts at (22, 10). The block is G03 X38.0 Y26.0 I0.0 J16.0. An editor changes only G03 to G02. What path now results?
  1. A 270° clockwise arc about (22, 26).
  2. A 90° clockwise arc about (22, 26).
  3. A 90° clockwise arc about (38, 10).
  4. A 270° clockwise arc about (0, 16).
Show answerHide answer

Save this lesson to see this answer.

Set 3: Milling cycles, tool data and compensation10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

What does T4 M06 request on a machining center?
  1. Apply length register 4 only.
  2. Select work offset G54.
  3. Start tool 4 at 6 rpm.
  4. Select and load tool 4.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A G81 drilling cycle has finished its last hole. What code cancels the cycle before an unrelated XY move?
  1. G40
  2. G80
  3. G49
  4. G99
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A mill loads T3, but calls the measured length of tool 2 with H02. What setup data needs correction first?
  1. The H register called for T3.
  2. The G54 X coordinate for the vise.
  3. The contour feed programmed for T3.
  4. The diameter stored for tool 2.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A drilling cycle begins at Z32 with R3. A clamp reaches Z16 between holes. What mill return mode provides the stated vertical clearance?
  1. G99, returning to Z3.
  2. G98, returning to Z3.
  3. G98, returning to Z32.
  4. G99, returning to Z32.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A mill programs a straight contour in +Y and needs the cutter center on its −X side. What compensation side is required?
  1. G42 with the correct D register.
  2. G41 with the correct D register.
  3. G40 with the correct H register.
  4. G43 with the correct D register.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A four-tooth cutter runs at 2 500 rpm with feed per tooth 0.04 mm. What G94 feed should be programmed?
  1. F400
  2. F100
  3. F250
  4. F625
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A gauge-line setup has G54 Z−468.250 and H04 length 126.800 mm. What machine gauge-line Z puts tool 4 at work Z18, and what happens if H04 increases by 0.200 with the same physical tool?
  1. Z−577.050; the tip lowers 0.200 mm.
  2. Z−323.450; the tip lowers 0.200 mm.
  3. Z−323.450; the tip rises 0.200 mm.
  4. Z−450.250; the tip rises 0.200 mm.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A compensated pocket has a required inside radius of 3 mm. Its proposed tool is Ø8, with D correctly set to radius 4. What change addresses the actual obstacle to producing the corner?
  1. Keep Ø8 and reduce its stored radius below 3 mm.
  2. Keep Ø8 and change G41 to G42 at the corner.
  3. Keep Ø8 and lengthen its lead-in beyond 4 mm.
  4. Use a cutter with radius below 3 mm and recalculate its data.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A mill drills three holes. The first-to-second route is flat; the second-to-third route crosses a clamp above R. The cycle starts at a verified height above the clamp and should finish there. How should the return modes be assigned?
  1. G99 at holes 1 and 2; G98 at hole 3.
  2. G99 at hole 1; G98 at holes 2 and 3.
  3. G98 at hole 1; G99 at holes 2 and 3.
  4. G99 at hole 1; G98 at hole 2; G99 at hole 3.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A compensated outside width should be 72.00–72.04 mm and measures 72.10 mm. Its D table uses radius values and current wear is +0.010 mm. What new D wear targets the tolerance midpoint?
  1. −0.070 mm
  2. −0.040 mm
  3. −0.030 mm
  4. +0.050 mm
Show answerHide answer

Save this lesson to see this answer.

Set 4: Turning profiles and measured corrections10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

With lathe work zero at the finished front face, what Z coordinate locates a shoulder 34 mm behind that face toward the chuck?
  1. Z-34.0
  2. Z34.0
  3. Z-17.0
  4. Z17.0
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

On a Fanuc system-A lathe, what does T0307 select?
  1. Turret station 7 and offset 3.
  2. Tool 3 with spindle speed 7 rpm.
  3. Turret station 3 and offset 7.
  4. Tool 7 with work offset G53.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

What radial stock is removed when a diameter is turned from Ø44 to Ø40?
  1. 4 mm
  2. 2 mm
  3. 1 mm
  4. 8 mm
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

What do G71 and G70 do with the same defined lathe profile?
  1. G71 finishes it; G70 roughs it.
  2. G71 drills it; G70 cancels drilling.
  3. G71 indexes it; G70 sets its zero.
  4. G71 roughs it; G70 finishes it.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A shaft's face and cylinder measure correctly, but its uncompensated chamfer retains material. What tool feature explains that difference?
  1. The work offset defines the front face.
  2. The lathe programs X as diameter.
  3. The insert has a rounded nose.
  4. The feed is given per revolution.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A diameter target is 41.98 mm and the measured size is 42.02 mm. On a diameter-valued X wear table, what correction change is needed?
  1. Decrease X wear by 0.020 mm.
  2. Decrease X wear by 0.040 mm.
  3. Increase X wear by 0.040 mm.
  4. Increase X wear by 0.020 mm.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A lathe runs G50 S2400 and G96 S180. What rpm does it command at Ø18, and near what diameter does the speed ceiling first become active?
  1. 2 400 rpm; about Ø23.87 mm.
  2. 3 183 rpm; about Ø23.87 mm.
  3. 2 400 rpm; about Ø11.94 mm.
  4. 3 183 rpm; about Ø11.94 mm.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A Ø36 shaft needs a 2 × 45° front chamfer. What pair gives its theoretical end points and a point on its straight approach extension 1 mm in front of the face?
  1. Ends X34 Z0 and X36 Z−2; approach X33 Z1.
  2. Ends X32 Z0 and X36 Z−2; approach X34 Z1.
  3. Ends X32 Z0 and X36 Z−4; approach X31 Z1.
  4. Ends X32 Z0 and X36 Z−2; approach X30 Z1.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A shaft tolerance is 55.00 to 55.06 mm. It measures 55.09 mm, and diameter-valued X wear is currently −0.015 mm. What new wear value targets the midpoint?
  1. −0.045 mm
  2. −0.060 mm
  3. +0.045 mm
  4. −0.075 mm
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A metric Fanuc system-A lathe uses G50 S1800, G96 S150 and G99 F0.20 to cut a 36 mm straight length at constant Ø20. Ignoring approach time, what are the actual rpm, axial feed and cutting time?
  1. 1 800 rpm; 360 mm/min; 0.100 min.
  2. 2 387 rpm; 477.5 mm/min; 0.075 min.
  3. 1 800 rpm; 180 mm/min; 0.200 min.
  4. 2 387 rpm; 360 mm/min; 0.100 min.
Show answerHide answer

Save this lesson to see this answer.

Set 5: CAM setups, control dialogs and panel yield10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

What does a CAM post-processor produce from an internal toolpath?
  1. The drawing dimensions from the finished part.
  2. Measured offsets for the actual loaded tools.
  3. Code for a specific machine and control.
  4. A new model of the physically clamped stock.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A control asks for pocket center, length, width, depth and tool data, then calculates the moves. What programming method is being used?
  1. Conversational programming.
  2. Manual G-code programming.
  3. Reference-return programming.
  4. Post-processing of a CAM model.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A pocket is 9 mm deep and uses 1.5 mm roughing stepdowns. How many depth levels are needed?
  1. 3 levels
  2. 6 levels
  3. 7 levels
  4. 9 levels
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A CAM tool diameter matches the real cutter, but its holder model is shorter than the real holder. What can a successful simulation miss?
  1. A mismatch in the cutter diameter.
  2. A wrong total in the pocket point table.
  3. A wrong tool number in another program.
  4. A real holder collision with a clamp.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A panel layout uses 3.6 m² of finished parts from a 4.8 m² original panel. What is its material yield?
  1. 25%
  2. 75%
  3. 80%
  4. 133%
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

CAM expects Z0 at the top of an 18 mm panel. At the machine, G54 Z0 is set on the table below it. What happens to a programmed bottom Z−6, and what must be fixed?
  1. It targets 6 mm below the panel top; leave the datum as set.
  2. It targets 12 mm above the panel top; increase the cutting depth.
  3. It targets 24 mm below the panel top; restore the matching top datum.
  4. It targets 24 mm below the panel top; shorten the tool value by 18 mm.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A 1 950 × 1 250 mm panel needs 15 mm edge trim on every side. Parts are 470 × 300 mm with 10 mm gaps. How many fit in an unrotated rectangular grid, with 470 along panel length?
  1. 16 parts
  2. 15 parts
  3. 10 parts
  4. 12 parts
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A 1 950 × 1 250 mm panel has 15 mm edge trim and 10 mm gaps. Parts are 470 × 300 mm. How do the two uniform rectangular-grid orientations compare?
  1. Rotate parts: 6 by 2 gives 12, tying the unrotated 4 by 3.
  2. Rotate parts: 6 by 3 gives 18, exceeding unrotated 4 by 3.
  3. Keep parts unrotated: 4 by 4 gives 16, exceeding rotated 6 by 2.
  4. Keep parts unrotated: 4 by 3 gives 12, exceeding rotated 5 by 2.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A CAM pocket is 7.5 mm deep, with a maximum 2 mm stepdown and 0.25 mm wall stock to leave. The wall finish is a separate full-depth pass. What roughing and finishing plan matches these settings?
  1. Three roughing levels to −6.0; finish walls with 1.5 mm radial stock.
  2. Four roughing levels to −8.0; finish walls with 0.25 mm radial stock.
  3. Four roughing levels to −7.5; finish walls with 0.25 mm radial stock.
  4. Four roughing levels to −7.5; finish walls with 0.125 mm radial stock.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A nested grid on usable stock 1 500 × 950 mm has 360 × 300 mm parts with 10 mm gaps. The last row's small pieces move after being cut free. How many fit in the unrotated grid, and what setup issue must be revised before accepting it?
  1. 12 parts; revise only the tool-length offset for every cutter.
  2. 12 parts; revise the release sequence and vacuum holding plan.
  3. 16 parts; revise the release sequence and vacuum holding plan.
  4. 9 parts; revise the work origin and keep the release sequence.
Show answerHide answer

Save this lesson to see this answer.

Set 6: Prove-out decisions and production diagnosis10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

An arc end point is not on the circle defined by its start and center. What kind of error is this?
  1. A tool-wear error.
  2. A geometry error.
  3. A syntax error only.
  4. A workholding error.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

An operator enables dry run for a path whose programmed Z depth is inside the stock. What must the operator understand before starting?
  1. Dry run lifts the cutting path above the highest clamp.
  2. Dry run applies a temporary top-face work datum.
  3. Dry run holds all axes stationary while checking blocks.
  4. Dry run changes feeds and does not create clearance.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

The physical setup uses a taller clamp than the simulation. The simulated path clears all modeled fixtures. What should be done next?
  1. Accept the path because simulation found no collisions.
  2. Reduce feed override and keep the clamp model unchanged.
  3. Update the clamp model and recheck the actual travel.
  4. Clear the work offset and retain the posted toolpath.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A restart is needed after stopping halfway through a tool section. Where should modal state be re-established before controlled resumption?
  1. At a suitable tool-section start using the approved restart procedure.
  2. At the nearest contour corner with its original XY coordinates only.
  3. At the next G01 block because it supplies every required mode.
  4. At M30 so previous spindle and offset settings will be restored.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A mill is at X14 Y8 Z40 with correct compensation. It runs G91 G28 Z0.0, then G00 X44.0 Y26.0, with no intervening mode change. What XY destination results, and what edit restores the intended absolute destination?
  1. (44, 26); insert G91 before the XY move.
  2. (58, 34); insert G80 before the XY move.
  3. (58, 34); insert G90 before the XY move.
  4. (30, 18); insert G90 before the XY move.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A 20 mm panel sits on a table at machine Z−450.000. CAM expects Z0 on the panel top. A temporary +60 mm air-run shift has made G54 Z−390.000. Tool H02 has gauge-line length 125.000 mm under G43. What production G54 Z and gauge-line machine Z are required for work Z−4?
  1. G54 Z−430.000; gauge line Z−309.000.
  2. G54 Z−450.000; gauge line Z−329.000.
  3. G54 Z−390.000; gauge line Z−269.000.
  4. G54 Z−430.000; gauge line Z−559.000.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A compensated pocket should be 38.00–38.04 mm and measures 37.94 mm. Its radius-valued D wear is −0.005 mm. What new wear value targets the middle of the tolerance?
  1. +0.035 mm
  2. −0.045 mm
  3. −0.085 mm
  4. −0.040 mm
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Under G43, a pocket target is 6.00 mm deep but the measured depth is 5.86 mm. Current H wear is +0.020 mm. What new H wear gives the required depth change?
  1. −0.140 mm
  2. +0.160 mm
  3. +0.140 mm
  4. −0.120 mm
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A 30.00 mm pocket measures 29.90 mm; its 5.00 mm depth measures 4.92 mm. The errors are traced to wear. Current radius-valued D wear is +0.010 and H wear under G43 is −0.020 mm. What new values correct both dimensions?
  1. D wear −0.040 mm; H wear −0.100 mm.
  2. D wear −0.090 mm; H wear −0.100 mm.
  3. D wear +0.060 mm; H wear +0.060 mm.
  4. D wear −0.050 mm; H wear −0.080 mm.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A 1 440 mm cutting path runs at 480 mm/min. A verified change raises feed to 640 mm/min and adds a 0.20 min inspection pause; all other times stay fixed. What is the net cycle-time saving?
  1. 0.75 min
  2. 0.95 min
  3. 0.55 min
  4. 0.20 min
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

90 Key Terms, each with its definition

A

Absolute coordinates
Absolute coordinates locate a destination from the active work origin, so each coordinate identifies a position independently of the previous one.
"With absolute coordinates active, X62 means the destination 62 mm from work zero along the X axis."
Air run
An air run executes a program without cutting along a path whose physical clearance has been verified in the actual setup.
"The setter removes the temporary air-run Z shift and checks the production datum before the first cut."
Arc-center offset
An arc-center offset is the signed distance from an arc's start to its center along an axis in the usual Fanuc center format.
"The start has Y6 and the center Y22, so the Y arc-center offset is J16 even in absolute end-point mode."

B

Ball screw
A ball screw converts motor rotation into accurate linear movement through a screw-and-nut assembly with rolling balls.
"The X-axis ball screw moves the table along its guideways while the feedback system reports position."
Block
A block is one program line containing the words that describe a step, such as a movement or a change in machine state.
"The next block supplies a Y destination and inherits the G01 movement mode from the previous line."

C

CAM
Computer-aided manufacturing (CAM) calculates machining toolpaths from drawing or model geometry using a defined stock, tools and setup.
"CAM roughs the pocket in several depth levels and leaves wall stock for a separate finishing pass."
Canned cycle
A canned cycle is a stored sequence of movements called with a few parameters to perform repeated work such as drilling.
"The G81 canned cycle drills another hole when the program supplies its next XY position."
Chain dimension
A chain dimension gives a distance from the preceding feature, so successive distances must be combined to locate features from one datum.
"A 16 mm datum distance followed by a 23 mm chain dimension puts the next feature at X39."
Circular interpolation
Circular interpolation coordinates movement along a circle or arc in the selected plane, using end-point and center or radius data.
"Circular interpolation joins the two tangent points of a rounded corner with a G03 movement."
Clearance height
A clearance height is a verified tool-tip level high enough for the planned travel above the stock and obstacles in the setup.
"The drill returns to the clearance height before crossing a clamp between two hole locations."
Closed loop
A closed loop is a control system that compares measured output with a target and corrects the difference during operation.
"The closed loop corrects axis position but still follows a wrong coordinate if the program supplies one."
CNC
Computer numerical control (CNC) is machine control through a program of numerical instructions for axis positions and machine functions.
"The CNC program positions the cutter, starts the spindle and switches on coolant for the planned cut."
Constant surface speed
Constant surface speed is a lathe mode that changes rpm with cutting diameter to maintain the selected speed at the cutting edge.
"The setter enters a spindle limit before constant surface speed is used for facing toward the center."
Control dialect
A control dialect is the particular command language and code interpretation supported by a machine's control and selected code set.
"The control dialect determines whether G90 selects absolute positioning or calls a lathe turning cycle."
Conversational programming
Conversational programming builds a machine program from prompted dimensions and cutting data entered through a control's graphical dialogs.
"The operator enters pocket width, length and depth through conversational programming at the machine."
Cutter radius compensation
Cutter radius compensation shifts the mill cutter center from the programmed contour according to the stored effective tool radius.
"With cutter radius compensation active, the program follows the finished wall dimensions from the drawing."
Cutting speed
Cutting speed is the relative speed of the cutting edge at the cut, commonly expressed in meters per minute for metal machining.
"The programmer uses the chosen cutting speed and cutter diameter to calculate the spindle rpm."
Cycle time
Cycle time is the total time to execute a machining cycle, including cutting, positioning, tool changes and programmed pauses.
"A faster contour reduces cutting time, but an added inspection pause also contributes to the cycle time."

D

D register
A D register identifies the stored cutter-size value used for milling radius compensation, interpreted as radius or diameter by setting.
"The D register is set to radius values, so a Ø12 cutter needs 6 mm of full geometry compensation."
Deviation
A deviation is measured size minus the chosen target, with its sign showing whether the measured feature is above or below that target.
"A 32.04 mm diameter compared with a 32.00 mm target has a positive deviation of 0.04 mm."
Diameter programming
Diameter programming is a lathe convention in which an X coordinate states the diameter at the tool position, twice its radial distance.
"In diameter programming, moving from X52 to X48 brings the tip 2 mm closer to the centerline."
Distance to go
Distance to go is the control's display of remaining commanded movement, useful for comparison with the actual tool-to-part gap.
"A distance to go larger than the real approach gap prompts an immediate stop and offset investigation."
DNC
Direct numerical control (DNC) is a program-transfer link that can supply code to a control, including streaming long programs during execution.
"The machine receives the long surface-machining program through DNC instead of storing the whole file locally."
Dry run
Dry run is a control function that changes feed behavior during program execution while retaining the commanded positions.
"Enabling dry run does not raise a Z−4 cutting path above the stock or the clamps around it."
Dwell
A dwell is a programmed pause at a position, often with the spindle running, to allow a cutting surface to clean up.
"A short dwell at the bottom of a groove lets the tool clean the surface before it retracts."

E

Edge finder
An edge finder is a spindle-mounted contact tool that locates a workpiece edge with a correction for the finder's radius.
"A 10 mm edge finder contacts the side while its spindle center remains 5 mm away from the edge."

F

Facing
Facing cuts a flat surface across a rotating workpiece end, normally establishing the finished front face used as lathe Z0.
"The first facing pass establishes the front datum before the shaft length and shoulder are machined."
Feed hold
Feed hold is a panel function that pauses programmed axis feed while normally leaving the spindle turning.
"Feed hold pauses the approach, but the rotating spindle still requires the working area to remain guarded."
Feed per revolution
Feed per revolution is the linear tool advance during one spindle turn, commonly used for lathe cutting and drilling data.
"At 0.12 mm feed per revolution, the turning tool advances 0.12 mm along its path for each spindle turn."
Feed per tooth
Feed per tooth is the intended advance for each cutter tooth, used with tooth count and rpm to calculate milling feed per minute.
"A four-tooth end mill at 0.03 mm feed per tooth advances 0.12 mm during each complete revolution."
Feed-start height
A feed-start height is the approach level where rapid positioning ends and the tool begins its controlled cutting feed.
"The end mill reaches the feed-start height above the stock before feeding down to the pocket floor."
Finishing allowance
A finishing allowance is material intentionally left after roughing so a later pass can establish the final size and surface.
"The roughing cuts leave a small finishing allowance on the shaft profile for the final tool pass."
First-article inspection
First-article inspection checks and records the first produced part's dimensions against the drawing before a batch is released.
"For a part with a bore and a pocket, first-article inspection includes the bore diameter and pocket depth, not just the part's appearance."

G

Geometry error
A geometry error is inconsistent path geometry, such as an arc end point off its circle or an impossible compensated corner.
"The geometry error appears when the arc's calculated radius differs between its start and end points."
Geometry offset
A geometry offset stores a tool's basic measured dimensions relative to the machine's tool reference point.
"The lathe setter uses a measured test diameter to establish the X geometry offset for the turning tool."

H

Half-angle
A cone's half-angle is the angle between its sloping side and centerline, equal to half the full included angle.
"A cone with a 24° included angle uses a 12° half-angle when its end diameter is calculated."

I

Imaginary tool tip
The imaginary tool tip is the theoretical intersection of X- and Z-direction tangents to a lathe insert's rounded nose.
"The imaginary tool tip locates a cylinder correctly but needs nose compensation to size a sloping chamfer."
Increment
An increment is a signed coordinate change found by subtracting the current position from the target position on one axis.
"The increment from Y24 to Y9 is −15 mm, so that move travels toward the negative Y direction."
Incremental coordinates
Incremental coordinates describe signed distances from the current position, so each value adds a movement to the previous location.
"An incremental X18 repeats an 18 mm hole pitch from the tool's current X position on the row."
Indexed machining
Indexed machining positions a rotary axis at a fixed angle before cutting with the linear axes at that orientation.
"Indexed machining turns the part 90° so a second face can be drilled without reclamping the stock."

L

Lead-in
A lead-in is the approach movement that brings the tool onto the contour and gives compensation room to build before contact.
"The straight lead-in stays clear of stock and is longer than the cutter radius when G41 is activated."
Lead-out
A lead-out moves the tool away from the finished contour, allowing compensation to be removed without damaging the surface.
"The tool cancels G41 with G40 during a straight lead-out beyond the outside corner of the plate."
Linear axis
A linear axis is a controlled direction of straight relative movement, identified as X, Y or Z in the machine coordinate system.
"The vertical mill raises its Z linear axis before moving across the top of the clamped workpiece."
Linear interpolation
Linear interpolation coordinates axis movements so the tool follows a straight line to its destination at the programmed feed.
"Linear interpolation changes X and Z together when the lathe cuts the straight side of a taper."
Logic error
A logic error is an accepted program instruction that commands the wrong action or location for the intended machining task.
"A rapid move below the clamp is a logic error even if all its words are accepted by the control."

M

Machine lock
Machine lock runs program execution without physical axis movement, allowing screen checks but not real travel-clearance checks.
"The program looks correct in machine lock, but its first physical approach still needs controlled prove-out."
Machine zero
Machine zero is the fixed origin established by the builder for the machine coordinate system, independent of a particular workpiece.
"Moving the vise changes the part's work offset while machine zero stays at the builder's fixed location."
Material yield
Material yield is the fraction of the original stock that becomes useful finished parts, often expressed as a percentage.
"A layout producing 4 m² of parts from a 5 m² panel has 80% material yield before considering reuse of offcuts."
MDI
Manual data input (MDI) is a control mode that executes one or a few instructions typed directly by the operator.
"The setter uses MDI for a short spindle command after confirming the tool and setup are clear."
Modal command
A modal command remains active until another command from the same group replaces it in a later block.
"The modal command G01 keeps subsequent coordinate-only lines at feed speed until another motion is selected."

N

Nesting
Nesting arranges flat parts on a sheet to use material effectively while allowing for trim, cutter gaps and secure workholding.
"The nesting layout leaves cutter-width gaps between panels and plans when the small pieces are released."
Non-modal command
A non-modal command acts within its own block without remaining active as the instruction for later blocks.
"The non-modal command G04 produces a dwell, while the surrounding coordinate mode remains unchanged."

O

Overtravel alarm
An overtravel alarm reports that a commanded or actual axis position reaches a permitted travel limit and requires controlled recovery.
"The operator reads the overtravel alarm and checks the selected offset before attempting a new approach."

P

Parting off
Parting off feeds a narrow cutting tool into rotating stock to separate the finished component from the remaining bar.
"The speed ceiling limits rpm as the parting-off tool approaches the center under constant surface speed."
Peck drilling
Peck drilling removes a deep hole in depth increments with retracts that help clear chips from the hole.
"The programmer selects G83 peck drilling so chips can clear during the repeated returns to the R plane."
Pitch circle diameter
A pitch circle diameter is the diameter of the circle passing through the centers of a circular hole pattern.
"For a 48 mm pitch circle diameter, the bolt-circle coordinate calculation uses a radius of 24 mm."
Point table
A point table lists the coordinates of contour points in travel order so drawing geometry can be checked before motion blocks are written.
"The programmer checks each point table entry against the datum dimensions before entering the contour."
Position feedback
Position feedback is the measured axis-position information returned by an encoder or scale so the control can check movement.
"The control compares position feedback with the target coordinate during the approach to the next hole."
Post-processor
A post-processor translates CAM toolpath data into the commands, cycles and layout required by a particular machine and control.
"The programmer chooses the mill's verified post-processor before transferring the generated program."

R

R level
The R level is the drilling-cycle approach and return plane selected by R, used for rapid approach before feeding to depth.
"With G99 active on the mill, the drill retracts to the R level before moving toward the next hole."
Rapid traverse
Rapid traverse is high-speed free-space positioning, normally selected by G00, whose physical route may involve independent axis motion.
"The tool uses rapid traverse above the fixture, then switches to feed before entering the stock."
Reference point
A reference point is a known axis position used during homing to establish the machine's position information.
"After startup, reference return takes an incremental-encoder machine to its reference point before setup."
Right-handed coordinate system
A right-handed coordinate system fixes the relationship of X, Y and Z according to the right thumb, index and middle fingers.
"The right-handed coordinate system keeps the axis relationship consistent when the spindle is horizontal."
Rotary axis
A rotary axis controls angular movement about a linear axis; A, B and C rotate about X, Y and Z, respectively.
"The mill's A rotary axis indexes the fixture about X before machining the next side of the part."
Roughing cycle
A roughing cycle removes stock through repeated passes based on a defined profile while preserving a selected finishing allowance.
"The G71 roughing cycle removes the bar's excess diameter before G70 follows the profile for finishing."

S

Safety block
A safety block establishes known program modes before a tool section, including units, plane and relevant compensation or cycle states.
"The mill safety block selects metric units and absolute coordinates before the new tool approaches the part."
Servo drive
A servo drive supplies controlled power to an axis motor in response to the control's movement commands and position feedback.
"The servo drive changes motor output when the measured axis position differs from the requested position."
Setup sheet
A setup sheet records the program, tools, offset numbers, datum, stock and workholding information needed to reproduce the planned job.
"The operator checks the fixture and tool numbers against the setup sheet before proving out the program."
Simulation
Simulation calculates and displays programmed motion or material removal using modeled stock, tools, offsets and workholding.
"The simulation must include the real holder and clamp heights to check their clearance along the path."
Single block
Single block is an execution mode that pauses after each program block until cycle start is pressed to continue.
"Single block lets the operator check the next approach before authorizing another block to run."
Spindle gauge line
The spindle gauge line is the reference location where a tool holder seats, from which gauge-line tool lengths are measured.
"A presetter measures from the spindle gauge line to the drill tip so the correct H value can be entered."
Spindle speed
Spindle speed is the number of spindle revolutions per minute, set by S in fixed-speed mode or calculated in surface-speed mode.
"The constant surface-speed mode increases spindle speed as the facing tool approaches the centerline."
Spoilboard
A spoilboard is a sacrificial board beneath sheet stock that supports the work and can receive the tool during through cuts.
"The router cuts slightly into the spoilboard to separate the panel pieces without cutting the machine table."
Stepdown
Stepdown is the added axial cutting depth assigned to each level of an operation, separate from its sideways engagement.
"A 10 mm pocket with a 2 mm stepdown reaches the floor after five successive roughing levels."
Stepover
Stepover is the sideways distance or radial engagement between neighboring milling paths, controlling how much width each pass cuts.
"The programmer reduces stepover to keep cutter engagement suitable during the pocket's roughing paths."
Syntax error
A syntax error is a command-format fault, such as an unknown address or a missing required value, that the control cannot interpret.
"The control rejects an unfamiliar address as a syntax error before carrying out the block's movement."

T

Tangent point
A tangent point is the location where a straight contour meets an arc smoothly, with both sharing the same direction at contact.
"An R4 corner between a top edge and an adjoining vertical edge has one tangent point on each of the two edges."
Tapping
Tapping cuts an internal thread with a tap whose axial feed is synchronized to spindle rotation and thread pitch.
"For 1.0 mm pitch at 500 rpm, tapping requires a synchronized axial feed of 500 mm/min."
Tip orientation
Tip orientation is the offset-table identification of the direction a lathe tool nose faces, needed for nose compensation.
"A wrong tip orientation sends compensation to an unintended location even when the nose radius is correct."
Tolerance midpoint
The tolerance midpoint is the value halfway between a dimension's permitted lower and upper limits, often chosen as the production target.
"The tolerance midpoint of 17.96–18.00 mm is 17.98 mm, leaving room for drift in either direction."
Tool life
Tool life is the useful cutting service of an edge before wear or damage makes it unsuitable for the required operation.
"The shop tracks tool life so a worn insert can be replaced before it causes repeated out-of-tolerance parts."
Tool nose radius compensation
Tool nose radius compensation adjusts a lathe path for a rounded insert using its radius, orientation and chosen compensation side.
"Tool nose radius compensation brings the actual rounded edge onto the shaft's chamfer and curved shoulder."
Tool presetter
A tool presetter measures tool dimensions outside the machine so the values can be entered before the tool is used.
"The drill is cleaned and placed on the tool presetter to measure its gauge-line-to-tip length."
Tool-length offset
A tool-length offset connects the spindle reference to a tool's tip so the control can place different-length tools at a programmed Z.
"H03 stores the drill's tool-length offset, and the program activates it with G43 before the approach."

U

U/W addressing
U/W addressing gives incremental diameter and Z distances on Fanuc system-A lathes while X and Z give absolute positions.
"A lathe program uses U−6 for a 6 mm diameter reduction and W−12 for 12 mm toward the chuck."

W

Wear offset
A wear offset is a small adjustment added to measured tool geometry to correct production dimensions after inspection.
"The setter changes X wear offset after a consistent diameter deviation is traced to insert wear."
Word
A word is an address letter followed by its numerical value, identifying a command, coordinate or setting in a program block.
"The word X37.0 gives an X coordinate, while F240 gives a feed interpreted through the active feed mode."
Work offset
A work offset records the location of a selected part datum within the machine coordinate system for use by the program.
"G54 and G55 hold different work offsets for two vises running the same local hole pattern."
Work zero
Work zero is the part datum chosen as the origin for program coordinates, usually matching a useful feature on the drawing.
"The setter places work zero at the finished top-left corner used for the drawing's hole dimensions."
Working plane
The working plane selects the pair of axes used for circular moves and relevant contour compensation calculations.
"The mill selects the XY working plane with G17 before interpreting the hole pattern's circular moves."

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started