ER-2010-12-02+03 Invoke linking style macros, based on time in cut. And file size.
Here is something I have done in my post, and would like to see it in CATIA:
Invoke linking style macros, based on time in cut. And file size.
Yes, I can also break a tape : ( Post command BREAK) and I do, but where. Not in the middle of the cut, right???? !!!!!
As we know, both pocketing and surface kellering can output miles of nc-tape, or megs of .tap files, with a single MO.
Issue (1) Tool changes.
Base on in time cut, a maximum tool life is communicated to the post with a PPRINT ICAM MAXLIFE command. That sets a variable in the post and every GOTO command, the post looks to see if MAXLIFE is exceeded. When it is, it looks for the next fast feedrate, (assuming it is a retract), and then calls a macro that retracts, and stops to check the tool. The post stores the pointvector before pulling out, so it desired, the post can execute a LOADTL sequence, that does a tool check, and failsafe.
SO, for CATIA, if they Invoke linking style macros, based on time in cut, with approach and retracts, this will allow seamless tool changes in these large sequences.
Issue (2) file size.
Many controls, say a Siemens 840D, have 1-2 meg of memory, and almost infinite hard disc storage.
The problem is, the machine operator controls do not function the same,
using hard disc storage, or memory. Memory is more robust. For searching, editing, etc.
The recommended way from Siemens, is to use more smaller programs, rather than one big one, and call them from a main program.
So, for CATIA, if they Invoke linking style macros, based on file size, then again, the post can execute a LOADTL sequence, that does a tool check, and failsafe, and each of these tape segments.
Keeping in mind, that NC-Code, will be larger then the Aptsource, some factor will be needed to be in effect. One day, there may even be an integrated link with the post and this kind of feature, to break in the right spot, with some protection on the post generated retracts, for t-cutters and bell cutters, to not damage the part. But Invoke linking style macros should give to programmers some control.
If people are interested, I can put up some of the code to do this with Icam, but not now, I am super busy. I just stepped on a nail, and want to get this idea in. (stepped on a nail is a figure of speech I use, when something happens that is a initiator, for an idea)
Any of this make sense to you folks?
OK OK, here is one snippet.
This goes in global variables definition
DECLAR/GLOBAL,REAL,MAXLIFE $$ DEFAULT TOOL TIME BEFORE AUTOMATIC TOOL CHECK
DECLAR/GLOBAL,REAL,TIME4MAX $$ SET AT TC_SHUTDOWN FOR MAXLIFE
MAXLIFE=60*60*24 $$ 1 day $$ DEFAULT MEASURED IN SECONDS, for $$ no activation
macro to turn PPRINT ICAM MAXLIFE=90 into a numeric
$$!@#PPRINT/$P1'' PPRINT_01 Look for "PPRINT ICAM"
PPRINT/$P1'' $$ =3= PPRINT_01 Look for "PPRINT ICAM"
IF/$FINDEX($P1,'ICAM').GT.0 $$ Look for "ICAM"
L1=$FINDEX($P1,'MAXLIFEM=')+9 $$ Look for max. life
MAXLIFE=$FATOF($FSUBST($P1,L1,$FLEN($P1)))*60 $$ Store max. life