hexagon logo

Clear Plane Leaving Z Axis Limits

The clear planes in my program do not want to co-operate today. I'm using a read point for the manual alignment, as far as I can see I did not forget to translate my Z. DCC_ORG Is a circle that takes 3 sample hits on the Z=0 surface I want. The clearplane at the end is where I'm getting the error.


CODE

MODE/DCC
CLEARP/ZPLUS,0.15,ZPLUS,0,OFF
MAN_ORG =FEAT/POINT,CARTESIAN
THEO/<-0.787,-0.102,0>,<0,0,1>
ACTL/<16.5346,6.6828,-27.4938>,<0,0,1>
READPOINT/
A_MAN =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
ALIGNMENT/TRANS,ZAXIS,MAN_ORG
ALIGNMENT/TRANS,XAXIS,MAN_ORG
ALIGNMENT/TRANS_OFFSET,XAXIS,0.787
ALIGNMENT/TRANS,YAXIS,MAN_ORG
ALIGNMENT/TRANS_OFFSET,YAXIS,0.102
ALIGNMENT/END
DCC_ORG =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
THEO/<-0.787,-0.102,0>,<0,0,1>,0.096
ACTL/<-0.799,-0.0971,0.0138>,<0.0001931,0.0005264,0.9999998>,0.0 958
TARG/<-0.7874,-0.1023,0>,<0,0,1>
START ANG=0,END ANG=360
ANGLE VEC=<0.8741573,0.4856429,0>
DIRECTION=CCW
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=NO
A_DCC =ALIGNMENT/START,RECALL:A_MAN,LIST=YES
ALIGNMENT/TRANS,XAXIS,DCC_ORG
ALIGNMENT/TRANS_OFFSET,XAXIS,0.787
ALIGNMENT/TRANS,YAXIS,DCC_ORG
ALIGNMENT/TRANS_OFFSET,YAXIS,0.102
ALIGNMENT/TRANS,ZAXIS,DCC_ORG
ALIGNMENT/END
DCC_ROT =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
THEO/<-3.898,-0.102,0>,<0,0,1>,0.096
ACTL/<-3.9005,-0.0771,0.001>,<-0.0009519,0.0007254,0.9999993>,0.0953
TARG/<-3.898,-0.102,0>,<0,0,1>
START ANG=0,END ANG=360
ANGLE VEC=<1,0,0>
DIRECTION=CCW
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=NO
A_DCC2 =ALIGNMENT/START,RECALL:A_DCC,LIST=YES
ALIGNMENT/ROTATE_CIRCLE,XPLUS,TO,DCC_ROT,AND,DCC_ORG,ABOUT,Z PLUS
ALIGNMENT/END
CHECK/0.05,1
PREHIT/0.04
RETRACT/0.04
DCC_LVL =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,OUTLINE,LEAST_SQR
THEO/<-1.1563,-0.3114,0>,<0,0,1>
ACTL/<-1.1563,-0.3114,0.0002>,<0.0003244,0.0004314,0.9999999>
TARG/<-1.1563,-0.3114,0>,<0,0,1>
ANGLE VEC=<1,0,0>,SQUARE
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=NO
A_DCC3 =ALIGNMENT/START,RECALL:A_DCC2,LIST=YES
ALIGNMENT/LEVEL,ZPLUS,DCC_LVL
ALIGNMENT/TRANS,ZAXIS,DCC_LVL
ALIGNMENT/TRANS,XAXIS,DCC_ORG
ALIGNMENT/TRANS_OFFSET,XAXIS,0.787
ALIGNMENT/TRANS,YAXIS,DCC_ORG
ALIGNMENT/TRANS_OFFSET,YAXIS,0.102
ALIGNMENT/ROTATE_CIRCLE,XPLUS,TO,DCC_ROT,AND,DCC_ORG,ABOUT,Z PLUS
ALIGNMENT/END
MOVE/CLEARPLANE
Parents
  • you have your clearplane established too early in your routine. Move or re-define the clearplane after you establish your alignment, and you should be set.
  • I wasn't sure where to put the clearplane common till I read this and see an example in the F1 function.

    "The Pass-Through Plane defines a clearance plane that the probe moves to and then passes through to get to the next active clearance plane after a probe's TIP command. The new CLEARP definition command must immediately follow the TIP command to properly define the pass through plane. When PC-DMIS encounters the next MOVE/CLEARPLANE command, it moves to the pass through plane and remains at that offset distance until it reaches the next active clearance plane.
    Clearance plane Example
    
                TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
    
                CLEARP/ZPLUS,2,ZPLUS,0,ON (New clearance plane defined)
    
    PLN1       =FEAT/PLANE,CARTESIAN,TRIANGLE
    
                THEO/<0.3597,0.3544,-0.8268>,<0,0,1>
    
                ACTL/<0.3597,0.3544,-0.8268>,<0,0,1>
    
                MEAS/PLANE,3
    
                MOVE/CLEARPLANE (Probe moves to the defined clearance plane)
    
                HIT/BASIC,NORMAL,<0.2346,0.6411,-0.8268>,<0,0,1>,<0.2346,0.6411,-0.8268>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<0.2034,0.2502,-0.8268>,<0,0,1>,<0.2034,0.2502,-0.8268>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<0.6412,0.172,-0.8268>,<0,0,1>,<0.6412,0.172,-0.8268>,USE THEO = YES
    
                ENDMEAS/
    
    CON2       =FEAT/CONE,CARTESIAN,IN
    
                THEO/<8.9134,0.4921,-0.9193>,<0,0,-1>,0.3964,0.5906,0.5906
    
                ACTL/<8.9134,0.4921,-0.9193>,<0,0,-1>,0.3964,0.5906,0.5906
    
                MEAS/CONE,8
    
                MOVE/CLEARPLANE (Probe moves to the defined clearance plane)
    
                HIT/BASIC,NORMAL,<9.2087,0.4921,-0.9193>,<-1,0,0>,<9.2087,0.4921,-0.9193>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<8.9134,0.7874,-0.9193>,<0,-1,0>,<8.9134,0.7874,-0.9193>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<8.6181,0.4921,-0.9193>,<1,0,0>,<8.6181,0.4921,-0.9193>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<8.9134,0.1969,-0.9193>,<0,1,0>,<8.9134,0.1969,-0.9193>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<9.2087,0.4921,-1.3158>,<-1,0,0>,<9.2087,0.4921,-1.3158>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<8.9134,0.7874,-1.3158>,<0,-1,0>,<8.9134,0.7874,-1.3158>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<8.6181,0.4921,-1.3158>,<1,0,0>,<8.6181,0.4921,-1.3158>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<8.9134,0.1969,-1.3158>,<0,1,0>,<8.9134,0.1969,-1.3158>,USE THEO = YES
    
                ENDMEAS/
    
    CIR1       =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR
    
                THEO/<6.0827,3.1693,-0.012>,<0,0,1>,0.5906
    
                ACTL/<6.0827,3.1693,-0.012>,<0,0,1>,0.5906
    
                MEAS/CIRCLE,4,WORKPLANE
    
                MOVE/CLEARPLANE (Probe moves to the defined clearance plane)
    
                HIT/BASIC,NORMAL,<6.378,3.1693,-0.012>,<-1,0,0>,<6.378,3.1693,-0.012>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<6.0827,3.4646,-0.012>,<0,-1,0>,<6.0827,3.4646,-0.012>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<5.7874,3.1693,-0.012>,<1,0,0>,<5.7874,3.1693,-0.012>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<6.0827,2.874,-0.012>,<0,1,0>,<6.0827,2.874,-0.012>,USE THEO = YES
    
                ENDMEAS/
    
                CLEARP/YMINUS,-3,ZPLUS,2,ON (New clearance plane defined, this time with a pass through plane)
    
                TIP/T1A90B-180, SHANKIJK=0, -1, 0, ANGLE=180
    
    CIR2       =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR
    
                THEO/<4.8819,0,-0.5906>,<0,1,0>,1.2362
    
                ACTL/<4.9445,15.8342,-0.5906>,<0,0,1>,31.4282
    
                MEAS/CIRCLE,4,WORKPLANE
    
                MOVE/CLEARPLANE (Probe travels through the Pass Through Plane in ZPLUS to the YMINUS clearance plane)
    
                HIT/BASIC,NORMAL,<4.8819,0.0623,-0.8406>,<-0.9999185,-0.012768,0>,<4.8224,0.0025,-0.8406>,USE THEO = YES
    
                MOVE/CIRCULAR
    
                HIT/BASIC,NORMAL,<5.1319,0.0623,-0.5906>,<-0.9999279,-0.012008,0>,<5.0733,0.0026,-0.5906>,USE THEO = YES
    
                MOVE/CIRCULAR
    
                HIT/BASIC,NORMAL,<4.8819,0.0623,-0.3406>,<-0.9999185,-0.012768,0>,<4.8224,0.0025,-0.3406>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<4.6319,0.0623,-0.5906>,<0.9999071,0.0136308,0>,<4.69,0.0041,-0.5906>,USE THEO = YES
    
                ENDMEAS/
    
                MOVE/CLEARPLANE
    [code]
