Your Products have been synced, click here to refresh
If all of your programs have random Target deviations, then it sounds like you have/had a systemic issue. The target value should match the THEO, unless it is specifically changed in the edit window, or it could mean that the alignments are not fully constraining the part. If the latter then, even when the target values are fixed, it will just keep happening.
Not necessarily - the target values may have changed when the feature is so off that the CMM can't find it/hits it too early and the user/operator ansers "yes" to the question "update target values..." after measuring the feature.
These are just sporadic and most likely operator errors. I want to create a script that will retrieve Theo and Target for all features and the nominal for all dims and generate an Excel Worksheet showing all the XYZ and ijk values for each. Then I will use conditional formatting to shade the values in the Target and Dims that are not equal to the values for the Theo. This will make it easy for the operator to see where there are differences. They would need to then review these and determine if the difference is intended, a feature that is so far from nominal that the target had to be different, or if they are errors.
dim app as object dim prog as object progName$ = "test.prg" set app = CreateObject("PCDLRN.Application") set prog = app.PartPrograms.Open(progName$,"Offline") dim cmd as object numCmds = prog.Commands.Count for n = 1 to numCmds cmd = prog.Commands.Item(n) theox = cmd.GetFieldValue(THEO_X,0) targx = cmd.GetFieldValue(TARG_X,0) next n
Select Case DmisCommand.TypeDescription Case "AUTO_EDGE_FEATURE" Vec_I = DmisCommand.GetFieldValue(EDGEVEC_THEO_I, 0) Vec_J = DmisCommand.GetFieldValue(EDGEVEC_THEO_J, 0) Vec_K = DmisCommand.GetFieldValue(EDGEVEC_THEO_K, 0) Case Else Vec_I = DmisCommand.GetFieldValue(REPORTVEC_I, 0) Vec_J = DmisCommand.GetFieldValue(REPORTVEC_J, 0) Vec_K = DmisCommand.GetFieldValue(REPORTVEC_K, 0) End Select
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |