Out of Stroke Limit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Out of Stroke Limit

    Hello,
    I'm pretty new to PC-DMIS and CMM programming in general. I've been working with it for a few months now. My problem is this. I keep getting an out of stroke error when switching to DCC alignment and I'm not sure what I'm doing wrong. The machine still have several inches of z travel and should have no problem probing the top of the part.

    STARTUP =ALIGNMENT/START,RECALL:USE_PART_SETUP,LIST=YES
    ALIGNMENT/END
    MODE/MANUAL
    FORMAT/ ,OPTIONS, , , , ;NOM,TOL,MEAS,DEV,OUTTOL, ,
    LOADPROBE/CAM1MM
    TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
    CLEARP/ZPLUS,0.1,ZPLUS,0.1,ON
    CHECK/0.01,1
    PREHIT/0.039
    RETRACT/0.039
    PLN1 =FEAT/PLANE,CARTESIAN,TRIANGLE
    THEO/<0.0455,0.1918,13.431>,<0,0,1>
    ACTL/<7.9609,9.8935,-10.6435>,<-0.0000623,0.0000659,1>
    MEAS/PLANE,3
    MOVE/CLEARPLANE
    HIT/BASIC,NORMAL,<-0.0057,-2.0867,13.431>,<0,0,1>,<8.0029,7.5681,-10.6433>,USE THEO=YES
    HIT/BASIC,NORMAL,<1.6804,1.2412,13.431>,<0,0,1>,<6.371 ,11.0562,-10.6436>,USE THEO=YES
    HIT/BASIC,NORMAL,<-1.5381,1.4208,13.431>,<0,0,1>,<9.509,11.0562,-10.6434>,USE THEO=YES
    ENDMEAS/
    A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
    ALIGNMENT/LEVEL,ZPLUS,PLN1
    ALIGNMENT/TRANS,ZAXIS,PLN1
    ALIGNMENT/END
    CIR1 =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR
    THEO/<0,0,-0.0401>,<0,0,1>,4.04
    ACTL/<7.9356,9.6558,-0.0767>,<0,0,1>,4.0419
    MEAS/CIRCLE,3,ZPLUS
    MOVE/CLEARPLANE
    HIT/BASIC,NORMAL,<-1.5024,1.3503,-0.0365>,<0.743762,-0.6684445,0>,<8.0246,7.6368,-0.0768>,USE THEO=YES
    HIT/BASIC,NORMAL,<1.6655,1.143,-0.0381>,<-0.824512,-0.5658445,0>,<6.4087,10.9798,-0.0765>,USE THEO=YES
    HIT/BASIC,NORMAL,<0.0114,-2.02,-0.0456>,<-0.0056312,0.9999841,0>,<9.4625,10.9797,-0.0767>,USE THEO=YES
    ENDMEAS/
    A2 =ALIGNMENT/START,RECALL:A1,LIST=YES
    ALIGNMENT/LEVEL,ZPLUS,PLN1
    ALIGNMENT/TRANS,ZAXIS,PLN1
    ALIGNMENT/TRANS,XAXIS,CIR1
    ALIGNMENT/TRANS,YAXIS,CIR1
    ALIGNMENT/END
    MODE/DCC
    PLN2 =FEAT/PLANE,CARTESIAN,TRIANGLE
    THEO/<-0.0044,0.0558,0>,<0,0,1>
    ACTL/<-7.9392,-9.6009,24.0743>,<0.0000623,-0.0000659,1>
    MEAS/PLANE,9
    MOVE/CLEARPLANE
    HIT/BASIC,NORMAL,<-0.0042,-2.0978,0>,<0,0,1>,<-7.939,-11.7545,24.0742>,USE THEO=YES
    HIT/BASIC,NORMAL,<1.2838,-1.6618,0>,<0,0,1>,<-6.6509,-11.3185,24.0741>,USE THEO=YES
    HIT/BASIC,NORMAL,<2.0282,-0.5199,0>,<0,0,1>,<-5.9066,-10.1766,24.0741>,USE THEO=YES
    HIT/BASIC,NORMAL,<1.84,0.9982,0>,<0,0,1>,<-6.0948,-8.6585,24.0743>,USE THEO=YES
    HIT/BASIC,NORMAL,<0.6224,1.9827,0>,<0,0,1>,<-7.3124,-7.674,24.0744>,USE THEO=YES
    HIT/BASIC,NORMAL,<-0.6786,1.9875,0>,<0,0,1>,<-8.6133,-7.6692,24.0745>,USE THEO=YES
    HIT/BASIC,NORMAL,<-1.5923,1.3492,0>,<0,0,1>,<-9.5271,-8.3075,24.0745>,USE THEO=YES
    HIT/BASIC,NORMAL,<-2.0851,-0.0441,0>,<0,0,1>,<-10.0198,-9.7008,24.0744>,USE THEO=YES
    HIT/BASIC,NORMAL,<-1.454,-1.4915,0>,<0,0,1>,<-9.3888,-11.1482,24.0743>,USE THEO=YES
    ENDMEAS/
    CIR2 =FEAT/CIRCLE,CARTESIAN,OUT,LEAST_SQR
    THEO/<0,0,-0.12>,<0,0,1>,4.379,0
    ACTL/<-7.9348,-9.6567,24.0039>,<0.0000623,-0.0000659,1>,4.379,0
    MEAS/CIRCLE,3,ZPLUS
    MOVE/CLEARPLANE
    HIT/BASIC,NORMAL,<-1.9022,-1.0842,-0.12>,<-0.8687924,-0.4951766,0>,<-9.837,-10.7409,23.9765>,USE THEO=YES
    MOVE/CIRCULAR
    HIT/BASIC,NORMAL,<1.8427,-1.1825,-0.12>,<0.8416088,-0.5400875,0>,<-6.092,-10.8392,24.0176>,USE THEO=YES
    MOVE/CIRCULAR
    HIT/BASIC,NORMAL,<0.0215,2.1894,-0.12>,<0.0098289,0.9999517,0>,<-7.9132,-7.4673,24.0174>,USE THEO=YES
    ENDMEAS/
    A3 =ALIGNMENT/START,RECALL:A2,LIST=YES
    ALIGNMENT/TRANS,XAXIS,CIR2
    ALIGNMENT/TRANS,YAXIS,CIR2
    ALIGNMENT/END

  • #2
    I would say that defining the clear plane at the start is a bad idea, it's at the homing position, so the tip cannot go there !!!!!!!

    Comment


    • #3
      I ususally define the clear plane after the last manual alignment, and before the first dcc move.

      Comment


      • #4
        Originally posted by JEFMAN View Post
        I would say that defining the clear plane at the start is a bad idea, it's at the homing position, so the tip cannot go there !!!!!!!
        I'll try changing it. I've been doing it that way since the former programmer here taught me to do so.

        Comment


        • #5
          Originally posted by JEFMAN View Post
          I ususally define the clear plane after the last manual alignment, and before the first dcc move.
          Do you think that's why it faults when it switches to DCC? The error happens right after manual aligment at the beginning of plane 2.

          Comment


          • #6
            Originally posted by RockwellianRage View Post

            Do you think that's why it faults when it switches to DCC? The error happens right after manual aligment at the beginning of plane 2.
            Yes, the clearplane is defined at Z=0.1 in the startup alignment (so in the homing position).
            Redefine it just before the dcc mode at Z=0.1 (in the current alignment) and it should work.
            If you want to understand how it works, you can create a generic point at <0,0,0.1> in the startup alignment, then ask its coordinates in A2 and you will see the difference...

            Comment

          Related Topics

          Collapse

          Working...
          X