hexagon logo

Automatic probe calibration script

Hi,
Confused
I'd like to make an automatic script that will calibrate automaticaly all probes and tips positions used in a program. I uses a MCR20 probe changer with 6 modules.
Find attached the program i wrote but it doesn't work very well.
It open the probe calibration window and select only the tip position used in the program to calibrate but then, it ask me if i want to calibrate all the probe positions (when i use the command 'qualify2').
There is a mistake or something i don't understand !!

Is there anyone who could help me?

Thanks

Attached Files
Parents
  • I'm not sure what you've done (I can't view your doc) and I don't know what version you are using but I think what you want to do is:

    Insert -> Calibrate -> Autocalibrate Probe

    You can then use parameter sets to calibrate only the probe angles used in the program. Have a look at this code. Maybe it will help.

    PART NAME  : gfdgdfg
    REV NUMBER : 
    SER NUMBER : 
    STATS COUNT : 1
     
    STARTUP    =ALIGNMENT/START,RECALL:, LIST= YES
                ALIGNMENT/END
                MODE/MANUAL
                CHECK/ 0.1,1
                TOUCHSPEED/ 1
    C2         =COMMENT/YESNO,NO,Do you want to calibrate tips?
                IF/C2.INPUT=="YES"
                LOADPROBE/4X20X30
                TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                AUTOCALIBRATE/PROBE, PARAMETER_SET=806-106 4X20X30, QUALTOOL_MOVED=YES, 
                              SHOW_SUMMARY=YES, OVERWRITE_RESULTSFILE=YES
    BEGIN AUTOCALIBRATE RESULTS FOR PROBE 4X20X30 USING SET 806-106 4X20X30
    Probe file=4X20X30    Date=12/18/2006    Time=8:56:50 AM
    Top Sphere     CENT X  11.0435 Y  24.2910 Z  -9.7849 D 0.7500
    T1A0B0         THEO X   0.0000 Y   0.0000 Z   7.5402 D 0.1575
    T1A0B0         MEAS X  -0.0047 Y  -0.0411 Z   7.5633 D 0.1564 StdDev 0.0001
    T1A90B0        THEO X   0.0000 Y   6.1622 Z   1.3780 D 0.1575
    T1A90B0        MEAS X  -0.0367 Y   6.1517 Z   1.3891 D 0.1565 StdDev 0.0001
    T1A90B-90      THEO X   6.1622 Y   0.0000 Z   1.3780 D 0.1575
    T1A90B-90      MEAS X   6.1855 Y   0.0027 Z   1.3905 D 0.1566 StdDev 0.0001
    T1A90B90       THEO X  -6.1622 Y   0.0000 Z   1.3780 D 0.1575
    T1A90B90       MEAS X  -6.1837 Y  -0.0697 Z   1.3822 D 0.1565 StdDev 0.0001
    END AUTOCALIBRATE RESULTS FOR PROBE 4X20X30 USING SET 806-106 4X20X30
                LOADPROBE/2X20X40
                TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                AUTOCALIBRATE/PROBE, PARAMETER_SET=806-106 2X20X40, QUALTOOL_MOVED=NO, 
                              SHOW_SUMMARY=YES, OVERWRITE_RESULTSFILE=YES
    BEGIN AUTOCALIBRATE RESULTS FOR PROBE 2X20X40 USING SET 806-106 2X20X40
    Probe file=2X20X40    Date=12/18/2006    Time=9:00:05 AM
    T1A0B0         THEO X   0.0000 Y   0.0000 Z   7.9339 D 0.0787
    T1A0B0         MEAS X  -0.0190 Y  -0.0275 Z   7.9728 D 0.0777 StdDev 0.0001
    T1A90B-90      THEO X   6.5559 Y   0.0000 Z   1.3780 D 0.0787
    T1A90B-90      MEAS X   6.5951 Y   0.0186 Z   1.3769 D 0.0779 StdDev 0.0001
    T1A90B0        THEO X   0.0000 Y   6.5559 Z   1.3780 D 0.0787
    T1A90B0        MEAS X  -0.0525 Y   6.5612 Z   1.3753 D 0.0777 StdDev 0.0001
    T1A90B90       THEO X  -6.5559 Y   0.0000 Z   1.3780 D 0.0787
    T1A90B90       MEAS X  -6.5932 Y  -0.0857 Z   1.3679 D 0.0776 StdDev 0.0001
    END AUTOCALIBRATE RESULTS FOR PROBE 2X20X40 USING SET 806-106 2X20X40
    C11        =COMMENT/YESNO,NO,Please review the calibration results in the edit window. 
                                ,Are the standard deviation values acceptable?
                IF/C11.INPUT=="NO"
                COMMENT/OPER,NO,Please re-start the program and run the calibration again.
                PROGRAM/END
                END_IF/
                END_IF/
Reply
  • I'm not sure what you've done (I can't view your doc) and I don't know what version you are using but I think what you want to do is:

    Insert -> Calibrate -> Autocalibrate Probe

    You can then use parameter sets to calibrate only the probe angles used in the program. Have a look at this code. Maybe it will help.

    PART NAME  : gfdgdfg
    REV NUMBER : 
    SER NUMBER : 
    STATS COUNT : 1
     
    STARTUP    =ALIGNMENT/START,RECALL:, LIST= YES
                ALIGNMENT/END
                MODE/MANUAL
                CHECK/ 0.1,1
                TOUCHSPEED/ 1
    C2         =COMMENT/YESNO,NO,Do you want to calibrate tips?
                IF/C2.INPUT=="YES"
                LOADPROBE/4X20X30
                TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                AUTOCALIBRATE/PROBE, PARAMETER_SET=806-106 4X20X30, QUALTOOL_MOVED=YES, 
                              SHOW_SUMMARY=YES, OVERWRITE_RESULTSFILE=YES
    BEGIN AUTOCALIBRATE RESULTS FOR PROBE 4X20X30 USING SET 806-106 4X20X30
    Probe file=4X20X30    Date=12/18/2006    Time=8:56:50 AM
    Top Sphere     CENT X  11.0435 Y  24.2910 Z  -9.7849 D 0.7500
    T1A0B0         THEO X   0.0000 Y   0.0000 Z   7.5402 D 0.1575
    T1A0B0         MEAS X  -0.0047 Y  -0.0411 Z   7.5633 D 0.1564 StdDev 0.0001
    T1A90B0        THEO X   0.0000 Y   6.1622 Z   1.3780 D 0.1575
    T1A90B0        MEAS X  -0.0367 Y   6.1517 Z   1.3891 D 0.1565 StdDev 0.0001
    T1A90B-90      THEO X   6.1622 Y   0.0000 Z   1.3780 D 0.1575
    T1A90B-90      MEAS X   6.1855 Y   0.0027 Z   1.3905 D 0.1566 StdDev 0.0001
    T1A90B90       THEO X  -6.1622 Y   0.0000 Z   1.3780 D 0.1575
    T1A90B90       MEAS X  -6.1837 Y  -0.0697 Z   1.3822 D 0.1565 StdDev 0.0001
    END AUTOCALIBRATE RESULTS FOR PROBE 4X20X30 USING SET 806-106 4X20X30
                LOADPROBE/2X20X40
                TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                AUTOCALIBRATE/PROBE, PARAMETER_SET=806-106 2X20X40, QUALTOOL_MOVED=NO, 
                              SHOW_SUMMARY=YES, OVERWRITE_RESULTSFILE=YES
    BEGIN AUTOCALIBRATE RESULTS FOR PROBE 2X20X40 USING SET 806-106 2X20X40
    Probe file=2X20X40    Date=12/18/2006    Time=9:00:05 AM
    T1A0B0         THEO X   0.0000 Y   0.0000 Z   7.9339 D 0.0787
    T1A0B0         MEAS X  -0.0190 Y  -0.0275 Z   7.9728 D 0.0777 StdDev 0.0001
    T1A90B-90      THEO X   6.5559 Y   0.0000 Z   1.3780 D 0.0787
    T1A90B-90      MEAS X   6.5951 Y   0.0186 Z   1.3769 D 0.0779 StdDev 0.0001
    T1A90B0        THEO X   0.0000 Y   6.5559 Z   1.3780 D 0.0787
    T1A90B0        MEAS X  -0.0525 Y   6.5612 Z   1.3753 D 0.0777 StdDev 0.0001
    T1A90B90       THEO X  -6.5559 Y   0.0000 Z   1.3780 D 0.0787
    T1A90B90       MEAS X  -6.5932 Y  -0.0857 Z   1.3679 D 0.0776 StdDev 0.0001
    END AUTOCALIBRATE RESULTS FOR PROBE 2X20X40 USING SET 806-106 2X20X40
    C11        =COMMENT/YESNO,NO,Please review the calibration results in the edit window. 
                                ,Are the standard deviation values acceptable?
                IF/C11.INPUT=="NO"
                COMMENT/OPER,NO,Please re-start the program and run the calibration again.
                PROGRAM/END
                END_IF/
                END_IF/
Children
No Data