Program for Calibrating Steel Squares

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

  • Program for Calibrating Steel Squares

    Anyone have a decent program for calibrating various sizes of steel squares? I wrote one in MM4 and will probably be writing one in PC-Dmis, but would like to look at anyone elses' or at least spark a conversation about such.
    sigpic
    Global Advantage 12-22-10
    TESASTAR M SP25 4.3mr2

  • #2
    Originally posted by keego View Post
    Anyone have a decent program for calibrating various sizes of steel squares? I wrote one in MM4 and will probably be writing one in PC-Dmis, but would like to look at anyone elses' or at least spark a conversation about such.
    Gee, measure 2 lines?

    You can use "variables" so that the manual measurements you take on the square will be repeated in DCC mode without the need to edit.

    Code:
                MOVE/CLEARPLANE
    A1         =AUTO/VECTOR POINT,SHOWALLPARAMS = YES
                THEO/M1.HIT[1].X,M1.HIT[1].Y,0,0,0,1
                ACTL/6.477,68.275,0,0,0,1
                TARG/M1.HIT[1].X,M1.HIT[1].Y,0,0,0,1
                THEO_THICKNESS = 0,RECT,SNAP = YES,$
                AUTO MOVE = NO,DISTANCE = 150
                MOVE/CLEARPLANE
    A2         =AUTO/VECTOR POINT,SHOWALLPARAMS = YES
                THEO/M1.HIT[2].X,M1.HIT[2].Y,0,0,0,1
                ACTL/40.352,68.559,0,0,0,1
                TARG/M1.HIT[2].X,M1.HIT[2].Y,0,0,0,1
                THEO_THICKNESS = 0,RECT,SNAP = YES,$
                AUTO MOVE = NO,DISTANCE = 150
                MOVE/CLEARPLANE
    A3         =AUTO/VECTOR POINT,SHOWALLPARAMS = YES
                THEO/M1.HIT[3].X,M1.HIT[3].Y,0,0,0,1
                ACTL/40.816,12.605,0,0,0,1
                TARG/M1.HIT[3].X,M1.HIT[3].Y,0,0,0,1
                THEO_THICKNESS = 0,RECT,SNAP = YES,$
                AUTO MOVE = NO,DISTANCE = 150
                MOVE/CLEARPLANE
    A4         =AUTO/VECTOR POINT,SHOWALLPARAMS = YES
                THEO/M1.HIT[4].X,M1.HIT[4].Y,0,0,0,1
                ACTL/9.416,20.659,0,0,0,1
                TARG/M1.HIT[4].X,M1.HIT[4].Y,0,0,0,1
                THEO_THICKNESS = 0,RECT,SNAP = YES,$
                AUTO MOVE = NO,DISTANCE = 150
    That code will use the individual hits from the manual measurement to place the DCC hits. This example is for a plane, but it is the same idea. M1 is the feature ID of the manual plane.
    sigpic
    Originally posted by AndersI
    I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

    Comment


    • #3
      46 views and no one else has a comment? Matt, I know this is simple and the method you described is basically the way I did it in MM4. I just thought with the vast array of knowledge here that someone else may have a completely different approach.
      sigpic
      Global Advantage 12-22-10
      TESASTAR M SP25 4.3mr2

      Comment


      • #4
        Originally posted by keego View Post
        46 views and no one else has a comment? Matt, I know this is simple and the method you described is basically the way I did it in MM4. I just thought with the vast array of knowledge here that someone else may have a completely different approach.
        Hey, once "The Best" has answered, all other answers are just trivial.

        I am guessing that this is not a "hot" item in most labs for some reason.
        sigpic
        Originally posted by AndersI
        I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

        Comment


        • #5
          We measure alot of ring gages on the cmm & everything is answered up front in comments & then those comments are converted to variables & dimensioned so 1 program fits all.....
          sigpic.....Its called golf because all the other 4 letter words were taken

          Comment


          • #6
            Originally posted by Matthew D. Hoedeman View Post
            Hey, once "The Best" has answered, all other answers are just trivial.

            I am guessing that this is not a "hot" item in most labs for some reason.
            I don’t understand it! The code has very little to do with the original question, yet the asker said that what he/she did with MM4. WTF?

            Bobby never claimed to be the best and he got the best answer….so far!!

            Geeez…you have been riding in that fantasy wagon for too long.

            Comment


            • #7
              Originally posted by lambo View Post
              I don’t understand it! The code has very little to do with the original question, yet the asker said that what he/she did with MM4. WTF?

              Bobby never claimed to be the best and he got the best answer….so far!!

              Geeez…you have been riding in that fantasy wagon for too long.
              NO, the answer I gave was a SAMPLE of how to CODE it to do what he wanted to do, the M1.HIT[1].X and all that, which can be used to get touch data from the manual alignment line and used for the DCC alignment / Reporting of the square. AND, for various size squares, I think it would be much quicker to take the 4 manual touches (for the 2 alignment lines) than it would be to do all the typing for length of beam and length of base and all that jazz.

              Here is the exact same thing, but from a 2-hit line to measure in DCC the same touches.
              Code:
              A5         =AUTO/VECTOR POINT,SHOWALLPARAMS = YES
                          THEO/M2.HIT[1].X,M2.HIT[1].Y,M2.HIT[1].Z,0,1,0
                          ACTL/6.002,0,-3.076,0,1,0
                          TARG/M2.HIT[1].X,M2.HIT[1].Y,M2.HIT[1].Z,0,1,0
                          THEO_THICKNESS = 0,RECT,SNAP = YES,$
                          AUTO MOVE = NO,DISTANCE = 150
                          MOVE/CLEARPLANE
              A6         =AUTO/VECTOR POINT,SHOWALLPARAMS = YES
                          THEO/M2.HIT[2].X,M2.HIT[2].Y,M2.HIT[2].Z,0,1,0
                          ACTL/46.552,0,-3.072,0,1,0
                          TARG/M2.HIT[2].X,M2.HIT[2].Y,M2.HIT[2].Z,0,1,0
                          THEO_THICKNESS = 0,RECT,SNAP = YES,$
                          AUTO MOVE = NO,DISTANCE = 150
              Of course, any real "coder" can take any example of a sample and use it for his porpoises (bottle-nose to be exact).
              sigpic
              Originally posted by AndersI
              I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

              Comment


              • #8
                Originally posted by Matthew D. Hoedeman View Post
                NO, the answer I gave was a SAMPLE of how to CODE it to do what he wanted to do, the M1.HIT[1].X and all that, which can be used to get touch data from the manual alignment line and used for the DCC alignment / Reporting of the square. AND, for various size squares, I think it would be much quicker to take the 4 manual touches (for the 2 alignment lines) than it would be to do all the typing for length of beam and length of base and all that jazz.

                Here is the exact same thing, but from a 2-hit line to measure in DCC the same touches.
                Code:
                A5         =AUTO/VECTOR POINT,SHOWALLPARAMS = YES
                            THEO/M2.HIT[1].X,M2.HIT[1].Y,M2.HIT[1].Z,0,1,0
                            ACTL/6.002,0,-3.076,0,1,0
                            TARG/M2.HIT[1].X,M2.HIT[1].Y,M2.HIT[1].Z,0,1,0
                            THEO_THICKNESS = 0,RECT,SNAP = YES,$
                            AUTO MOVE = NO,DISTANCE = 150
                            MOVE/CLEARPLANE
                A6         =AUTO/VECTOR POINT,SHOWALLPARAMS = YES
                            THEO/M2.HIT[2].X,M2.HIT[2].Y,M2.HIT[2].Z,0,1,0
                            ACTL/46.552,0,-3.072,0,1,0
                            TARG/M2.HIT[2].X,M2.HIT[2].Y,M2.HIT[2].Z,0,1,0
                            THEO_THICKNESS = 0,RECT,SNAP = YES,$
                            AUTO MOVE = NO,DISTANCE = 150
                Of course, any real "coder" can take any example of a sample and use it for his porpoises (bottle-nose to be exact).
                Well, from what I understand, he/she wants to use logic for different sizes...use comment and variable as Bobby said….

                Anywho, i've been working like dog... I'm outta here til the 27th.

                Cheers.

                Comment


                • #9
                  Originally posted by lambo View Post
                  Well, from what I understand, he/she wants to use logic for different sizes...use comment and variable as Bobby said….

                  Anywho, i've been working like dog... I'm outta here til the 27th.

                  Cheers.
                  Have a good one, and if it's REAL good, have it twice!
                  sigpic
                  Originally posted by AndersI
                  I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

                  Comment


                  • #10
                    Originally posted by lambo View Post
                    Well, from what I understand, he/she wants to use logic for different sizes...use comment and variable as Bobby said….

                    Anywho, i've been working like dog... I'm outta here til the 27th.

                    Cheers.
                    No, HE had hoped to spark a nice friendly discussion on the various ways this could be accomplished. I completely understood Matt's initial post as this was similar to what I'd done in the past.
                    sigpic
                    Global Advantage 12-22-10
                    TESASTAR M SP25 4.3mr2

                    Comment

                    Related Topics

                    Collapse

                    Working...
                    X