hexagon logo

Reporting Cavity Numbers

I work for a plastic injection molding company. Our tools/molds produce multiple parts at once. Each part is identified with a cavity number. How do I generate this number without adding a comment/input after each cavity is measured? Also each cavity has multiple dimensions measured and the program is setup to run a loop.

Thanks!!
Parents
  • Do you use the canned loop function within PC-DMIS?

    If so, you can do this:

    LOOP1 =LOOP/START,ID=YES,NUMBER=8,START=1,SKIP=,
    OFFSET:XAXIS=0,YAXIS=0,ZAXIS=0,ANGLE=0
    COMMENT/REPT,
    "CAVITY #"+LOOP1
    LOOP/END
    


    You can take the variable you have for the loop and place it anywhere like a normal assignment. You also assign the loop number to a variable if you want:

    ASSIGN/V1=LOOP1
    
  • It works I just can't find the correct location in my program to place it due to another loop function. I have a loop set up V2 and V1 to allow me to measure multiple fixtured parts. The end of both loops are at the end of the program. If I place V3 loop before V2 it numbers each row of parts 1-4 sequence (should be 1-16), if i do it after the V1 loop it measures the same part over and over, but numbering is correct (1-16). The fixture is 4 parts across with a total of 4 rows.

    Thanks for your help!

    V2 =LOOP/START,ID=YES,NUMBER=4,START=1,SKIP=,
    OFFSET:XAXIS=81.2,YAXIS=0,ZAXIS=0,ANGLE=0
    V1 =LOOP/START,ID=YES,NUMBER=4,START=1,SKIP=,
    OFFSET:XAXIS=0,YAXIS=-89,ZAXIS=0,ANGLE=0
    V3 =LOOP/START,ID=YES,NUMBER=16,START=1,SKIP=,
    OFFSET:XAXIS=0,YAXIS=0,ZAXIS=0,ANGLE=0
    COMMENT/REPT,
    "CAVITY #"+V3
Reply
  • It works I just can't find the correct location in my program to place it due to another loop function. I have a loop set up V2 and V1 to allow me to measure multiple fixtured parts. The end of both loops are at the end of the program. If I place V3 loop before V2 it numbers each row of parts 1-4 sequence (should be 1-16), if i do it after the V1 loop it measures the same part over and over, but numbering is correct (1-16). The fixture is 4 parts across with a total of 4 rows.

    Thanks for your help!

    V2 =LOOP/START,ID=YES,NUMBER=4,START=1,SKIP=,
    OFFSET:XAXIS=81.2,YAXIS=0,ZAXIS=0,ANGLE=0
    V1 =LOOP/START,ID=YES,NUMBER=4,START=1,SKIP=,
    OFFSET:XAXIS=0,YAXIS=-89,ZAXIS=0,ANGLE=0
    V3 =LOOP/START,ID=YES,NUMBER=16,START=1,SKIP=,
    OFFSET:XAXIS=0,YAXIS=0,ZAXIS=0,ANGLE=0
    COMMENT/REPT,
    "CAVITY #"+V3
Children
No Data