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!
Parents
  • Rather than dissect this let's go to the heart of your question. From there you can decide what you need to do to suit your needs.
    "Does it create another alignment for the second part?? It's own separate alignment?" No, not unless you tell it to
    " Or does the second part literally just drive off of the first parts coordinates, just shifting it down or over or whatever" Yes
  • OMG THANK YOU!!! Yes, my program is using the first example you provided!!!!! def NOT the second. The loop is def before the DCC. The only problem I'm having is that later in the program when it does a probe change for the second probe....should I then go back to the first part and do another DCC with the second probe to establish that hey, we are going back to the first part with a new alignment? Or...do I just recall that alignment and it's as simple as that??? just recalling it should work....but then again how would i recall the second parts alignment since it doesn't 'create' another alignment, just offsets the first one?
Reply
  • OMG THANK YOU!!! Yes, my program is using the first example you provided!!!!! def NOT the second. The loop is def before the DCC. The only problem I'm having is that later in the program when it does a probe change for the second probe....should I then go back to the first part and do another DCC with the second probe to establish that hey, we are going back to the first part with a new alignment? Or...do I just recall that alignment and it's as simple as that??? just recalling it should work....but then again how would i recall the second parts alignment since it doesn't 'create' another alignment, just offsets the first one?
Children
No Data