Professional Documents
Culture Documents
Cam - L5
Cam - L5
Lecture # 5
Fundamentals of CNC
Rotating Arm Mechanism
Turning centers.
Numerical problems
Fundamentals of NC Programming
Various functions on the control panel of the MCU are the direct interface
between machine operator and NC system.
Jogging mode is used for positioning the slides. Jogging mode is used
for coarse positioning and discrete jogging switches are used for fine
positionning.
Block by Block mode is used to read and execute one block of
information at a time.
Part Programming
NC PART PROGRAMMING
Machining involves an important aspect of relative movement between cutting tool and
workpiece. In machine tools this is accomplished by either moving the tool with respect to
workpiece or vice versa.
In order to define relative motion of two objects, reference directions are required to be
defined. These reference directions depend on type of machine tool and are defined by
considering an imaginary coordinate system on the machine tool.
b) Program Origin:
It is also called home position of the tool. Program origin is point from where the
tool starts for its motion while executing a program and returns back at the end of
the cycle. This can be any point within the workspace of the tool which is
sufficiently away from the part. In case of CNC lathe it is a point where tool
change
c) is carried out
Part Origin
The part origin can be set at any point inside the machine's electronic grid system.
Establishing the part origin is also known as zero shift, work shift, floating zero or
datum. Usually part origin needs to be defined for each new setup. Zero shifting
allows the relocation of the part. Sometimes the part accuracy is affected by the
location of the part origin. Figure 29.1 and 29.2 shows the reference points on a
lathe and milling machine
BITS Pilani, Pilani Campus
REFERENCE POINTS
In fixed block format, NC words are written in the standard sequence without address
alphabets of the words. No tab is required. Each NC word must have same number of
characters in the same format.
( A) Preparatory codes:
Preparatory codes are used to prepare the control unit for implementing the
instructions.
Ex: G01 : Prepares the control unit for linear interpolation.
Modal code stays in effect until cancelled by another code in the same
group.
Non-modal code stays in effect only for the block in which it is programmed.
Afterwards, its function is turned off automatically.