I messed with an @ section to calculate feed rates for interping arcs when comp is used so the feed rate would be constand . You may be able to pull some of the info from this to help you. bob
@COMP-ARC #IF(#V9=1)<COMP-ARC 40-4.TMP> #EVAL(#tl_ratio=ABS(#ARAD)-(#TLDIA/2))// USE ONLY POS. RADIUS VALUE #IF(#tl_ratio<=0.001)<#EVAL(#tl_ratio=0.001)> // #IF(#DCOMP=1,#AND#MOV=3)<#EVAL(#arc_feed=#FEED*(#tl_ratio/ABS(#ARAD)))> #IF(#DCOMP=2,#AND#MOV=2)<#EVAL(#arc_feed=#FEED*(#tl_ratio/ABS(#ARAD)))> // < #PLANE> #MOV< X#XPOS>< Y#YPOS>#EXLN #IF(ABS(#TANG)=360)< I#XCTR J#YCTR>#ELSE< R#ARAD>#EXLN #IF(#DCOMP=0)<< F#FEED>>#EXLN #IF(#DCOMP=1,#AND#MOV=2)<< F#FEED>>#EXLN #IF(#DCOMP=1,#AND#MOV=3)< F#FMT(#arc_feed,D3.2)>#EXLN #IF(#DCOMP=2,#AND#MOV=2)< F#FMT(#arc_feed,D3.2)>#EXLN #IF(#DCOMP=2,#AND#MOV=3)<< F#FEED>> #IF(#DCOMP=1,#AND#MOV=3)<#RESET(#FEED)> #IF(#DCOMP=2,#AND#MOV=2)<#RESET(#FEED)> //#IF(#DCOMP<>0)<#RESET(#FEED,#arc_feed)>//DON'T FORCE OUTPUT IF COMP IS NOT USED -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bui, Peter Sent: Thursday, March 01, 2001 5:03 PM To: 'Lauzus, Frederick'; Bui, Peter; SmartCAM List (E-mail) Subject: RE: [mfg-smartcam] Feed rate @ARC This what is out put for ARC: I want it to slow down F5.0 before G03 and go back to F50.0 after G03. Because My machine will not cutting a true radius at F50.0 N5 T7 (0.250 DIA. END MILL) N6 M06 N7 S10000 M03 N8 T7 N9 G54 J1 N10 M08 N11 G00 G43 Z3.0 H7 D7 N12 X-1.3875 Y-2.025 N13 Z0.85 N14 G01 Z0.3185 F50.0 N15 G41 X-1.4625 N16 Y-3.751 N17 G03 X-1.4616 Y-3.756 I0.015 J0.0 N18 G01 X-1.3276 Y-4.1358 N19 G02 X-1.3125 Y-4.224 I-0.2499 J-0.0882 N20 G01 Y-6.776 N21 G02 X-1.3276 Y-6.8642 I-0.265 J0.0 N22 G01 X-1.4616 Y-7.244 N23 G03 X-1.4625 Y-7.249 I0.0141 J-0.005 N24 G01 Y-8.975 N25 G40 X-1.3875 N26 G00 Z1.5 N27 X-2.0179 Y-7.1525 N28 Z0.85 Thanks Peter -----Original Message----- From: Lauzus, Frederick [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 4:01 AM To: Bui, Peter; SmartCAM List (E-mail) Subject: RE: [mfg-smartcam] Feed rate @ARC What does the output from your @ARC section look like? ============================================= Fred Lauzus, CAM Programming Coordinator High Steel Structures, Incorporated mailto:[EMAIL PROTECTED] http://www.highsteel.com ============================================= -----Original Message----- From: Bui, Peter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 11:49 PM To: Bui, Peter; SmartCAM List (E-mail) Subject: RE: [mfg-smartcam] Feed rate @ARC I forgot to mention I used this for @STPROF and it's worked fine. @STPROF #IF(#U9=1)< *** startprof> #IF(#U19=1)< G107 P#V3 L#V2> < #MOV>< X#XPOS>< Y#YPOS>< Z#ZPOS> Thanks -----Original Message----- From: Bui, Peter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 7:27 PM To: SmartCAM List (E-mail) Subject: [mfg-smartcam] Feed rate @ARC I try to add this to my .tmp file so that I could program different feedrate @ARC, but it doesn't seem to work, is any body know why? To use this I would program a user command " #U1=1,#V1=20 " so #V1 will be = F20 @ARC #IF(#U9=1)< *** arc> #IF(#U1=1)< F#V1> < #PLANE>< #MOV>< X#XPOS>< Y#YPOS> I#XCTR J#YCTR #IF(#U1=1)#RESET(#FEED) Peter Bui CRANE ELDEC Corporation Phone: (425) 743-1313 Ext. 8758 FAX: (425) 743-8549 Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Web Page: www.ELDEC.com <http://www.ELDEC.com> ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ====================================================================== ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ====================================================================== ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ====================================================================== ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ======================================================================
