|
Brock,
I am
doing (I think) the same thing you want to do to output the G10 command for each
work zero offset at the start of the program.
I
created a .tmp file with just an @START, an @TPINDX, and an @END
sections:
@START
( *** LOAD WORK OFFSETS *** ) (SHIFT) G10 G90 L2 P0 X-11.810 Y-12.798 Z-25.590 B0.000 (WORK ZERO OFFSETS) G10 G90 L20 #WKPLN X#XSET Y#YSET Z#ZSET B#INDXB @TPINDX
G10
G90 L20 #WKPLN X#XSET Y#YSET Z#ZSET B#INDXB
@END
@
I
first code using this .tmp to a file called "wzo.txt" or some such thing, then,
in my machines .tmp file, I merge that file into the beginning of the program
using #INCLUDE:
@START
% O0001 (#FILE) #INCLUDE(wzo.txt)
#ONBLK #MOV #PLANE G30 #FXD G91 Z0 Hope
this is of some help.
Dave
|
- [mfg-smartcam] Reset TMP between workplanes Brock Shimon
- Dave Coupar
