hexagon logo

Onerror

I am trying to use the ONERROR (edge not detected) command allow the CMM to locate a part fixtured on a mandrel. It is a part we have to measure with the zoom lens. I would like for it to first look at specific coordinates, then subtract .5mm each time it misses. I'm getting no where. I've done something similar before in Level 3 training, but that was several years ago. I'm on PCDMIS 2012 MR1 and an Optive Performance. Any ideas?

Thanks!
Parents
  • Glad you could get it working.

    Variables can be tricky, especially to those that are unfamiliar with them.
    Once you get the hang of how they work and what you can do with them, they can be really helpful at getting the best readings.

    Heck, some programs I couldn't even do within a reasonable amount of time without variables, and if I want them fully automatic? Definitely.
    Hence why I suggested using the OnError capability to enable a variable, and then using that variable to determine "alright, it failed, now what?", instead of some other way that may not have involved variables.

Reply
  • Glad you could get it working.

    Variables can be tricky, especially to those that are unfamiliar with them.
    Once you get the hang of how they work and what you can do with them, they can be really helpful at getting the best readings.

    Heck, some programs I couldn't even do within a reasonable amount of time without variables, and if I want them fully automatic? Definitely.
    Hence why I suggested using the OnError capability to enable a variable, and then using that variable to determine "alright, it failed, now what?", instead of some other way that may not have involved variables.

Children
No Data