hexagon logo

Unknown Move Point Deviation

Let me preface that I'm very new to programming, as well as, operating the CMM. So something that might seem like a obvious solution to most of you is like finding a needle in a hay stack for me, haha. Thanks!

While writing a program for a part, I have run into an issue with the probes movement. You can see, in the image above, that there is a line moving out of frame to the cylinder highlighted. I have been taught to prevent unintentional contact leading to a system crash to add a move point as seen (or use clearance planes/cube). The move point line should move all the way to the probe (indicated by the arrow), but instead stops at the question mark then deviates downwards and along the x-axis the then back towards the cylinder. The path then collides with the structure (indicated by the yellow X) and we cant be having that. My question is why? Why is it just randomly pivoting like this?

  • I see, ill go ahead and rewrite that section. In regards to showing the drawing, I can't share that information, unfortunately. I appreciate all the time and help you have given me!

  • I recreated this in a blank program, and my pathline looks correct.... not sure why yours has the extra move in there if there's no code for that. I will say though I have seen some issues with PC-DMIS displaying incorrect pathlines while online, and program already has measured values. but I'm not sure if thats the case here for you. Here's what the path looks like for me.

    and this is the code, for you to double check:

    CIR14      =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
                THEO/<25.2358,0.8864,0.113>,<0,0,1>,0.4755
                ACTL/<25.2358,0.8864,0.113>,<0,0,1>,0.4755
                TARG/<25.2358,0.8864,0.113>,<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=5,DEPTH=0.03,PITCH=0
                  SAMPLE METHOD=SAMPLE_HITS
                  SAMPLE HITS=0,SPACER=0.1
                  AVOIDANCE MOVE=BOTH,DISTANCE BEFORE=0.1,DISTANCE AFTER=0.1,DIRECTION=ALONG FEATURE VECTOR
                  FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
                SHOW HITS=NO
                MOVE/POINT,NORMAL,<25.2358,0.8864,0.2425>
                TIP/T1A75B180, SHANKIJK=0.904, 0.0958, 0.41666, ANGLE=-111.04988
                MOVE/POINT,NORMAL,<0.4001,-0.5,2>
    CIR11      =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
                THEO/<0.401,0,0.66>,<0,-1,0>,0.5
                ACTL/<0.401,0,0.66>,<0,-1,0>,0.5
                TARG/<0.401,0,0.66>,<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=5,DEPTH=0.02,PITCH=0
                  SAMPLE METHOD=SAMPLE_HITS
                  SAMPLE HITS=0,SPACER=0.1
                  AVOIDANCE MOVE=BOTH,DISTANCE BEFORE=0.1,DISTANCE AFTER=0.1,DIRECTION=ALONG FEATURE VECTOR
                  FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
                SHOW HITS=NO

    As  has said, it would be beneficial to use a 90 deg angle for this hole, instead of 75.

    Also one other note, if you'd like to save a little time on your programs, turn off the Avoidance move for Vector Points.