|
Fred's
reply will work but it's going to be a lot of macro work. You might want
to consider modifying the tmp file to go thru a @TOOLCHK section that
will reset the variables.
@TOOLCHK
IF(#DOFF=1,AND
#TOOL=1)<#EVAL(#DOFF=1)#EVAL(#TOOL=1)#EVAL(#V1=16)#EVAL(#V2=1)>
IF(#DOFF=15,AND
#TOOL=1)<#EVAL(#DOFF=15)#EVAL(#TOOL=1)#EVAL(#V1=16)#EVAL(#V2=1)>
IF(#DOFF=2,AND
#TOOL=1)<#EVAL(#DOFF=2)#EVAL(#TOOL=2)#EVAL(#V1=16)#EVAL(#V2=2)>
Then in each section you would add
#CALL(TOOLCHK)
Note: This will only work if there is a
direct correlation between tool and offsets between machines and that once you
changed the offsets in the TOOLCHK section the next time thru it would not
change them again.
The advantage would be that you would only
have to change the smf and tmp and recode the file for the new machine. I
am also presuming there are no other
changes. Bill Wepking
|
- [mfg-smartcam] Macro inspiration Michael Senack
- RE: [mfg-smartcam] Macro inspiration FLauzus
- RE: [mfg-smartcam] Macro inspiration Michael Senack
- Wepking, Bill W.
