hexagon logo

Program not running correct after manual alignment

I made a simple program in the offline mode with the model on the CMM. After I do the manual alignment (plane-circle-circle) it seems to measure everything with an offset. In DCC mode it measures the plane a few hundred thousandths off and crashes on the side of the first circle as if the circle is too small. I've verified the vectors are correct on the model and on the alignment features (and they are aligned in the correct order). The main hole is over 2" and I changed the hole diameter to .375 in the program and it still wants to crash. I've tried CAD=part, I've moved the manual alignment around, and few other tricks but it just doesn't want to run. The path lines look good and simulates perfect. This is the 3rd time on this machine this has happened. I've never seen this problem before. This machine is really ticking me off! It's a 6month old Hexagon global performance running PCdmis 2015.0 Any help would be greatly appreciated.
Parents
  • loadprobe/pe50_2x50
     workplane/yminus
     tip/t1a90b180, shankijk=0, -1, 0, angle=180
     pln1 =feat/plane,cartesian,triangle
     theo/<3.1812,0.2344,3.1498>,<0,-1,0>
     actl/<3.1812,0.2344,3.1498>,<0,-1,0>
     meas/plane,4
     hit/basic,normal,<3.3591,0.2344,5.2324>,<0,-1,0>,<3.3591,0.2344,5.2324>,use theo=yes
     hit/basic,normal,<3.0694,0.2344,1.1331>,<0,-1,0>,<3.0694,0.2344,1.1331>,use theo=yes
     hit/basic,normal,<5.2231,0.2344,3.0655>,<0,-1,0>,<5.2231,0.2344,3.0655>,use theo=yes
     hit/basic,normal,<1.0732,0.2344,3.1681>,<0,-1,0>,<1.0732,0.2344,3.1681>,use theo=yes
     endmeas/
     cir1 =feat/contact/circle/default,cartesian,in,least_sqr
     theo/<3.245,0.2344,3.2328>,<0,-1,0>,2.04
     actl/<3.245,0.2344,3.2328>,<0,-1,0>,2.04
     targ/<3.245,0.2344,3.2328>,<0,-1,0>
     start ang=0,end ang=360
     angle vec=<1,-0.0000029,0>
     direction=ccw
     show feature parameters=no
     show contact parameters=yes
     numhits=4,depth=0.08,pitch=0
     sample method=sample_hits
     sample hits=0,spacer=0
     avoidance move=both,distance=0.2
     find hole=disabled,onerror=no,read pos=no
     show hits=no
     cir2 =feat/contact/circle/default,cartesian,in,least_sqr
     theo/<2.0439,0.3566,9.3752>,<0,-1,0>,0.5645
     actl/<2.0439,0.3566,9.3752>,<0,-1,0>,0.5645
     targ/<2.0439,0.3566,9.3752>,<0,-1,0>
     start ang=0,end ang=360
     angle vec=<0.9998767,0.015706,0>
     direction=ccw
     show feature parameters=no
     show contact parameters=yes
     numhits=4,depth=0.08,pitch=0
     sample method=sample_hits
     sample hits=0,spacer=0
     avoidance move=both,distance=0.2
     find hole=disabled,onerror=no,read pos=no
     show hits=no
     lin1 =feat/line,cartesian,unbounded,no
     theo/<3.245,0.2344,3.2328>,<-0.1918632,0.0195164,0.9812276>
     actl/<3.245,0.2344,3.2328>,<-0.1918632,0.0195164,0.9812276>
     constr/line,bf,3d,cir1,cir2,,
     outlier_removal/off,3
     filter/off,wavelength=0
     a1 =alignment/start,recall:startup,list=yes
     alignment/level,yminus,pln1
     alignment/trans,yaxis,pln1
     alignment/rotate,zplus,to,lin1,about,yminus
     alignment/trans,xaxis,lin1
     alignment/trans,zaxis,cir1
     alignment/end
     -a- =feat/plane,cartesian,triangle
     theo/<-0.0344,0,-0.0282>,<0,-1,0>
     actl/<-0.0344,0,-0.0282>,<0,-1,0>
     meas/plane,4
     hit/basic,normal,<0.296,0,2.3185>,<0,-1,0>,<0.296,0,2.3185>,use theo=yes
     hit/basic,normal,<2.2254,0,-0.3419>,<0,-1,0>,<2.2254,0,-0.3419>,use theo=yes
     hit/basic,normal,<-0.2525,0,-2.4656>,<0,-1,0>,<-0.2525,0,-2.4656>,use theo=yes
     hit/basic,normal,<-2.4066,0,0.3762>,<0,-1,0>,<-2.4066,0,0.3762>,use theo=yes
     endmeas/
     a2 =alignment/start,recall:a1,list=yes
     alignment/level,yminus,-a-
     alignment/trans,yaxis,-a-
     alignment/end
     -b- =feat/contact/circle/default,cartesian,in,least_sqr
     theo/<0,0,0>,<0,-1,0>,2.04
     actl/<0,0,0>,<0,-1,0>,2.04
     targ/<0,0,0>,<0,-1,0>
     start ang=0,end ang=360
     angle vec=<0.9814145,0.0000015,-0.1918997>
     direction=ccw
     show feature parameters=no
     show contact parameters=yes
     numhits=4,depth=0.08,pitch=0
     sample method=sample_hits
     sample hits=0,spacer=0
     avoidance move=both,distance=0.2
     find hole=disabled,onerror=no,read pos=no
     show hits=no
     -c- =feat/contact/circle/default,cartesian,in,least_sqr
     theo/<0,0.1222,6.2587>,<0,-1,0>,0.5645
     actl/<0,0.1222,6.2587>,<0,-1,0>,0.5645
     targ/<0,0.1222,6.2587>,<0,-1,0>
     start ang=0,end ang=360
     angle vec=<0.9812935,0.0157057,-0.191876>
     direction=ccw
     show feature parameters=no
     show contact parameters=yes
     numhits=4,depth=0.08,pitch=0
     sample method=sample_hits
     sample hits=0,spacer=0
     avoidance move=both,distance=0.2
     find hole=disabled,onerror=no,read pos=no
     show hits=no
     lin2 =feat/line,cartesian,unbounded,no
     theo/<0,0,0>,<0.0000001,0.0195163,0.9998095>
     actl/<0,0,0>,<0.0000001,0.0195163,0.9998095>
     constr/line,bf,3d,-b-,-c-,,
     outlier_removal/off,3
     filter/off,wavelength=0
     a3 =alignment/start,recall:a2,list=yes
     alignment/rotate,zplus,to,lin2,about,yminus
     alignment/trans,xaxis,-b-
     alignment/trans,zaxis,-b-
     alignment/end



    Is this in the middle of the program or at the start of the program?
