hexagon logo

I am completely lost.

My company recently purchased an OPTI 321 running 2018 software. We do not have a touch probe on our machine. It is being used in vision only.

I am not a QC inspector and I've only ever programmed a machine using M codes.

I was sent to the 3 day class and then had 8 more hours of instruction here on our machine. I'm still completely lost.

I have been working on this machine for weeks and have yet to make a program that runs.

I bought the training manual that came with the labs when I took the course but the icons in the manual do not match my machine.

Is there an online tutorital or video that I could watch to walk me through the basics? I need something geared at a user who has NEVER used anything like this before.

Thank you!
Parents
  • Thanks for the responses folks. I've been programming with this thing for a couple of weeks now and while I AM making progress I'm still not able to make a 100% working program.

    Let me start with some very basic questions:

    In class I was taught to select two points on the lower edge of the part and then create a line between those two points. Next would be to create an alignment for line 1.

    Couldn't I accomplish the same thing by creating an auto line and then an alignment?

    I'm measuring flat parts with holes in them. I know I need a manual and a DCC alignment. What are the minimum features needed to make these alignments?

    I'm headed back to the machine to work on it now. I'll upload some code later. Maybe you can let me know if I'm doing this right?

    Thanks!




    To answer your first question, yes. However, in manual mode it is easier to just do 2 points and create a line rather than an auto line. You use auto line in DCC.

    You need to control all 6 degrees of freedom when creating an alignment. It really depends on your part. So if you have a flat part, you alignment could look like this:

    PNT1       =FEAT/VISION/SURFACE POINT/DEFAULT,CARTESIAN
                THEO/<2,-2,0>,<0,0,1>
                ACTL/<2,-2,0>,<0,0,1>
                TARG/<2,-2,0>,<0,0,1>
                SHOW FEATURE PARAMETERS=NO
                SHOW_VISION_PARAMETERS=NO
    PNT2       =FEAT/VISION/SURFACE POINT/DEFAULT,CARTESIAN
                THEO/<-2,-2,0>,<0,0,1>
                ACTL/<-2,-2,0>,<0,0,1>
                TARG/<-2,-2,0>,<0,0,1>
                SHOW FEATURE PARAMETERS=NO
                SHOW_VISION_PARAMETERS=NO
    PNT3       =FEAT/VISION/SURFACE POINT/DEFAULT,CARTESIAN
                THEO/<-2,2,0>,<0,0,1>
                ACTL/<-2,2,0>,<0,0,1>
                TARG/<-2,2,0>,<0,0,1>
                SHOW FEATURE PARAMETERS=NO
                SHOW_VISION_PARAMETERS=NO
    PNT4       =FEAT/VISION/SURFACE POINT/DEFAULT,CARTESIAN
                THEO/<2,2,0>,<0,0,1>
                ACTL/<2,2,0>,<0,0,1>
                TARG/<2,2,0>,<0,0,1>
                SHOW FEATURE PARAMETERS=NO
                SHOW_VISION_PARAMETERS=NO
    PLN1       =FEAT/PLANE,CARTESIAN,TRIANGLE,NO
                THEO/<0,0,0>,<0,0,1>
                ACTL/<0,0,0>,<0,0,1>
                CONSTR/PLANE,BF,PNT1,PNT2,PNT3,PNT4,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
    ALN1       =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
                  ALIGNMENT/LEVEL,ZPLUS,PLN1
                  ALIGNMENT/TRANS,ZAXIS,PLN1
                ALIGNMENT/END
    PNT5       =FEAT/VISION/EDGE POINT/DEFAULT,CARTESIAN
                THEO/<-2,-5,0>,<0,1,0>,<0,0,1>
                ACTL/<-2,-5,0>,<0,1,0>,<0,0,1>
                TARG/<-2,-5,0>,<0,1,0>,<0,0,1>
                SHOW FEATURE PARAMETERS=NO
                SHOW_VISION_PARAMETERS=NO
    PNT6       =FEAT/VISION/EDGE POINT/DEFAULT,CARTESIAN
                THEO/<2,-5,0>,<0,1,0>,<0,0,1>
                ACTL/<2,-5,0>,<0,1,0>,<0,0,1>
                TARG/<2,-5,0>,<0,1,0>,<0,0,1>
                SHOW FEATURE PARAMETERS=NO
                SHOW_VISION_PARAMETERS=NO
    LINE1      =FEAT/LINE,CARTESIAN,UNBOUNDED,NO
                THEO/<-2,-5,0>,<1,0,0>
                ACTL/<-2,-5,0>,<1,0,0>
                CONSTR/LINE,BF,2D,PNT5,PNT6,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
    ALN2       =ALIGNMENT/START,RECALL:ALN1,LIST=YES
                  ALIGNMENT/LEVEL,ZPLUS,PLN1
                  ALIGNMENT/TRANS,ZAXIS,PLN1
                  ALIGNMENT/ROTATE,XPLUS,TO,LINE1,ABOUT,ZPLUS
                ALIGNMENT/END
    CIR1       =FEAT/VISION/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
                THEO/<0,0,0>,<0,0,1>,2,0,0
                ACTL/<0,0,0>,<0,0,1>,2,0,0
                TARG/<0,0,0>,<0,0,1>
                ANGLE VEC=<1,0,0>
                SHOW FEATURE PARAMETERS=NO
                SHOW_VISION_PARAMETERS=NO
    ALN3       =ALIGNMENT/START,RECALL:ALN2,LIST=YES
                  ALIGNMENT/LEVEL,ZPLUS,PLN1
                  ALIGNMENT/TRANS,ZAXIS,PLN1
                  ALIGNMENT/ROTATE,XPLUS,TO,LINE1,ABOUT,ZPLUS
                  ALIGNMENT/TRANS,XAXIS,CIR1
                  ALIGNMENT/TRANS,YAXIS,CIR1
                ALIGNMENT/END
    


    But it really depends on your part. You can't just go off of one feature and expect the program to run. You need to constrain the part and tell the machine "where" your part is on your machine. That is where the manual alignment comes in, then duplicate it with your DCC alignment.