Reply
  • I wasn't sure where to put the clearplane common till I read this and see an example in the F1 function.

    "The Pass-Through Plane defines a clearance plane that the probe moves to and then passes through to get to the next active clearance plane after a probe's TIP command. The new CLEARP definition command must immediately follow the TIP command to properly define the pass through plane. When PC-DMIS encounters the next MOVE/CLEARPLANE command, it moves to the pass through plane and remains at that offset distance until it reaches the next active clearance plane.
    Clearance plane Example
    
                TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
    
                CLEARP/ZPLUS,2,ZPLUS,0,ON (New clearance plane defined)
    
    PLN1       =FEAT/PLANE,CARTESIAN,TRIANGLE
    
                THEO/<0.3597,0.3544,-0.8268>,<0,0,1>
    
                ACTL/<0.3597,0.3544,-0.8268>,<0,0,1>
    
                MEAS/PLANE,3
    
                MOVE/CLEARPLANE (Probe moves to the defined clearance plane)
    
                HIT/BASIC,NORMAL,<0.2346,0.6411,-0.8268>,<0,0,1>,<0.2346,0.6411,-0.8268>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<0.2034,0.2502,-0.8268>,<0,0,1>,<0.2034,0.2502,-0.8268>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<0.6412,0.172,-0.8268>,<0,0,1>,<0.6412,0.172,-0.8268>,USE THEO = YES
    
                ENDMEAS/
    
    CON2       =FEAT/CONE,CARTESIAN,IN
    
                THEO/<8.9134,0.4921,-0.9193>,<0,0,-1>,0.3964,0.5906,0.5906
    
                ACTL/<8.9134,0.4921,-0.9193>,<0,0,-1>,0.3964,0.5906,0.5906
    
                MEAS/CONE,8
    
                MOVE/CLEARPLANE (Probe moves to the defined clearance plane)
    
                HIT/BASIC,NORMAL,<9.2087,0.4921,-0.9193>,<-1,0,0>,<9.2087,0.4921,-0.9193>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<8.9134,0.7874,-0.9193>,<0,-1,0>,<8.9134,0.7874,-0.9193>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<8.6181,0.4921,-0.9193>,<1,0,0>,<8.6181,0.4921,-0.9193>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<8.9134,0.1969,-0.9193>,<0,1,0>,<8.9134,0.1969,-0.9193>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<9.2087,0.4921,-1.3158>,<-1,0,0>,<9.2087,0.4921,-1.3158>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<8.9134,0.7874,-1.3158>,<0,-1,0>,<8.9134,0.7874,-1.3158>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<8.6181,0.4921,-1.3158>,<1,0,0>,<8.6181,0.4921,-1.3158>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<8.9134,0.1969,-1.3158>,<0,1,0>,<8.9134,0.1969,-1.3158>,USE THEO = YES
    
                ENDMEAS/
    
    CIR1       =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR
    
                THEO/<6.0827,3.1693,-0.012>,<0,0,1>,0.5906
    
                ACTL/<6.0827,3.1693,-0.012>,<0,0,1>,0.5906
    
                MEAS/CIRCLE,4,WORKPLANE
    
                MOVE/CLEARPLANE (Probe moves to the defined clearance plane)
    
                HIT/BASIC,NORMAL,<6.378,3.1693,-0.012>,<-1,0,0>,<6.378,3.1693,-0.012>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<6.0827,3.4646,-0.012>,<0,-1,0>,<6.0827,3.4646,-0.012>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<5.7874,3.1693,-0.012>,<1,0,0>,<5.7874,3.1693,-0.012>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<6.0827,2.874,-0.012>,<0,1,0>,<6.0827,2.874,-0.012>,USE THEO = YES
    
                ENDMEAS/
    
                CLEARP/YMINUS,-3,ZPLUS,2,ON (New clearance plane defined, this time with a pass through plane)
    
                TIP/T1A90B-180, SHANKIJK=0, -1, 0, ANGLE=180
    
    CIR2       =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR
    
                THEO/<4.8819,0,-0.5906>,<0,1,0>,1.2362
    
                ACTL/<4.9445,15.8342,-0.5906>,<0,0,1>,31.4282
    
                MEAS/CIRCLE,4,WORKPLANE
    
                MOVE/CLEARPLANE (Probe travels through the Pass Through Plane in ZPLUS to the YMINUS clearance plane)
    
                HIT/BASIC,NORMAL,<4.8819,0.0623,-0.8406>,<-0.9999185,-0.012768,0>,<4.8224,0.0025,-0.8406>,USE THEO = YES
    
                MOVE/CIRCULAR
    
                HIT/BASIC,NORMAL,<5.1319,0.0623,-0.5906>,<-0.9999279,-0.012008,0>,<5.0733,0.0026,-0.5906>,USE THEO = YES
    
                MOVE/CIRCULAR
    
                HIT/BASIC,NORMAL,<4.8819,0.0623,-0.3406>,<-0.9999185,-0.012768,0>,<4.8224,0.0025,-0.3406>,USE THEO = YES
    
                HIT/BASIC,NORMAL,<4.6319,0.0623,-0.5906>,<0.9999071,0.0136308,0>,<4.69,0.0041,-0.5906>,USE THEO = YES
    
                ENDMEAS/
    
                MOVE/CLEARPLANE
    [code]
Children
No Data