hexagon logo

Alignment Issues

I'm having some trouble getting my Graphics Window view, and part execution alignments to match up. After I'm finished manually measuring, the program goes into DCC mode, and completely forgets where the part is. I'm not sure why this is happening or what I can do to fix it, but I will attach the coding for which I am using...


LOADPROBE/TP200-05MMX40
TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
RECALL/ALIGNMENT,EXTERNAL,a99,CENTER-SQUARE-ALIGNMENT:a99
MODE/MANUAL
MOVESPEED/ 10
CLEARP/ZPLUS,5,ZPLUS,0,ON
PREHIT/0.15
RETRACT/0.15
COMMENT/OPER,NO,EDIT PART PLACEMENT INFO
,
,WARNING:
,
,MACHINE WILL MOVE AUTOMATICALLY
,WHEN OK IS PRESSED
ROUGH TOP1 =FEAT/CONTACT/VECTOR POINT,POLAR
THEO/<3.6709,0,1.8622>,<0,0,1>
ACTL/<9.0292,37.4336,7.9694>,<-0.0008588,-0.008153,0.9999664>
TARG/<3.6709,0,1.8622>,<0,0,1>
SNAP=NO
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=YES
AVOIDANCE MOVE=NO,DISTANCE=0
SHOW HITS=NO
ROUGH TOP2 =FEAT/CONTACT/VECTOR POINT,POLAR
THEO/<3.6709,90,1.8622>,<0,0,1>
ACTL/<9.2494,69.6732,7.9702>,<0.0018503,0.0047305,0.9999871>
TARG/<3.6709,90,1.8622>,<0,0,1>
SNAP=NO
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=YES
AVOIDANCE MOVE=NO,DISTANCE=0
SHOW HITS=NO
ROUGH TOP3 =FEAT/CONTACT/VECTOR POINT,POLAR
THEO/<3.6709,180,1.8622>,<0,0,1>
ACTL/<4.666,91.0726,7.9687>,<-0.0177191,-0.0000724,0.999843>
TARG/<3.6709,180,1.8622>,<0,0,1>
SNAP=NO
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=YES
AVOIDANCE MOVE=NO,DISTANCE=0
SHOW HITS=NO
ROUGH TOP4 =FEAT/CONTACT/VECTOR POINT,POLAR
THEO/<3.6709,270,1.8622>,<0,0,1>
ACTL/<3.5384,21.7434,7.968>,<0.0017223,-0.0017628,0.999997>
TARG/<3.6709,270,1.8622>,<0,0,1>
SNAP=NO
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=YES
AVOIDANCE MOVE=NO,DISTANCE=0
SHOW HITS=NO
ROUGH TOP PLN=FEAT/PLANE,CARTESIAN,TRIANGLE,NO
THEO/<0,0,1.8622>,<0,0,1>
ACTL/<3.3955,5.0344,7.9691>,<-0.0000613,-0.0002995,1>
CONSTR/PLANE,BF,ROUGH TOP1,ROUGH TOP2,ROUGH TOP3,ROUGH TOP4,,
OUTLIER_REMOVAL/OFF,3
FILTER/OFF,WAVELENGTH=0
ROUGH -A- =FEAT/CONTACT/CIRCLE,POLAR,OUT,LEAST_SQR
THEO/<0,0,1.8425>,<0,0,1>,7.4975,0,0,360
ACTL/<6.1115,54.55,32.2592>,<0.0000425,-0.0000822,1>,7.4974,0,0,360
TARG/<0,0,1.8425>,<0,0,1>
ANGLE VEC=<1,0,0>
DIRECTION=CCW
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=YES
NUMHITS=4,DEPTH=-0.1,PITCH=0
SAMPLE HITS=0,SPACER=0.08
AVOIDANCE MOVE=NO,DISTANCE=0
FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
SHOW HITS=NO
A1 =ALIGNMENT/START,RECALL:CENTER-SQUARE-ALIGNMENT:a99,LIST=YES
ALIGNMENT/LEVEL,ZPLUS,ROUGH TOP PLN
ALIGNMENT/TRANS,XAXIS,ROUGH -A-
ALIGNMENT/TRANS,YAXIS,ROUGH -A-
ALIGNMENT/TRANS,ZAXIS,ROUGH TOP PLN
ALIGNMENT/END
COMMENT/OPER,NO,PREPARE FOR DCC
MODE/DCC
MOVESPEED/ 10
CLEARP/ZPLUS,5,ZPLUS,0,ON
PREHIT/0.01
RETRACT/0.01
MOVE/CLEARPLANE
PNT1 =FEAT/CONTACT/VECTOR POINT,POLAR
THEO/<3.8381,337.7691,-1.8622>,<0,0,1>
ACTL/<3.8382,337.6546,-7.9674>,<0.000007,-0.000002,1>
TARG/<3.8381,337.7691,-1.8622>,<0,0,1>
SNAP=NO
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=YES
AVOIDANCE MOVE=NO,DISTANCE=0
SHOW HITS=NO
MOVE/CLEARPLANE
PNT2 =FEAT/CONTACT/VECTOR POINT,POLAR
THEO/<3.84,20.5779,-1.8622>,<0,0,1>
ACTL/<3.6388,270.7621,-7.968>,<0.0000613,0.0002995,1>
TARG/<3.84,20.5779,-1.8622>,<0,0,1>
SNAP=NO
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=YES
AVOIDANCE MOVE=NO,DISTANCE=0
SHOW HITS=NO
MOVE/CLEARPLANE
PNT3 =FEAT/CONTACT/VECTOR POINT,POLAR
THEO/<3.846,97.7464,-1.8622>,<0,0,1>
ACTL/<4.232,196.1515,-7.9685>,<0.0000613,0.0002995,1>
TARG/<3.846,97.7464,-1.8622>,<0,0,1>
SNAP=NO
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=YES
AVOIDANCE MOVE=NO,DISTANCE=0
SHOW HITS=NO
MOVE/CLEARPLANE
PNT4 =FEAT/CONTACT/VECTOR POINT,POLAR
THEO/<3.84,150.6725,-1.8622>,<0,0,1>
ACTL/<7.5623,204.2614,-7.9677>,<0.0000613,0.0002995,1>
TARG/<3.84,150.6725,-1.8622>,<0,0,1>
SNAP=NO
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=YES
AVOIDANCE MOVE=NO,DISTANCE=0
SHOW HITS=NO
MOVE/CLEARPLANE
PNT5 =FEAT/CONTACT/VECTOR POINT,POLAR
THEO/<3.84,240.7641,-1.8622>,<0,0,1>
ACTL/<9.9468,236.968,-7.9662>,<0.0000613,0.0002995,1>
TARG/<3.84,240.7641,-1.8622>,<0,0,1>
SNAP=NO
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=YES
AVOIDANCE MOVE=NO,DISTANCE=0
SHOW HITS=NO
MOVE/CLEARPLANE
PNT6 =FEAT/CONTACT/VECTOR POINT,POLAR
THEO/<3.84,269.6795,-1.8622>,<0,0,1>
ACTL/<9.5219,247.9929,-7.9662>,<0.0000613,0.0002995,1>
TARG/<3.84,269.6795,-1.8622>,<0,0,1>
SNAP=NO
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=YES
AVOIDANCE MOVE=NO,DISTANCE=0
SHOW HITS=NO
-B- =FEAT/PLANE,CARTESIAN,TRIANGLE,NO
THEO/<0.2308,-0.2669,-1.8622>,<0,0,1>
ACTL/<-3.3158,-5.2551,-7.9673>,<0.0000613,0.0002995,1>
CONSTR/PLANE,BF,PNT1,PNT2,PNT3,PNT4,PNT5,PNT6,,
OUTLIER_REMOVAL/OFF,3
FILTER/OFF,WAVELENGTH=0
MOVE/CLEARPLANE
-A- =FEAT/CONTACT/CIRCLE,POLAR,OUT,LEAST_SQR
THEO/<0,150.9031,-0.0197>,<0,0,1>,7.4975,0,0,360
ACTL/<6.12,234.5852,-6.1249>,<0.0000613,0.0002995,1>,7.4975,0,0,360
TARG/<0,150.9031,-0.0197>,<0,0,1>
ANGLE VEC=<1,0,0>
DIRECTION=CCW
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=YES
NUMHITS=10,DEPTH=-0.1,PITCH=0
SAMPLE HITS=0,SPACER=0.08
AVOIDANCE MOVE=NO,DISTANCE=0
FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
SHOW HITS=NO
A2 =ALIGNMENT/START,RECALL:CENTER-SQUARE-ALIGNMENT:a99,LIST=YES
ALIGNMENT/TRANS,ZAXIS,-B-
ALIGNMENT/LEVEL,ZPLUS,-B-
ALIGNMENT/TRANS,XAXIS,-A-
ALIGNMENT/TRANS,YAXIS,-A-
ALIGNMENT/END
COMMENT/OPER,NO,MOVE SAFE FOR PROBE ANGLE CHANGE TO MEASURE 3 OCLOCK HOLE
TIP/T1A90B-90, SHANKIJK=1, -0.0006, 0, ANGLE=-89.9953
-C- =FEAT/CONTACT/CIRCLE,POLAR,IN,LEAST_SQR
THEO/<3.5943,0,0.3799>,<1,0,0>,0.079,0,360
ACTL/<3.5943,0,0.3799>,<1,0,0>,0.079,0,360
TARG/<3.5943,0,0.3799>,<1,0,0>
ANGLE VEC=<0,0,-1>
DIRECTION=CCW
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=YES
NUMHITS=4,DEPTH=-0.05,PITCH=0
SAMPLE HITS=0,SPACER=0.08
AVOIDANCE MOVE=NO,DISTANCE=0
FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
SHOW HITS=NO





