Program Crashing for circle feature with wrist angle A90B-90

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Program Crashing for circle feature with wrist angle A90B-90

    https://drive.google.com/file/d/1BBh...ew?usp=sharing

    the bore on the right is what I am trying to measure but each time the machine crashes into the flat face of the part instead of measuring the circle

    this is the program alignment manual and DCC as well as the feature I am trying to measure:

    GRP1 =GROUP/SHOWALLPARAMS=YES
    PLN1 =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,NONE,LEAST_SQR
    THEO/<1.6164,-0.5238,0.915>,<0,0,1>
    ACTL/<6.7258,0.6721,-11.7697>,<-0.0002715,-0.0062496,0.9999804>
    TARG/<1.6164,-0.5238,0.915>,<0,0,1>
    ANGLE VEC=<1,0,0>,SQUARE
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=2,NUMROWS=2
    SPACER=0
    AVOIDANCE MOVE=NO,DISTANCE=0.3937
    SHOW HITS=NO
    PLN2 =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,NONE,LEAST_SQR
    THEO/<0.6746,-0.845,0.526>,<0,-1,0>
    ACTL/<6.6972,-0.1546,-12.1153>,<-0.0007103,-0.9999759,-0.0068996>
    TARG/<0.6746,-0.845,0.526>,<0,-1,0>
    ANGLE VEC=<1,0,0>,SQUARE
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=2,NUMROWS=2
    SPACER=0
    AVOIDANCE MOVE=NO,DISTANCE=0.3937
    SHOW HITS=NO
    TIP/T1A90B90, SHANKIJK=-1, 0, 0, ANGLE=90
    PLN3 =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,NONE,LEAST_SQR
    THEO/<0,-0.1395,0.7148>,<-1,0,0>
    ACTL/<5.4142,0.669,-12.688>,<-0.9999994,0.0010129,-0.000434>
    TARG/<0,-0.1395,0.7148>,<-1,0,0>
    ANGLE VEC=<0,0,1>,SQUARE
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=2,NUMROWS=2
    SPACER=0
    AVOIDANCE MOVE=NO,DISTANCE=0.3937
    SHOW HITS=NO
    A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
    ALIGNMENT/LEVEL,ZPLUS,PLN1
    ALIGNMENT/TRANS,ZAXIS,PLN1
    ALIGNMENT/ROTATE,YMINUS,TO,PLN2,ABOUT,ZPLUS
    ALIGNMENT/TRANS,YAXIS,PLN2
    ALIGNMENT/TRANS,XAXIS,PLN3
    ALIGNMENT/END
    ENDGROUP/ID=GRP1
    MODE/DCC





    GRP2 =GROUP/SHOWALLPARAMS=YES
    TIP/T1A0B0, SHANKIJK=0.0003, 0.0062, 1, ANGLE=0.0407
    PLN4 =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,NONE,LEAST_SQR
    THEO/<1.139,0.3462,0>,<0,0,1>
    ACTL/<1.139,0.3462,-0.0002>,<-0.0000117,0.0000009,1>
    TARG/<1.139,0.3462,0>,<0,0,1>
    ANGLE VEC=<1,0,0>,SQUARE
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=2,NUMROWS=2
    SPACER=0
    AVOIDANCE MOVE=NO,DISTANCE=0.3937
    SHOW HITS=NO
    PLN5 =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,NONE,LEAST_SQR
    THEO/<0.8722,0,-0.852>,<0,-1,0>
    ACTL/<0.8722,0.0002,-0.852>,<0.0000021,-0.9999999,-0.000431>
    TARG/<0.8722,0,-0.852>,<0,-1,0>
    ANGLE VEC=<1,0,0>,SQUARE
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=2,NUMROWS=2
    SPACER=0
    AVOIDANCE MOVE=NO,DISTANCE=0.3937
    SHOW HITS=NO
    TIP/T1A90B90, SHANKIJK=-1, -0.0007, 0.0003, ANGLE=90.3581
    PLN6 =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,NONE,LEAST_SQR
    THEO/<0,0.2244,-1.3412>,<-1,0,0>
    ACTL/<0.0002,0.2244,-1.3412>,<-1,0.0000577,-0.0001992>
    TARG/<0,0.2244,-1.3412>,<-1,0,0>
    ANGLE VEC=<0,0,1>,SQUARE
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=2,NUMROWS=2
    SPACER=0
    AVOIDANCE MOVE=NO,DISTANCE=0.3937
    USE BOUNDARY OFFSET=YES,OFFSET=50.7999
    SHOW HITS=NO
    A2 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
    ALIGNMENT/LEVEL,ZPLUS,PLN4
    ALIGNMENT/TRANS,ZAXIS,PLN4
    ALIGNMENT/ROTATE,YMINUS,TO,PLN5,ABOUT,ZPLUS
    ALIGNMENT/TRANS,YAXIS,PLN5
    ALIGNMENT/TRANS,XAXIS,PLN6
    ALIGNMENT/END
    ENDGROUP/ID=GRP2



    CIR10 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
    THEO/<2.625,0.845,-0.915>,<1,0,0>,1.25,0
    ACTL/<2.625,0.845,-0.915>,<1,0,0>,1.25,0
    TARG/<2.625,0.845,-0.915>,<1,0,0>
    START ANG=0,END ANG=360
    ANGLE VEC=<0,0,-1>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=4,DEPTH=0,PITCH=0
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=0,SPACER=0
    AVOIDANCE MOVE=BOTH,DISTANCE=0.5937
    FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
    SHOW HITS=NO
    Last edited by sscandlon; 08-12-2019, 01:27 PM.

  • #2
    CIR 10 IS an OD, ans you're talking or a bore... ?

    Comment


    • sscandlon
      sscandlon commented
      Editing a comment
      so then how do I program it to measure an OD , I have only ever programed to measure ID's

  • #3
    Capture.JPG
    (In Memory of my Loving wife, "Ronda" who I lost March 7, 2016. I love you baby.)
    They say "Nobody's Perfect." I must be Nobody.

    Comment


    • sscandlon
      sscandlon commented
      Editing a comment
      Thank you ! I appreciate the help !

  • #4
    Also, when you’re programming from CAD model, when you use AutoCircles an take a hit on the OD, it will know you want to measure the OD.
    Darroll
    2018R2

    Comment


    • #5
      One last thing: (at least on 2018 R2...) When scanning an ID, the probe default start location is at 9:00, and works its way around the ID counterclockwise. An OD will start at the 3:00 position and scan counterclockwise.

      Comment


      • Douglas
        Douglas commented
        Editing a comment
        that 3:00 position is a mathematical convention that outdates CMM technology, and generally referred to as 0°

        If you are beginning to probe at 9:00 that is technically 180 ° and I'd check the angle in the x, is it -1 maybe instead of 1

        ANGLE VEC is set to 0,0,-1 for the outside circle I see in your code... check that it is not flipped to a 1 in your inside circles or set as 0,-1,0 possibly
        Last edited by Douglas; 08-14-2019, 01:03 PM.

      • louisd
        louisd commented
        Editing a comment
        it looks like you don't have any workplane changes in your code. If you are probing in X, your current workplane should be X. This might be a contributor to the probe hits being clocked incorrectly.

    Related Topics

    Collapse

    Working...
    X