Wrist Index moves origin

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

  • Wrist Index moves origin

    This is a good one. Same part as all my recent posts. CAD origin is transformed to the center point of a circle (polished bushing). Readpoint alignment is same as CAD, no origin change. Iterative alignment to lock in accuracy, again, no alignment or origin change. As long as my probe is in A0B0, a movepoint to (0,0,0) will move the ruby to the center of the bushing, no problem easy peasy. When I index to a90b-90, then move to (0,0,0) sends to ruby to about 18 inches (up and to the right) diagonal from the actual origin. On screen the CAD and the drawn Probe are in the right place, but physically they are not. As an experiment I also indexed to a90b90, and that sent the ruby about 3.5 feet away from the part (up, to the right, and to the back). On screen, again, CAD and probe are correct. If i index back to a0b0, the zero point once again becomes the center of the bushing. I sent in an offical ticket for this, as I am not interested in trying to run this part and having the head smash into the granite or the part because the origin has "moved". But I thought I would ask here and see if anyone has any ideas on what could cause this. TIA!
    Derrick

  • #2
    Other than the read point, do you have an alignment? The read point is simply a starting point for the operator. You still need alignments to measure the part. Sounds like you're in machine coordinates and not cad. Post your code because you didn't mention alignments.
    Darroll
    2018R2

    Comment


    • #3
      It sounds like your cad-to-part alignment is not oriented correctly. Please post code of your routine, so we can see what you've got going on. Otherwise, it's us pulling straws.

      Comment


      • #4
        A couple things to note: SPH1 and SPH_PLANE are the same sphere.
        Technically I'm "cheating" on the read point alignment because the sample hit of SPH1 has the same end result.

        The subroutines are contained within the program itself instead of a separate program
        on purpose.


        Code:
        PART NAME  : CMM Artifact CMM 5 v2.3 
        REV NUMBER : 
        SER NUMBER : 
        STATS COUNT : 1
        
        STARTUP    =ALIGNMENT/START,RECALL:USE_PART_SETUP,LIST=YES
                    ALIGNMENT/END
                    MODE/MANUAL
                    MOVESPEED/ 200
                    FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL, , 
                    LOADPROBE/_7
                    TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                    MODE/MANUAL
                    MOVESPEED/ 500
                    ACCELERATION/MAXACCELX=500, MAXACCELY=500, MAXACCELZ=500
                    FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL, , 
                    LOADPROBE/_7
                    TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                    TRACEFIELD/DISPLAY=YES,REPORT=NO,DISPLAY MESSAGE=MEASURE WITH PROBE 1? ; ONE : YES
                    TRACEFIELD/DISPLAY=YES,REPORT=NO,DISPLAY MESSAGE=MEASURE WITH PROBE 3? ; THREE : YES
                    TRACEFIELD/DISPLAY=YES,REPORT=NO,DISPLAY MESSAGE=MEASURE WITH PROBE 4? ; FOUR : YES
                    TRACEFIELD/DISPLAY=YES,REPORT=NO,DISPLAY MESSAGE=MEASURE WITH PROBE 6? ; SIX : YES
                    TRACEFIELD/DISPLAY=YES,REPORT=NO,DISPLAY MESSAGE=MEASURE WITH PROBE 8? ; EIGHT : YES
                    ASSIGN/VONE=GETTRACEVALUE("ONE")
                    ASSIGN/VTHREE=GETTRACEVALUE("THREE")
                    ASSIGN/VFOUR=GETTRACEVALUE("FOUR")
                    ASSIGN/VSIX=GETTRACEVALUE("SIX")
                    ASSIGN/VEIGHT=GETTRACEVALUE("EIGHT")
                    MODE/DCC
                    FASTPROBEMODE/ON
                    PREHIT/1
                    RETRACT/1
                    COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
                    Take a hit on the "north pole" of the single sphere on the right.
                    *
                    *
                    WARNING: CMM will move once you confirm the hit.
        SPH1       =FEAT/CONTACT/SPHERE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
                    THEO/<127,0,8.438>,<0,0,1>,12.7
                    ACTL/<693.589,437.593,-797.605>,<0.0601478,-0.0535145,0.996754>,12.697
                    TARG/<693.589,437.593,-797.605>,<0.0601478,-0.0535145,0.996754>
                    START ANGLE 1=0,END ANG 1=360
                    START ANGLE 2=0,END ANG 2=90
                    ANGLE VEC=<1,0,0>
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      NUMHITS=9,NUMROWS=3
                      SAMPLE HITS=1
                      AVOIDANCE MOVE=AFTER,DISTANCE=5
                    SHOW HITS=NO
        SPHERE_READ_POINT=ALIGNMENT/START,RECALL:STARTUP,LIST=YES
                      ALIGNMENT/TRANS,XAXIS,SPH1
                      ALIGNMENT/TRANS,YAXIS,SPH1
                      ALIGNMENT/TRANS,ZAXIS,SPH1
                      ALIGNMENT/TRANS_OFFSET,XAXIS,-127
                      ALIGNMENT/TRANS_OFFSET,ZAXIS,-8.438
                    ALIGNMENT/END
        SPH_PLANE  =FEAT/CONTACT/SPHERE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
                    THEO/<127,0,8.438>,<0,0,1>,12.7
                    ACTL/<127,0,8.436>,<-0.0000031,-0.000158,1>,12.696
                    TARG/<127,0,8.438>,<0,0,1>
                    START ANGLE 1=0,END ANG 1=360
                    START ANGLE 2=0,END ANG 2=90
                    ANGLE VEC=<1,0,0>
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      NUMHITS=9,NUMROWS=3
                      SAMPLE HITS=0
                      AVOIDANCE MOVE=BOTH,DISTANCE=3.25
                    SHOW HITS=NO
                    CHECK/15,1
        SPH_ALIGN  =FEAT/CONTACT/SPHERE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
                    THEO/<-101.6,101.6,8.438>,<0,0,1>,12.7
                    ACTL/<-101.785,101.147,8.451>,<-0.0000031,-0.000158,1>,12.698
                    TARG/<-101.6,101.6,8.438>,<0,0,1>
                    START ANGLE 1=0,END ANG 1=360
                    START ANGLE 2=0,END ANG 2=90
                    ANGLE VEC=<1,0,0>
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      NUMHITS=9,NUMROWS=3
                      SAMPLE HITS=0
                      AVOIDANCE MOVE=BOTH,DISTANCE=3.25
                    SHOW HITS=NO
        SPH_ORIGIN =FEAT/CONTACT/SPHERE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
                    THEO/<-101.6,-101.6,8.438>,<0,0,1>,12.7
                    ACTL/<-101.385,-102.037,8.421>,<-0.0000031,-0.000158,1>,12.698
                    TARG/<-101.6,-101.6,8.438>,<0,0,1>
                    START ANGLE 1=0,END ANG 1=360
                    START ANGLE 2=0,END ANG 2=90
                    ANGLE VEC=<1,0,0>
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      NUMHITS=9,NUMROWS=3
                      SAMPLE HITS=0
                      AVOIDANCE MOVE=BOTH,DISTANCE=3.25
                    SHOW HITS=NO
        DCC_3SPHERE_ITERATIVE=ALIGNMENT/START,RECALL:SPHERE_READ_POINT,LIST=YES
                      ALIGNMENT/ITERATE
                        PNT TARGET RAD=5,START LABEL=,FIXTURE TOL=0.01,ERROR LABEL=
                        MEAS ALL FEAT=ALWAYS,MAX ITERATIONS=3,LEVEL AXIS=ZAXIS,ROTATE AXIS=XAXIS,ORIGIN AXIS=YAXIS
                      LEVEL=SPH_PLANE,SPH_ALIGN,SPH_ORIGIN,,
                      ROTATE=SPH_ALIGN,SPH_ORIGIN,,
                      ORIGIN=SPH_ORIGIN,,
                    ALIGNMENT/END
                    PREHIT/0.5
                    RETRACT/0.5
                    MOVE/POINT,NORMAL,<0,0,30>
                    CLEARP/ZPLUS,30,ZPLUS,0,ON
                    MOVE/CLEARPLANE
                    COMMENT/REPT,
                    ***
        
                    CMM 5 PROBE 7 at 0,0
        
                    ***
        CS1        =CALLSUB/Z_PLUS_FACE,C:\PC-DMIS PART PROGRAMS\CMM ARTIFACT CMM5 V2.3.PRG:,
                    MOVE/CLEARPLANE

        Comment


        • #5
          Second Part of code:
          Code:
          PROBE_CHECK=LABEL/
                      IF_GOTO/VONE=="YES",GOTO = PROBE_ONE
                      IF_GOTO/VTHREE=="YES",GOTO = PROBE_THREE
                      IF_GOTO/VFOUR=="YES",GOTO = PROBE_FOUR
                      IF_GOTO/VSIX=="YES",GOTO = PROBE_SIX
                      IF_GOTO/VEIGHT=="YES",GOTO = PROBE_EIGHT
                      GOTO/END
          PROBE_ONE  =LABEL/
                      ASSIGN/VONE="NO"
                      LOADPROBE/_1
                      TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                      FORMFEED/
                      COMMENT/REPT,
                      ***
          
                      CMM 5 PROBE 1 at 0,0
          
                      ***
          CS2        =CALLSUB/Z_PLUS_FACE,C:\PC-DMIS PART PROGRAMS\CMM ARTIFACT CMM5 V2.3.PRG:,
                      MOVE/CLEARPLANE
                      GOTO/PROBE_CHECK
          PROBE_THREE=LABEL/
                      ASSIGN/VTHREE="NO"
                      LOADPROBE/_3
                      TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                      FORMFEED/
                      COMMENT/REPT,
                      ***
          
                      CMM 5 PROBE 3 at 0,0
          
                      ***
          CS3        =CALLSUB/Z_PLUS_FACE,C:\PC-DMIS PART PROGRAMS\CMM ARTIFACT CMM5 V2.3.PRG:,
                      MOVE/CLEARPLANE
                      TIP/T1A90B-90, SHANKIJK=1, 0, 0, ANGLE=-90
                      CLEARP/XPLUS,175,XPLUS,0,OFF
                      MOVE/CLEARPLANE
                      COMMENT/REPT,
                      ***
                      PROBE 3 at 90,-90
                      ***
          CS4        =CALLSUB/X_PLUS_FACE,C:\PC-DMIS PART PROGRAMS\CMM ARTIFACT CMM5 V2.3.PRG:,
                      MOVE/CLEARPLANE
                      TIP/T1A90B0, SHANKIJK=0, 1, 0, ANGLE=-180
                      CLEARP/YPLUS,165,YPLUS,0,OFF
                      COMMENT/REPT,
                      ***
                      Probe 3 at 90,0
                      ***
          CS5        =CALLSUB/Y_PLUS_FACE,C:\PC-DMIS PART PROGRAMS\CMM ARTIFACT CMM5 V2.3.PRG:,
                      MOVE/CLEARPLANE
                      TIP/T1A90B90, SHANKIJK=-1, 0, 0, ANGLE=90
                      CLEARP/XPLUS,-175,XPLUS,0,OFF
                      COMMENT/REPT,
                      ***
                      Probe 3 at 90,90
                      ***
          CS6        =CALLSUB/X_MINUS_FACE,C:\PC-DMIS PART PROGRAMS\CMM ARTIFACT CMM5 V2.3.PRG:,
                      MOVE/CLEARPLANE
                      TIP/T1A90B180, SHANKIJK=0, -1, 0, ANGLE=180
                      CLEARP/YPLUS,-165,YPLUS,0,OFF
                      COMMENT/REPT,
                      ***
                      Probe 3 at 90,180
                      ***
          CS7        =CALLSUB/Y_MINUS_FACE,C:\PC-DMIS PART PROGRAMS\CMM ARTIFACT CMM5 V2.3.PRG:,
                      MOVE/CLEARPLANE
                      GOTO/PROBE_CHECK
          PROBE_FOUR =LABEL/
                      ASSIGN/VFOUR="NO"
                      LOADPROBE/_4
                      TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                      FORMFEED/
                      COMMENT/REPT,
                      ***
          
                      CMM 5 PROBE 4 at 0,0
          
                      ***
                      CLEARP/ZPLUS,30,ZPLUS,0,OFF
                      MOVE/CLEARPLANE
          CS8        =CALLSUB/Z_PLUS_FACE,C:\PC-DMIS PART PROGRAMS\CMM ARTIFACT CMM5 V2.3.PRG:,
                      MOVE/CLEARPLANE
                      GOTO/PROBE_CHECK
          PROBE_SIX  =LABEL/
                      ASSIGN/VSIX="NO"
                      LOADPROBE/_6
                      TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                      FORMFEED/
                      COMMENT/REPT,
                      ***
          
                      CMM 5 PROBE 6 at 0,0
          
                      ***
                      CLEARP/ZPLUS,30,ZPLUS,0,OFF
                      MOVE/CLEARPLANE
          CS9        =CALLSUB/Z_PLUS_FACE,C:\PC-DMIS PART PROGRAMS\CMM ARTIFACT CMM5 V2.3.PRG:,
                      MOVE/CLEARPLANE
                      GOTO/PROBE_CHECK
          PROBE_EIGHT=LABEL/
                      ASSIGN/VEIGHT="NO"
                      LOADPROBE/_8
                      TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                      FORMFEED/
                      COMMENT/REPT,
                      ***
          
                      CMM 5 PROBE 8 at 0,0
          
                      ***
                      CLEARP/ZPLUS,30,ZPLUS,0,OFF
                      MOVE/CLEARPLANE
          CS10       =CALLSUB/Z_PLUS_FACE,C:\PC-DMIS PART PROGRAMS\CMM ARTIFACT CMM5 V2.3.PRG:,
                      MOVE/CLEARPLANE
                      TIP/T1A90B0, SHANKIJK=0, 1, 0, ANGLE=-180
                      CLEARP/YPLUS,165,YPLUS,0,OFF
                      MOVE/CLEARPLANE
                      COMMENT/REPT,
                      ***
                      PROBE 8 at 90,0
                      ***
          CS11       =CALLSUB/Y_PLUS_FACE,C:\PC-DMIS PART PROGRAMS\CMM ARTIFACT CMM5 V2.3.PRG:,
                      MOVE/CLEARPLANE
                      TIP/T1A90B180, SHANKIJK=0, -1, 0, ANGLE=180
                      CLEARP/YPLUS,-165,YPLUS,0,OFF
                      MOVE/CLEARPLANE
                      COMMENT/REPT,
                      ***
                      PROBE 8 at 90,180
                      ***
          CS12       =CALLSUB/Y_MINUS_FACE,C:\PC-DMIS PART PROGRAMS\CMM ARTIFACT CMM5 V2.3.PRG:,
                      MOVE/CLEARPLANE
                      GOTO/PROBE_CHECK
                      SUBROUTINE/Z_PLUS_FACE,
                           = 
          CIR_Z+_CENTER=FEAT/CONTACT/CIRCLE/ADAPTIVE_CIRCLE_SCAN,CARTESIAN,IN,LEAST_SQR
                      THEO/<0.009,0.002,0.017>,<0,0,1>,44.455
                      ACTL/<0.007,0.006,0.017>,<0,0,1>,44.477
                      TARG/<0.009,0.002,0.017>,<0,0,1>
                      START ANG=0,END ANG=360
                      ANGLE VEC=<1,0,0>
                      DIRECTION=CCW
                      SHOW FEATURE PARAMETERS=NO
                      SHOW CONTACT PARAMETERS=YES
                        NUMHITS=7,DEPTH=2,PITCH=0
                        SAMPLE METHOD=SAMPLE_HITS
                        SAMPLE HITS=0,SPACER=1
                        AVOIDANCE MOVE=NO,DISTANCE=10
                        FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
                      SHOW HITS=NO
                      MOVE/CLEARPLANE
          CIR_Z+_Y+  =FEAT/CONTACT/CIRCLE/ADAPTIVE_CIRCLE_SCAN,CARTESIAN,IN,LEAST_SQR
                      THEO/<0.004,101.603,0.491>,<0,0,1>,15.852
                      ACTL/<-0.006,101.607,0.491>,<0,0,1>,15.879
                      TARG/<0.004,101.603,0.491>,<0,0,1>
                      START ANG=0,END ANG=360
                      ANGLE VEC=<1,0,0>
                      DIRECTION=CCW
                      SHOW FEATURE PARAMETERS=NO
                      SHOW CONTACT PARAMETERS=YES
                        NUMHITS=7,DEPTH=2,PITCH=0
                        SAMPLE METHOD=SAMPLE_HITS
                        SAMPLE HITS=0,SPACER=0
                        AVOIDANCE MOVE=NO,DISTANCE=10
                        FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
                      SHOW HITS=NO
                      MOVE/CLEARPLANE
          CIR_Z+_X+  =FEAT/CONTACT/CIRCLE/ADAPTIVE_CIRCLE_SCAN,CARTESIAN,IN,LEAST_SQR
                      THEO/<101.613,0.014,0.485>,<0,0,1>,15.851
                      ACTL/<101.61,0.017,0.485>,<0,0,1>,15.878
                      TARG/<101.613,0.014,0.485>,<0,0,1>
                      START ANG=0,END ANG=360
                      ANGLE VEC=<1,0,0>
                      DIRECTION=CCW
                      SHOW FEATURE PARAMETERS=NO
                      SHOW CONTACT PARAMETERS=YES
                        NUMHITS=7,DEPTH=2,PITCH=0
                        SAMPLE METHOD=SAMPLE_HITS
                        SAMPLE HITS=0,SPACER=0
                        AVOIDANCE MOVE=NO,DISTANCE=10
                        FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
                      SHOW HITS=NO
                      MOVE/CLEARPLANE
          CIR_Z+_Y-  =FEAT/CONTACT/CIRCLE/ADAPTIVE_CIRCLE_SCAN,CARTESIAN,IN,LEAST_SQR
                      THEO/<0.023,-101.595,0.498>,<0,0,1>,15.863
                      ACTL/<0.019,-101.595,0.498>,<0,0,1>,15.882
                      TARG/<0.023,-101.595,0.498>,<0,0,1>
                      START ANG=0,END ANG=360
                      ANGLE VEC=<1,0,0>
                      DIRECTION=CCW
                      SHOW FEATURE PARAMETERS=NO
                      SHOW CONTACT PARAMETERS=YES
                        NUMHITS=7,DEPTH=5,PITCH=0
                        SAMPLE METHOD=SAMPLE_HITS
                        SAMPLE HITS=0,SPACER=0
                        AVOIDANCE MOVE=NO,DISTANCE=10
                        FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
                      SHOW HITS=NO
                      MOVE/CLEARPLANE
          CIR_Z+_X-  =FEAT/CONTACT/CIRCLE/ADAPTIVE_CIRCLE_SCAN,CARTESIAN,IN,LEAST_SQR
                      THEO/<-101.577,-0.004,0.513>,<0,0,1>,15.857
                      ACTL/<-101.584,-0.001,0.513>,<0,0,1>,15.878
                      TARG/<-101.577,-0.004,0.513>,<0,0,1>
                      START ANG=0,END ANG=360
                      ANGLE VEC=<1,0,0>
                      DIRECTION=CCW
                      SHOW FEATURE PARAMETERS=NO
                      SHOW CONTACT PARAMETERS=YES
                        NUMHITS=7,DEPTH=2,PITCH=0
                        SAMPLE METHOD=SAMPLE_HITS
                        SAMPLE HITS=0,SPACER=0
                        AVOIDANCE MOVE=NO,DISTANCE=10
                        FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
                      SHOW HITS=NO
                      MOVE/CLEARPLANE

          Comment


          • #6
            Code:
            dim loc11= location of circle cir_z+_center  units=mm ,$
            graph=off  text=off  mult=10.00  output=both  half angle=no
            ax    nominal       +tol       -tol       meas        dev     outtol
            x        0.009      0.044      0.044      0.007     -0.002      0.000 ----#----
            y        0.002      0.044      0.044      0.006      0.004      0.000 ----#----
            z        0.017      0.044      0.044      0.017      0.000      0.000 ----#----
            d       44.455      0.044      0.044     44.477      0.022      0.000 ------#--
            end of dimension loc11
            dim loc12= location of circle cir_z+_y+  units=mm ,$
            graph=off  text=off  mult=10.00  output=both  half angle=no
            ax    nominal       +tol       -tol       meas        dev     outtol
            x        0.004      0.044      0.044     -0.006     -0.010      0.000 ---#-----
            y      101.603      0.044      0.044    101.607      0.004      0.000 ----#----
            z        0.491      0.044      0.044      0.491      0.000      0.000 ----#----
            d       15.852      0.044      0.044     15.879      0.027      0.000 -------#-
            end of dimension loc12
            dim loc13= location of circle cir_z+_x+  units=mm ,$
            graph=off  text=off  mult=10.00  output=both  half angle=no
            ax    nominal       +tol       -tol       meas        dev     outtol
            x      101.613      0.044      0.044    101.610     -0.003      0.000 ----#----
            y        0.014      0.044      0.044      0.017      0.003      0.000 ----#----
            z        0.485      0.044      0.044      0.485      0.000      0.000 ----#----
            d       15.851      0.044      0.044     15.878      0.027      0.000 -------#-
            end of dimension loc13
            dim loc14= location of circle cir_z+_y-  units=mm ,$
            graph=off  text=off  mult=10.00  output=both  half angle=no
            ax    nominal       +tol       -tol       meas        dev     outtol
            x        0.023      0.044      0.044      0.019     -0.004      0.000 ----#----
            y     -101.595      0.044      0.044   -101.595      0.000      0.000 ----#----
            z        0.498      0.044      0.044      0.498      0.000      0.000 ----#----
            d       15.863      0.044      0.044     15.882      0.019      0.000 ------#--
            end of dimension loc14
            dim loc15= location of circle cir_z+_x-  units=mm ,$
            graph=off  text=off  mult=10.00  output=both  half angle=no
            ax    nominal       +tol       -tol       meas        dev     outtol
            x     -101.577      0.044      0.044   -101.584     -0.007      0.000 ---#-----
            y       -0.004      0.044      0.044     -0.001      0.003      0.000 ----#----
            z        0.513      0.044      0.044      0.513      0.000      0.000 ----#----
            d       15.857      0.044      0.044     15.878      0.021      0.000 ------#--
            end of dimension loc15
                        routine/end
                        subroutine/x_plus_face,
                             =
            cir_x+_center=feat/contact/circle/adaptive_circle_scan,cartesian,in,least_sqr
                        theo/<149.516,-0.008,-154.242>,<1,0,0>,44.455
                        actl/<149.516,-0.008,-154.242>,<1,0,0>,44.455
                        targ/<149.516,-0.008,-154.242>,<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=7,depth=2,pitch=0
                          sample method=sample_hits
                          sample hits=3,spacer=4.5
                          avoidance move=no,distance=10
                          find hole=disabled,onerror=no,read pos=no
                        show hits=no
                        move/clearplane
                        fastprobemode/on
            cir_x+_z+  =feat/contact/circle/adaptive_circle_scan,cartesian,in,least_sqr
                        theo/<150.04,0.006,-52.636>,<1,0,0>,15.858
                        actl/<150.04,0.006,-52.636>,<1,0,0>,15.858
                        targ/<150.04,0.006,-52.636>,<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=7,depth=2,pitch=0
                          sample method=sample_hits
                          sample hits=3,spacer=2
                          avoidance move=no,distance=10
                          find hole=disabled,onerror=no,read pos=no
                        show hits=no
                        move/clearplane
            cir_x+_y+  =feat/contact/circle/adaptive_circle_scan,cartesian,in,least_sqr
                        theo/<150.035,101.593,-154.234>,<1,0,0>,15.852
                        actl/<150.035,101.593,-154.234>,<1,0,0>,15.852
                        targ/<150.035,101.593,-154.234>,<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=7,depth=2,pitch=0
                          sample method=sample_hits
                          sample hits=0,spacer=0
                          avoidance move=no,distance=10
                          find hole=disabled,onerror=no,read pos=no
                        show hits=no
                        move/clearplane
            cir_x+_z-  =feat/contact/circle/adaptive_circle_scan,cartesian,in,least_sqr
                        theo/<150.011,-0.007,-255.829>,<1,0,0>,15.845
                        actl/<150.011,-0.007,-255.829>,<1,0,0>,15.845
                        targ/<150.011,-0.007,-255.829>,<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=7,depth=2,pitch=0
                          sample method=sample_hits
                          sample hits=0,spacer=0
                          avoidance move=no,distance=10
                          find hole=disabled,onerror=no,read pos=no
                        show hits=no
                        move/clearplane
            cir_x+_y-  =feat/contact/circle/adaptive_circle_scan,cartesian,in,least_sqr
                        theo/<150.029,-101.602,-154.244>,<1,0,0>,15.858
                        actl/<150.029,-101.602,-154.244>,<1,0,0>,15.858
                        targ/<150.029,-101.602,-154.244>,<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=7,depth=2,pitch=0
                          sample method=sample_hits
                          sample hits=0,spacer=0
                          avoidance move=no,distance=10
                          find hole=disabled,onerror=no,read pos=no
                        show hits=no
                        move/clearplane
            dim loc1= location of circle cir_x+_center  units=mm ,$
            graph=off  text=off  mult=10.00  output=both  half angle=no
            ax    nominal       +tol       -tol       meas        dev     outtol
            x      149.516      0.044      0.044    149.516      0.000      0.000 ----#----
            y       -0.008      0.044      0.044     -0.008      0.000      0.000 ----#----
            z     -154.242      0.044      0.044   -154.242      0.000      0.000 ----#----
            d       44.455      0.044      0.044     44.455      0.000      0.000 ----#----
            end of dimension loc1
            dim loc2= location of circle cir_x+_z+  units=mm ,$
            graph=off  text=off  mult=10.00  output=both  half angle=no
            ax    nominal       +tol       -tol       meas        dev     outtol
            x      150.040      0.044      0.044    150.040      0.000      0.000 ----#----
            y        0.006      0.044      0.044      0.006      0.000      0.000 ----#----
            z      -52.636      0.044      0.044    -52.636      0.000      0.000 ----#----
            d       15.858      0.044      0.044     15.858      0.000      0.000 ----#----
            end of dimension loc2
            dim loc3= location of circle cir_x+_y+  units=mm ,$
            graph=off  text=off  mult=10.00  output=both  half angle=no
            ax    nominal       +tol       -tol       meas        dev     outtol
            x      150.035      0.044      0.044    150.035      0.000      0.000 ----#----
            y      101.593      0.044      0.044    101.593      0.000      0.000 ----#----
            z     -154.234      0.044      0.044   -154.234      0.000      0.000 ----#----
            d       15.852      0.044      0.044     15.852      0.000      0.000 ----#----
            end of dimension loc3
            dim loc4= location of circle cir_x+_z-  units=mm ,$
            graph=off  text=off  mult=10.00  output=both  half angle=no
            ax    nominal       +tol       -tol       meas        dev     outtol
            x      150.011      0.044      0.044    150.011      0.000      0.000 ----#----
            y       -0.007      0.044      0.044     -0.007      0.000      0.000 ----#----
            z     -255.829      0.044      0.044   -255.829      0.000      0.000 ----#----
            d       15.845      0.044      0.044     15.845      0.000      0.000 ----#----
            end of dimension loc4
            dim loc5= location of circle cir_x+_y-  units=mm ,$
            graph=off  text=off  mult=10.00  output=both  half angle=no
            ax    nominal       +tol       -tol       meas        dev     outtol
            x      150.029      0.044      0.044    150.029      0.000      0.000 ----#----
            y     -101.602      0.044      0.044   -101.602      0.000      0.000 ----#----
            z     -154.244      0.044      0.044   -154.244      0.000      0.000 ----#----
            d       15.858      0.044      0.044     15.858      0.000      0.000 ----#----
            end of dimension loc5
                        routine/end
            Last edited by derrickcoyne; 07-24-2019, 03:41 PM.

            Comment


            • #7
              Code:
              subroutine/x_minus_face,
              =
              cir_x-_center=feat/contact/circle/adaptive_circle_scan,cartesian,in,least_sqr
              theo/<-149.514,-0.081,-154.223>,<-1,0,0>,44.454
              actl/<-149.514,-0.081,-154.223>,<-1,0,0>,44.454
              targ/<-149.514,-0.081,-154.223>,<-1,0,0>
              start ang=0,end ang=360
              angle vec=<1,0,0>
              direction=ccw
              show feature parameters=no
              show contact parameters=yes
              numhits=7,depth=2,pitch=0
              sample method=sample_hits
              sample hits=3,spacer=0
              avoidance move=both,distance=5
              find hole=disabled,onerror=no,read pos=no
              show hits=no
              move/clearplane
              cir_x-_z+ =feat/contact/circle/adaptive_circle_scan,cartesian,in,least_sqr
              theo/<-149.929,-0.085,-52.62>,<-1,0,0>,15.86
              actl/<-149.929,-0.085,-52.62>,<-1,0,0>,15.86
              targ/<-149.929,-0.085,-52.62>,<-1,0,0>
              start ang=0,end ang=360
              angle vec=<1,0,0>
              direction=ccw
              show feature parameters=no
              show contact parameters=yes
              numhits=7,depth=2,pitch=0
              sample method=sample_hits
              sample hits=3,spacer=0
              avoidance move=both,distance=5
              find hole=disabled,onerror=no,read pos=no
              show hits=no
              move/clearplane
              cir_x-_y- =feat/contact/circle/adaptive_circle_scan,cartesian,in,least_sqr
              theo/<-149.922,-101.683,-154.217>,<-1,0,0>,15.865
              actl/<-149.922,-101.683,-154.217>,<-1,0,0>,15.865
              targ/<-149.922,-101.683,-154.217>,<-1,0,0>
              start ang=0,end ang=360
              angle vec=<1,0,0>
              direction=ccw
              show feature parameters=no
              show contact parameters=yes
              numhits=7,depth=2,pitch=0
              sample method=sample_hits
              sample hits=3,spacer=0
              avoidance move=both,distance=5
              find hole=disabled,onerror=no,read pos=no
              show hits=no
              move/clearplane
              cir_x-_z- =feat/contact/circle/adaptive_circle_scan,cartesian,in,least_sqr
              theo/<-150.207,-0.085,-255.821>,<-1,0,0>,15.868
              actl/<-150.207,-0.085,-255.821>,<-1,0,0>,15.868
              targ/<-150.207,-0.085,-255.821>,<-1,0,0>
              start ang=0,end ang=360
              angle vec=<1,0,0>
              direction=ccw
              show feature parameters=no
              show contact parameters=yes
              numhits=7,depth=2,pitch=0
              sample method=sample_hits
              sample hits=3,spacer=0
              avoidance move=both,distance=5
              find hole=disabled,onerror=no,read pos=no
              show hits=no
              move/clearplane
              cir_x-_y+ =feat/contact/circle/adaptive_circle_scan,cartesian,in,least_sqr
              theo/<-149.944,101.512,-154.222>,<-1,0,0>,15.865
              actl/<-149.944,101.512,-154.222>,<-1,0,0>,15.865
              targ/<-149.944,101.512,-154.222>,<-1,0,0>
              start ang=0,end ang=360
              angle vec=<1,0,0>
              direction=ccw
              show feature parameters=no
              show contact parameters=yes
              numhits=7,depth=2,pitch=0
              sample method=sample_hits
              sample hits=3,spacer=0
              avoidance move=both,distance=5
              find hole=disabled,onerror=no,read pos=no
              show hits=no
              move/clearplane
              dim loc6= location of circle cir_x-_center units=mm ,$
              graph=off text=off mult=10.00 output=both half angle=no
              ax nominal +tol -tol meas dev outtol
              x -149.514 0.044 0.044 -149.514 0.000 0.000 ----#----
              y -0.081 0.044 0.044 -0.081 0.000 0.000 ----#----
              z -154.223 0.044 0.044 -154.223 0.000 0.000 ----#----
              d 44.454 0.044 0.044 44.454 0.000 0.000 ----#----
              end of dimension loc6
              dim loc7= location of circle cir_x-_z+ units=mm ,$
              graph=off text=off mult=10.00 output=both half angle=no
              ax nominal +tol -tol meas dev outtol
              x -149.929 0.044 0.044 -149.929 0.000 0.000 ----#----
              y -0.085 0.044 0.044 -0.085 0.000 0.000 ----#----
              z -52.620 0.044 0.044 -52.620 0.000 0.000 ----#----
              d 15.860 0.044 0.044 15.860 0.000 0.000 ----#----
              end of dimension loc7
              dim loc8= location of circle cir_x-_y- units=mm ,$
              graph=off text=off mult=10.00 output=both half angle=no
              ax nominal +tol -tol meas dev outtol
              x -149.922 0.044 0.044 -149.922 0.000 0.000 ----#----
              y -101.683 0.044 0.044 -101.683 0.000 0.000 ----#----
              z -154.217 0.044 0.044 -154.217 0.000 0.000 ----#----
              d 15.865 0.044 0.044 15.865 0.000 0.000 ----#----
              end of dimension loc8
              dim loc9= location of circle cir_x-_z- units=mm ,$
              graph=off text=off mult=10.00 output=both half angle=no
              ax nominal +tol -tol meas dev outtol
              x -150.207 0.044 0.044 -150.207 0.000 0.000 ----#----
              y -0.085 0.044 0.044 -0.085 0.000 0.000 ----#----
              z -255.821 0.044 0.044 -255.821 0.000 0.000 ----#----
              d 15.868 0.044 0.044 15.868 0.000 0.000 ----#----
              end of dimension loc9
              dim loc10= location of circle cir_x-_y+ units=mm ,$
              graph=off text=off mult=10.00 output=both half angle=no
              ax nominal +tol -tol meas dev outtol
              x -149.944 0.044 0.044 -149.944 0.000 0.000 ----#----
              y 101.512 0.044 0.044 101.512 0.000 0.000 ----#----
              z -154.222 0.044 0.044 -154.222 0.000 0.000 ----#----
              d 15.865 0.044 0.044 15.865 0.000 0.000 ----#----
              end of dimension loc10
              routine/end

              Comment


              • #8
                Code:
                            subroutine/y_plus_face,
                                 = 
                cir_y+_center=feat/contact/circle/default,cartesian,in,least_sqr
                            theo/<-0.032,149.457,-154.252>,<0,1,0>,44.459
                            actl/<-0.032,149.457,-154.252>,<0,1,0>,44.459
                            targ/<-0.032,149.457,-154.252>,<0,1,0>
                            start ang=0,end ang=360
                            angle vec=<-1,0,0>
                            direction=ccw
                            show feature parameters=no
                            show contact parameters=yes
                              numhits=7,depth=2,pitch=0
                              sample method=sample_hits
                              sample hits=0,spacer=1
                              avoidance move=no,distance=10
                              find hole=disabled,onerror=no,read pos=no
                            show hits=no
                            move/clearplane
                cir_y+_z+  =feat/contact/circle/default,cartesian,in,least_sqr
                            theo/<-0.029,150.028,-52.656>,<0,1,0>,15.852
                            actl/<-0.029,150.028,-52.656>,<0,1,0>,15.852
                            targ/<-0.029,150.028,-52.656>,<0,1,0>
                            start ang=0,end ang=360
                            angle vec=<-1,0,0>
                            direction=ccw
                            show feature parameters=no
                            show contact parameters=yes
                              numhits=7,depth=2,pitch=0
                              sample method=sample_hits
                              sample hits=0,spacer=1
                              avoidance move=no,distance=10
                              find hole=disabled,onerror=no,read pos=no
                            show hits=no
                            move/clearplane
                cir_y+_x-  =feat/contact/circle/default,cartesian,in,least_sqr
                            theo/<-101.628,150.009,-154.24>,<0,1,0>,15.843
                            actl/<-101.628,150.009,-154.24>,<0,1,0>,15.843
                            targ/<-101.628,150.009,-154.24>,<0,1,0>
                            start ang=0,end ang=360
                            angle vec=<-1,0,0>
                            direction=ccw
                            show feature parameters=no
                            show contact parameters=yes
                              numhits=7,depth=2,pitch=0
                              sample method=sample_hits
                              sample hits=0,spacer=1
                              avoidance move=no,distance=10
                              find hole=disabled,onerror=no,read pos=no
                            show hits=no
                            move/clearplane
                cir_y+_z-  =feat/contact/circle/default,cartesian,in,least_sqr
                            theo/<-0.032,15.02,-255.837>,<0,1,0>,15.849
                            actl/<-0.032,15.02,-255.837>,<0,1,0>,15.849
                            targ/<-0.032,15.02,-255.837>,<0,1,0>
                            start ang=0,end ang=360
                            angle vec=<-1,0,0>
                            direction=ccw
                            show feature parameters=no
                            show contact parameters=yes
                              numhits=7,depth=2,pitch=0
                              sample method=sample_hits
                              sample hits=0,spacer=1
                              avoidance move=no,distance=10
                              find hole=disabled,onerror=no,read pos=no
                            show hits=no
                            move/clearplane
                cir_y+_x+  =feat/contact/circle/default,cartesian,in,least_sqr
                            theo/<101.565,150.016,-154.246>,<0,1,0>,15.852
                            actl/<101.565,150.016,-154.246>,<0,1,0>,15.852
                            targ/<101.565,150.016,-154.246>,<0,1,0>
                            start ang=0,end ang=360
                            angle vec=<-1,0,0>
                            direction=ccw
                            show feature parameters=no
                            show contact parameters=yes
                              numhits=7,depth=2,pitch=0
                              sample method=sample_hits
                              sample hits=0,spacer=1
                              avoidance move=no,distance=10
                              find hole=disabled,onerror=no,read pos=no
                            show hits=no
                            move/clearplane
                dim loc16= location of circle cir_y+_center  units=mm ,$
                graph=off  text=off  mult=10.00  output=both  half angle=no
                ax    nominal       +tol       -tol       meas        dev     outtol
                x       -0.032      0.044      0.044     -0.032      0.000      0.000 ----#----
                y      149.457      0.044      0.044    149.457      0.000      0.000 ----#----
                z     -154.252      0.044      0.044   -154.252      0.000      0.000 ----#----
                d       44.459      0.044      0.044     44.459      0.000      0.000 ----#----
                end of dimension loc16
                dim loc17= location of circle cir_y+_z+  units=mm ,$
                graph=off  text=off  mult=10.00  output=both  half angle=no
                ax    nominal       +tol       -tol       meas        dev     outtol
                x       -0.029      0.044      0.044     -0.029      0.000      0.000 ----#----
                y      150.028      0.044      0.044    150.028      0.000      0.000 ----#----
                z      -52.656      0.044      0.044    -52.656      0.000      0.000 ----#----
                d       15.852      0.044      0.044     15.852      0.000      0.000 ----#----
                end of dimension loc17
                dim loc18= location of circle cir_y+_x-  units=mm ,$
                graph=off  text=off  mult=10.00  output=both  half angle=no
                ax    nominal       +tol       -tol       meas        dev     outtol
                x     -101.628      0.044      0.044   -101.628      0.000      0.000 ----#----
                y      150.009      0.044      0.044    150.009      0.000      0.000 ----#----
                z     -154.240      0.044      0.044   -154.240      0.000      0.000 ----#----
                d       15.843      0.044      0.044     15.843      0.000      0.000 ----#----
                end of dimension loc18
                dim loc19= location of circle cir_y+_z-  units=mm ,$
                graph=off  text=off  mult=10.00  output=both  half angle=no
                ax    nominal       +tol       -tol       meas        dev     outtol
                x       -0.032      0.044      0.044     -0.032      0.000      0.000 ----#----
                y       15.020      0.044      0.044     15.020      0.000      0.000 ----#----
                z     -255.837      0.044      0.044   -255.837      0.000      0.000 ----#----
                d       15.849      0.044      0.044     15.849      0.000      0.000 ----#----
                end of dimension loc19
                dim loc20= location of circle cir_y+_x+  units=mm ,$
                graph=off  text=off  mult=10.00  output=both  half angle=no
                ax    nominal       +tol       -tol       meas        dev     outtol
                x      101.565      0.044      0.044    101.565      0.000      0.000 ----#----
                y      150.016      0.044      0.044    150.016      0.000      0.000 ----#----
                z     -154.246      0.044      0.044   -154.246      0.000      0.000 ----#----
                d       15.852      0.044      0.044     15.852      0.000      0.000 ----#----
                end of dimension loc20
                            endsub/
                            subroutine/y_minus_face,
                                 = 
                cir_y-_center=feat/contact/circle/default,cartesian,in,least_sqr
                            theo/<0.027,-149.565,-154.238>,<0,1,0>,44.453
                            actl/<0.027,-149.565,-154.238>,<0,1,0>,44.453
                            targ/<0.027,-149.565,-154.238>,<0,1,0>
                            start ang=0,end ang=360
                            angle vec=<-1,0,0>
                            direction=ccw
                            show feature parameters=no
                            show contact parameters=yes
                              numhits=7,depth=2,pitch=0
                              sample method=sample_hits
                              sample hits=0,spacer=1
                              avoidance move=no,distance=10
                              find hole=disabled,onerror=no,read pos=no
                            show hits=no
                            move/clearplane
                cir_y-_z+  =feat/contact/circle/default,cartesian,in,least_sqr
                            theo/<0.027,-149.983,-52.623>,<0,1,0>,15.846
                            actl/<0.027,-149.983,-52.623>,<0,1,0>,15.846
                            targ/<0.027,-149.983,-52.623>,<0,1,0>
                            start ang=0,end ang=360
                            angle vec=<-1,0,0>
                            direction=ccw
                            show feature parameters=no
                            show contact parameters=yes
                              numhits=3,depth=-2,pitch=0
                              sample method=sample_hits
                              sample hits=0,spacer=1
                              avoidance move=no,distance=10
                              find hole=disabled,onerror=no,read pos=no
                            show hits=no
                            move/clearplane
                cir_y-_x+  =feat/contact/circle/default,cartesian,in,least_sqr
                            theo/<101.63,-150.005,-154.228>,<0,1,0>,15.854
                            actl/<101.63,-150.005,-154.228>,<0,1,0>,15.854
                            targ/<101.63,-150.005,-154.228>,<0,1,0>
                            start ang=0,end ang=360
                            angle vec=<-1,0,0>
                            direction=ccw
                            show feature parameters=no
                            show contact parameters=yes
                              numhits=3,depth=-2,pitch=0
                              sample method=sample_hits
                              sample hits=0,spacer=1
                              avoidance move=no,distance=10
                              find hole=disabled,onerror=no,read pos=no
                            show hits=no
                            move/clearplane
                cir_y-_z-  =feat/contact/circle/default,cartesian,in,least_sqr
                            theo/<0.028,-150.004,-255.835>,<0,1,0>,15.847
                            actl/<0.028,-150.004,-255.835>,<0,1,0>,15.847
                            targ/<0.028,-150.004,-255.835>,<0,1,0>
                            start ang=0,end ang=360
                            angle vec=<-1,0,0>
                            direction=ccw
                            show feature parameters=no
                            show contact parameters=yes
                              numhits=3,depth=-2,pitch=0
                              sample method=sample_hits
                              sample hits=0,spacer=1
                              avoidance move=no,distance=10
                              find hole=disabled,onerror=no,read pos=no
                            show hits=no
                            move/clearplane
                cir_y-_x-  =feat/contact/circle/default,cartesian,in,least_sqr
                            theo/<-101.563,150.009,-154.235>,<0,1,0>,15.853
                            actl/<-101.563,150.009,-154.235>,<0,1,0>,15.853
                            targ/<-101.563,150.009,-154.235>,<0,1,0>
                            start ang=0,end ang=360
                            angle vec=<-1,0,0>
                            direction=ccw
                            show feature parameters=no
                            show contact parameters=yes
                              numhits=3,depth=-2,pitch=0
                              sample method=sample_hits
                              sample hits=0,spacer=1
                              avoidance move=no,distance=10
                              find hole=disabled,onerror=no,read pos=no
                            show hits=no

                Comment


                • #9
                  Code:
                  dim loc26= location of circle cir_y-_center  units=mm ,$
                  graph=off  text=off  mult=10.00  output=both  half angle=no
                  ax    nominal       +tol       -tol       meas        dev     outtol
                  x        0.027      0.044      0.044      0.027      0.000      0.000 ----#----
                  y     -149.565      0.044      0.044   -149.565      0.000      0.000 ----#----
                  z     -154.238      0.044      0.044   -154.238      0.000      0.000 ----#----
                  d       44.453      0.044      0.044     44.453      0.000      0.000 ----#----
                  end of dimension loc26
                  dim loc27= location of circle cir_y-_z+  units=mm ,$
                  graph=off  text=off  mult=10.00  output=both  half angle=no
                  ax    nominal       +tol       -tol       meas        dev     outtol
                  x        0.027      0.044      0.044      0.027      0.000      0.000 ----#----
                  y     -149.983      0.044      0.044   -149.983      0.000      0.000 ----#----
                  z      -52.623      0.044      0.044    -52.623      0.000      0.000 ----#----
                  d       15.846      0.044      0.044     15.846      0.000      0.000 ----#----
                  end of dimension loc27
                  dim loc28= location of circle cir_y-_x+  units=mm ,$
                  graph=off  text=off  mult=10.00  output=both  half angle=no
                  ax    nominal       +tol       -tol       meas        dev     outtol
                  x      101.630      0.044      0.044    101.630      0.000      0.000 ----#----
                  y     -150.005      0.044      0.044   -150.005      0.000      0.000 ----#----
                  z     -154.228      0.044      0.044   -154.228      0.000      0.000 ----#----
                  d       15.854      0.044      0.044     15.854      0.000      0.000 ----#----
                  end of dimension loc28
                  dim loc29= location of circle cir_y-_z-  units=mm ,$
                  graph=off  text=off  mult=10.00  output=both  half angle=no
                  ax    nominal       +tol       -tol       meas        dev     outtol
                  x        0.028      0.044      0.044      0.028      0.000      0.000 ----#----
                  y     -150.004      0.044      0.044   -150.004      0.000      0.000 ----#----
                  z     -255.835      0.044      0.044   -255.835      0.000      0.000 ----#----
                  d       15.847      0.044      0.044     15.847      0.000      0.000 ----#----
                  end of dimension loc29
                  dim loc30= location of circle cir_y-_x-  units=mm ,$
                  graph=off  text=off  mult=10.00  output=both  half angle=no
                  ax    nominal       +tol       -tol       meas        dev     outtol
                  x     -101.563      0.044      0.044   -101.563      0.000      0.000 ----#----
                  y      150.009      0.044      0.044    150.009      0.000      0.000 ----#----
                  z     -154.235      0.044      0.044   -154.235      0.000      0.000 ----#----
                  d       15.853      0.044      0.044     15.853      0.000      0.000 ----#----
                  end of dimension loc30
                              routine/end
                  end        =label/

                  Comment


                  • #10
                    From first glance this sounds like a calibration issue.

                    When you calibrate your probes, do you use a master probe? As in when you qualify your "master probe" do you say "Yes sphere has moved", then all other probes should be answered no.

                    I'll look through your code when I have a minute to see if there's anything else I can spot

                    Comment


                    • derrickcoyne
                      derrickcoyne commented
                      Editing a comment
                      Yes, there is only 1 master probe for this machine, it is not used for anything other than the calibration routine,and our sphere is not stationary so master probe is always "yes, take manual hit" and others are no, the machine was calibrated on Sunday

                  • #11
                    First and foremost, you may be surprised to know that using special characters creates very odd corruptions and strange intermittent bad behaviors, ranging from miscalculated results to horrible crashes.

                    You see, the name CIR_Z+_CENTER is actually a command to PC-DMIS to find the current value of a variable named CIRZ and add it to the current value of another variable named _CENTER, and use that result as the ID for that feature. Similarily, the name cir_y-_z- is an incomplete math equation.

                    The plus sign is reserved for math or string concatenation operations, you should never use it in an ID.
                    Minus sign is only for subtraction, star is only for multiplication, / for division, \ for filepaths, [ ,{.},] are only for arrays, : only for subroutine arguments, etc, etc. Use letters and numbers and underscores instead.

                    I strongly advise you to change those symbols to the harmless text strings PLUS or MINUS, then re-test.

                    Secondly, notice how all the bad behavior happens after the iterative alignment. 90% of the time just making it through the iterative means it didn't fail, but in this case I would definitely correct the special characters and then delete and recreate from scratch a brand-new Iterative.

                    Comment


                    • louisd
                      louisd commented
                      Editing a comment
                      there's a find/replace tool you can use to do it in bulk, fyi... Edit -> Find and Replace -> Replace...

                    • derrickcoyne
                      derrickcoyne commented
                      Editing a comment
                      I did know better, the program from the gage shop / accredited lab that made the par used them so I continued the naming convention against my better judgment. I can certainly try this and see if it solves the problem.

                  • #12
                    Originally posted by derrickcoyne View Post
                    I did know better, the program from the gage shop / accredited lab that made the par used them so I continued the naming convention against my better judgment. I can certainly try this and see if it solves the problem.

                    Ha ha, that's hilarious.

                    Also... I would hope the programmerz at the "accredited lab" would know at least that any Fixture Tolerance is completely wrong thing to put in an Iterative 3-spheres alignment.
                    And a 5mm sloppiness allowed... WTF? Are the spheres hand-carved and glued in place with chewing gum?


                    Code:
                    DCC_3SPHERE_ITERATIVE=ALIGNMENT/START,RECALL:SPHERE_READ_POINT,LIST=YES
                                  ALIGNMENT/ITERATE
                    PNT TARGET RAD=5,START LABEL=,FIXTURE TOL=0.01,ERROR LABEL=
                                    MEAS ALL FEAT=ALWAYS,MAX ITERATIONS=3,LEVEL AXIS=ZAXIS,ROTATE AXIS=XAXIS,ORIGIN AXIS=YAXIS
                                  LEVEL=SPH_PLANE,SPH_ALIGN,SPH_ORIGIN,,
                                  ROTATE=SPH_ALIGN,SPH_ORIGIN,,
                                  ORIGIN=SPH_ORIGIN,,
                                ALIGNMENT/END

                    Comment


                    • derrickcoyne
                      derrickcoyne commented
                      Editing a comment
                      I'll bite...Why is this wrong? lol. Part of the slop is because the first round of programming did a manual alignment to the spheres first, but I changed it to a single point to simplify for the operators. For fixture tolerance here should there be NO allowed deviation?

                  • #13
                    Fixture tolerance is only for when more than the minimum # of features/hits for a rotational-degree-of-freedom-controlling datum is used.

                    Picture a classic 3-2-1 alignment, then picture constructing a physical datum-simulator fixture to replicate it: there will be 3 single-point contacts for the primary face. 3 points, the minimum for a plane or a team of points to control what PC-DMIS calls "leveling". When the part sits on those 3 it will be perfectly stable, no wobble.

                    Now picture a revision change where some genius designer added a 4th datum point to the primary, so you have the gagebuilder add a 4th contact point for that face. Now no matter how damm good that gagebuilder is there will always be some miniscule amount of wobble as the part's face will only contact the 3 highest points of the 4. This slop is called Fixture Tolerance.

                    I'm looking at your code and seeing 3 DCC sphere features and then an Iterative alignment using them. The PNT TARGET RAD of 5mm means the alignment is completed if the measured centerpoints are within all their 2D Ø5mm zones around nominal. 3 zones will be flat to the level axis, 2 more zones will be flat to the rotate axis, and one final zone will be flat to the Origin axis. Next, the Fixture Tolerance allows another 10 microns for each one in the directions perpendicular to those little flat circular zones... I bet this never iterates more than once, eh?

                    In real life, if these tooling balls have been placed with even rudimentary gage building skillz they will probably be within 100 microns, or .004ish", of nominal. the PNT TARGET RAD should reflect that, and the Fixture Tol field should be a big fat zero.

                    Comment


                    • #14
                      Never ever start a variable name with an underscore (especially a double underscore)! They are commonly reserved names in industrial controllers, PLCs, microcontrollers, etc.. You'll pay a nice price or lesson learned...sometimes right away other times after it's been running for a few production runs.
                      PcDmis 2015.1 SP10 CAD++
                      Global 7-10-7 DC800S

                      Comment


                      • #15
                        Update for those playing along at home. I started from scratch, imported the CAD, did the transforms, and retyped the program, no copy/paste of anything, using correct naming convention (CIR_ZPLUS_YMINUS style). Identical results. As soon as the probe moves away from a0b0, the physical location that it drives to for 0,0,0 changes, and that's that. I really can't see any flaws in my coding. Once the iterative alignment is done, that's the last alignment for the rest of the program. really not understanding how this can even happen. Zero is zero is zero. UGH

                        Comment

                        Related Topics

                        Collapse

                        Working...
                        X