[Se...] Posted June 10 Share Posted June 10 Hello, everyone. I have a question. If a characteristic is "False", is it possible to re-measure only that characteristic? ex. if Roundness_hole_5>0.002 then positionCMM(getPositionCMM().x,getPositionCMM().y,-500) message("Clean Probe") Delete = getActual("DIN Round_hole_5") measure("DIN Round_hole_5") endif endif Link to comment Share on other sites More sharing options...
[Ch...] Posted June 10 Share Posted June 10 Yes I think this is very possible. I think it would be better to check something else rather than "if a characteristic is false', you can check if it is out of tolerance, or if something related to the feature is too high or low, such as size or form. Then you wouldn't want to delete the feature or characteristic, perhaps only delete the actuals associated with the feature (ME) or characteristic (CF). You could then measure again with similar PCM as you have posted including the code : measure(Circle hole 5) for example. Link to comment Share on other sites More sharing options...
[Se...] Posted June 10 Author Share Posted June 10 Thank you for answer. So ,Can you show me an example? I tried several times, but it doesn't work. Thank you Link to comment Share on other sites More sharing options...
[Fl...] Posted June 11 Share Posted June 11 Hi, just found out that there is an example in the calypso online help for exact this case: π So maybe this will help you: //************************************************************************************************ // Measure Circle hole_5 , check roundness; if out of tolerance, interrupt CNC and request next // task: repeat feature or measure next feature or terminate CNC run. //************************************************************************************************ // Defining starting conditions status_5 = 2 hole_5 = getActual("DIN Round_hole_5").actual // If out of tolerance, open a window and inquire CNC End, Continue or Repeat if hole_5 > 0.01 then message("DIN Roundness of hole_5 is:" ,hole_5) status_5 = inquire("1=CNC-End, 2=Continue, 3=Repeat. Enter a number") message(status_5,"Is your entry correct?", "DIN-Roundness of hole_5 is", hole_5) if status_5 == 2 then message("CNC run will be continued") status_5 = 2 endif endif if status_5 == 1 then message("The CNC run will be terminated due to excess tolerance in hole_5.") cncBreak() endif if status_5 == 3 then message("The circle measurement is repeated.") if LOOP1 == 5 then message("CNC run will be terminated due to too many loop runs in hole_5.") cncBreak() endif endif print("Status is",status_5, "DIN Roundness of hole_5 is", hole_5)Calypso_2022_Online_Help.JPG Link to comment Share on other sites More sharing options...
[Se...] Posted June 11 Author Share Posted June 11 Thank you for answer π Anyway, I already tried the information you gave There were some problems. 1. In that method, the alignment is measured again. 2. Measurement results ββare output as many as the specified number of loops. If a characteristic out of tolerance during measurement, I want the measuring instrument to stop for a moment, remeasure only that part, and then measure the next characteristic if it falls within the tolerance. I tried several times today, It seems to have been a success. I'm definitely planning on applying it tomorrow. Tolerances were applied to the characteristic conditions, The repeat/until condition was used. 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