Kevin,

Without seeing the structure of your current template file I can only guess
as to what's not working. Below is an example of one method of achieving the
results you described. 

@TPINDX

// part offset = 1
#IF(#TOOL=1)<
#IF(#INDXB=90)< H1>
#IF(#INDXB=180)< H2>
#IF(#INDXB=270)< H3>
#IF(#INDXB=0)< H4>
>

// part offset = 2
#IF(#TOOL=2)<
#IF(#INDXB=0)< H1>
#IF(#INDXB=90)< H2>
#IF(#INDXB=180)< H3>
#IF(#INDXB=270)< H4>
>

// part offset = 3
#IF(#TOOL=3)<
#IF(#INDXB=270)< H1>
#IF(#INDXB=0)< H2>
#IF(#INDXB=90)< H3>
#IF(#INDXB=180)< H4>
>

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



-----Original Message-----
From: Kevin M. Clark [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 9:35 AM
To: SmartCam Fourm
Subject: [mfg-smartcam] B Axis rotation question


I need to program 3 separate part offsets (for 3 separate processes)
with 4 fixture offsets (for each rotation).
I have the part offsets working in my template file.  I have them
associated with the tools used.
I need to have the pallet rotate to the proper rotation for the
particular part offset.
Here's what I need:
If part offset = 1
B90 = H1, B180 = H2, B270 = H3, B0 = H4
If part offset = 2
B0 = H1, B90 = H2, B180 = H3, B270 = H4
If part offset = 3
B270 = H1, B0 = H2, B90 = H3, B180 = H4

I have it doing the first part offset and right H values, but it
does the same for thing for part offsets 2 & 3.
part offset = 1
B90 = H1, B180 = H2, B270 = H3, B0 = H4

I don't know if this makes sense, but if any one could help it would
be appreciated.

Thanks,
Kevin M. 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