hexagon logo

How to Prompt to skip/run manual alignment?

I am writing 2 programs that fixtures will be moved frequently.

My goal is I would like to prompt to ask - Has fixture been moved on CMM? ...something along those lines. So I can either skip the manual alignment OR run it while in protected mode for the techs.

How would I go about this? More Info can be provided and can post code if need to.

Any help is appreciated!

Thanks!
Parents
  • I put in 2 labels for my points within the program that I wanted to go to. Using IF_GOTO.

    Code looked like..

    C1 = COMMENT / YESNO
    DO YOU WANT TO MEASURE THE FIXTURE?
    IF_GOTO/C1.INPUT=="YES", GOTO = L4
    IF_GOTO/C1.INPUT=="NO" , GO TO = L3

    L3 = DCC ALIGNMENT
    L4 = MANUAL ALIGNMENT

    I'm still learning alot of the coding so this may not be the best way to do this, but it worked for me and what I was needing the program to do.
Reply
  • I put in 2 labels for my points within the program that I wanted to go to. Using IF_GOTO.

    Code looked like..

    C1 = COMMENT / YESNO
    DO YOU WANT TO MEASURE THE FIXTURE?
    IF_GOTO/C1.INPUT=="YES", GOTO = L4
    IF_GOTO/C1.INPUT=="NO" , GO TO = L3

    L3 = DCC ALIGNMENT
    L4 = MANUAL ALIGNMENT

    I'm still learning alot of the coding so this may not be the best way to do this, but it worked for me and what I was needing the program to do.
Children