hexagon logo

DCC alignment not automatically following manual alignment

Hello all,

I'm new to PC DMIS and I'm having an issue where it seems like my manual alignment is not properly telling my DCC alignment where the features are.

I'll get a program up and running, and then I have to move the part to a different location on the table for one reason or another.

I run another manual alignment, go to run the program, and it doesn't work.

I was able to resolve the problem by re-setting my initial alignment and updating the dependent features, but my understanding is that I shouldn't have to do this every time and that it should do it automatically.

what am I missing here?
  • Incorrect alignment setup? Post code please.
  • Here's all my code up until my DCC alignment. Please note that plane 4 is the same feature as datum a, plane 5 is the same feature as datum b, and circle 2 is the same as datum e, and the program crashes the moment it tries to re-measure the feature circle 2 and datum e are measured from.



    STARTUP =ALIGNMENT/START,RECALL:USE_PART_SETUP,LIST=YES
    ALIGNMENT/END
    MODE/MANUAL
    FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL, ,
    TEMPCOMP/METHOD = AUTOMATIC,MATERIAL = Zerodur; Nexcera,CTE=0
    ,SET WARNING LIMIT = FALSE,MINIMUM = 10,MAXIMUM = 40
    ,PART SENSOR NUM=DEFAULT,X SCALE= 21.9751,Y SCALE= 20.8346,Z SCALE= 21.8329,PART TEMP=20.9932
    LOADPROBE/2X20 LONG MASTER
    TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
    MOVESPEED/ 150
    TOUCHSPEED/ 2
    PLN4 =FEAT/PLANE,CARTESIAN,OUTLINE
    THEO/<15.6447,15.8187,-36.5906>,<0,0,1>
    ACTL/<15.76,18.611,-36.6267>,<0.0003234,-0.0618134,0.9980877>
    MEAS/PLANE,4
    HIT/BASIC,NORMAL,<12.5523,15.9734,-36.5818>,<-0.0003585,-0.0630368,0.9980111>,<11.5549,18.3593,-36.6409>,USE THEO=YES
    HIT/BASIC,NORMAL,<12.5523,15.6739,-36.601>,<-0.0003585,-0.0630368,0.9980111>,<11.5548,18.8796,-36.6087>,USE THEO=YES
    HIT/BASIC,NORMAL,<18.6808,15.6738,-36.5985>,<-0.0003585,-0.0630368,0.9980111>,<19.9653,18.7411,-36.62>,USE THEO=YES
    HIT/BASIC,NORMAL,<18.7935,15.9537,-36.5811>,<-0.0003585,-0.0630368,0.9980111>,<19.9651,18.464,-36.6372>,USE THEO=YES
    ENDMEAS/
    TIP/T1A90B-90, SHANKIJK=1, 0, 0, ANGLE=-90
    PLN5 =FEAT/PLANE,CARTESIAN,OUTLINE
    THEO/<19.0784,15.8922,-37.9759>,<1,0,0>
    ACTL/<19.317,18.5965,-37.2322>,<0.0712559,0.9972769,0.0190128>
    MEAS/PLANE,4
    HIT/BASIC,NORMAL,<19.0788,16.0354,-37.0634>,<0.9999999,-0.0001162,-0.0004092>,<20.1301,18.5705,-39.0103>,USE THEO=YES
    HIT/BASIC,NORMAL,<19.0787,15.6345,-37.0633>,<0.9999999,-0.0001162,-0.0004092>,<16.8754,18.741,-35.7425>,USE THEO=YES
    HIT/BASIC,NORMAL,<19.078,15.8715,-38.8884>,<0.9999999,-0.0001162,-0.0004092>,<20.1316,18.7287,-37.088>,USE THEO=YES
    HIT/BASIC,NORMAL,<19.0779,16.0273,-38.8884>,<0.9999999,-0.0001162,-0.0004092>,<20.131,18.3458,-37.088>,USE THEO=YES
    ENDMEAS/
    WORKPLANE/XPLUS
    CIR2 =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR
    THEO/<19.0029,16.0017,-39.3558>,<1,0,0>,0.2533
    ACTL/<20.0161,18.7515,-39.3642>,<1,0,0>,0.2527
    MEAS/CIRCLE,7,XPLUS
    HIT/BASIC,NORMAL,<19.0486,15.9518,-39.4724>,<0,0.3933998,0.9193675>,<20.0282,18.7159,-39.4854>,USE THEO=YES
    HIT/BASIC,NORMAL,<19.0486,15.9518,-39.2394>,<0,0.3940268,-0.9190989>,<20.0282,18.7159,-39.2429>,USE THEO=YES
    HIT/BASIC,NORMAL,<19.0486,16.1253,-39.3846>,<0,-0.9738975,0.2269881>,<20.0282,18.6275,-39.3887>,USE THEO=YES
    HIT/BASIC,NORMAL,<18.9686,16.0237,-39.4803>,<0,-0.1738538,0.9847715>,<20.0283,18.8757,-39.3887>,USE THEO=YES
    HIT/BASIC,NORMAL,<18.9686,16.0236,-39.2312>,<0,-0.1732581,-0.9848764>,<20.0281,18.6399,-39.4235>,USE THEO=YES
    HIT/BASIC,NORMAL,<18.9686,16.1265,-39.3768>,<0,-0.986222,0.1654272>,<20.0282,18.8628,-39.4235>,USE THEO=YES
    HIT/BASIC,NORMAL,<18.9686,15.8768,-39.3767>,<0,0.9862668,0.1651599>,<19.9436,18.6358,-39.3137>,USE THEO=YES
    ENDMEAS/
    A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
    ALIGNMENT/LEVEL,ZPLUS,PLN4
    ALIGNMENT/LEVEL,XPLUS,PLN5
    ALIGNMENT/TRANS,XAXIS,PLN5
    ALIGNMENT/TRANS,YAXIS,CIR2
    ALIGNMENT/TRANS,ZAXIS,CIR2
    ALIGNMENT/END
    MODE/DCC
    TIP/T1A90B-90, SHANKIJK=1, 0.0014, 0.0007, ANGLE=-93.7008
    DATUM_E =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR
    THEO/<0,0,0>,<1,0,0>,0.251
    ACTL/<0.1927,-0.3951,0.0095>,<0.0700238,-0.9975397,0.0033602>,0.2527
    MEAS/CIRCLE,4,FEATURE=PLN5
    HIT/BASIC,NORMAL,<-0.0512,0.0156,-0.1259>,<0,-0.1256055,0.9920803>,<0.2072,-0.3894,-0.1153>,USE THEO=YES
    HIT/BASIC,NORMAL,<-0.0513,0.0313,0.1226>,<0,-0.2498426,-0.9682865>,<0.2104,-0.3837,0.1327>,USE THEO=YES
    HIT/BASIC,NORMAL,<-0.0513,0.123,-0.0296>,<0,-0.9726011,0.2324803>,<0.2782,-0.3511,-0.0162>,USE THEO=YES
    HIT/BASIC,NORMAL,<-0.0512,-0.1263,-0.0138>,<0,0.9941241,0.1082465>,<0.1067,-0.4402,-0.008>,USE THEO=YES
    ENDMEAS/
    DATUM_B =FEAT/PLANE,CARTESIAN,OUTLINE
    THEO/<0,0,1.4538>,<1,0,0>
    ACTL/<0.1214,-0.4466,1.4617>,<0.0704814,-0.9975071,0.0034553>
    MEAS/PLANE,4
    HIT/BASIC,NORMAL,<0.0002,0.0982,0.21>,<1,0,0>,<0.2484,-0.4782,0.2241>,USE THEO=YES
    HIT/BASIC,NORMAL,<0.0001,-0.1028,0.2227>,<1,0,0>,<0.0475,-0.4928,0.2278>,USE THEO=YES
    MOVE/CIRCULAR
    HIT/BASIC,NORMAL,<0,-0.2006,2.6902>,<1,0,0>,<-0.1601,-0.4986,2.6885>,USE THEO=YES
    MOVE/CIRCULAR
    HIT/BASIC,NORMAL,<0.0001,0.1651,2.6921>,<1,0,0>,<0.204 2,-0.473,2.7067>,USE THEO=YES
    ENDMEAS/
    WORKPLANE/ZPLUS
    MOVE/INCREMENT,<-0.0034,0.0151,10>
    TIP/T1A0B0, SHANKIJK=-0.0012, 0.0646, 0.9979, ANGLE=0.1084
    DIM FLAT1= FLATNESS OF PLANE DATUM_B UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 ARROWDENSITY=100 OUTPUT=BOTH
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    M 0.0000 0.0005 0.0000 0.0004 0.0004 0.0000 ------#--
    TIP/T1A0B0, SHANKIJK=-0.0003, 0.0015, 1, ANGLE=0.0701
    DATUM_A =FEAT/PLANE,CARTESIAN,OUTLINE
    THEO/<-3.364,-0.0652,2.732>,<0,0,1>
    ACTL/<-0.2264,2.9055,2.7306>,<-0.0439183,0.0004808,0.999035>
    MEAS/PLANE,5
    HIT/BASIC,NORMAL,<-0.3926,-0.2057,2.7715>,<0,0,1>,<-0.1584,-0.0685,2.7352>,USE THEO=YES
    MOVE/CIRCULAR
    HIT/BASIC,NORMAL,<-0.3927,0.1462,2.7736>,<0,0,1>,<0.1922,-0.0437,2.7504>,USE THEO=YES
    MOVE/CIRCULAR
    HIT/BASIC,NORMAL,<-6.5347,0.1449,2.7692>,<0,0,1>,<-0.239,6.0832,2.7286>,USE THEO=YES
    HIT/BASIC,NORMAL,<-3,-0.2057,2.7715>,<0,0,1>,<-0.341,2.5326,2.7257>,USE THEO=YES
    HIT/BASIC,NORMAL,<-6.5,-0.2057,2.7715>,<0,0,1>,<-0.5861,6.0239,2.7133>,USE THEO=YES
    ENDMEAS/
    MOVE/POINT,NORMAL,<-7.7645,0.117,3.0095>
    WORKPLANE/ZPLUS
    DATDEF/E,FEATURES=DATUM_E,,
    DATDEF/B,FEATURES=DATUM_B,,
    DATDEF/A,FEATURES=DATUM_A,,
    LIN1 =FEAT/LINE,CARTESIAN,UNBOUNDED
    THEO/<-6.519,0.1148,2.8452>,<1,0,0>
    ACTL/<-0.2697,6.0654,2.7665>,<0.0700815,-0.9975349,0.003561>
    MEAS/LINE,4,FEATURE=DATUM_A
    HIT/BASIC,NORMAL,<-6.519,0.0748,2.805>,<0,0,1>,<-0.3078,6.0626,2.7257>,USE THEO=YES
    HIT/BASIC,NORMAL,<-4.6568,0.076,2.8063>,<0,0,1>,<-0.1762,4.2052,2.7322>,USE THEO=YES
    HIT/BASIC,NORMAL,<-2.4171,0.0776,2.8078>,<0,0,1>,<-0.0178,1.971,2.7402>,USE THEO=YES
    HIT/BASIC,NORMAL,<-0.25,0.0748,2.805>,<0,0,1>,<0.1311,-0.191,2.748>,USE THEO=YES
    ENDMEAS/
    MOVE/INCREMENT,<-0.0007,0.003,2>
    LIN2 =FEAT/LINE,CARTESIAN,UNBOUNDED,NO
    THEO/<0,-0.0326,2.732>,<0,1,0>
    ACTL/<0.0378,-0.448,2.7439>,<0.9965462,0.0705651,0.0437749>
    CONSTR/LINE,INTOF,DATUM_A,DATUM_B
    DIM STRA1= STRAIGHTNESS OF LINE LIN1 UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 ARROWDENSITY=100 OUTPUT=BOTH
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    M 0.0000 0.0050 0.0000 0.0029 0.0029 0.0000 -----#---
    DIM LOC1= POSITION OF CIRCLE DATUM_E UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH FIT TO DATUMS=OFF DEV PERPEN CENTERLINE=ON DISPLAY=DIAMETER
    AX NOMINAL +TOL -TOL BONUS MEAS DEV OUTTOL
    Y 0.0000 0.0000 0.0000
    Z 0.0000 -0.0065 -0.0065
    D1 PLANE DATUM_A AT RFS
    D2 PLANE DATUM_B AT RFS
    TP RFS 0.0100 0.0000 0.0131 0.0131 0.0031 -------->
    END OF DIMENSION LOC1
    A2 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
    ALIGNMENT/LEVEL,XPLUS,DATUM_B
    ALIGNMENT/TRANS,XAXIS,DATUM_B
    ALIGNMENT/TRANS,YAXIS,DATUM_E
    ALIGNMENT/TRANS,ZAXIS,DATUM_E
    ALIGNMENT/ROTATE,YPLUS,TO,LIN2,ABOUT,XPLUS
    ALIGNMENT/END
  • quick guess is that your manual alignment features do not have the correct nominals, they are still machine values, not alignment values. You have no AXIS_OFFSETS in your manual alignment either. Even if you want the features to be ZERO, you should use an AXIS_OFFSET of 0.0000000000001 (Pdmis will not put a zero axis offest in the alignment, it needs to be a number other than zero)
  • Manual alignment has 2 levels. That no worky ..... Bad habit to dimension anything before DCC alignment as well., It will bite you sooner or later. After DCC features, create DCC alignment and THEN , start creating additional features. THe postion of DATUM E is realted to your manual alignment not the DCC features. Thats just kind of a mess.....

    LEVEL / ROTATE / And then X-Y-Z- 0.000 ( IN ANY ORDER )
  • So I should re-measure all features after the DCC alignment and only dimension off of those, even if I measured those features in DCC mode before the DCC alignment?
  • If i'm understanding you correctly then I should go back to my manual features and correct their theoretical values to match their position based off the alignment I intend to make further down in in the program, correct?
  • So I should re-measure all features after the DCC alignment and only dimension off of those, even if I measured those features in DCC mode before the DCC alignment?
  • So I should re-measure all features after the DCC alignment and only dimension off of those, even if I measured those features in DCC mode before the DCC alignment?


    YES!!!!!!!! Never dimension to features used in your alignment!!!!!

    I have a guy here who will dimension to hits taken in his manual alignmentAngryAngryAngry.
  • quick guess is that your manual alignment features do not have the correct nominals, they are still machine values, not alignment values. You have no AXIS_OFFSETS in your manual alignment either. Even if you want the features to be ZERO, you should use an AXIS_OFFSET of 0.0000000000001 (Pdmis will not put a zero axis offest in the alignment, it needs to be a number other than zero)


    if your plane needs to be Z0 with a vector of 0,0,1, then that should be what it shows for the THEO values of that plane. If you are just banging out an alignment by measuring the part, NOT using cad, then making an alignment, you should use CAD=PART as part of that alignment, it updates the manual features to the NOMINALS and VECTORS that your alignment wants them to be, or, you can change them all by hand before you make the alignment.
  • See my response below. Great name BTW. That's probably what new people think after working around me for the first time.