home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
progmisc
/
cams305.zip
/
THINGMJ.NC
< prev
next >
Wrap
Text File
|
1993-05-20
|
896b
|
43 lines
PNO/ CAMS TEST CASE #1 - THINGAMAJIG - 12/17/86
MCH/0
MAT/M1=TRN,.375,2.225,-.4125
PLT/M1
#/S0=185
#/R1=.25
#/Z1=.625+.25
#/Z2=-.05
#/Y0=1.725-.4+2
#/X0=3
PLN/Q1=0,0,1,Z2
LIN/L1=0,-Y0,1,-Y0
LIN/L2=-X0,0,-X0,1
LIN/L3=-X0,2-Y0,COS(15)-X0,SIN(15)+2-Y0
LIN/L4=PARL,L1,YL,1.725
LIN/L5=PARL,L2,XL,6
CIR/C1=0,0,2
REM/ ** COMPUTE SPINDLE RPM (S1) SUCH THAT 100 <= S1 <= 4000
#/S1=MAX(100:MIN(4000:(S0*12/(3.1416*R1*2))))
REM/ ** COMPUTE FEEDRATE; .004 PER EDGE FOR 2 FLUTE CUTTER
#/F1=.004*S1*2
PRT/S1,F1
FROM/P255=-(X0+1),-(Y0+1.125),Z1
FED/F1
CUTR/2*R1
RPD
PS/Q1
GO/TO,L2,TO,L1
GO/PAST,L3,TO,L2
GO/PAST,C1,TO,L3
REM/ *** GEOMETRY TO COMPUTE ARC END ANGLE USING A CIRCLE
CIR/C100=YL,L4,XL,IN,C1,R1
ARC/.003,CCW,CTR,C100,IN,C1
GO/PAST,L5,TO,L4
GO/PAST,L1,TO,L5
GO/PAST,L2,TO,L1
RPD
GTO/P255
PRT/ALL
FIN
4,XL,IN,C1,R1
ARC/.003,CCW,CTR,C100,IN,C1
GO/PAST,L5,TO,L4