What's new
What's new

If/Then WCS/Part skip.

Eleven71Cutters

Plastic
Joined
Mar 26, 2021
I have been running my Speedio S500x2 for a year now making my own parts. I am at the point where I am getting longer cycles. Just did an overnight run of 14 hours with 24 parts in 6al-4v. I am using extended WCS and I program with Fusion 360. I have been putting in a manual pass thru of P8999M98 for a tool check. I do this between every WCS and do it for almost every tool. At this point I have done a few overnight runs that completed the cycle but have had some alarm out as I have not set up the tool check to conduct a tool change utilizing the tool groups I have set up. My concern is If a drill broke or the rougher, I do not want to break another on that un roughed part or on the stuck carbide. I am looking for an If/Then statement that will bypass or skip that WCS all together for the rest of the cycle if it does detect a tool breakage and conducts a tool change.

Any recommendations of a book for If/Then statements? I have found the Fanuc book but still looking around.
 

angelw

Diamond
Joined
Sep 10, 2010
Location
Victoria Australia
I have been running my Speedio S500x2 for a year now making my own parts. I am at the point where I am getting longer cycles. Just did an overnight run of 14 hours with 24 parts in 6al-4v. I am using extended WCS and I program with Fusion 360. I have been putting in a manual pass thru of P8999M98 for a tool check. I do this between every WCS and do it for almost every tool. At this point I have done a few overnight runs that completed the cycle but have had some alarm out as I have not set up the tool check to conduct a tool change utilizing the tool groups I have set up. My concern is If a drill broke or the rougher, I do not want to break another on that un roughed part or on the stuck carbide. I am looking for an If/Then statement that will bypass or skip that WCS all together for the rest of the cycle if it does detect a tool breakage and conducts a tool change.

Any recommendations of a book for If/Then statements? I have found the Fanuc book but still looking around.
You won't get much more than what you've found in the Fanuc Manual. This system is used in many applications involving broken tool detection of critical tools, taps following drills etc. In the Broken Tool detection routine, if the measured length isn't withing an acceptable length tolerance, tested using a Conditional Statement (IF statement), then either the remainder of the program is aborted, or tools affected by the detected broken tool are bypassed. It's used frequently with machines having multiple pallets, where operation on the current pallet job can be aborted and the next scheduled pallet brought into play.

Typically, the syntax would be something like the following:

IF [#1 GT _ _ ] GOTO100
Where:
#1 = Calculated difference between correct tool length and measured tool length
_ _ = Maximum Tool Length tolerance

If the above conditional statement tests true, program control would branch to the Block having a sequence number N100. From there, the program may have just bypassed all tools affected by the out of tolerance of the measured tool, or it may abort the current program altogether and go onto the next scheduled job. What occurs if the Conditional Statement tests true is limited mainly by your imagination.

Regards,

Bill
 

thesidetalker

Stainless
Joined
Jan 11, 2015
Location
Bay Area, CA
I have been running my Speedio S500x2 for a year now making my own parts. I am at the point where I am getting longer cycles. Just did an overnight run of 14 hours with 24 parts in 6al-4v. I am using extended WCS and I program with Fusion 360. I have been putting in a manual pass thru of P8999M98 for a tool check. I do this between every WCS and do it for almost every tool. At this point I have done a few overnight runs that completed the cycle but have had some alarm out as I have not set up the tool check to conduct a tool change utilizing the tool groups I have set up. My concern is If a drill broke or the rougher, I do not want to break another on that un roughed part or on the stuck carbide. I am looking for an If/Then statement that will bypass or skip that WCS all together for the rest of the cycle if it does detect a tool breakage and conducts a tool change.

Any recommendations of a book for If/Then statements? I have found the Fanuc book but still looking around.
In the past I've done this using one variable for each part to determine whether or not to skip it. The tool break macro would set that part's variable to 1 if a broken tool was detected. If a break was detected, it would then select a backup tool if available and continue to the next part. If there was no backup tool, the rest of the parts would be marked 1. Machining could continue on the next tool change for all parts still "0"

Are you using subprograms for each tool? Or it is just one bigass program?
 








 
Top