An easy Iterative alignment question I hope

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

  • An easy Iterative alignment question I hope

    I don't use iterative alignments very often, and am having a small problem. My part does not have any flat surfaces or straight lines to use for a conventional alignment. I am able to fixture it very repeatably though.
    What I am trying to do is pick up the first part using Iterative alignment, then have all future parts run the Iterative alignment in DCC mode to locate the part. How do I skip over the manual hit process on all future part inspections?

  • #2
    Use flow control using if and then statements. Make sure you add a comment before the flow control. place the end/if after the iterative alignment. Or you can simply mark the alignment and PC-D will skip it.
    Last edited by Darrollh; 06-13-2019, 03:21 PM.
    Darroll
    2018R2

    Comment


    • #3
      Code:
      C1         =COMMENT/YESNO,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
                  DO YOU WANT TO DO A MANUAL ALIGNMENT?
                  ASSIGN/V1=C1.INPUTVALUE
                  IF_GOTO/V1==1,GOTO = L1_START_HERE
                  IF_GOTO/V1==2,GOTO = L2_START_HERE
      L1_START_HERE=LABEL/
      L2_START_HERE=LABEL/
      Place 1st alignment after L1 and second alignment after L2
      sigpic

      Comment


      • Michael_Swe
        Michael_Swe commented
        Editing a comment
        As mckenzie says but you can skip ASSIGN/V1=C1.INPUTVALUE and use C1.INPUT YES or NO if you want, matter of taste

        C1 =COMMENT/YESNO,NO,FULL SCREEN=NEJ,FORTSÄTT AUTOMATISKT=NEJ,
        Är uppriktning gjord??
        IF_GOTO/C1.INPUT == "YES",GOTO = L2
        IF_GOTO/C1.INPUT == "NO",GOTO = L1
        L1 =LABEL/
        L2 =LABEL/

    Related Topics

    Collapse

    Working...
    X