Manual Programming
Manual Programming
• Programming for NC is, in general called part programming and is employed to process a
workpiece.
• There are different ways in which the part programming is done.
1. Manual part programming
2. Computer assisted programming
3. Computer-Aided Design / Computer-Aided Manufacturing (CAD/CAM) based programming.
Manual Programming
•The programmer prepares the
NC code in low level machine
language.
•In programming, NC axes
nomenclature is to be fixed. ISO
standards for some of the NC
machine tools are illustrated in
Fig.
Programming for Numerical Control
Manual Programming (continued)
• Two distinct categories of machine tools are:
1. those that employ rotating tools and cutters while maintaining the work stationary.
2. those that require the workpiece to rotate whilst maintaining fixed tools.
• Translatory motions are denoted by X, Y, Z, U, V, W, P, Q, R and rotary motions are denoted
by A, B, C, D, E.
• The translatory axis is positive when the machined dimension of the workpiece increases
and for the rotary motion, it is positive around a translatory axis if it follows right hand
screw principle, i.e. it is positive when the right hand screw advances in the positive
translative direction.
• There may be more than one moving element in the same axis – one is identified as being
primary motion and designated as X, Y, Z and the secondary movements in the same axis
are designated as U, V, W corresponding to the dimensions parallel to X, Y, Z.
• For example, a turning centre may have a horizontal saddle movement and a horizontal
turret movement both operating in the X-axis.
Programming for Numerical Control
Manual Programming (continued)
G-Code Execution
G-Code Execution
G40 Cancel offset compensation for cutter radius (nose radius in turning)
G41 Cutter offset compensation, left of the part surface. Cutter radius
(nose radius in turning) must be specified in the block
G42 Cutter offset compensation, right of the part surface. Cutter radius
(nose radius in turning) must be specified in the block
G50 Specify offset of reference point i.e. location of coordinate axis system
origin relative to starting location of cutting tool; used in some lathes
G60 Unidirectional approach (rapid)
G-Code Execution
G92 Specify offset of reference point i.e. location of coordinate axis system
origin relative to starting location of cutting tool; used in milling and
drilling
G-codes
G-Code Execution
M-Code Execution
M08 Coolant on