Professional Documents
Culture Documents
Faculty of Engineering
COMPUTER NUMERICAL
CONTROL (CNC)
PROGRAMMING
AUTOMATICALLY
PROGRAMMED TOOLS (APT)
Steps in computer-aided part programming
* The part programmer’s job: defining the part geometry –
specifying the operation sequence & tool path
* The computer’s job: Input translation – arithmetic calculation –
cutter offset computation - postprocssor
L3=LINE/P2,P4
PL1=PLANE/P2,P3,P4
Ashraf HASSAN Computer Numerical Control (CNC) Progamming 341
Other geometry statements
CIRCLE DEFINITION
C1=CIRCLE/4,3,0,2
(center & radius, Fig.)
C3=CIRCLE/CENTER,(P
OINT/5,10,0),P2
C1=CIRCLE/CENTER,P1,
TANTO,L1 (Fig.)
C1=CIRCLE/P2,P3,P4
Ashraf HASSAN Computer Numerical Control (CNC) Progamming 342
LINE DEFINITION:
L1=LINE/2,1,0,5,3,0 (Fig.)
L1=LINE/P1,LEFT,TANTO,
C1 (Fig.) ( تضع نفسل فى المرمز
وظهرك لنقطة األصل وتنظر للخط
)تجده على اليسار
L3=LINE/P1,LEFT,ATANGL
,20 (Fig.)
L4=LINE/P1,LEFT,ATANGL
,30,L3 (Fig.)
Write the
motion
statements
for the tool
path shown
in Fig.
Ashraf HASSAN Computer Numerical Control (CNC) Progamming 367
POSTPROCESSOR STATEMENTS
COOLNT/ON RAPID
END (stops the m/c to change tool manually)
SPINDL/ON SPINDL/1250,CCW
FEDRAT/6 (in/min) TURRET/T30
MACHIN/DRILL, 3