If on error loops

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • If on error loops

    Does anyone use if on error loops in their programs? We have 3 shop floor CMMs w/PCDMIS 3.7MR2. I am responsible for setting these machines up for multiple parts for 100% operator inspections. I'd like to Poka Yoke each program to check for a tooling ball on each fixture. I have designed sub-plates using a ball lock system in which the operator may only put one fixture at a time on the CMM in one specific location. I'd like to program each part to assure the correct program or fixture is in place - I think - with this if on error loop. Also, does anyone know about the PCDMIS operator interface? Any suggestions would be great - we've already had a few minor crashes with the CMMs being dedicated to one part with a fixture that is not moved.
    sigpic

  • #2
    I believe (they may have changed it) that the if / on error was for unexpected crashes. My controller did not support it the way it should have.
    Is this what you were looking for?
    kb
    RFS Means Really Fussy Stuff

    When all you have is a hammer - everything looks like a nail....
    sigpic

    Comment


    • #3
      Yes - I don't believe my controller must have supported it either - it would just skip the loop and continue on through the program either stopping on a crash or giving a no touch detected when i was testing it. No touch detected was one of the options for the loop.
      sigpic

      Comment


      • #4
        I use onerror and direct to a label.

        I use "ONERROR" unexpected probe hit and direct the onerror to a label.
        With a hole in the fixture in a know position, I have several move points (with the machine at 10% speed) move in and out of the hole.
        Immediately after the label I have:
        MOVE/INC 0,0,50
        MOVE/INC 0,100,0
        COMMENT/OPER/NO/ You have the fixture in the wrong position or the
        setup is incorrect.

        I have also had the machine measure a circle:
        IF: abs(CIR01.X)>.1 or abs(CIR01.Y)>.1
        MOVE/INC 0,0,50
        MOVE/INC 0,100,0
        COMMENT/OPER/NO/ You have the fixture in the wrong position or the
        setup is incorrect.
        END/IF

        After both of these routines I have the program go back to the setup photo.

        Remember ONERROR unexpected probe hit will not work the same with a TP200 because the probe is dampened between moves.

        Hope this helps

        Comment

        Related Topics

        Collapse

        Working...
        X