Machine stops in the middle of the program

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

  • Machine stops in the middle of the program

    Not sure why CMM stops in the middle of the program while the probe inside a hole without any messages or errors. any ideas what is going on here?

    many thank is
    Tamer

  • #2
    Please post your code so we can see whats happening.

    Copy & paste it right from PC DMIS. When you do paste it into the forum..BEFORE posting..put the word "code" in brackets around it like you see in my pictures. Doing so will make it look nice and clean and will make it into a scroll-able box for us to read.

    Code:
    CLEARP/ZPLUS,PLN_TOP.Z+0.25,ZPLUS,PLN_TOP.Z+0.25,ON
                MOVE/POINT,NORMAL,<0,0,PLN_TOP.Z+1>
                TIP/T1A-95B0, SHANKIJK=0, -0.9962, -0.0872, ANGLE=0
                CLEARP/YMINUS,-1.75,ZMINUS,-3.4,ON
                MOVE/POINT,NORMAL,<0,-1.75,1>
                MOVE/CLEARPLANE
    RAD_G_1    =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
                THEO/<0,0,-3.4>,<0,0,1>,2.4027,0
                ACTL/<0,0,-3.4>,<0,0,1>,2.4027,0
                TARG/<0,0,-3.4>,<0,0,1>
                START ANG=182.5,END ANG=-2.5
                ANGLE VEC=<1,0,0>
                DIRECTION=CCW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    RAD_G_2    =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
                THEO/<0,0,-4.075>,<0,0,1>,2.4027,0
                ACTL/<0,0,-4.075>,<0,0,1>,2.4027,0
                TARG/<0,0,-4.075>,<0,0,1>
                START ANG=-2.5,END ANG=182.5
                ANGLE VEC=<1,0,0>
                DIRECTION=CW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    RAD_G_3    =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
                THEO/<0,0,-4.75>,<0,0,1>,2.4027,0
                ACTL/<0,0,-4.75>,<0,0,1>,2.4027,0
                TARG/<0,0,-4.75>,<0,0,1>
                START ANG=182.5,END ANG=-2.5
                ANGLE VEC=<1,0,0>
                DIRECTION=CCW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
                MOVE/INCREMENT,<0.25,0,0>
    RAD_H_1    =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
                THEO/<0,0,-7.45>,<0,0,1>,2.3781,0
                ACTL/<0,0,-7.45>,<0,0,1>,2.3781,0
                TARG/<0,0,-7.45>,<0,0,1>
                START ANG=-2.5,END ANG=182.5
                ANGLE VEC=<1,0,0>
                DIRECTION=CW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    RAD_H_2    =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
                THEO/<0,0,-7.66>,<0,0,1>,2.3781,0
                ACTL/<0,0,-7.66>,<0,0,1>,2.3781,0
                TARG/<0,0,-7.66>,<0,0,1>
                START ANG=182.5,END ANG=-2.5
                ANGLE VEC=<1,0,0>
                DIRECTION=CCW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
                MOVE/POINT,NORMAL,<1.425,-0.55,-7.66>
                MOVE/POINT,NORMAL,<1.425,-0.55,2>
                TIP/T1A-95B180, SHANKIJK=0, 0.9962, -0.0872, ANGLE=0
                CLEARP/YPLUS,1.75,ZMINUS,-3.4,ON
                MOVE/POINT,NORMAL,<0,1.75,1>
                MOVE/CLEARPLANE
    RAD_G_4    =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
                THEO/<0,0,-3.4>,<0,0,1>,2.4027,0
                ACTL/<0,0,-3.4>,<0,0,1>,2.4027,0
                TARG/<0,0,-3.4>,<0,0,1>
                START ANG=177.5,END ANG=362.5
                ANGLE VEC=<1,0,0>
                DIRECTION=CW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    RAD_G_5    =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
                THEO/<0,0,-4.075>,<0,0,1>,2.4027,0
                ACTL/<0,0,-4.075>,<0,0,1>,2.4027,0
                TARG/<0,0,-4.075>,<0,0,1>
                START ANG=2.5,END ANG=-182.5
                ANGLE VEC=<1,0,0>
                DIRECTION=CCW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    RAD_G_6    =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
                THEO/<0,0,-4.75>,<0,0,1>,2.4027,0
                ACTL/<0,0,-4.75>,<0,0,1>,2.4027,0
                TARG/<0,0,-4.75>,<0,0,1>
                START ANG=177.5,END ANG=362.5
                ANGLE VEC=<1,0,0>
                DIRECTION=CW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
                MOVE/INCREMENT,<0.25,0,0>
    RAD_H_3    =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
                THEO/<0,0,-7.45>,<0,0,1>,2.3781,0
                ACTL/<0,0,-7.45>,<0,0,1>,2.3781,0
                TARG/<0,0,-7.45>,<0,0,1>
                START ANG=2.5,END ANG=-182.5
                ANGLE VEC=<1,0,0>
                DIRECTION=CCW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    RAD_H_4    =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
                THEO/<0,0,-7.66>,<0,0,1>,2.3781,0
                ACTL/<0,0,-7.66>,<0,0,1>,2.3781,0
                TARG/<0,0,-7.66>,<0,0,1>
                START ANG=177.5,END ANG=362.5
                ANGLE VEC=<1,0,0>
                DIRECTION=CW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    SCN1       =FEAT/SET,CARTESIAN
                THEO/<0,0,-3.4>,<0,0,1>
                ACTL/<0,0,-3.4>,<0,0,1>
                CONSTR/SET,BASIC,RAD_G_1.hit[1..5],RAD_G_4.hit[1..5],,
    CIR_G1     =FEAT/CIRCLE,CARTESIAN,OUT,LEAST_SQR,NO
                THEO/<0,0,-3.4>,<0,0,1>,2.4027
                ACTL/<0,0,-3.4>,<0,0,1>,2.4027
                CONSTR/CIRCLE,BF,2D,SCN1,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,UPR=0
    PNT_G1     =FEAT/POINT,CARTESIAN,NO
                THEO/<0,0,-3.4>,<0,0,1>
                ACTL/<0,0,-3.4>,<0,0,1>
                CONSTR/POINT,CAST,CIR_G1
    SCN4       =FEAT/SET,CARTESIAN
                THEO/<0,0,-4.075>,<0,0,1>
                ACTL/<0,0,-4.075>,<0,0,1>
                CONSTR/SET,BASIC,RAD_G_2.hit[1..5],RAD_G_5.hit[1..5],,
    CIR_G2     =FEAT/CIRCLE,CARTESIAN,OUT,LEAST_SQR,NO
                THEO/<0,0,-4.075>,<0,0,1>,2.4027
                ACTL/<0,0,-4.075>,<0,0,1>,2.4027
                CONSTR/CIRCLE,BF,2D,SCN4,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,UPR=0
    PNT_G2     =FEAT/POINT,CARTESIAN,NO
                THEO/<0,0,-4.075>,<0,0,1>
                ACTL/<0,0,-4.075>,<0,0,1>
                CONSTR/POINT,CAST,CIR_G2
    SCN7       =FEAT/SET,CARTESIAN
                THEO/<0,0,-4.75>,<0,0,1>
                ACTL/<0,0,-4.75>,<0,0,1>
                CONSTR/SET,BASIC,RAD_G_3.hit[1..5],RAD_G_6.hit[1..5],,
    CIR_G3     =FEAT/CIRCLE,CARTESIAN,OUT,LEAST_SQR,NO
                THEO/<0,0,-4.75>,<0,0,1>,2.4027
                ACTL/<0,0,-4.75>,<0,0,1>,2.4027
                CONSTR/CIRCLE,BF,2D,SCN7,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,UPR=0
    PNT_G3     =FEAT/POINT,CARTESIAN,NO
                THEO/<0,0,-4.75>,<0,0,1>
                ACTL/<0,0,-4.75>,<0,0,1>
                CONSTR/POINT,CAST,CIR_G3
    SCN10      =FEAT/SET,CARTESIAN
                THEO/<0,0,-7.66>,<0,0,1>
                ACTL/<0,0,-7.66>,<0,0,1>
                CONSTR/SET,BASIC,RAD_H_2,RAD_H_4,,
    CIR_H2     =FEAT/CIRCLE,CARTESIAN,OUT,LEAST_SQR,NO
                THEO/<0,0,-7.66>,<0,0,1>,2.3781
                ACTL/<0,0,-7.66>,<0,0,1>,2.3781
                CONSTR/CIRCLE,BF,2D,SCN10,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,UPR=0
    PNT_H2     =FEAT/POINT,CARTESIAN,NO
                THEO/<0,0,-7.66>,<0,0,1>
                ACTL/<0,0,-7.66>,<0,0,1>
                CONSTR/POINT,CAST,CIR_H2
    SCN13      =FEAT/SET,CARTESIAN
                THEO/<0,0,-7.45>,<0,0,1>
                ACTL/<0,0,-7.45>,<0,0,1>
                CONSTR/SET,BASIC,RAD_H_1.hit[1..5],RAD_H_3.hit[1..5],,
    CIR_H1     =FEAT/CIRCLE,CARTESIAN,OUT,LEAST_SQR,NO
                THEO/<0,0,-7.45>,<0,0,1>,2.3781
                ACTL/<0,0,-7.45>,<0,0,1>,2.3781
                CONSTR/CIRCLE,BF,2D,SCN13,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,UPR=0
    PNT_H1     =FEAT/POINT,CARTESIAN,NO
                THEO/<0,0,-7.45>,<0,0,1>
                ACTL/<0,0,-7.45>,<0,0,1>
                CONSTR/POINT,CAST,CIR_H1
                WORKPLANE/YMINUS
    LIN_GH     =FEAT/LINE,CARTESIAN,UNBOUNDED,NO
                THEO/<0,0,-3.4>,<0,0,-1>
                ACTL/<0,0,-3.4>,<0,0,-1>
                CONSTR/LINE,BF,3D,PNT_G1,PNT_G2,PNT_G3,PNT_H1,PNT_H2,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
                WORKPLANE/ZPLUS
    A3         =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
                  ALIGNMENT/LEVEL,ZMINUS,LIN_GH
                  ALIGNMENT/TRANS,XAXIS,LIN_GH
                  ALIGNMENT/TRANS,YAXIS,LIN_GH
                  ALIGNMENT/TRANS,ZAXIS,PLN_TOP
                ALIGNMENT/END
                WORKPLANE/YPLUS
    LIN_YP     =FEAT/LINE,CARTESIAN,UNBOUNDED,NO
                THEO/<0,-0.5,0>,<0,1,0>
                ACTL/<0,-0.5,0>,<0,1,0>
                CONSTR/LINE,ALIGN,1,WORKPLANE
                WORKPLANE/ZPLUS
    A4         =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
                  ALIGNMENT/LEVEL,ZMINUS,LIN_GH
                  ALIGNMENT/ROTATE,YPLUS,TO,LIN_YP,ABOUT,ZMINUS
                  ALIGNMENT/TRANS,XAXIS,LIN_GH
                  ALIGNMENT/TRANS,YAXIS,LIN_GH
                  ALIGNMENT/TRANS,ZAXIS,PLN_TOP
                ALIGNMENT/END
    Capture_1.PNGCapture2.PNG
    Last edited by DAN_M; 08-27-2019, 06:18 AM.
    SF7107(PCD), SF454(PCD), 152614(Quindos), 9159(Quindos), 7107(Quindos), B&S Manual, M&M Gear Checker

    Comment


    • #3
      I cant post any codes online for some security policy. I was just wondering what could be the reasons for such issue so may be I can figure it out.

      Comment


      • KIRBSTER269
        KIRBSTER269 commented
        Editing a comment
        posting your code, isn't breaking any security, posting your print will be something you shouldn't do.

    • #4
      Can you at least do a screen shot of the execution window? That should display the commands that are in queue to be run. That could provide some insight.

      Also, is this just in one program. Is it every time the program runs in the exact same hole? Details are key.
      PC-DMIS 2016.0 SP8

      Jeff

      Comment


      • #5
        Is there a breakpoint, that was inserted by accident?

        Capture.JPG
        (In Memory of my Loving wife, "Ronda" who I lost March 7, 2016. I love you baby.)
        They say "Nobody's Perfect." I must be Nobody.

        Comment


        • #6
          Circular moves ON may cause a problem if the probe diameter being used is close to the size of hole being checked.

          Comment

          Related Topics

          Collapse

          Working...
          X