Unit V CNC Programming
Unit V CNC Programming
Work Zero
It is location from which program starts or operation starts also called as floating
zero.
Machine zero
● On all CNC machines, machine zens is located at the positive end of each
axis travel range means, from machine zero toll will not go beyond.
● It is also called as fixed zero or home position. Machine control unit
understand the dimensions provided will respect to the machine zero
(1) Process planning and scheduling : This is the initial stage of manufacturing. The drawing are studied
and the operations of manufacturing are listed. Details such as, sequencing of operation, conventional and
NC machining and the requirements of tooling and their availability is studied and planned. Based on these
setup sheets are developed
(2) Part programming : The setup sheets are then used to develop a part program. The program can be
either written manually or can be computer generated.
(3) Tape preparation : The program generated in the previous step is to be converted into a machine
language program and is then placed on a proper input media such as paper tape, floppy disk hard disc etc.
Step in NC Manufacturing
(4) Tape Verification : The accuracy of program can be then lesser by a dry run on the machine or on a
plotter which traces out the tool paths programmed by the user. After dry run modification if any are done to
the part program
(5) Production : The ready to use program with the necessary setup sheets and part drawing are then
provided to the NC machine operator for production
Process planning
Part Programming Tape preparation Tape Verification Production
and scheduling
CNC Part Programming
➢ Part Programme-It is set of instructions given to CNC machine for
machining required component.
➢ Each line in programme is called BLOCK and each block is one complete
instruction..
➢ Programme consists of no of blocks & block contains no of words.
This section serves to issue any commands required at the start of the tape only ex- setting
the program to the millimeter mode would be needed only at the beginning of the program.
This serves to issue commands to cancel any machine modes that would have remained
active in case of interrupted tool cycles. By issuing certain initialization commands, the
programmer can ensure the safely of the mk tool.
Principles of an NC program
This section deals with the selection and sequencing of the tool, either manually or by etc.
This section also deals with tool length compensation
This section deals with the code for the actual cutting tool motion. The machining work is
done in this section.
The tool cancel section turns off the tool compensation features and returns the tool to its
storage either manually or through the ATO.
Principles of an NC program
The end of program blocks issue any commands necessary after all tool motion is complete,
but before the program terminates. In most of the cases, this section consists of the end of
the program code.
In Fig. 3 ,