Kevin,

To me the following does not appear to have correct syntax
regarding the use of "(#FXD)"

#IF(#TOOL=1575, #AND#TOOL=1576)<#CALL(BAKSPT)>
#ELSE(#FXD))<#CALL(FXDZERO)>


Should it be this?

#IF(#TOOL=1575, #AND#TOOL=1576)<#CALL(BAKSPT)>
#ELSE<#CALL(FXDZERO)>


=============================================
 Fred Lauzus, CAM Programming Coordinator
 High Steel Structures, Incorporated
 mailto:[EMAIL PROTECTED] http://www.highsteel.com
=============================================
 



-----Original Message-----
From: Kevin Clark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 3:29 PM
To: [EMAIL PROTECTED]
Subject: [mfg-smartcam] Little problem


OK, I'm racking my brain!
I need to get this to call up another section of my template file in my 
@TOOLCHG if two tools are used and the rest of the tools call up 
<#CALL(FXDZERO)> the TOOL #'s are 1575 and 1576 and they need to call 
<#CALL(BAKSPT)>
I tried -
#IFCHG(
#IF(#TOOL=1575, #AND#TOOL=1576)<#CALL(BAKSPT)>
#ELSE(#FXD))<#CALL(FXDZERO)>
Plus a few other ways to no avail.

FYI:  @BAKSPT calls and inserts (GSUB, BAKSPT) in the next line after an X 
or Y move.
@FXDZERO calls normal drill or mill cycles.

Can anyone help?
Thanks in advance.

Kevin Clark
Programmer
Abbott Workholding Inc.

======================================================================
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]
======================================================================


Reply via email to