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
  • I feel I'm getting more confused as we go. I went to your older post, the one with the code, but it didn't help a lot because I don't see where your loop ends. It looked like your tip change was inside the loop but if that's the case then what you've described in post one of this thread doesn't make sense to me.
    You say probe 1 aligns the part, measures the part then goes to part two and performs the same routine. If you're using the loop to get the offset then at the end of the second part how are you continuing the program? You change to tip 2 but then what? Is there another loop? And if so, I dunno how you would correlate them.
    The very few programs where I have used loops and nested loops and also required a tip change mid-program, I completed one part then looped that routine. In other words, I would:
    Loop/start
    Align
    measure
    loadprobe
    measure
    report
    loop/end
    At this point it would offset the amount stated in the loop command, move to the next part and do it all again.
    Sorry I'm no more help than I am. I honestly have two or three programs where I utilized loops.
Reply
  • I feel I'm getting more confused as we go. I went to your older post, the one with the code, but it didn't help a lot because I don't see where your loop ends. It looked like your tip change was inside the loop but if that's the case then what you've described in post one of this thread doesn't make sense to me.
    You say probe 1 aligns the part, measures the part then goes to part two and performs the same routine. If you're using the loop to get the offset then at the end of the second part how are you continuing the program? You change to tip 2 but then what? Is there another loop? And if so, I dunno how you would correlate them.
    The very few programs where I have used loops and nested loops and also required a tip change mid-program, I completed one part then looped that routine. In other words, I would:
    Loop/start
    Align
    measure
    loadprobe
    measure
    report
    loop/end
    At this point it would offset the amount stated in the loop command, move to the next part and do it all again.
    Sorry I'm no more help than I am. I honestly have two or three programs where I utilized loops.
Children
No Data