hexagon logo

Problem Alignments

Hi, this my example:

            STARTUP    =ALIGNMENT/START,RECALL:,LIST=YES
            ALIGNMENT/END
            MODE/DCC
            MOVESPEED/ 100
            FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL, , 
            LOADPROBE/1MM
            ASSIGN/AUX=1
            IF_GOTO/AUX==1,GOTO = A1
            IF_GOTO/AUX==2,GOTO = A2
I0         =LABEL/
            MOVE/POINT,NORMAL,<0,0,200>
            PROGRAM/END

A1         =LABEL/
            RECALL/ALIGNMENT,EXTERNAL,a1,ALINHAMENTO_BASE_1:a1
            GOTO/I0
A2         =LABEL/
            RECALL/ALIGNMENT,EXTERNAL,a1,ALINHAMENTO_BASE_2:a1
            GOTO/I0


I want use 2 alignments in the same program... but this dont work... Any Solution?
________
Homemade Vapor
  • With alignments, PC-DMIS recognizes the last alignment that the program has passed.
    I have many situations where I can use one of two fixtures. For this, I have created external Alignments and recall them using variables.

    TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                FORMAT/TEXT,OPTIONS,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,OUTTOL, , 
    C1         =COMMENT/INPUT,Enter FIX1 for FIXTURE1,
                             ,FIX2 for FIXTURE2.
                ASSIGN/V1 = C1.INPUT
                RECALL/ALIGNMENT,EXTERNAL,V1,FIX2:fix2
                MODE/DCC
                MOVE/POINT,0,0,8
                COMMENT/OPER,Load Probe Star.
                            , 
                            ,Place part seal bore UP.
                            ,Hold on I.D.
                            , 
                            ,Press DONE / ENTER when ready.
    
  • What is the big picture for what you are trying to do? You have two similar threads on this and both of them are essentially the same problem. PCDMIS will use the last active setting you see as you read your program for many of it's features, regardless of whether or not you have executed that part of the program. It will not use the last setting you think you set but the last setting there in "chronological" order, that's the way the software works. Give us an overview of what you think you want your program to do and maybe we can save you a lot of headaches trying to make it do things it can't.
  • What is the big picture for what you are trying to do? You have two similar threads on this and both of them are essentially the same problem. PCDMIS will use the last active setting you see as you read your program for many of it's features, regardless of whether or not you have executed that part of the program. It will not use the last setting you think you set but the last setting there in "chronological" order, that's the way the software works. Give us an overview of what you think you want your program to do and maybe we can save you a lot of headaches trying to make it do things it can't.


    Don't you just love when you attempt to help someone and they don't say thanks or even acknowledge that you've even tried?