HEEEELLLLPPP!Disappointed
Parents
  • I will look into the recalled external alignment (blue code) is this a fixture alignment? Make sure it matches the part orientation/origin.
    Red code is unnecessary since you still in manual mode.

    LOADPROBE/TP200-05MMX40
    TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
    [COLOR="#0000FF"]RECALL/ALIGNMENT,EXTERNAL,a99,CENTER-SQUARE-ALIGNMENT:a99[/COLOR]
    MODE/MANUAL
    MOVESPEED/ 10
    [COLOR="#FF0000"]CLEARP/ZPLUS,5,ZPLUS,0,ON[/COLOR]
    PREHIT/0.15
    RETRACT/0.15
    COMMENT/OPER,NO,EDIT PART PLACEMENT INFO
    , 
    ,[COLOR="#FF0000"]WARNING:
    , 
    ,MACHINE WILL MOVE AUTOMATICALLY
    ,WHEN OK IS PRESSED[/COLOR]
    



    You can tell something wrong with your alignment(s). See how far is the Z actuals compaired to theoreticals.
    MODE/DCC
    MOVESPEED/ 10
    CLEARP/ZPLUS,5,ZPLUS,0,ON
    PREHIT/0.01
    RETRACT/0.01
    MOVE/CLEARPLANE
    PNT1 =FEAT/CONTACT/VECTOR POINT,POLAR
    THEO/<3.8381,337.7691[COLOR="#0000FF"],-1.8622[/COLOR]>,<0,0,1>
    ACTL/<3.8382,337.6546[COLOR="#FF0000"],-7.9674[/COLOR]>,<0.000007,-0.000002,1>
    TARG/<3.8381,337.7691,-1.8622>,<0,0,1>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=0
    SHOW HITS=NO
    


    + 1
