hexagon logo

Having to F9 every point for program to run

Hello all,

I have come across an issue I have never seen before. I picked up my tooling balls and start running the full layout. The surface points run just fine but when it gets to the trim + Hole features the program faults out.

I then have to F9 every point or right click on the feature and go into Feature -- > Reset measured values to nominal for the points to run.

Is there a setting that I have off for the program to behave this way? Once I run through the program once it runs fine.

I feel like it's something so simple causing this but can't figure out why.
  • Is this Analog probing? Scanning? Vision? What version of PCD? What machine? Does the name of the feature have spaces, math symbols in it? Is it named "Trim + Hole? no math symbols allowed.
  • Sorry I should have given more information. PC Dmis 2022.2 TTP Global S. Here is an example of the feature names "TRIM-105" and "SQS-1". Does the feature names having "-" in them really mess up the program?
  • Yes, they CAN mess up the program, BUT.....
    With your labels, SO LONG AS those are NOT used in any calculations in the rest of the program, if they are ONLY the feature ID, then no, they should NOT cause any issues (but it is a 'bad habit' to get into). I do use the - all the time in my alignment programs, BUT they are not used in any function of Pcdmis, they are only ID labels. No problems up through 2016.
  • Sorry I should have given more information. PC Dmis 2022.2 TTP Global S. Here is an example of the feature names "TRIM-105" and "SQS-1". Does the feature names having "-" in them really mess up the program?


    I'm not entirely sure how you're using your features, but it's best practice to avoid using symbols that can be parsed as a mathematical equation. Using an underscore instead of minus is recommended.

    See Documentation here

    https://docs.hexagonmi.com/pcdmis/2022.2/en/helpcenter/mergedprojects/core/06_pref_topics/Setup_Options_ID_Setup_tab.htm
  • I did not make the program and when I do make programs I never use - or _ I always use S1,T1,H1 for example. I will take them out of the program and see if it fixes the issue. Could it be anything else?
  • Can you post some features from your code? Or anything we can reference?
  • trim-104   =feat/contact/edge point/default,cartesian
                theo/<3525,761.031,1652.786>,<-0.0547968,-0.2485597,0.9670653>,<-0.0029022,0.9685561,0.2487784>
                actl/<3524.995,760.658,1652.817>,<-0.0547968,-0.2485597,0.9670654>,<-0.0029022,0.9685561,0.2487784>
                targ/<3525,761.031,1652.786>,<-0.0547968,-0.2485597,0.9670653>,<-0.0029022,0.9685561,0.2487784>
                measure order=surface
                show feature parameters=yes
                  void detection=yes
                  surface1=actl_thickness,0
                  surface2=actl_thickness,0
                  measure mode=nominals
                  rmeas=none,none,none
                  auto wrist=no
                  graphical analysis=no
                  feature locator=no,no,""
                show contact parameters=yes
                  depth=0.5
                  sample hits=1,spacer=2,indent1=1.5
                  avoidance move=after,distance after=6,direction=along feature vector
                  onerror=no
    dim loc294= location of point trim-104  units=mm ,$
    graph=off  text=off  mult=10.00  output=both  half angle=no
    ax    nominal       meas       +tol       -tol        dev     outtol
    x     3525.000   3524.995      0.500      0.500     -0.005      0.000 ----#----
    y      761.031    760.658      0.500      0.500     -0.373      0.000 -#-------
    z     1652.786   1652.817      0.500      0.500      0.032      0.000 ----#----
    t        0.000      0.123      0.500      0.500      0.123      0.000 -----#---
    end of dimension loc294
    trim-105   =feat/contact/edge point/default,cartesian
                theo/<3440,761.888,1648.215>,<-0.0542465,-0.2465855,0.9676016>,<-0.0042229,0.9690765,0.2467245>
                actl/<3440,761.682,1648.202>,<-0.0542465,-0.2465854,0.9676017>,<-0.0042229,0.9690765,0.2467245>
                targ/<3440,761.888,1648.215>,<-0.0542465,-0.2465855,0.9676016>,<-0.0042229,0.9690765,0.2467245>
                measure order=surface
                show feature parameters=yes
                  void detection=yes
                  surface1=actl_thickness,0
                  surface2=actl_thickness,0
                  measure mode=nominals
                  rmeas=none,none,none
                  auto wrist=no
                  graphical analysis=no
                  feature locator=no,no,""
                show contact parameters=yes
                  depth=0.5
                  sample hits=1,spacer=2,indent1=1.5
                  avoidance move=after,distance after=6,direction=along feature vector
                  onerror=no
    dim loc295= location of point trim-105  units=mm ,$
    graph=off  text=off  mult=10.00  output=both  half angle=no
    ax    nominal       meas       +tol       -tol        dev     outtol
    x     3440.000   3440.000      0.500      0.500      0.000      0.000 ----#----
    y      761.888    761.682      0.500      0.500     -0.205      0.000 --#------
    z     1648.215   1648.202      0.500      0.500     -0.013      0.000 ----#----
    t        0.000      0.038      0.500      0.500      0.038      0.000 ----#----
    end of dimension loc295
                comment/rept,
                ***************************************
                attach applique boundry - marked 'z'
                ***************************************
                move/point,normal,<3439.715,886.8,1654.158>
                tip/t1a15b165, shankijk=0.25, 0.966, 0.067, angle=179.991
    sqs-1      =feat/contact/square slot/default,cartesian,in
                theo/<3390.129,745.422,1696.353>,<0.4939395,0.8434699,0.211145>,<0.0736623,-0.2825562,0.9564182>,8.8,8.8
                actl/<3390.129,745.379,1697.232>,<0.4957608,0.8420132,0.2126854>,<0.0713958,-0.283586,0.9562853>,8.862,8.881
                targ/<3390.129,745.422,1696.353>,<0.4939395,0.8434699,0.211145>,<0.0736623,-0.2825562,0.9564182>
                meas width=yes,radius=2.5
                show feature parameters=yes
                  remeasure=no
                  surface=theo_thickness,0
                  measure mode=nominals
                  rmeas=none,none,none
                  auto wrist=no
                  graphical analysis=no
                  feature locator=no,no,""
                show contact parameters=yes
                  depth=0.5
                  sample method=sample_hits
                  sample hits=3,spacer=1.5
                  avoidance move=both,distance before=5,distance after=5,direction=along feature vector
                  find hole=disabled,onerror=no,read pos=no
                show hits=yes
                  hit/basic,<3393.554,743.527,1693.543>,<-0.8663704,0.4568593,0.2016976>,<3393.517,743.709,1693.6>
                  hit/basic,<3393.834,742.453,1697.177>,<-0.8663704,0.4568593,0.2016976>,<3393.796,742.632,1697.232>
                  hit/basic,<3389.558,746.244,1692.039>,<0.0736623,-0.2825562,0.9564182>,<3389.556,746.22,1692.881>
                  hit/basic,<3386.21,746.474,1698.952>,<0.8663704,-0.4568593,-0.2016976>,<3386.118,746.692,1699.026>
                  hit/basic,<3385.93,747.548,1695.318>,<0.8663704,-0.4568593,-0.2016976>,<3385.852,747.765,1695.388>
                  hit/basic,<3390.206,743.757,1700.456>,<-0.0736623,0.2825562,-0.9564182>,<3390.207,743.699,1701.372>
                endmeas/
    dim loc296= location of slot sqs-1  units=mm ,$
    graph=off  text=off  mult=10.00  output=both  half angle=no
    ax    nominal       meas       +tol       -tol        dev     outtol
    x     3390.129   3390.129      0.500      0.500      0.000      0.000 ----#----
    y      745.422    745.379      0.500      0.500     -0.044      0.000 ----#----
    z     1696.353   1697.232      0.500      0.500      0.879      0.379 -------->
    d        8.800      8.862      0.100      0.100      0.062      0.000 -------#-
    l        8.800      8.881      0.100      0.100      0.081      0.000 --------#
    end of dimension loc296
    dim loc326= position of slot sqs-1  units=mm ,$
    graph=off  text=off  mult=10.00  output=both  fit to datums=off  dev perpen centerline=off  display=diameter
    ax    nominal       meas       +tol       -tol      bonus        dev     outtol
    x    3390.129   3390.129                                       0.000          
    y     745.422    745.379                                      -0.044          
    z    1696.353   1697.232                                       0.879          
    lf      8.800      8.881      0.100      0.100      0.168      0.081      0.000 --------#
    wf      8.800      8.862      0.100      0.100      0.149      0.062      0.000 -------#-
    tp        mmc      1.760      1.000                 0.149      1.760      0.611 -------->
    end of dimension loc326
    sqs-2      =feat/contact/square slot/default,cartesian,in
                theo/<3409.013,656.849,1931.843>,<0.4935269,0.8060127,0.3267639>,<0.0745077,-0.4135077,0.907447>,8.8,8.804
                actl/<3409.353,656.242,1932.581>,<0.4923164,0.807518,0.324868>,<0.0662734,-0.4069256,0.911054>,8.846,8.861
                targ/<3409.013,656.849,1931.843>,<0.4935269,0.8060127,0.3267639>,<0.0745077,-0.4135077,0.907447>
                meas width=yes,radius=2.5
                show feature parameters=yes
                  remeasure=no
                  surface=theo_thickness,0
                  measure mode=nominals
                  rmeas=none,none,none
                  auto wrist=no
                  graphical analysis=no
                  feature locator=no,no,""
                show contact parameters=yes
                  depth=0.5
                  sample method=sample_hits
                  sample hits=3,spacer=1.5
                  avoidance move=both,distance before=5,distance after=5,direction=along feature vector
                  find hole=disabled,onerror=no,read pos=no
                show hits=yes
                  hit/basic,<3412.438,655.369,1928.791>,<-0.8665332,0.4235031,0.2641313>,<3412.754,655.125,1928.656>
                  hit/basic,<3412.721,653.796,1932.243>,<-0.8665332,0.4235031,0.2641313>,<3413.006,653.582,1932.122>
                  hit/basic,<3408.439,658.266,1927.685>,<0.0745077,-0.4135077,0.907447>,<3408.805,657.647,1928.386>
                  hit/basic,<3405.096,657.523,1934.568>,<0.8665332,-0.4235031,-0.2641313>,<3405.334,657.334,1934.422>
                  hit/basic,<3404.812,659.096,1931.116>,<0.8665332,-0.4235031,-0.2641313>,<3405.079,658.88,1930.957>
                  hit/basic,<3409.095,654.626,1935.674>,<-0.0745077,0.4135077,-0.907447>,<3409.407,654.028,1936.451>
                endmeas/
    dim loc297= location of slot sqs-2  units=mm ,$
    graph=off  text=off  mult=10.00  output=both  half angle=no
    ax    nominal       meas       +tol       -tol        dev     outtol
    x     3409.013   3409.353      0.500      0.500      0.340      0.000 -------#-
    y      656.849    656.242      0.500      0.500     -0.607      0.107 <--------
    z     1931.843   1932.581      0.500      0.500      0.738      0.238 -------->
    d        8.800      8.846      0.100      0.100      0.046      0.000 ------#--
    l        8.804      8.861      0.100      0.100      0.057      0.000 -------#-
    end of dimension loc297
    dim loc327= position of slot sqs-2  units=mm ,$
    graph=off  text=off  mult=10.00  output=both  fit to datums=off  dev perpen centerline=off  display=diameter
    ax    nominal       meas       +tol       -tol      bonus        dev     outtol
    x    3409.013   3409.353                                       0.340          
    y     656.849    656.242                                      -0.607          
    z    1931.843   1932.581                                       0.738          
    lf      8.804      8.861      0.100      0.100      0.062      0.057      0.000 -------#-
    wf      8.800      8.846      0.100      0.100      0.052      0.046      0.000 ------#--
    tp        mmc      2.029      1.000                 0.052      2.029      0.977 -------->
    end of dimension loc327​
  • Do all your other features also have Void Detection on like Trim-104?
  • Void Detection is only turned on for trim points. I normally do not use void detection on trim points but as I stated before I did not write this program.
  • My guess is it has to do with the avoidance moves.
    --Try switching off avoidance moves (making sure you supplement with other move commands)