One final question. Background: Fanuc15m controller, Amill Ver11.5, Drilling program. I'm drilling two surfaces 2.385" apart in Z, and I'm trying to place a .5" clearance above both surfaces. When I drill the lower surface first, the @ZCLRMV section is accessed. When I drill the upper surface first, it is not. Can anyone explain this? What triggers the call of this section?
Thanks, Dave @ZCLRMV < #ABSI>< #FXD>< #MOV>#IFCHG(#ZCHK)< G43 H#LOFF>< Z#ZPOS> [EMAIL PROTECTED]@loki.sdrc.com on 02/06/2003 09:49:27 AM Sent by: [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RE: [mfg-smartcam] Need Syntax Help Bob, All that is true, but it does not allow you to assign different tool check distances for various canned cycles. For example, 0.1 for drilling, 0.2 for reaming and tapping, 0.5 for counterboring (with pilot), 1.0 for backboring, etc... For this type of flexibility we need to override the default value of question #83 in the machine define file. This can be done, as you suggested, by altering the Z level and depth values of the hole elements to bogus values to compensate. However, If you have a established preference, it is best handled in the template file. If you want complete flexibility, but don't want to use bogus values, it is best addressed by user commands. ================================================== Fred Lauzus, CAM Programming Coordinator High Steel Structures, Incorporated mailto:[EMAIL PROTECTED] http://www.highsteel.com ================================================== -----Original Message----- From: Robert Leclerc (40) [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 8:31 AM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: [mfg-smartcam] Need Syntax Help Guys, #ZCHK value is controlled by question #83 in the machine define file. If you are in a drilling sequence, the #ZCHK value will adjust itself according to the ZLEVEL of the drilling point. In the case of a milling sequence set the PROFILE TOP value to the desired approach. (see questions #83, #117 and #173 in the machine define file) Bob. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 7:22 AM To: [EMAIL PROTECTED] Subject: RE: [mfg-smartcam] Need Syntax Help I believe, but am not certain, that #ZCHK will be reset from the planner for the @START, @TOOLCHG and @STEPCHG sections, basically at the start of any change in step. This is the same method we formerly used to address the #PECK template word before V8 milling and V9 turning. It should work the same for #ZCHK. ================================================== Fred Lauzus, CAM Programming Coordinator High Steel Structures, Incorporated mailto:[EMAIL PROTECTED] http://www.highsteel.com ================================================== -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 12:41 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [mfg-smartcam] Need Syntax Help All of the replies have had good examples, thanks to all. Fred, In your last suggestion, to set #ZCHK=-.05 in the shape file, at what point does the .smf file reset this back to the default? Will it last to the next toolchange, or the next hole, or till I set it again with a user element? Thanks, Dave [EMAIL PROTECTED]@loki.sdrc.com on 02/05/2003 11:53:43 AM Sent by: [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RE: [mfg-smartcam] Need Syntax Help You didn't give an example of what code was being output. As for your logic statement, it's ok but you could use either of these instead: #IF(#V13<>.1,#AND#V13<>0.0)<>#ELSE<#EVAL(#V13=#ZCHK)> or #IF(#V13=.1,#OR#V13=0.0)<#EVAL(#V13=#ZCHK)> Another method would be to try changing the Z check directly with a user command "#ZCHK=0.1" < #ABSI>< #RTNLVL>< #FXD>< X#XPOS>< Y#YPOS>#EXLN < Z#ZDPTH>< R#ZCHK P#DWELL> <F#FEED> ================================================== Fred Lauzus, CAM Programming Coordinator High Steel Structures, Incorporated mailto:[EMAIL PROTECTED] http://www.highsteel.com ================================================== -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 10:27 AM To: [EMAIL PROTECTED] Subject: [mfg-smartcam] Need Syntax Help Importance: High I'm trying to change my Z check clearance for one tool in a program. I'm doing this with a user element as the first element of that tool (eg. #V13 =-.05). This is what I have in my @FXD2 section. #IF(#V13<>.1,#AND#V13<>0.0)<#EVAL(#V13=#V13)>#ELSE<#EVAL(#V13=#ZCHK)> < #ABSI>< #RTNLVL>< #FXD>< X#XPOS>< Y#YPOS>#EXLN < Z#ZDPTH>< R#V13 P#DWELL> <F#FEED> I know my IF statement isn't right "<#EVAL(#V13=#V13)>",(although I think it's outputting correctly), but what's the correct syntax if the IF statement is true? Thanks, Dave ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ======================================================================
