hexagon logo

Auto calibrate question

I am building a program for our operators that specifically calibrates our probes. We use 3 different probes, using a probe changer rack. I am implementing the use of password protection due to the frequent "fat-finger" occurences. I need a way to let operators calibrate as easy as possible. The company i work for requires the operators to calibrate at the beginning of every shift and we run the machines 24/7 with 4 shifts of operators. I have the calibration program built. I just can't find an answer for the meaning of this:

AUTOCALIBRATE/PROBE, PARAMETER_SET=ALL-TIPS-WITH-DEFAULTS, QUALTOOL_MOVED=YES_DCC,
SHOW_SUMMARY=NO, OVERWRITE_RESULTSFILE=YES

the last statement is "OVERWRITE_RESULTSFILE=YES. I assume I want to say YES. However, even when I had NO selected i could see the results files updated when i ran the program. Does anyone know what choosing yes or no does in this situation?
  • I believe the alternative to OVERWRITE is actually APPEND. It is a text file, you can view it yourself to see if that is the case.
  • If you OVERWRITE, only the latest calibration will be left in the file, if you APPEND, you can see the results of previous calibrations too, and compare to the latest.
  • You can print the results as a pdf just like a report. I have the CMM password protected as well. My cal program uses the current date and time as report file name. The probes calibrate automatically with my parameter set. I even use variables to to check for std dev and if its not within my limit, the probe recalibrates. I also included a op comment stating the operator to clean the probes and cal sphere before starting. I don't think I have the actual program offline. Let me try to find it.

    The beauty of this is that the operators can recalibrate the probes as needed and there is a record of doing so. Our op calibrate at the beginning of each shift as well and our cal sphere never moves.

    STARTUP    =ALIGNMENT/START,RECALL:USE_PART_SETUP,LIST=YES
                ALIGNMENT/END
                MODE/DCC
                MOVESPEED/ 80
                MANRETRACT/0.7874
                FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL, ,
                LOADPROBE/VC0022 STAR
                TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                ASSIGN/MM="CMM_"
                ASSIGN/SD=SYSTEMDATE("MM'.'dd'.'yy'_'")
                ASSIGN/ST=SYSTEMTIME("HH':'mm")
                COMMENT/REPT,
    
                "CALIBRATION SERIAL NUMBER:" +MM+SD+ST
    
                ASSIGN/SN=MM+SD+ST
                WORKPLANE/ZPLUS
                ASSIGN/REPORT_LOC="\\\PRISM\quality\CMM\\"
                ASSIGN/REPORT_NAME=REPORT_LOC+SN
    CALIBRATE  =LABEL/
                COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
                GENTLY REMOVE PROBE FROM CMM
    
                GENTLY CLEAN TIPS WITH A DRY RAG
    
                PLLACE BACK ON CMM
    
                MAKE SURE RED LIGHT IS ON
    
                CLICK OK WHEN DONE
    AUTOCALIBRATE=LABEL/
                AUTOCALIBRATE/PROBE, PARAMETER_SET=Star_Calibrate, QUALTOOL_MOVED=YES_DCC,
                              SHOW_SUMMARY=YES, OVERWRITE_RESULTSFILE=NO
    BEGIN AUTOCALIBRATE RESULTS FOR PROBE VC0022 STAR USING SET Star_Calibrate
    Probe file=VC0022 STAR    Date=10/3/2017    Time=6:02:09 PM
    Dixie Sphere   CENT X  21.0250 Y   9.8345 Z -12.3495 D 0.7500
    T1A0B0         THEO X   0.0000 Y   0.0000 Z   8.2262 D 0.1969
    T1A0B0         MEAS X  -0.0296 Y  -0.0223 Z   8.1695 D 0.1948 StdDev 0.0002
    T2A0B0         THEO X  -0.9252 Y   0.0000 Z   7.1927 D 0.0787
    T2A0B0         MEAS X  -0.9491 Y  -0.0197 Z   7.1290 D 0.0770 StdDev 0.0002
    T3A0B0         THEO X   0.0000 Y  -0.9252 Z   7.1927 D 0.0787
    T3A0B0         MEAS X  -0.0243 Y  -0.9461 Z   7.1275 D 0.0765 StdDev 0.0003
    T4A0B0         THEO X   0.9252 Y   0.0000 Z   7.1927 D 0.0787
    T4A0B0         MEAS X   0.9035 Y  -0.0166 Z   7.1416 D 0.0769 StdDev 0.0002
    T5A0B0         THEO X   0.0000 Y   0.9252 Z   7.1927 D 0.0787
    T5A0B0         MEAS X  -0.0207 Y   0.9022 Z   7.1400 D 0.0769 StdDev 0.0002
    END AUTOCALIBRATE RESULTS FOR PROBE VC0022 STAR USING SET Star_Calibrate
                LOADPROBE/VC0022 STAR
                ASSIGN/STD1=PROBEDATA("STANDARDDEVIATION","T1A0B0")
                IF_GOTO/STD1>=0.0005,GOTO = AUTOCALIBRATE
                ASSIGN/STD2=PROBEDATA("STANDARDDEVIATION","T2A0B0")
                IF_GOTO/STD2>=0.0005,GOTO = AUTOCALIBRATE
                ASSIGN/STD3=PROBEDATA("STANDARDDEVIATION","T3A0B0")
                IF_GOTO/STD3>=0.0005,GOTO = AUTOCALIBRATE
                ASSIGN/STD4=PROBEDATA("STANDARDDEVIATION","T4A0B0")
                IF_GOTO/STD4>=0.0005,GOTO = AUTOCALIBRATE
                ASSIGN/STD5=PROBEDATA("STANDARDDEVIATION","T5A0B0")
                IF_GOTO/STD5>=0.0005,GOTO = AUTOCALIBRATE
                MOVE/POINT,NORMAL,<12.6,14.8,-6.2541>
                PRINT/REPORT,EXEC MODE=END,$
                  TO_FILE=ON,OVERWRITE=REPORT_NAME,AUTO OPEN REPORT=ON,$
                  TO_PRINTER=OFF,COPIES=1,$
                  TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$
                  REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$
                  TO_EXCEL_OUTPUT=OFF,
                  PREVIOUS_RUNS=KEEP_INSTANCES
    
    

  • "and our cal sphere never moves." AUTOCALIBRATE=LABEL/ AUTOCALIBRATE/PROBE, PARAMETER_SET=Star_Calibrate, QUALTOOL_MOVED=YES_DCC, SHOW_SUMMARY=YES, OVERWRITE_RESULTSFILE=NO just dumb question from beginner, as you don't move cal sphere, red marked code should be QUALTOOL_MOVED=NO. or ?
  • Read up about master probes. Your machine has a HOME location it finds every time it's powered on, and it can move/shift a bit, over time.

    In order for you to calibrate multiple probes, you want to insulate the HOME position from all the other calibrated probes, also enabling all probes to correlate and relate directly to the calibration sphere location. Assigning a master probe by saying YES produces a single probe angle to reference where the sphere is relative to HOME location.
    Then all other probes and angles relate back to that master probe's measured sphere location.

    Basically the QUALSPHERE_MOVED toggle is: "Do you want me to make this the master probe and recalibrate, or not."

    I have a PDF file posted here, to support it with actual documentation from hexagon: http://www.pcdmisforum.com/forum/pc-dmis-enterprise-metrology-software/pc-dmis-for-cmms/409663-bumpy-landings-with-probe-docking-station
  • Thanks for the input. I really like acgarcia's naming convention for the pdf results. So if I have operators running autocalibrate, there will not be a warning message when the Stddev exceeds the limit? I like the idea using "if goto" statements to automatically recalibrate when std dev is too large, but not sure how to appropriately use it with multiple tips in a rack. Could I put an "if go to" statement directly after each auto calibrate statement, just before the next loadprobe statement?
  • If your STDDEV exceeds the limit when auto-calibrating, an error will not appear. But the message will be present at bottom of calibration report text file.
    yup, you can even put IF_GOTO's within IF_GOTO statements, lol.
  • After the cal program is complete, the probe moves to the back of the machine so operators can load parts. So operators clean the probe and cal sphere, click execute and walk away. The come back and if the probe is in the back of the machine, means all probes passed calibration and a report was generated with the results. Very rare that the probe is bad and it repeats after 2 calibrations.
  • Correct. Sphere does not move and the CMM only has a star probe with 5 tips. I have label on the sphere base saying DO NOT MOVE. I have YES_DCC to establish tip 1 of my star probe as the master tip every time they calibrate the probe.
  • I believe the alternative to OVERWRITE is actually APPEND. It is a text file, you can view it yourself to see if that is the case.


    The text file is in the same file as your probe file but can be viewed from the probe window, select the "results" button to view those reports. I also use the auto calibrate with pdf output with date & time. One of mine is set up to do 6 different calibrations depending on with family of parts are being ran.