Program Stops for Unknown Reason

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

  • Program Stops for Unknown Reason

    PCDMIS 2009
    Sheffield Discovery2

    I have a program that I haven't run in a few months that now will not work. It reads up to and including the movepoint {-.0386,.0309,.3714} and just stops. I have no error codes flashing, no prompts, nothing. I had our I.T department restore a back-up from a date that I know worked and still nothing. I am able to get it to run by clicking "jump" on the "execution mode options" and selecting the PLN2, but I have no idea why that works. Is the program corrupt? I just do not see any reason for it to stop midstream. I am the only person that programs so I know it wasn't sabotage. Hopefully it's something silly that I am overlooking.Thanks in advance folks.

    Duane









    Code:
    STARTUP    =ALIGNMENT/START,RECALL:,LIST=YES
                ALIGNMENT/END
                MODE/MANUAL
                FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL, , 
                LOADPROBE/1-5MMX30MM
                TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
    CIR1       =FEAT/CIRCLE,CARTESIAN,OUT,LEAST_SQR
                THEO/<8.562,2.321,-18.2558>,<0,0,1>,0.3164,0
                ACTL/<8.562,2.321,-18.2558>,<0,0,1>,0.3164,0
                MEAS/CIRCLE,11,WORKPLANE
                HIT/BASIC,NORMAL,<8.404,2.3094,-18.2553>,<-0.998044,-0.0625157,0>,<8.404,2.3112,-18.2553>,USE THEO=YES
                MOVE/CIRCULAR
                HIT/BASIC,NORMAL,<8.4279,2.4073,-18.2556>,<-0.8222262,0.5691608,0>,<8.4314,2.4114,-18.2556>,USE THEO=YES
                MOVE/CIRCULAR
                HIT/BASIC,NORMAL,<8.5233,2.4749,-18.2557>,<-0.2081355,0.9781,0>,<8.5291,2.4755,-18.2557>,USE THEO=YES
                MOVE/CIRCULAR
                HIT/BASIC,NORMAL,<8.6764,2.4356,-18.2558>,<0.6410582,0.7674922,0>,<8.6629,2.4419,-18.2558>,USE THEO=YES
                MOVE/CIRCULAR
                HIT/BASIC,NORMAL,<8.7124,2.3757,-18.2558>,<0.9563543,0.2922097,0>,<8.7137,2.3674,-18.2558>,USE THEO=YES
                MOVE/CIRCULAR
                HIT/BASIC,NORMAL,<8.7186,2.2857,-18.2558>,<0.9601038,-0.2796438,0>,<8.7141,2.2767,-18.2558>,USE THEO=YES
                MOVE/CIRCULAR
                HIT/BASIC,NORMAL,<8.6697,2.201,-18.2559>,<0.6118511,-0.7909729,0>,<8.6589,2.1958,-18.2559>,USE THEO=YES
                MOVE/CIRCULAR
                HIT/BASIC,NORMAL,<8.5825,2.1643,-18.2559>,<0.1183841,-0.9929679,0>,<8.5807,2.1642,-18.2559>,USE THEO=YES
                MOVE/CIRCULAR
                HIT/BASIC,NORMAL,<8.5164,2.1651,-18.2559>,<-0.3629946,-0.9317912,0>,<8.5045,2.1736,-18.2559>,USE THEO=YES
                MOVE/CIRCULAR
                HIT/BASIC,NORMAL,<8.4401,2.2152,-18.2559>,<-0.8063148,-0.5914866,0>,<8.4348,2.2277,-18.2559>,USE THEO=YES
                MOVE/CIRCULAR
                HIT/BASIC,NORMAL,<8.4065,2.2899,-18.256>,<-0.984775,-0.1738338,0>,<8.4061,2.2935,-18.2559>,USE THEO=YES
                ENDMEAS/
    A1         =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
                ALIGNMENT/TRANS,XAXIS,CIR1
                ALIGNMENT/TRANS,YAXIS,CIR1
                ALIGNMENT/END
    PLN1       =FEAT/PLANE,CARTESIAN,TRIANGLE
                THEO/<-0.0175,-0.0744,-18.1115>,<-0.0010855,0.0003117,0.9999994>
                ACTL/<-0.0175,-0.0744,-18.1115>,<-0.0010855,0.0003117,0.9999994>
                MEAS/PLANE,10
                HIT/BASIC,NORMAL,<-0.4288,0.5594,-18.1126>,<-0.0010855,0.0003117,0.9999994>,<-0.4288,0.5593,-18.1126>,USE THEO=YES
                HIT/BASIC,NORMAL,<0.0321,0.5946,-18.1116>,<-0.0010855,0.0003117,0.9999994>,<0.0321,0.5946,-18.1116>,USE THEO=YES
                HIT/BASIC,NORMAL,<0.4434,0.4199,-18.111>,<-0.0010855,0.0003117,0.9999994>,<0.4434,0.4199,-18.111>,USE THEO=YES
                HIT/BASIC,NORMAL,<0.703,-0.001,-18.1108>,<-0.0010855,0.0003117,0.9999994>,<0.7031,-0.001,-18.1108>,USE THEO=YES
                HIT/BASIC,NORMAL,<0.6019,-0.3271,-18.11>,<-0.0010855,0.0003117,0.9999994>,<0.602,-0.3271,-18.11>,USE THEO=YES
                HIT/BASIC,NORMAL,<0.29,-0.6066,-18.1111>,<-0.0010855,0.0003117,0.9999994>,<0.29,-0.6066,-18.1111>,USE THEO=YES
                HIT/BASIC,NORMAL,<-0.0884,-0.6633,-18.1126>,<-0.0010855,0.0003117,0.9999994>,<-0.0884,-0.6633,-18.1126>,USE THEO=YES
                HIT/BASIC,NORMAL,<-0.4377,-0.5038,-18.1113>,<-0.0010855,0.0003117,0.9999994>,<-0.4376,-0.5038,-18.1113>,USE THEO=YES
                HIT/BASIC,NORMAL,<-0.6006,-0.3002,-18.1113>,<-0.0010855,0.0003117,0.9999994>,<-0.6005,-0.3002,-18.1113>,USE THEO=YES
                HIT/BASIC,NORMAL,<-0.6904,0.0843,-18.1122>,<-0.0010855,0.0003117,0.9999994>,<-0.6903,0.0843,-18.1122>,USE THEO=YES
                ENDMEAS/
    A2         =ALIGNMENT/START,RECALL:A1,LIST=YES
                ALIGNMENT/LEVEL,ZPLUS,PLN1
                ALIGNMENT/TRANS,ZAXIS,PLN1
                ALIGNMENT/END
                MODE/DCC
                MOVESPEED/ 80
                MOVE/POINT,NORMAL,<0.0735,2.0375,4.9496>
                MOVE/POINT,NORMAL,<-0.0114,0.0159,0.0327>
    CIR2       =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR
                THEO/<-0.0198,0.0067,-0.35>,<0,0,1>,0.2186
                ACTL/<-0.0083,0.0071,-0.349>,<0,0,1>,0.2191
                MEAS/CIRCLE,6,WORKPLANE
                HIT/BASIC,NORMAL,<-0.0139,0.1158,-0.35>,<-0.0498315,-0.9987576,0>,<-0.0215,0.1155,-0.3486>,USE THEO=YES
                HIT/BASIC,NORMAL,<0.0842,0.0413,-0.35>,<-0.957043,-0.289946,0>,<0.0942,0.0458,-0.349>,USE THEO=YES
                HIT/BASIC,NORMAL,<0.0823,-0.0302,-0.35>,<-0.9544215,0.2984622,0>,<0.0925,-0.0364,-0.3491>,USE THEO=YES
                HIT/BASIC,NORMAL,<-0.0283,-0.103,-0.35>,<0.0644776,0.9979192,0>,<-0.0318,-0.0995,-0.3491>,USE THEO=YES
                HIT/BASIC,NORMAL,<-0.1261,-0.0159,-0.35>,<0.9829306,0.1839767,0>,<-0.1162,-0.013,-0.3491>,USE THEO=YES
                HIT/BASIC,NORMAL,<-0.0889,0.0919,-0.35>,<0.6253522,-0.7803426,0>,<-0.0863,0.0843,-0.3491>,USE THEO=YES
                ENDMEAS/
                [COLOR="red"]MOVE/POINT,NORMAL,<-0.0386,0.0309,0.3714>
    [/COLOR]
    A3         =ALIGNMENT/START,RECALL:A2,LIST=YES
                ALIGNMENT/TRANS,XAXIS,CIR2
                ALIGNMENT/TRANS,YAXIS,CIR2
                MOVE/POINT,NORMAL,<-0.4066,0.5713,0.3872>
    PLN2       =FEAT/PLANE,CARTESIAN,TRIANGLE
                THEO/<-0.0344,-0.0453,-0.0001>,<-0.0001684,0.0000545,1>
                ACTL/<-0.0344,-0.0446,-0.0037>,<0.0017532,-0.0082006,0.9999648>
                MEAS/PLANE,9
                HIT/BASIC,NORMAL,<-0.4025,0.5755,-0.0004>,<-0.0001684,0.0000545,1>,<-0.4026,0.5753,-0.0007>,USE THEO=YES
                HIT/BASIC,NORMAL,<-0.0075,0.609,-0.0003>,<-0.0001684,0.0000545,1>,<-0.0085,0.6087,0.0008>,USE THEO=YES
                HIT/BASIC,NORMAL,<0.4176,0.4325,0>,<-0.0001684,0.0000545,1>,<0.417,0.4334,0.0024>,USE THEO=YES
                MOVE/POINT,NORMAL,<0.3205,-0.0729,0.0687>
                HIT/BASIC,NORMAL,<0.6988,-0.073,0>,<-0.0001684,0.0000545,1>,<0.6982,-0.072,-0.0056>,USE THEO=YES
                HIT/BASIC,NORMAL,<0.5042,-0.4453,0.0006>,<-0.0001684,0.0000545,1>,<0.5047,-0.4443,-0.009>,USE THEO=YES
                HIT/BASIC,NORMAL,<0.0973,-0.6732,-0.0007>,<-0.0001684,0.0000545,1>,<0.0978,-0.6722,-0.0097>,USE THEO=YES
                HIT/BASIC,NORMAL,<-0.2953,-0.6,-0.0006>,<-0.0001684,0.0000545,1>,<-0.2948,-0.6001,-0.0072>,USE THEO=YES
                HIT/BASIC,NORMAL,<-0.6198,-0.2737,0.0009>,<-0.0001684,0.0000545,1>,<-0.6192,-0.2738,-0.0029>,USE THEO=YES
                HIT/BASIC,NORMAL,<-0.703,0.0405,-0.0005>,<-0.0001684,0.0000545,1>,<-0.7025,0.0403,-0.0022>,USE THEO=YES
                ENDMEAS/
                MOVE/POINT,NORMAL,<-0.8268,0.093,0.3399>
                MOVE/POINT,NORMAL,<-0.7972,0.1027,-0.1018>
    A4         =ALIGNMENT/START,RECALL:A3,LIST=YES
                ALIGNMENT/LEVEL,ZPLUS,PLN2
                ALIGNMENT/TRANS,ZAXIS,PLN2
                ALIGNMENT/END

  • #2
    Originally posted by Xanthro View Post
    PCDMIS 2009
    Sheffield Discovery2

    I have a program that I haven't run in a few months that now will not work. It reads up to and including the movepoint {-.0386,.0309,.3714} and just stops. I have no error codes flashing, no prompts, nothing. I had our I.T department restore a back-up from a date that I know worked and still nothing. I am able to get it to run by clicking "jump" on the "execution mode options" and selecting the PLN2, but I have no idea why that works. Is the program corrupt? I just do not see any reason for it to stop midstream. I am the only person that programs so I know it wasn't sabotage. Hopefully it's something silly that I am overlooking.Thanks in advance folks.

    Duane









    Code:
    A3         =ALIGNMENT/START,RECALL:A2,LIST=YES
                ALIGNMENT/TRANS,XAXIS,CIR2
                [COLOR="Blue"]ALIGNMENT/TRANS,YAXIS,CIR2[/COLOR]
                MOVE/POINT,NORMAL,<-0.4066,0.5713,0.3872>
    PLN2       =FEAT/PLANE,CARTESIAN,TRIANGLE
    You are missing the "ALIGNMENT/END" in A3...........just fix it.
    sigpicIt's corona time!
    737 Xcel Cad++ v2009MR1....SE HABLA ESPAÑOL

    Comment


    • #3
      Muchas Gracias Roberto,

      Yo no tengo idea de lo que pasó pero estoy feliz de que era simple.

      Comment


      • #4
        Originally posted by Xanthro View Post
        Muchas Gracias Roberto,

        Yo no tengo idea de lo que pasó pero estoy feliz de que era simple.
        Didn't know you speak spanish!!

        You're welcome, glad to help...now It's corona time ah!! (es Viernes)
        sigpicIt's corona time!
        737 Xcel Cad++ v2009MR1....SE HABLA ESPAÑOL

        Comment

        Related Topics

        Collapse

        Working...
        X