Guide · Setup

CNC Mill Set-Up Step by Step: From Power On to the First Good Part

Reference return, clamping, edge finder, G54, tool lengths, first run in single block and the first measurement, with the mistakes that cause most crashes.

By cnccode · Updated
On this page
  1. 1. Power on and reference
  2. 2. Clean, clamp, check
  3. 3. Find X and Y
  4. 4. Measure the tools
  5. 5. Read the program
  6. 6. First run
  7. 7. Measure and correct
  8. The five classic mistakes
  9. More guides
  10. Frequently asked questions

You can do every step of this page in the virtual CNC machine before you touch a real one.

1. Power on and reference

Check air pressure, oil and coolant. Reference Z first, then X and Y, so that the tool is out of the way. Machines with absolute encoders keep their position.

2. Clean, clamp, check

Clean vise and parallels. Press the part down, tighten, and check that no parallel can be moved. A chip of 0.1 mm under the part is an error of 0.1 mm.

3. Find X and Y

Touch one side with the edge finder. With a Ø10 finder on the left side the spindle centre stands at X−5. Enter this value with the MEASURE key on the G54 page. Do the same for Y. Control it: move to X0 Y0 and look whether the spindle stands over the corner.

4. Measure the tools

Every tool needs its length in the H offset. Touch the top face with a feeler gauge or use a tool setter. Never mix two methods on one machine without writing it down.

5. Read the program

Compare the tool list with the magazine. Check G54, the H and D numbers and the first Z moves of each tool. The G-code checker finds forgotten decimal points and missing feeds.

6. First run

  1. Single block on, rapid 25 % or less, optional stop on.
  2. Stop the first Z move about 50 mm above the part and compare the distance to go with the real gap. This one check prevents most crashes.
  3. Keep one hand on feed hold.
  4. Repeat it for every new tool.

7. Measure and correct

Finish one wall with stock, measure, then correct with wear, not with geometry. Write the corrections on the set-up sheet.

The five classic mistakes

  • H number of another tool
  • G91 still active after G28
  • Edge finder radius forgotten or with the wrong sign
  • Z0 at the bottom in CAM and at the top on the machine
  • Restart in the middle of the program without spindle, coolant or offset

Frequently asked questions

Should Z0 be on the top or at the bottom?
Both work. The top is easy for single parts. The bottom or the parallel is better when the raw height changes.
How long should a set-up take?
For a simple vise job with five tools, 20 to 40 minutes are normal. Fixed vises, preset tools and set-up sheets bring it below 10.
Was this page helpful?