hexagon logo

Rechecking parts in protected mode.

I have a 24 cavity (2x12) fixture. I have to come up with a way to check any single cavity in this fixture in protected mode. What are some recommendations?

Thanks!!!
Parents
  • Well, not so hard as you might think, but a lot of code to type (if you do it my way).

    L1         =LABEL/
    C1         =COMMENT/INPUT,NO,enter cavity number or 25 for all cavities
                IF_GOTO/C1.INPUT<1,GOTO = L1
                IF_GOTO/C1.INPUT>25,GOTO = L1
                COMMENT/OPER,NO,this requires them to re-input if invalid
                               ,value is entered
                IF_GOTO/C1.INPUT<2,GOTO = CAV1
                IF_GOTO/C1.INPUT<3,GOTO = CAV2
                IF_GOTO/C1.INPUT<4,GOTO = CAV3
                IF_GOTO/C1.INPUT<5,GOTO = CAV4
                IF_GOTO/C1.INPUT<6,GOTO = CAV5
                IF_GOTO/C1.INPUT<7,GOTO = CAV6
                IF_GOTO/C1.INPUT<8,GOTO = CAV7
                IF_GOTO/C1.INPUT<9,GOTO = CAV8
                IF_GOTO/C1.INPUT<10,GOTO = CAV9
                IF_GOTO/C1.INPUT<11,GOTO = CAV10
                IF_GOTO/C1.INPUT<12,GOTO = CAV11
                IF_GOTO/C1.INPUT<13,GOTO = CAV12
                IF_GOTO/C1.INPUT<14,GOTO = CAV13
                IF_GOTO/C1.INPUT<15,GOTO = CAV14
                IF_GOTO/C1.INPUT<16,GOTO = CAV15
                IF_GOTO/C1.INPUT<17,GOTO = CAV16
                IF_GOTO/C1.INPUT<18,GOTO = CAV17
                IF_GOTO/C1.INPUT<19,GOTO = CAV18
                IF_GOTO/C1.INPUT<20,GOTO = CAV19
                IF_GOTO/C1.INPUT<21,GOTO = CAV20
                IF_GOTO/C1.INPUT<22,GOTO = CAV21
                IF_GOTO/C1.INPUT<23,GOTO = CAV22
                IF_GOTO/C1.INPUT<24,GOTO = CAV23
                IF_GOTO/C1.INPUT<25,GOTO = CAV24
                IF_GOTO/C1.INPUT<26,GOTO = CAV1


    And, like I said, after each cavity, move up and away to the 'safe' parking spot (for load and un-load)
    then, directly AFTER that up & away move, this code would go in
                IF_GOTO/C1.INPUT>24,GOTO = CAV2

    except you would change the CAV number to the next cavity, so at the end of "CAV1" it would go to "CAV2", and the end of CAV2, it would goto CAV3 and so on.

    This method requires 1 and only 1 input to check any ONE single cavity OR to check ALL the cavities.
Reply
  • Well, not so hard as you might think, but a lot of code to type (if you do it my way).

    L1         =LABEL/
    C1         =COMMENT/INPUT,NO,enter cavity number or 25 for all cavities
                IF_GOTO/C1.INPUT<1,GOTO = L1
                IF_GOTO/C1.INPUT>25,GOTO = L1
                COMMENT/OPER,NO,this requires them to re-input if invalid
                               ,value is entered
                IF_GOTO/C1.INPUT<2,GOTO = CAV1
                IF_GOTO/C1.INPUT<3,GOTO = CAV2
                IF_GOTO/C1.INPUT<4,GOTO = CAV3
                IF_GOTO/C1.INPUT<5,GOTO = CAV4
                IF_GOTO/C1.INPUT<6,GOTO = CAV5
                IF_GOTO/C1.INPUT<7,GOTO = CAV6
                IF_GOTO/C1.INPUT<8,GOTO = CAV7
                IF_GOTO/C1.INPUT<9,GOTO = CAV8
                IF_GOTO/C1.INPUT<10,GOTO = CAV9
                IF_GOTO/C1.INPUT<11,GOTO = CAV10
                IF_GOTO/C1.INPUT<12,GOTO = CAV11
                IF_GOTO/C1.INPUT<13,GOTO = CAV12
                IF_GOTO/C1.INPUT<14,GOTO = CAV13
                IF_GOTO/C1.INPUT<15,GOTO = CAV14
                IF_GOTO/C1.INPUT<16,GOTO = CAV15
                IF_GOTO/C1.INPUT<17,GOTO = CAV16
                IF_GOTO/C1.INPUT<18,GOTO = CAV17
                IF_GOTO/C1.INPUT<19,GOTO = CAV18
                IF_GOTO/C1.INPUT<20,GOTO = CAV19
                IF_GOTO/C1.INPUT<21,GOTO = CAV20
                IF_GOTO/C1.INPUT<22,GOTO = CAV21
                IF_GOTO/C1.INPUT<23,GOTO = CAV22
                IF_GOTO/C1.INPUT<24,GOTO = CAV23
                IF_GOTO/C1.INPUT<25,GOTO = CAV24
                IF_GOTO/C1.INPUT<26,GOTO = CAV1


    And, like I said, after each cavity, move up and away to the 'safe' parking spot (for load and un-load)
    then, directly AFTER that up & away move, this code would go in
                IF_GOTO/C1.INPUT>24,GOTO = CAV2

    except you would change the CAV number to the next cavity, so at the end of "CAV1" it would go to "CAV2", and the end of CAV2, it would goto CAV3 and so on.

    This method requires 1 and only 1 input to check any ONE single cavity OR to check ALL the cavities.
Children
No Data