Reply
  • I will look into the recalled external alignment (blue code) is this a fixture alignment? Make sure it matches the part orientation/origin.
    Red code is unnecessary since you still in manual mode.

    LOADPROBE/TP200-05MMX40
    TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
    [COLOR="#0000FF"]RECALL/ALIGNMENT,EXTERNAL,a99,CENTER-SQUARE-ALIGNMENT:a99[/COLOR]
    MODE/MANUAL
    MOVESPEED/ 10
    [COLOR="#FF0000"]CLEARP/ZPLUS,5,ZPLUS,0,ON[/COLOR]
    PREHIT/0.15
    RETRACT/0.15
    COMMENT/OPER,NO,EDIT PART PLACEMENT INFO
    , 
    ,[COLOR="#FF0000"]WARNING:
    , 
    ,MACHINE WILL MOVE AUTOMATICALLY
    ,WHEN OK IS PRESSED[/COLOR]
    



    You can tell something wrong with your alignment(s). See how far is the Z actuals compaired to theoreticals.
    MODE/DCC
    MOVESPEED/ 10
    CLEARP/ZPLUS,5,ZPLUS,0,ON
    PREHIT/0.01
    RETRACT/0.01
    MOVE/CLEARPLANE
    PNT1 =FEAT/CONTACT/VECTOR POINT,POLAR
    THEO/<3.8381,337.7691[COLOR="#0000FF"],-1.8622[/COLOR]>,<0,0,1>
    ACTL/<3.8382,337.6546[COLOR="#FF0000"],-7.9674[/COLOR]>,<0.000007,-0.000002,1>
    TARG/<3.8381,337.7691,-1.8622>,<0,0,1>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=0
    SHOW HITS=NO
    


    + 1
Children
No Data