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.
If on error loops
Collapse
X
-
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?
kbRFS Means Really Fussy Stuff
When all you have is a hammer - everything looks like a nail....
sigpic
-
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
-
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
-
by Jay20I have a fixture that holds four parts. Occasionally the mold will run with one of the cavities blocked, producing only three parts. Does anyone know...
-
Channel: PC-DMIS for CMMs
11-21-2016, 08:35 PM -
-
by SM_19Looking to inspect several parts at once but also have an option to inspect only a single part or any number in between, but not sure what options I have...
-
Channel: PC-DMIS for CMMs
09-13-2019, 11:20 AM -
-
by EmilySueHi all,
We mostly have round parts to check in my shop - at least those are the ones my boss wants programs for initially. I had written...-
Channel: PC-DMIS for CMMs
10-16-2017, 10:47 AM -
-
by scharschHi
I'm trying to execute another part program within another part program.
Can someone tell me what the commands are to do that.
...-
Channel: PC-DMIS for CMMs
05-21-2008, 12:59 PM -
-
by DarrollhGood afternoon,
I wrote a series of programs for parts that are fixtured. The problem I am having is that whenever I ran them through, they ran...-
Channel: PC-DMIS for CMMs
11-16-2018, 12:37 PM -
Comment