hexagon logo

Retract distance problem

I just had Cad++ installed and I am having problems when I probe a hole and my probe retracts past the center of the hole and hits the back of the hole which inturn retracts and hits the front of the hole and goes into a loop of back and forth hits. I went to F10 then to motion and changed my prehit and retract distance but it did not help at all. Could a setting changed when Cad++ was installed? If so how do I fix it?
  • Didnt mean to jump in and hijack the thread but thanks Wes. Adam I started on 3.7 mr3 and It never had to "tweak" my prehit / retract on a hole or cylinder so you have nothing to fear. Circle funtions will figure it out on their own ( or not in some rare cases Like Was pointed out ) . Another "word" on "NEW" versions. The More things change the more they stay the same. Dont be afraid. The thing I would be more concerned about when you do upgrade. How many revsion 'jump" will it be ? Waiting too long may not always be the best. That has been known to be hairy. Obviously, SMA's dictate part of this also, so It may be out of your control.
  • I just had Cad++ installed and I am having problems when I probe a hole and my probe retracts past the center of the hole and hits the back of the hole which inturn retracts and hits the front of the hole and goes into a loop of back and forth hits. I went to F10 then to motion and changed my prehit and retract distance but it did not help at all. Could a setting changed when Cad++ was installed? If so how do I fix it?


    I have a suspicion that this is happening while manually probing the circle. If this is the case, you need to change the MANRETRACT value to something suitably small. For instance if you are working in inch mode, enter MANRETRACT/.020 in the edit window before you start taking hits.

    I can't recall off the top of my head which dialog box this is in, but once you track it down, you can set it in the dialog and press the "Defaults" button and it will be saved as default.
  • Yes I am using auto features. I have put the prehit and retract after the DCC mode and before the hole. Am I correct in saying that in auto circle feature when the probe touches the side of the hole it should know the distsnce to return back to the center of that hole to take the next hit in the hole. I have a .094 dia hole and I am using a 1mm probe. When it retracts to take the next hit in the hole it hits the back side of the hole. Dosent the auto circle define the dia of the hole so the probe will know where it is and where to retract to. I havent tried the retract on a narrow slot I will try that this morning to see if that works. but still I am confused about the hole retract it used to work fine before we installed Cad++.
  • try using "find hole" first before measuring.
    small hole + small tip = problem if the hole is out of position
  • try using "find hole" first before measuring.
    small hole + small tip = problem if the hole is out of position


    +1

    If the hole size & tip size combo meand the prehit/retract will take it past the centre, it will move to the centre, however like pwhitsa says, if it's out of position it doesn't know that (intil it's measured it)

    Using 'find hole' with 'centre' option selected, it wil know where the roughh centre is in order to peform the measurement.
  • why do you think this? It is incorrect.


    Sorry, but that is not incorrect.

    If his prehit is .250 and his hole diameter is .200, PC-DMIS won't try to ram the probe through the part to achieve the .250 prehit distance. It'll adjust the prehit distance to fit in the hole.

    I asked if he was using Autocircle because adjusting his prehit distance won't make a difference if he is. If he is constructing circles using vector points, then his prehit distance will be a factor.
  • Are you using AutoCircles? If you are, prehit and retract have nothing to do with autocircles.



    why do you think this? It is incorrect.


    Sorry, but that is not incorrect.

    If his prehit is .250 and his hole diameter is .200, PC-DMIS won't try to ram the probe through the part to achieve the .250 prehit distance. It'll adjust the prehit distance to fit in the hole.

    I asked if he was using Autocircle because adjusting his prehit distance won't make a difference if he is. If he is constructing circles using vector points, then his prehit distance will be a factor.



    Let's say partially correct then shall we?

    What you say about holes smaller than the prehit/retract is correct for most of the newer versions of Pc-Dmis.

    Do this: Put a large diameter ring gage on your table. Set the prehit and retract for almost as much as the radius of the ring gage. Use Autocircle to measure that diameter. Did prehit and retract have anything to do with the autocircle????


  • Let's say partially correct then shall we?

    What you say about holes smaller than the prehit/retract is correct for most of the newer versions of Pc-Dmis.

    Do this: Put a large diameter ring gage on your table. Set the prehit and retract for almost as much as the radius of the ring gage. Use Autocircle to measure that diameter. Did prehit and retract have anything to do with the autocircle????



    I figured that's what you meant in the original post, but I left that out since his hole was small. In his specific case, prehit and retract has no bearing on how it probes the hole.

    I've been programming for almost 2 years now, using 2010 up to 2013 MR1 and I have never had the probe try to achieve the prehit distance in a hole smaller than the distance specified. Maybe that was an issue in versions older than 2010, but it isn't now.
  • Sorry, but that is not incorrect.

    If his prehit is .250 and his hole diameter is .200, PC-DMIS won't try to ram the probe through the part to achieve the .250 prehit distance. It'll adjust the prehit distance to fit in the hole.

    I asked if he was using Autocircle because adjusting his prehit distance won't make a difference if he is. If he is constructing circles using vector points, then his prehit distance will be a factor.


    I just did some test with this prehit and retract and wanted to apoloigize because I was not completely right sorry thenev, this is what I found. It seems the prehit and retract if set larger then the center distance of the hole it will not prehit or retract any further then center. That being said if its a 1.0 hole and prehit/retract should work with what ever value you use that is shorter then the distance from the center of the hole. This is the little program I used to test this.

    STARTUP    =ALIGNMENT/START,RECALL:,LIST=YES
                ALIGNMENT/END
                MODE/MANUAL
                FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL, , 
                LOADPROBE/4X20X50MM
                TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
    PLN1       =FEAT/PLANE,CARTESIAN,TRIANGLE
                THEO/<50.1912,84.1577,-45.3921>,<0.0001626,-0.0000477,1>
                ACTL/<50.1912,84.1577,-45.3921>,<0.0001626,-0.0000477,1>
                MEAS/PLANE,4
                HIT/BASIC,NORMAL,<47.6105,84.7484,-45.3916>,<0.0001607,-0.0000555,1>,<47.6105,84.7484,-45.3916>,USE THEO=YES
                HIT/BASIC,NORMAL,<52.5594,84.9929,-45.3924>,<0.0001607,-0.0000555,1>,<52.5577,84.9922,-45.3924>,USE THEO=YES
                HIT/BASIC,NORMAL,<52.5582,83.5442,-45.3925>,<0.0001607,-0.0000555,1>,<52.5582,83.5442,-45.3925>,USE THEO=YES
                HIT/BASIC,NORMAL,<48.0384,83.3461,-45.3917>,<0.0001607,-0.0000555,1>,<48.0384,83.3461,-45.3917>,USE THEO=YES
                ENDMEAS/
    A1         =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
                ALIGNMENT/LEVEL,ZPLUS,PLN1
                ALIGNMENT/TRANS,ZAXIS,PLN1
                ALIGNMENT/END
    LIN1       =FEAT/LINE,CARTESIAN,UNBOUNDED
                THEO/<48.0404,82.9992,-0.1396>,<0.9976965,0.0678354,0>
                ACTL/<48.0404,82.9992,-0.1396>,<0.9976965,0.0678354,0>
                MEAS/LINE,2,WORKPLANE
                HIT/BASIC,NORMAL,<48.0458,82.9993,-0.1402>,<0.0678354,-0.9976965,0>,<48.0404,82.9992,-0.1402>,USE THEO=YES
                HIT/BASIC,NORMAL,<52.9927,83.3357,-0.1391>,<0.0678354,-0.9976965,0>,<52.9878,83.3355,-0.1391>,USE THEO=YES
                ENDMEAS/
    A2         =ALIGNMENT/START,RECALL:A1,LIST=YES
                ALIGNMENT/ROTATE,XPLUS,TO,LIN1,ABOUT,ZPLUS
                ALIGNMENT/END
    CIR1       =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR
                THEO/<55.8649,80.5545,-0.1795>,<0,0,1>,0.6471
                ACTL/<55.8649,80.5545,-0.1795>,<0,0,1>,0.6471
                MEAS/CIRCLE,4,WORKPLANE
                HIT/BASIC,NORMAL,<55.8677,80.8779,-0.1796>,<-0.0151189,-0.9998857,0>,<55.8615,80.8781,-0.1796>,USE THEO=YES
                HIT/BASIC,NORMAL,<55.5422,80.5766,-0.1796>,<0.9977204,-0.067483,0>,<55.5422,80.5776,-0.1796>,USE THEO=YES
                HIT/BASIC,NORMAL,<55.8489,80.2313,-0.1795>,<0.0508264,0.9987075,0>,<55.8508,80.2312,-0.1795>,USE THEO=YES
                HIT/BASIC,NORMAL,<56.1882,80.5538,-0.1795>,<-0.9999639,0.0084963,0>,<56.1883,80.5607,-0.1795>,USE THEO=YES
                ENDMEAS/
    A3         =ALIGNMENT/START,RECALL:A2,LIST=YES
                ALIGNMENT/TRANS,XAXIS,CIR1
                ALIGNMENT/TRANS,YAXIS,CIR1
                ALIGNMENT/END
                MODE/DCC
                MOVESPEED/ 70
                PREHIT/ 0.1
                RETRACT/ 0.1
    CIR2       =FEAT/CONTACT/CIRCLE,CARTESIAN,IN,LEAST_SQR
                THEO/<0,0,0>,<0,0,1>,0.6471,0,360
                ACTL/<0.0003,-0.0006,0>,<0,0,1>,0.6473,0,360
                TARG/<0,0,0>,<0,0,1>
                ANGLE VEC=<0,-1,0>
                DIRECTION=CCW
                SHOW FEATURE PARAMETERS=YES
                  REMEASURE=NO
                  SURFACE=THICKNESS_NONE,0
                  MEASURE MODE=NOMINALS
                  RMEAS=NONE,NONE,NONE
                  AUTO WRIST=NO
                  CIRCULAR MOVES=YES
                  CLEARPLANE=NO
                  GRAPHICAL ANALYSIS=NO
                  FEATURE LOCATOR=NO,NO,""
                SHOW CONTACT PARAMETERS=YES
                  NUMHITS=4,DEPTH=0.2,PITCH=0
                  SAMPLE HITS=0,SPACER=0.1
                  AVOIDANCE MOVE=BOTH,DISTANCE=0.25
                  FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
                SHOW HITS=NO
                PREHIT/ 1
                RETRACT/ 1
    CIR3       =FEAT/CONTACT/CIRCLE,CARTESIAN,IN,LEAST_SQR
                THEO/<0,0,0>,<0,0,1>,0.6471,0,360
                ACTL/<0.0002,-0.0006,0>,<0,0,1>,0.6475,0,360
                TARG/<0,0,0>,<0,0,1>
                ANGLE VEC=<0,-1,0>
                DIRECTION=CCW
                SHOW FEATURE PARAMETERS=YES
                  REMEASURE=NO
                  SURFACE=THICKNESS_NONE,0
                  MEASURE MODE=NOMINALS
                  RMEAS=NONE,NONE,NONE
                  AUTO WRIST=NO
                  CIRCULAR MOVES=YES
                  CLEARPLANE=NO
                  GRAPHICAL ANALYSIS=NO
                  FEATURE LOCATOR=NO,NO,""
                SHOW CONTACT PARAMETERS=YES
                  NUMHITS=4,DEPTH=0.2,PITCH=0
                  SAMPLE HITS=0,SPACER=0.1
                  AVOIDANCE MOVE=BOTH,DISTANCE=0.25
                  FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
                SHOW HITS=NO

    cir3 did not prehit or retract passed center of the hole. Although the prehit/retract would adjust with a value smaller then center of the hole. Learned something new today thanks!!

  • cir3 did not prehit or retract passed center of the hole. Although the prehit/retract would adjust with a value smaller then center of the hole. Learned something new today thanks!!


    No worries. We're all here to learn and help others, right?