[Cl...] Posted February 24, 2021 Share Posted February 24, 2021 if Part_Length=="Yes_Collet" setInspectionDrivingSpeed(30) else setInspectionDrivingSpeed(250) endif I'm currently using this in one feature, an OD cylinder (Datum) with two circle paths. The part is inserted into the rotary (543 O-inspect) Some of the shorter parts use a collet.The collet interferes with the second circle path, so I shorted the second circle path for the shorter part using PCM. That works fine, but in case the operator loads the short part and runs the long part version, the stylus will crash into the rotary. For that I use the code above to slow the speed way down so if there is a crash, it won't do any damage.. That works fine as well. What I really want is to use this code just for the second circle path. Is that possible? Link to comment Share on other sites More sharing options...
[Er...] Posted February 25, 2021 Share Posted February 25, 2021 Why not probe for the collet? Slow down the probe speed, but if it contacts the collet before the expected contact it will stop the program. Link to comment Share on other sites More sharing options...
[Mi...] Posted February 26, 2021 Share Posted February 26, 2021 Here is an idea. Most of our programs have a check like this at the very start, executed at 30mm/s. Nice and slow. We use various methods of probing 1-3 points to test a part is correct, and loaded correctly. This is a round part, so we used radius point, but it can be whatever makes sense for your program. It could be done much cleaner than this but it serves. if (getActual("Part Check Radius Point").radius) < 49.4) positionRS(10.0,-50.0,150.0,baseSystem()) positionRS(120.0,140.00,180.00,baseSystem()) executeCode("ICCDialog message: '<c:red><u>Verify the part number matches the program and the fixturing is correct!</u></c>' asRichText") wait(2) cncBreak() else if (getActual("Part Check Radius Point").radius) > 51.4) positionRS(10.0,-50.0,150.0,baseSystem()) positionRS(120.0,140.00,180.00,baseSystem()) executeCode("ICCDialog message: '<c:red><u>Verify the part number matches the program and the fixturing is correct!</u></c>' asRichText") wait(2) cncBreak() endif endif Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in