Friday 1 January 2016

APT programming examples


Tool path generated by Visual CAM Script



Drawn by R.Ramakutty
Program written by  R.Ramakutty
Partno This is an example program for milling machines
Machin/MMpost,1
Print/On
P1=Point/ 40,40
P2=Point/ 40,125
P4=point/0,0
C1= Circle/Center, P1, Radius, 18
C2= Circle/Center,P2,Radius,26
C3=Circle/Xsmall,in,C1,in,C2,Radius,96
C4= Circle/Xsmall,out,C1,out, C2, Radius,42
pl1=plane/P1,P2,P4
Spindl/1800, Clw, Range, 2
Cutter/10
from/P4
go/to,C1,TO,pl1
gorgt/C1,tanto,C3
gofwd/C3,tanto,C2
gofwd/C2,tanto,C4
gofwd/C4,tanto,C1
gofwd/C1,to,C3
goto/P4
stop
fini

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%





Drawn by R.Ramakutty
Program written by  R.Ramakutty

Partno This is an example program for milling machines
Machin/MMpost,1
Print/On
P1=Point/ 40,40
P2=Point/ 40,125
P3=Point/ 120,80
C1= Circle/Center, P1, Radius, 18
C2= Circle/Center,P2,Radius,26
C3=Circle/Center,P3,Radius,42
L1= Line/ Right, TanTo, C1,Right, Tanto,C3
L2=Line/ Left, TanTo, C2,Left, Tanto,C3
C4= Circle/Xsmall,out,C1,out, C2, Radius,42
p4=point/50,-10
pl1=plane/P1,P2,P3
Spindl/1800, Clw
Cutter/10
from/p4
go/to,L1,TO,pl1
gorgt/L1,tanto,C3
gofwd/C3,tanto,L2
gofwd/L2,tanto,C2
gofwd/C2,tanto,C4
gofwd/C4,tanto,C1
gofwd/C1,past,L1
goto/ p4
stop
fini


No comments:

Post a Comment