Loop

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Loop

    Ok Guys I have A Loop,That I'm been Trying to run,But I cant't, I have 108 Holes in Line,the loop pattern hole is 15.88mm center to center then 15.88 & 12.70 mm.then it starts again.I read the manual,but I'm having problems.
    The way I'm thinking to do it is,Level,rotate & origen to datums and then origen at the First hole then start the loop.Please advice



    ASSIGN/V2 = V1.XYZALIGN2.ORIGIN0
    V1 =LOOP/START, ID = YES, NUMBER = 72, START = 5, SKIP = 3,,
    OFFSET: XAXIS = 0, YAXIS = 15.88, ZAXIS = -2, ANGLE = 0
    LOOP/END

  • #2
    1) put the feature inside the loop after the offset line
    2) put your tolerancing inside the loop also

    also it looks like you are "stepping down" with the zaxis=-2, maybe should be zaxis=0


    looping will creat an "array" of features
    you will get a report to print in the "Last Execution Report Mode"
    once you restart the program or close it, this report will clear itself

    hope this helps,
    bob
    Last edited by bob mappes; 05-12-2006, 01:59 PM.
    Which one gets ridden today? MPH vs MPG..tough choice, both are FUN
    sigpic

    Starrett RGDC 4028-24 :alien:
    Demon vintages 3.7, 4.1, 4.2, 4.3, 2009

    Comment


    • #3
      LOOPING: You get the same FEATURE ID and DIMENSION ID for each hole checked. You may or may not get [brackets] to keep them seperate.

      PASTE WITH PATTERN: You get a new feature and new dimension for each hole. Each FEATURE ID and DIMENSION ID is unique.
      sigpic
      Originally posted by AndersI
      I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

      Comment


      • #4
        Let me digest this. You need to measure a hole, measure another one 15.88mm from it, measure another one 15.88mm from that, then measure one 12.70mm from that right, then go back to two holes at 15.88 each and one at 12.70......... etc?

        Craig
        <internet bumper sticker goes here>

        Comment


        • #5
          Yes,15.88, 15.88 then 12.70,Then the pateern starts again.

          Comment


          • #6
            Origin the first hole and loop the feature with an offset.


            You can have two loops if you have a different line of holes to measure. After the first loop it will go and start the next loop and so on.
            I used to be high on life but I built up a tolerance.

            Brown & Sharpe Global Advantage
            PCDMIS CAD++ v2011mr2
            PH10MQ/SP600M


            sigpic

            Comment


            • #7
              Originally posted by Aguayo
              Yes,15.88, 15.88 then 12.70,Then the pateern starts again.
              Measure these features and use paste with pattern. Individual ID's, fast, and clean.

              BS
              Windows 7
              Pc-Dmis 2015
              Global Performance 7-10-7


              Comment


              • #8
                Here is a way of looping that will work.

                Please note all of the places there is a variable placement (including nominal in the dimension block, you'll need it there).

                Code:
                            ASSIGN/INC = 1
                            ASSIGN/YLOC = 0
                FIRSTLOOP  =LOOP/START, ID = YES, NUMBER = 9, START = 1, SKIP = ,
                               OFFSET: XAXIS = 0, YAXIS = 0, ZAXIS = 0, ANGLE = 0
                            IF/INC < 3
                            ASSIGN/INC = INC + 1
                            ASSIGN/YLOC = YLOC + 15.88
                            END_IF/
                            ELSE/
                            ASSIGN/INC = 1
                            ASSIGN/YLOC = YLOC + 12.7
                            END_ELSE/
                OFFSET_CIRCLE =AUTO/CIRCLE, SHOWHITS=NO, SHOWALLPARAMS=YES
                            THEO/0,YLOC,0,0,0,1,1
                            ACTL/0,0,0,0,0,1,1
                            TARG/0,YLOC,0,0,0,1
                              THEO_THICKNESS = 0, RECT, IN, STRAIGHT, LEAST_SQR ,$
                              AUTO MOVE = NO, DISTANCE = 0, RMEAS = None, READ POS = NO, FIND HOLE = NO, REMEASURE = NO ,$
                              NUMHITS = 4, INIT = 0, PERM = 0, SPACER = 0, PITCH = 0 ,$
                              START ANG = 0, END ANG = 360, DEPTH = 0 ,$
                              ANGLE VEC = 1,0,0
                DIM LOCATION_Y= LOCATION OF CIRCLE OFFSET_CIRCLE  UNITS=IN ,$
                GRAPH=OFF  TEXT=OFF  MULT=1.00  OUTPUT=BOTH
                AX  NOMINAL    +TOL     -TOL     MEAS      MAX      MIN      DEV    OUTTOL 
                Y  YLOC   0.0000   0.0000   0.0000   0.5000  -0.5000 -28.5800  28.5800 <--------
                END OF DIMENSION LOCATION_Y
                            LOOP/END
                This code is shorter than pasting individual features but may or may not give you what you want if you save stats. I only guarantee it will work not give the stats you want.

                Craig
                Last edited by craiger_ny; 05-12-2006, 04:20 PM.
                <internet bumper sticker goes here>

                Comment


                • #9
                  easiest way I know
                  Wright a short program w/ the 3 hole pattern - origin the first hole - loop in the x (or what ever) axis by how may patterns there are in the x axis. then write another loop command directly below it and loop it in the y axis for how many rows of the same pattern their are. At the end of the program enter a loop end twice.
                  If you enter your x axis loop before your y axis it will first work front to back and then come to the front again and work thru the next row. if you want the pattern the other way enter the Y axis loop first.

                  Comment


                  • #10
                    Amazing that there so many DIFFERENT ways to get the same thing done.
                    CMM Programmer
                    Jackson Michigan
                    Mistral 7.7.5
                    4.3MR2

                    Comment

                    Related Topics

                    Collapse

                    Working...
                    X
                    😀
                    🥰
                    🤢
                    😎
                    😡
                    👍
                    👎