4.1 Mid Line Construction - Whats Going ON????

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

  • 4.1 Mid Line Construction - Whats Going ON????

    I seem to have found a big issue with 4.1. We inspect our electrodes on a fixture plate that we pick up before placing the electrode on the fixture. It is a simple beginning to our program.

    dcc mode:
    1. Fixture top (level)
    2. measure the Front, Right, Back, and Left sides.
    3. Construct a line mid front/back(Y0)
    4. Construct a line mid right/left(X0)
    5. Construct point intersection of X0Y0
    6. alignment Fixtop/rotate: front/origin X: X0Y0 / origin Y:X0Y0 /fixture top Zrigin
    I have used this same section of code since 3.2063 with no problems.

    Today I ran the program on 3.7MR2 - no problems, Decided to use 4.1 with the same program and play around.

    look what is happening to the vectors on the constructed lines: PROGRAMS WONT RUN!!!!!! Whats going on here!!!! all features are measured in the zplus view / constructed in the z-plus view?????!!!!!!!! We literally have thousands of programs that use this same section of code........

    FRONT =FEAT/LINE,RECT,UNBND
    THEO/-4.1435,0,-0.25,1,0,0
    ACTL/-4.1441,-0.0002,-0.2502,1,-0.0000974,0
    MEAS/LINE,2,WORKPLANE
    MOVE/CLEARPLANE
    HIT/BASIC,NORMAL,-4.1435,0,-0.25,0,-1,0,-4.1441,-0.0002,-0.2501,USE THEO = YES
    HIT/BASIC,NORMAL,-0.2904,0,-0.25,0,-1,0,-0.2912,-0.0005,-0.2502,USE THEO = YES
    ENDMEAS/

    RIGHT =FEAT/LINE,RECT,UNBND
    THEO/0,0.4142,-0.25,0,1,0
    ACTL/0.0003,0.4134,-0.25,0.0001081,1,0
    MEAS/LINE,2,WORKPLANE
    MOVE/CLEARPLANE
    HIT/BASIC,NORMAL,0,0.4142,-0.25,1,0,0,0.0003,0.4134,-0.2499,USE THEO = YES
    HIT/BASIC,NORMAL,0,3.4319,-0.25,1,0,0,0.0007,3.4308,-0.25,USE THEO = YES
    ENDMEAS/

    BACK =FEAT/LINE,RECT,UNBND
    THEO/-0.4828,3.76,-0.25,-1,0,0
    ACTL/-0.482,3.7493,-0.25,-1,0.0001118,0
    MEAS/LINE,2,WORKPLANE
    MOVE/CLEARPLANE
    HIT/BASIC,NORMAL,-0.4828,3.76,-0.25,0,1,0,-0.482,3.7493,-0.25,USE THEO = YES
    HIT/BASIC,NORMAL,-4.0615,3.76,-0.25,0,1,0,-4.0609,3.7497,-0.25,USE THEO = YES
    ENDMEAS/

    LEFT =FEAT/LINE,RECT,UNBND
    THEO/-4.37,3.4325,-0.25,0,-1,0
    ACTL/-4.359,3.4334,-0.2502,-0.0001305,-1,0
    MEAS/LINE,2,WORKPLANE
    MOVE/CLEARPLANE
    HIT/BASIC,NORMAL,-4.37,3.4325,-0.25,-1,0,0,-4.359,3.4334,-0.2502,USE THEO = YES
    HIT/BASIC,NORMAL,-4.37,0.3394,-0.25,-1,0,0,-4.3594,0.3405,-0.2503,USE THEO = YES
    ENDMEAS/

    Y0 =FEAT/LINE,RECT,UNBND
    THEO/-2.3131,1.88,-0.25,-1,0,0
    ACTL/-2.313,1.8746,-0.2501,-0.0001046,-1,0
    CONSTR/LINE,MID,FRONT,BACK

    X0 =FEAT/LINE,RECT,UNBND
    THEO/-2.185,1.9234,-0.25,0,-1,0
    ACTL/-2.1794,1.9234,-0.2501,1,-0.0001193,0
    CONSTR/LINE,MID,RIGHT,LEFT

    FIX.X0Y0 =FEAT/POINT,RECT
    THEO/-2.185,1.88,-0.25,0,-1,0
    ACTL/-2.313,1.9234,-0.2501,1,-0.0001193,0
    CONSTR/POINT,INT,X0,Y0AUTO.ALIGN

    AUTO.ALIGN =ALIGNMENT/START,RECALL:MAN.ALIGN,LIST=YES
    ALIGNMENT/LEVEL,ZPLUS,FIXTOP
    ALIGNMENT/ROTATE,XPLUS,TO,FRONT,ABOUT,ZPLUS
    ALIGNMENT/TRANS,XAXIS,FIX.X0Y0
    ALIGNMENT/TRANS,YAXIS,FIX.X0Y0
    ALIGNMENT/TRANS,ZAXIS,FIXTOP
    ALIGNMENT/END
    Last edited by Boomer; 09-15-2006, 04:52 PM.
    sigpic
    "You cant vote 'present' as the President of the United States"

  • #2
    Don't know what to tell you. I just tried it in 4.1 and 3.7 and all went well.

    I do notice that your "front" line has both THEO/ACTL and the HITBASIC vectors are the same. This should not be. If this is indeed the "front" I can understand the THEO/ACTL having a vector of 1 or -1 in the x axis, but the vectors for measured should then be +1 or -1 in the y axis. Is this what is being screwed up by DMIS? Or is it... don't take offense, operator error?




    RONT =FEAT/LINE,RECT,UNBND
    THEO/-4.1435,0,-0.25,1,0,0
    ACTL/-4.1441,-0.0002,-0.2502,1,-0.0000974,0
    MEAS/LINE,2,WORKPLANE
    MOVE/CLEARPLANE
    HIT/BASIC,NORMAL,-4.1435,0,-0.25,0,-1,0,-4.1441,-0.0002,-0.2501,USE THEO = YES
    HIT/BASIC,NORMAL,-0.2904,0,-0.25,0,-1,0,-0.2912,-0.0005,-0.2502,USE THEO = YES
    ENDMEAS/
    Last edited by JamesMannes; 09-16-2006, 10:48 AM.
    sigpic

    James Mannes

    Comment


    • #3
      Boomer
      I ran into this yesterday. the issue I found in my case was that the program was made in a pevious version and worked fine. when brought into 4.1 for the first time it did not work. In my case the first line was taken from left to right, and the second line was taken from right to left. what I did was construct a "reverse" line of the second and replace the line that i reversed in any constructiuons, alignments or dimensions where the original was being used. This fixed the problem in my case. I have had no time to go in and look to see if there is somthing else incorrect yet.
      I hope this helps you out
      Mike
      Global FX 7-10-7
      Global Silver 7-10-7
      Microval PFX
      PC-DMIS 2012 mr1

      Comment


      • #4
        Yeah, I didn't do that(make it in 3.7). I guess I should have. I saved it back, opened it in 3.7 and then closed it and re-opened in 4.1.
        sigpic

        James Mannes

        Comment


        • #5
          I have had it were I did two individual points from left to right, constructed a line from these to points from left to right. When I choose it in an alignment, the vector is going -X. I will use this line and do a reverse. Choose it again in an alignment and it will still be going in the -X. I delete the line and reconstruct it and it then ends up going in the +X axis. This has happened at least in every other program so far that I have written in 4.0 / 4.1.
          sigpic

          B&S ADVANTAGE 12-22-10, EXCEL 9-15-9, ETC.
          PCDMIS 4.1, 3.5mr2,

          Comment


          • #6
            midlines2

            Jammes:

            You will see that the big problem is in the creation of the midlines:
            To me, the vector of the constructed line does not matter wether it is -1,0,0 or 1,0,0 and the same for the X0, the problem is that the vectors are 90deg to the theoretical causing BIG problems - fixture center is not where it should be.


            Y0 =FEAT/LINE,RECT,UNBND
            THEO/-2.3131,1.88,-0.25,-1,0,0
            ACTL/-2.313,1.8746,-0.2501,-0.0001046,-1,0
            CONSTR/LINE,MID,FRONT,BACK

            X0 =FEAT/LINE,RECT,UNBND
            THEO/-2.185,1.9234,-0.25,0,-1,0
            ACTL/-2.1794,1.9234,-0.2501,1,-0.0001193,0
            CONSTR/LINE,MID,RIGHT,LEFT

            This program start was created in 3.2063....If I have to rewrite all the programs in 4.1, I will not be able to change to 4.1. THIS SUCKS!!!
            sigpic
            "You cant vote 'present' as the President of the United States"

            Comment


            • #7
              fixture vectors

              Here is a pdf...of the fixture vectors
              Attached Files
              sigpic
              "You cant vote 'present' as the President of the United States"

              Comment


              • #8
                Boomer the only thing that I see that might be suspect is the period in the name of your point construction. I’ve always been told to avoid this. I find it hard to believe that if it has not caused a problem before that it would now but it might be something to look at.

                FIX.X0Y0 =FEAT/POINT,RECT
                THEO/-2.185,1.88,-0.25,0,-1,0
                ACTL/-2.313,1.9234,-0.2501,1,-0.0001193,0
                CONSTR/POINT,INT,X0,Y0AUTO.ALIGN

                Comment


                • #9
                  Sorry, Don't know what I was smokin on Saturday. My first response was bogus.

                  I'll try the same thing in 3.7 later on today. Have you called tech support and let them know about this problem?
                  sigpic

                  James Mannes

                  Comment


                  • #10
                    YEP, it is best to avoid ANY type of character that can have a mathematical function. / * - + and . all have mathematical uses and should be avoided at ALL cost in the feature ID's and the dimension ID's. Not sure if that is causing this problem, but avoid them, always!
                    sigpic
                    Originally posted by AndersI
                    I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

                    Comment


                    • #11
                      feature label

                      I tired changing names of all features......no different. Problem is in the creation of the 2 lines previous to the creation of the point.
                      sigpic
                      "You cant vote 'present' as the President of the United States"

                      Comment


                      • #12
                        Boomer can you post the same thing as it appears in 3.7?

                        Comment


                        • #13
                          3.7 MR3 program run

                          Here is the same section of code that I ran just before I ran in 4.1. you will notice the difference in the x0 y0 line creation:

                          FRONT =FEAT/LINE,RECT,UNBND
                          THEO/-3.4995,0,-0.25,1,0,0
                          ACTL/-3.4988,-0.0015,-0.2503,1,0.0001356,0
                          MEAS/LINE,2,WORKPLANE
                          MOVE/CLEARPLANE
                          HIT/BASIC,NORMAL,-3.4995,0,-0.25,0,-1,0,-3.4988,-0.0015,-0.2503,USE THEO = YES
                          HIT/BASIC,NORMAL,-0.7495,0,-0.25,0,-1,0,-0.7487,-0.0011,-0.2508,USE THEO = YES
                          ENDMEAS/

                          RIGHT =FEAT/LINE,RECT,UNBND
                          THEO/0.0005,0.75,-0.25,0,1,0
                          ACTL/-0.0006,0.7501,-0.2504,-0.0001455,1,0
                          MEAS/LINE,2,WORKPLANE
                          MOVE/CLEARPLANE
                          HIT/BASIC,NORMAL,0.0005,0.75,-0.25,1,0,0,-0.0006,0.7501,-0.2504,USE THEO = YES
                          HIT/BASIC,NORMAL,0.0005,3,-0.25,1,0,0,-0.0009,2.9993,-0.2502,USE THEO = YES
                          ENDMEAS/

                          BACK =FEAT/LINE,RECT,UNBND
                          THEO/-0.7495,3.7,-0.25,-1,0,0
                          ACTL/-0.75,3.7428,-0.2503,-1,-0.0001428,0
                          MEAS/LINE,2,WORKPLANE
                          MOVE/CLEARPLANE
                          HIT/BASIC,NORMAL,-0.7495,3.7,-0.25,0,1,0,-0.75,3.7428,-0.2503,USE THEO = YES
                          HIT/BASIC,NORMAL,-3.4995,3.7,-0.25,0,1,0,-3.5003,3.7424,-0.2502,USE THEO = YES
                          ENDMEAS/

                          LEFT =FEAT/LINE,RECT,UNBND
                          THEO/-4.2995,3,-0.25,0,-1,0
                          ACTL/-4.3547,2.9998,-0.2503,0.0001112,-1,0
                          MEAS/LINE,2,WORKPLANE
                          MOVE/CLEARPLANE
                          HIT/BASIC,NORMAL,-4.2995,3,-0.25,-1,0,0,-4.3547,2.9998,-0.2503,USE THEO = YES
                          HIT/BASIC,NORMAL,-4.2995,0.75,-0.25,-1,0,0,-4.3544,0.7511,-0.2506,USE THEO = YES
                          ENDMEAS/

                          Y0 =FEAT/LINE,RECT,UNBND
                          THEO/-2.1245,1.85,-0.25,-1,0,0
                          ACTL/-2.1244,1.8707,-0.2503,-1,-0.0001428,0
                          CONSTR/LINE,MID,FRONT,BACK,2.75

                          X0 =FEAT/LINE,RECT,UNBND
                          THEO/-2.1495,1.875,-0.25,0,-1,0
                          ACTL/-2.1776,1.875,-0.2503,0.0001112,-1,0
                          CONSTR/LINE,MID,RIGHT,LEFT,2.25

                          FIX.X0Y0 =FEAT/POINT,RECT
                          THEO/-2.1495,1.85,-0.25,0,-1,0
                          ACTL/-2.1776,1.8706,-0.2503,0.0001112,-1,0
                          CONSTR/POINT,INT,X0,Y0

                          AUTOALIGN =ALIGNMENT/START,RECALL:MAN_ALIGN, LIST= YES
                          ALIGNMENT/LEVEL,ZPLUS,FIXTOP
                          ALIGNMENT/ROTATE,XPLUS,TO,FRONT,ABOUT,ZPLUS
                          ALIGNMENT/TRANS,XAXIS,X0Y0
                          ALIGNMENT/TRANS,YAXIS,X0Y0
                          ALIGNMENT/TRANS,ZAXIS,FIXTOP
                          ALIGNMENT/END
                          sigpic
                          "You cant vote 'present' as the President of the United States"

                          Comment


                          • #14
                            Bommer I'm sure this is a dumb question but I need to ask it. Why are your THOE different from the eariler to the later programs?

                            Comment


                            • #15
                              theo different

                              I dont know either.......I'm not sure if 4.1 changed them....I could have opened up the feature in 4.1 and tried recreating them.....not exactly sure.

                              If 4.1 is somehow looking at the features differently than in previous versions, this may have caused the software to create new theo values...
                              sigpic
                              "You cant vote 'present' as the President of the United States"

                              Comment

                              Related Topics

                              Collapse

                              • emurray
                                Please take a look
                                by emurray
                                I am running a pre-existing program for one of our parts. The problem I am having (this time) is after I am prompted to take my manual measurments,...
                                08-14-2007, 12:32 PM
                              • zonionman
                                Offline Code Alignment Issues
                                by zonionman
                                I have two different programs I wrote for two different impellers, but the manual alignment is the same for both, dimensions and all. The first one I...
                                07-26-2013, 04:04 PM
                              • Aguayo
                                Program from Renishaw
                                by Aguayo
                                Please take a look this the program below,renishaw sent it to me yesterday.I
                                ran it,but I did not get the results the file was emthy,renishaw said...
                                05-10-2006, 08:03 AM
                              • dwade
                                Dilemma with datums
                                by dwade
                                What I have run into while looking into correlation issues with a customer is datum feature measurement. The parts were programmed with CAD (and using...
                                06-04-2014, 02:13 PM
                              • Ken379128
                                Nominals changing
                                by Ken379128
                                Why when I run thru a program do my nominals keep changing. I go in put them to what I want and when it runs it changes it right back????...
                                02-03-2007, 10:29 AM
                              Working...
                              X