Basic Programming

Classic Control - Lathe Operator's Manual

The Online Interactive Operator's Manual is currently available in English only.

A PDF version of the Operator's Manual is available for download in multiple languages. Click the link below to view the Operator's Manual in your language. Click "Continue" to view the online version in English.

Get a translated PDF Download Continue

Basic Programming

A typical CNC program has (3) parts:

  1. Preparation: This portion of the program selects the work and tool offsets, spindle speed, selects the cutting tool, and turns on the coolant.

  2. Cutting: This portion of the program defines the tool path, and feed rate for the cutting operation.

  3. Completion: This portion of the program turns off the coolant, moves the tool to Z-Axis home, moves the tool to X-Axis home, turns off the spindle, and allows the part to be unloaded from the chuck and inspected.

This program makes a 0.100" (2.54 mm) deep face cut in a piece of material with Tool 1 along the X Axis from X = 2.1 to X = - 0.02 (negative 0.02 X-Axis over-travel makes sure the uncompensated tool cuts the whole face).

note: A program block can contain more than one G-code, as long as those G-codes are from different groups. You cannot place two G-codes from the same group in a program block. Also note that only one M-code per block is allowed.
% o40001 (BASIC PROGRAM) ; (G54 X0 is at the center of rotation) ; (Z0 is on face of the part) ; (T1 is an end face cutting tool) ; (BEGIN PREPARATION BLOCKS) ; T101 (Select tool and offset 1) ; G00 G18 G20 G40 G80 G99 (Safe startup) ; G50 S1000 (Limit spindle to 1000 RPM) ; G97 S500 M03 (CSS off, Spindle on CW) ; G00 G54 X2.1 Z0.1 (Rapid to 1st position) ; M08 (Coolant on) ; G96 S200 (CSS on) ; (BEGIN CUTTING BLOCKS) ; G01 Z-0.1 F.01 (Linear feed) ; X-0.02 (Linear feed) ; (BEGIN COMPLETION BLOCKS) ; G00 Z0.1 M09 (Rapid retract, coolant off) ; G97 S500 (CSS off) ; G53 X0 (X home) ; G53 Z0 M05 (Z home, spindle off) ; M30 (End program) ; %

Be aware: Many service and repair procedures should be done only by authorized personnel. The service technicians at your Haas Factory Outlet (HFO) have the training, experience, and are certified to do these tasks safely and correctly. You should not do machine repair or service procedures unless you are qualified and knowledgeable about the processes.

Danger: Some service procedures can be dangerous or life-threatening. DO NOT attempt a procedure that you do not completely understand. Contact your Haas Factory Outlet (HFO) and schedule a service technician visit if you have any doubts about doing a procedure.

Feedback