Reply
  • loadprobe/pe50_2x50
     workplane/yminus
     tip/t1a90b180, shankijk=0, -1, 0, angle=180
     pln1 =feat/plane,cartesian,triangle
     theo/<3.1812,0.2344,3.1498>,<0,-1,0>
     actl/<3.1812,0.2344,3.1498>,<0,-1,0>
     meas/plane,4
     hit/basic,normal,<3.3591,0.2344,5.2324>,<0,-1,0>,<3.3591,0.2344,5.2324>,use theo=yes
     hit/basic,normal,<3.0694,0.2344,1.1331>,<0,-1,0>,<3.0694,0.2344,1.1331>,use theo=yes
     hit/basic,normal,<5.2231,0.2344,3.0655>,<0,-1,0>,<5.2231,0.2344,3.0655>,use theo=yes
     hit/basic,normal,<1.0732,0.2344,3.1681>,<0,-1,0>,<1.0732,0.2344,3.1681>,use theo=yes
     endmeas/
     cir1 =feat/contact/circle/default,cartesian,in,least_sqr
     theo/<3.245,0.2344,3.2328>,<0,-1,0>,2.04
     actl/<3.245,0.2344,3.2328>,<0,-1,0>,2.04
     targ/<3.245,0.2344,3.2328>,<0,-1,0>
     start ang=0,end ang=360
     angle vec=<1,-0.0000029,0>
     direction=ccw
     show feature parameters=no
     show contact parameters=yes
     numhits=4,depth=0.08,pitch=0
     sample method=sample_hits
     sample hits=0,spacer=0
     avoidance move=both,distance=0.2
     find hole=disabled,onerror=no,read pos=no
     show hits=no
     cir2 =feat/contact/circle/default,cartesian,in,least_sqr
     theo/<2.0439,0.3566,9.3752>,<0,-1,0>,0.5645
     actl/<2.0439,0.3566,9.3752>,<0,-1,0>,0.5645
     targ/<2.0439,0.3566,9.3752>,<0,-1,0>
     start ang=0,end ang=360
     angle vec=<0.9998767,0.015706,0>
     direction=ccw
     show feature parameters=no
     show contact parameters=yes
     numhits=4,depth=0.08,pitch=0
     sample method=sample_hits
     sample hits=0,spacer=0
     avoidance move=both,distance=0.2
     find hole=disabled,onerror=no,read pos=no
     show hits=no
     lin1 =feat/line,cartesian,unbounded,no
     theo/<3.245,0.2344,3.2328>,<-0.1918632,0.0195164,0.9812276>
     actl/<3.245,0.2344,3.2328>,<-0.1918632,0.0195164,0.9812276>
     constr/line,bf,3d,cir1,cir2,,
     outlier_removal/off,3
     filter/off,wavelength=0
     a1 =alignment/start,recall:startup,list=yes
     alignment/level,yminus,pln1
     alignment/trans,yaxis,pln1
     alignment/rotate,zplus,to,lin1,about,yminus
     alignment/trans,xaxis,lin1
     alignment/trans,zaxis,cir1
     alignment/end
     -a- =feat/plane,cartesian,triangle
     theo/<-0.0344,0,-0.0282>,<0,-1,0>
     actl/<-0.0344,0,-0.0282>,<0,-1,0>
     meas/plane,4
     hit/basic,normal,<0.296,0,2.3185>,<0,-1,0>,<0.296,0,2.3185>,use theo=yes
     hit/basic,normal,<2.2254,0,-0.3419>,<0,-1,0>,<2.2254,0,-0.3419>,use theo=yes
     hit/basic,normal,<-0.2525,0,-2.4656>,<0,-1,0>,<-0.2525,0,-2.4656>,use theo=yes
     hit/basic,normal,<-2.4066,0,0.3762>,<0,-1,0>,<-2.4066,0,0.3762>,use theo=yes
     endmeas/
     a2 =alignment/start,recall:a1,list=yes
     alignment/level,yminus,-a-
     alignment/trans,yaxis,-a-
     alignment/end
     -b- =feat/contact/circle/default,cartesian,in,least_sqr
     theo/<0,0,0>,<0,-1,0>,2.04
     actl/<0,0,0>,<0,-1,0>,2.04
     targ/<0,0,0>,<0,-1,0>
     start ang=0,end ang=360
     angle vec=<0.9814145,0.0000015,-0.1918997>
     direction=ccw
     show feature parameters=no
     show contact parameters=yes
     numhits=4,depth=0.08,pitch=0
     sample method=sample_hits
     sample hits=0,spacer=0
     avoidance move=both,distance=0.2
     find hole=disabled,onerror=no,read pos=no
     show hits=no
     -c- =feat/contact/circle/default,cartesian,in,least_sqr
     theo/<0,0.1222,6.2587>,<0,-1,0>,0.5645
     actl/<0,0.1222,6.2587>,<0,-1,0>,0.5645
     targ/<0,0.1222,6.2587>,<0,-1,0>
     start ang=0,end ang=360
     angle vec=<0.9812935,0.0157057,-0.191876>
     direction=ccw
     show feature parameters=no
     show contact parameters=yes
     numhits=4,depth=0.08,pitch=0
     sample method=sample_hits
     sample hits=0,spacer=0
     avoidance move=both,distance=0.2
     find hole=disabled,onerror=no,read pos=no
     show hits=no
     lin2 =feat/line,cartesian,unbounded,no
     theo/<0,0,0>,<0.0000001,0.0195163,0.9998095>
     actl/<0,0,0>,<0.0000001,0.0195163,0.9998095>
     constr/line,bf,3d,-b-,-c-,,
     outlier_removal/off,3
     filter/off,wavelength=0
     a3 =alignment/start,recall:a2,list=yes
     alignment/rotate,zplus,to,lin2,about,yminus
     alignment/trans,xaxis,-b-
     alignment/trans,zaxis,-b-
     alignment/end



    Is this in the middle of the program or at the start of the program?
Children
No Data