Your Products have been synced, click here to refresh
STARTUP =ALIGNMENT/START,RECALL:USE_PART_SETUP,LIST=YES ALIGNMENT/END LOADPROBE/7107_G_4X20 TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0 DO_QUAL_AGAIN=LABEL/ AUTOCALIBRATE/PROBE, PARAMETER_SET=T1A0B0_MASTER, QUALTOOL_MOVED=YES_DCC, CHECK COLLISION=NO, SHOW_SUMMARY=NO, OVERWRITE_RESULTSFILE=NO ASSIGN/STDDEV=PROBEDATA("standarddeviation","T1A0B0") IF_GOTO/STDDEV<0.0002,GOTO = LABEL_QUAL_FAILURE_SKIP COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO, CMM has failed qualification! Please clean hardware as well as qualification sphere. Click OK to re-try. Click CANCEL to cancel. GOTO/DO_QUAL_AGAIN LABEL_QUAL_FAILURE_SKIP=LABEL/
try this:
Autoqual happens.
Feed the number of your stddev into a variable.
Check the variable to see if it is less than or greater than 0.0002 (or whatever you want).
If stsdev is less than 0.0002, qual is good which means goto label gets executed, program continues on. If stddev is greater than 0.0002, goto command is not executed and then it will read the line where the comment complains about the failed calibration.
Thanks for giving me something fun this afternoon lol
startup =alignment/start,recall:use_part_setup,list=yes alignment/end loadprobe/7107_g_4x20 tip/t1a0b0, shankijk=0, 0, 1, angle=0 do_qual_again=label/ autocalibrate/probe, parameter_set=t1a0b0_master, qualtool_moved=yes_dcc, check collision=no, show_summary=no, overwrite_resultsfile=no assign/stddev=probedata("standarddeviation","t1a0b0") if_goto/stddev<0.0002,goto = label_qual_failure_skip comment/oper,no,full screen=no,auto-continue=no, cmm has failed qualification! Please clean hardware as well as qualification sphere. Click ok to re-try. Click cancel to cancel. Goto/do_qual_again label_qual_failure_skip=label/
SERIALNUMBERQUESTION =COMMENT/INPUT,NO,FULL SCREEN=NO, Serial Number: ASSIGN/VAR_SERIALNUMBER="Serial Number: "+SERIALNUMBERQUESTION.INPUT COMMENT/REPT, COMMENT/REPT, VAR_SERIALNUMBER COMMENT/REPT, RUNNUMBERQUESTION =COMMENT/INPUT,NO,FULL SCREEN=NO, Run Number: IF_GOTO/RUNNUMBERQUESTION.INPUT<1 OR RUNNUMBERQUESTION.INPUT>9999,GOTO = RUNNUMBERQUESTION IF_GOTO/LEN(RUNNUMBERQUESTION.INPUT)>4,GOTO = RUNNUMBERQUESTION ASSIGN/VAR_RUNNUMBER=FORMAT("%04d",INT(RUNNUMBERQUESTION. INPUT)) ASSIGN/VAR_RUNNUMBER_STATEMENT="Run Number: "+VAR_RUNNUMBER COMMENT/REPT, VAR_RUNNUMBER_STATEMENT COMMENT/REPT, ASSIGN/PROG_NAME=GETPROGRAMINFO ("PARTNAME") ASSIGN/REPORT_NAME="O:\\CMM PROGRAMS\\CMM_PDF_PC DMIS\\DELETEME\\"+PROG_NAME+"__"+SERIALNUMBERQUEST ION.INPUT+"__"+VAR_RUNNUMBER+"-.PDF"
PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,AUTO=1,AUTO OPEN=OFF,$ TO_PRINTER=OFF,COPIES=1,$ TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=REPO RT_NAME,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMEN SIONS=NO,$ TO_EXCEL=OFF,$ PREVIOUS_RUNS=KEEP_INSTANCES
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |