|
I use two different .tmp files for my programing,
the only difference is whether it is 4-axis or 3 axis machining. Other
than that, the .TMP is the same. Below are the two @TPINDX Sections from each
style. How can I combine these so I only have one .TMP file, that
will output how I want regardless of multiple vise stations, or rotary
indexing.
The reason I want this is that when I make a change
to one, I sometimes don't make it to both, and I get two different versions of
.TMP running.
I know I could just add a variable at the
beginning, set it to either or, and go, but..... there has to be a way of
combining this.
Thanks
Jon
// A-AXIS
INDEXING
@TPINDX #IF(#WKSCHG=1)<#EXIT> ( INDEX TO A#INDXA DEGREES) #MOV #ABSI #FXD Z#ZHOME(CLEARANCE POINT) A#INDXA M60 (A-AXIS BRAKE ON) // FIXTURE LOCATION
CHANGE
@TPINDX (CHANGE TO FIXTURE LOCATION #WKPLN) < #MOV #ABSI #FXD<#DCOMP> X#XPOS Y#YPOS Z#ZHOME #WKPLN |
- RE: [mfg-smartcam] Ok foks, here I go again. Jon Baker
- RE: [mfg-smartcam] Ok foks, here I go again. Lauzus, Frederick
