hexagon logo

Questions about DCC Alignment and looping correct procedure

So, maybe this is a stupid question, or I'm thinking too much into it, idk. So, I'm still using that same program that I was tinkering with in my last post. I have 2 parts on the 2 table, and I am using 2 probes to inspect them both. Probe 1 inspects part 1, when it's finished it comes down in Y -11.5 inches, and then does the same exact routine on the second part. It goes up in Z+, changes probes, then inspects part 1 for smaller holes, goes up, then back down in Y -11.5 inches to catch the holes on the second part. My question is.... should the DCC part of the program be extended for the second probe as well? What I'm trying to say, is after the probe changes to start inspecting holes, do I need to do another DCC alignment on the first part again to make sure the comp isn't using the second parts variables? I haven't used looping at all so I'm worried that some of the data from part 1 will get screwed up or transposed onto part 2. Also, with looping, you just set the offsets in x,y, z, or rotate it or whatever you want to do.... Does it create another alignment for the second part?? It's own separate alignment? Or does the second part literally just drive off of the first parts coordinates, just shifting it down or over or whatever (which imo is SUPPPPPPPER risky) because all you are doing is just shifting the movements down without actually accounting for where the second part really is. You might be able to get away with that if you are using a perfect setup/ground pins, yadda yadda...but...??? I must be thinking too hard about this problem. But I really do want to know the *why* and what is under the hood of the machine, not just accepting "that's the way it is" just because. Thank you for your time!
  • program your loop with the loop count hard-set at 1.
    Execute your routine offline with the loop count at 1 once you are finished programming it, then. save routine as read-only.
    When you execute a looped routine with a qty >1, it will show THEO and MEAS values of the looped code of your last looped iteration, relative to the pre-looped alignment, but it is still programmed correctly.

    another trick while running loops is to align/recall previous, within the loop whenever you update alignments. or if your alignment is a solid 6dof control, you can recall startup but be sure you are defining it as Level / Rotate / Translate. Last trick is to recall your pre-loop alignment at the end of your routine prior to loop/end.