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!


  • 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.


    Thank you! that code was very helpful. I guess I was having trouble wrapping my head around the fact that you really need to do the same thing twice, once in manual and once in DCC. My instructor is great he's just not able to get back to me right away. I'm really struggling to get the machine up and running. I'm the only one here with any training and as you know it's not the most user friendly interface.