hexagon logo

Auto callibration

i know how to input auto calibration in to the start of a program, i also know how to define my parameter set.


is there some script using flow commands after the auto calibration that would enable the program to review the auto calibration results and if they are over a certain standard deviation either stop the program or start the calibration again?

If there is a way, please post the script i would need to use including flow commands.

AUTOCALIBRATE/PROBE, PARAMETER_SET=90's, QUALTOOL_MOVED=NO,
CHECK COLLISION=NO, SHOW_SUMMARY=YES, OVERWRITE_RESULTSFILE=YES
BEGIN AUTOCALIBRATE RESULTS FOR PROBE LEITZ_TIP2BY40 USING SET 90's
END AUTOCALIBRATE RESULTS FOR PROBE LEITZ_TIP2BY40 USING SET 90's

this is a far as i have got
Parents
  • 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/
    





    absolute legend!!!!!!!
Reply
  • 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/
    





    absolute legend!!!!!!!
Children