That's true, it does become a problem with all the logic needed.  I added the logic to a TMP file at a late stage in the process.  The solution I came up with was to create probing sections called @PROBLIN @PROBARC AND @PROBFACE then in the line arc and fxd2 sections I added the following logic at the beginning
 
@LINE
#IF(#TOOL=777)<#CALL(PROBLIN)>
#IF(#TOOL=777)<#EXIT>
@ARC
#IF(#TOOL=777)<#CALL(PROBARC)>
#IF(#TOOL=777)<#EXIT>
 @FXD2
#IF(#TOOL=777)<#CALL(PROBFACE)>
#IF(#TOOL=777)<#EXIT>
tool 777 is the probe
this helped in keeping track of what logic was doing what.
 

Bill Wepking
Landis Gardner

-----Original Message-----
From: Bob Manganello [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 9:49 AM
To: [EMAIL PROTECTED]; SCQUEST (E-mail)
Subject: RE: [mfg-smartcam] Spindle on/off

Yeah probing seems to be a SmartCam shortcoming. I've built tons of logic into the .tmp file to notice if T100 is used (T100=probe) , I was just hoping to get away from more logic. As it is, it takes too long to trouble shoot a .tmp problem because of following all the logic and keeping track of all the variables being checked.
 
Thanks for the help, I did add more logic after a few people replying that it's not possible to take care of it in the .jof. I figure as smart as this group is, if two people say no go, it's no go.
 
Thanks again Bob M.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 9:40 AM
To: Bob Manganello; [EMAIL PROTECTED]
Subject: RE: [mfg-smartcam] Spindle on/off

Bob,
 
My method of programming probes was to insert a user elmt where I wanted a particular probing routine to occur. In my .tmp file I had different sections for each particular routine. Each section positioned the probe and then hard-coded a Fanuc macro call-out. In my case, I created a separate .tmp with all the M3 and M8 codes left out for probing purposes.
 
Example:
 
@USER1
#IF(#U9=1)<***** USER ELEMENT 1ST ARC SECTION  *****>
 G90 #MOV X#XPOS Y#YPOS
 G65 P9023 A1 D2.0 S1
 
@USER2
#IF(#U9=1)<***** USER ELEMENT 2ND ARC SECTION  *****>
 G90 #MOV X#XPOS Y#YPOS
 G65 P9023 A1 D2.0 S2
 
 
Hope this helps.
Regards,
Chris K.
-----Original Message-----
From: Bob Manganello [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 5:25 AM
To: SCQUEST (E-mail)
Subject: [mfg-smartcam] Spindle on/off

Is there a way to create a tool in the job oper. planner so that the #SPNDL in the .TMP will put out an M5 or nothing? Or do I have to build the logic into the .TMP
 
I need to keep the spindl from starting when I'm probing.
 
Thanks
Bob M.

Reply via email to