CNC Coding
CNC Coding
NUMERICAL
CONTROL (CNC)
- CODING
NORSA`AIDAH BINTI SA`AID
DJJ10033 WORKSHOP TECHNOLOGY
COMPUTER NUMERICAL
CONTROL
Upon completion of this topic, student should be to :
Milling
Turning/lathe
Linear Axes X Y Z
Rotary Axes A B C
Secondary Linear U V W
Interpolation I J K
C N C MACHINE UNIT
Machine tool • designed to cut away surplus material and leave a component
of the required shape and size
• The function of machine tools can give the results in
consistence and reduced the machining time
Incremental Absolute
(G91) (G90)
movement with
the next location
respect to the
always in terms of
preceding point in
its relationship to
a prescribed
the fixed zero
sequence of points
point
N30
TOOL MOVEMENT
N20
N25 N35
N15
N40
N10 END OF PRGRAMME
N45
N50
ABSOLUTE (G90)
ABSOLUTE MODE
STRAIGHT LINE
FEED RATE: 300
TOOL MOVEMENT
N30
N20
N25
N15 N35
N10 N40
N45
LINEAR
INTERPOLATION
⚫ Under this command the machine
tool will move in a straight line at
a defined feed rate
⚫ Ex:
G01 X200
F250
Meaning
: G01 Move in a straight
X200. line A distance of
F250. 200mm
At a feed rate of
250mm/min
CIRCULAR
INTERPOLATION
⚫ G02 will cause the path to be transcribed in a clockwise
direction
and G03 will cause counter-clockwise motion
N20 ABSOLUTE MODE
N15 N30 STRAIGHT LINE
FEED RATE: 200
N25 CLOCKWISE DIRECTION (X AXIS, 20)
N35
RADIUS 10
ANTICLOCKWISE DIRECTION
(X AXIS,)RADIUS 10
STRAIGHT LINE
N40
CLOCKWISE DIRECTION
(Y AXIS, 90) RADIUS -10
N50 N45
N10 STRAIGHT LINE
ANTICLOCKWISE
N55 DIRECTION (Y AXIS, 90)
RADIUS -10
STRAIGHT LINE
END OF PROGRAMME
PROGRAM DEFINITION