Reply
  • Thanks for the responses folks. I've been programming with this thing for a couple of weeks now and while I AM making progress I'm still not able to make a 100% working program.

    Let me start with some very basic questions:

    In class I was taught to select two points on the lower edge of the part and then create a line between those two points. Next would be to create an alignment for line 1.

    Couldn't I accomplish the same thing by creating an auto line and then an alignment?

    I'm measuring flat parts with holes in them. I know I need a manual and a DCC alignment. What are the minimum features needed to make these alignments?

    I'm headed back to the machine to work on it now. I'll upload some code later. Maybe you can let me know if I'm doing this right?

    Thanks!




    To answer your first question, yes. However, in manual mode it is easier to just do 2 points and create a line rather than an auto line. You use auto line in DCC.

    You need to control all 6 degrees of freedom when creating an alignment. It really depends on your part. So if you have a flat part, you alignment could look like this:

    PNT1       =FEAT/VISION/SURFACE POINT/DEFAULT,CARTESIAN
                THEO/<2,-2,0>,<0,0,1>
                ACTL/<2,-2,0>,<0,0,1>
                TARG/<2,-2,0>,<0,0,1>
                SHOW FEATURE PARAMETERS=NO
                SHOW_VISION_PARAMETERS=NO
    PNT2       =FEAT/VISION/SURFACE POINT/DEFAULT,CARTESIAN
                THEO/<-2,-2,0>,<0,0,1>
                ACTL/<-2,-2,0>,<0,0,1>
                TARG/<-2,-2,0>,<0,0,1>
                SHOW FEATURE PARAMETERS=NO
                SHOW_VISION_PARAMETERS=NO
    PNT3       =FEAT/VISION/SURFACE POINT/DEFAULT,CARTESIAN
                THEO/<-2,2,0>,<0,0,1>
                ACTL/<-2,2,0>,<0,0,1>
                TARG/<-2,2,0>,<0,0,1>
                SHOW FEATURE PARAMETERS=NO
                SHOW_VISION_PARAMETERS=NO
    PNT4       =FEAT/VISION/SURFACE POINT/DEFAULT,CARTESIAN
                THEO/<2,2,0>,<0,0,1>
                ACTL/<2,2,0>,<0,0,1>
                TARG/<2,2,0>,<0,0,1>
                SHOW FEATURE PARAMETERS=NO
                SHOW_VISION_PARAMETERS=NO
    PLN1       =FEAT/PLANE,CARTESIAN,TRIANGLE,NO
                THEO/<0,0,0>,<0,0,1>
                ACTL/<0,0,0>,<0,0,1>
                CONSTR/PLANE,BF,PNT1,PNT2,PNT3,PNT4,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
    ALN1       =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
                  ALIGNMENT/LEVEL,ZPLUS,PLN1
                  ALIGNMENT/TRANS,ZAXIS,PLN1
                ALIGNMENT/END
    PNT5       =FEAT/VISION/EDGE POINT/DEFAULT,CARTESIAN
                THEO/<-2,-5,0>,<0,1,0>,<0,0,1>
                ACTL/<-2,-5,0>,<0,1,0>,<0,0,1>
                TARG/<-2,-5,0>,<0,1,0>,<0,0,1>
                SHOW FEATURE PARAMETERS=NO
                SHOW_VISION_PARAMETERS=NO
    PNT6       =FEAT/VISION/EDGE POINT/DEFAULT,CARTESIAN
                THEO/<2,-5,0>,<0,1,0>,<0,0,1>
                ACTL/<2,-5,0>,<0,1,0>,<0,0,1>
                TARG/<2,-5,0>,<0,1,0>,<0,0,1>
                SHOW FEATURE PARAMETERS=NO
                SHOW_VISION_PARAMETERS=NO
    LINE1      =FEAT/LINE,CARTESIAN,UNBOUNDED,NO
                THEO/<-2,-5,0>,<1,0,0>
                ACTL/<-2,-5,0>,<1,0,0>
                CONSTR/LINE,BF,2D,PNT5,PNT6,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
    ALN2       =ALIGNMENT/START,RECALL:ALN1,LIST=YES
                  ALIGNMENT/LEVEL,ZPLUS,PLN1
                  ALIGNMENT/TRANS,ZAXIS,PLN1
                  ALIGNMENT/ROTATE,XPLUS,TO,LINE1,ABOUT,ZPLUS
                ALIGNMENT/END
    CIR1       =FEAT/VISION/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
                THEO/<0,0,0>,<0,0,1>,2,0,0
                ACTL/<0,0,0>,<0,0,1>,2,0,0
                TARG/<0,0,0>,<0,0,1>
                ANGLE VEC=<1,0,0>
                SHOW FEATURE PARAMETERS=NO
                SHOW_VISION_PARAMETERS=NO
    ALN3       =ALIGNMENT/START,RECALL:ALN2,LIST=YES
                  ALIGNMENT/LEVEL,ZPLUS,PLN1
                  ALIGNMENT/TRANS,ZAXIS,PLN1
                  ALIGNMENT/ROTATE,XPLUS,TO,LINE1,ABOUT,ZPLUS
                  ALIGNMENT/TRANS,XAXIS,CIR1
                  ALIGNMENT/TRANS,YAXIS,CIR1
                ALIGNMENT/END
    


    But it really depends on your part. You can't just go off of one feature and expect the program to run. You need to constrain the part and tell the machine "where" your part is on your machine. That is where the manual alignment comes in, then duplicate it with your DCC alignment.
Children
No Data