DCC programming

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

  • DCC programming

    In programming a part last week, I started in manual mode. I measured my three datums and then aligned them. Then I measured the other features.
    Then today I added changing to DCC mode( Right after the manual alignment) and re-measured the datums and re-aligned the part.
    When I excuted the program it got to the first feature past the DCC alignment and went out in the middle of nowhere looking for it.
    Was this because I moved the part from one day to the next?
    Now I thought once I did both the manual and DCC alignment, the software knew where the part was located.
    Did I miss something?
    Actively looking to be a CMM guy again
    Previously 4.3 MR2
    XP OS

    Is your problem a case of operator headspace?

  • #2
    Originally posted by Don-ARI View Post
    In programming a part last week, I started in manual mode. I measured my three datums and then aligned them. Then I measured the other features.
    Then today I added changing to DCC mode( Right after the manual alignment) and re-measured the datums and re-aligned the part.
    When I excuted the program it got to the first feature past the DCC alignment and went out in the middle of nowhere looking for it.
    Was this because I moved the part from one day to the next?
    Now I thought once I did both the manual and DCC alignment, the software knew where the part was located.
    Did I miss something?
    Without re doing the manual alignment?

    Comment


    • #3
      Code.

      Post it, only if you want a reasonable answer.

      B&S CHAMELEON/PCDMIS CAD++ V2011

      There are no bugs, only "UNDOCUMENTED ENHANCEMENTS!"

      sigpic

      Comment


      • #4
        Yes I re-did the manual alignment

        Code:
        PLN1       =FEAT/PLANE,CARTESIAN,TRIANGLE
                    THEO/<197.261,59.85,-440.878>,<0.0001652,-0.0003201,0.9999999>
                    ACTL/<136.016,93.94,-440.891>,<-0.000226,0.0003064,0.9999999>
                    MEAS/PLANE,3
                    HIT/BASIC,NORMAL,<206.645,20.433,-440.892>,<0.0001652,-0.0003201,0.9999999>,<111.185,118.75,-440.905>,USE THEO=YES
                    HIT/BASIC,NORMAL,<178.42,68.161,-440.872>,<0.0001652,-0.0003201,0.9999999>,<172.668,102.184,-440.886>,USE THEO=YES
                    HIT/BASIC,NORMAL,<206.72,90.956,-440.869>,<0.0001652,-0.0003201,0.9999999>,<124.193,60.885,-440.884>,USE THEO=YES
                    ENDMEAS/
        CIRB       =FEAT/CIRCLE,CARTESIAN,OUT,LEAST_SQR
                    THEO/<207.94,64.15,-444.114>,<0,0,1>,107.968,0
                    ACTL/<131.685,95.795,-444.245>,<0,0,1>,107.974,0
                    MEAS/CIRCLE,3,WORKPLANE
                    HIT/BASIC,NORMAL,<190.189,115.133,-443.501>,<-0.328803,0.9443985,0>,<124.328,42.311,-444.622>,USE THEO=YES
                    MOVE/CIRCULAR
                    HIT/BASIC,NORMAL,<167.666,28.201,-444.903>,<-0.7460221,-0.6659212,0>,<82.945,119.012,-444.339>,USE THEO=YES
                    MOVE/CIRCULAR
                    HIT/BASIC,NORMAL,<257.982,43.902,-443.939>,<0.9269934,-0.3750778,0>,<181.338,116.988,-443.774>,USE THEO=YES
                    ENDMEAS/
        CIR2       =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR
                    THEO/<207.928,64.157,-442.365>,<0,0,1>,23.981
                    ACTL/<131.686,95.783,-443.456>,<0,0,1>,23.991
                    MEAS/CIRCLE,3,WORKPLANE
                    HIT/BASIC,NORMAL,<195.952,64.756,-442.366>,<0.9987498,-0.0499887,0>,<119.69,95.736,-443.457>,USE THEO=YES
                    HIT/BASIC,NORMAL,<212.345,75.304,-442.365>,<-0.3683301,-0.9296951,0>,<134.088,107.536,-443.456>,USE THEO=YES
                    HIT/BASIC,NORMAL,<212.376,53.022,-442.365>,<-0.3709862,0.9286384,0>,<137.044,85.051,-443.456>,USE THEO=YES
                    ENDMEAS/
                    DATDEF/FEATURE=PLN1,A
                    DATDEF/FEATURE=CIRB,B
                    DATDEF/FEATURE=CIR2,C
        A1         =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
                    ALIGNMENT/LEVEL,ZPLUS,PLN1
                    ALIGNMENT/ROTATE,XPLUS,TO,CIRB,ABOUT,ZPLUS
                    ALIGNMENT/TRANS,ZAXIS,PLN1
                    ALIGNMENT/TRANS,XAXIS,CIRB
                    ALIGNMENT/TRANS,YAXIS,CIRB
                    ALIGNMENT/END
                    MODE/DCC
                    CLEARP/ZPLUS,5,ZPLUS,5,ON
        PLNA       =FEAT/PLANE,CARTESIAN,TRIANGLE
                    THEO/<63.331,52.337,-0.035>,<0.0007063,0.0001658,0.9999997>
                    ACTL/<-0.084,0.932,0.002>,<0.0000127,-0.0001089,1>
                    MEAS/PLANE,8
                    MOVE/CLEARPLANE
                    HIT/BASIC,NORMAL,<69.885,84.876,-0.049>,<0.0007063,0.0001658,0.9999997>,<-11.705,-30.161,-0.004>,USE THEO=YES
                    HIT/BASIC,NORMAL,<95.386,79.378,-0.061>,<0.0007063,0.0001658,0.9999997>,<-36.015,-20.697,0.002>,USE THEO=YES
                    HIT/BASIC,NORMAL,<91.545,31.869,-0.048>,<0.0007063,0.0001658,0.9999997>,<-24.704,25.607,0.01>,USE THEO=YES
                    HIT/BASIC,NORMAL,<60.154,38.021,-0.035>,<0.0007063,0.0001658,0.9999997>,<5.318,14.564,0>,USE THEO=YES
                    HIT/BASIC,NORMAL,<71.995,8.658,-0.034>,<0.0007063,0.0001658,0.9999997>,<-1.727,45.431,0.007>,USE THEO=YES
                    HIT/BASIC,NORMAL,<25.421,27.585,-0.005>,<0.0007063,0.0001658,0.9999997>,<41.264,19.372,0.003>,USE THEO=YES
                    HIT/BASIC,NORMAL,<27.463,77.677,-0.009>,<0.0007063,0.0001658,0.9999997>,<31.322,-29.766,0.004>,USE THEO=YES
                    HIT/BASIC,NORMAL,<64.798,70.632,-0.042>,<0.0007063,0.0001658,0.9999997>,<-4.428,-16.901,-0.002>,USE THEO=YES
                    ENDMEAS/
        DATUM B    =FEAT/CIRCLE,CARTESIAN,OUT,LEAST_SQR
                    THEO/<63.102,53.242,-2.858>,<0,0,1>,107.965,0
                    ACTL/<-0.003,0.002,-2.82>,<0.0007364,-0.000057,0.9999997>,107.965,0
                    MEAS/CIRCLE,8,WORKPLANE
                    MOVE/CLEARPLANE
                    HIT/BASIC,NORMAL,<11.442,37.581,-2.838>,<-0.9569941,-0.2901072,0>,<55.405,7.709,-2.84>,USE THEO=YES
                    MOVE/CIRCULAR
                    HIT/BASIC,NORMAL,<12.841,72.954,-2.84>,<-0.9309643,0.3651101,0>,<48.273,-28.276,-2.839>,USE THEO=YES
                    MOVE/CIRCULAR
                    HIT/BASIC,NORMAL,<34.437,98.983,-2.849>,<-0.5310242,0.8473566,0>,<21.971,-51.443,-2.83>,USE THEO=YES
                    MOVE/CIRCULAR
                    HIT/BASIC,NORMAL,<91.048,99.429,-2.872>,<0.5176716,0.8555794,0>,<-36.054,-42.777,-2.81>,USE THEO=YES
                    MOVE/CIRCULAR
                    HIT/BASIC,NORMAL,<116.8,58.715,-2.88>,<0.9948449,0.1014084,0>,<-55.856,3.051,-2.802>,USE THEO=YES
                    MOVE/CIRCULAR
                    HIT/BASIC,NORMAL,<104.628,18.741,-2.874>,<0.7691707,-0.6390434,0>,<-36.954,42.011,-2.808>,USE THEO=YES
                    MOVE/CIRCULAR
                    HIT/BASIC,NORMAL,<79.888,1.929,-2.864>,<0.3109159,-0.9504374,0>,<-8.919,55.235,-2.817>,USE THEO=YES
                    MOVE/CIRCULAR
                    HIT/BASIC,NORMAL,<34.654,7.373,-2.847>,<-0.5270642,-0.8498254,0>,<36.51,42.374,-2.833>,USE THEO=YES
                    ENDMEAS/
        DATUM C    =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR
                    THEO/<63.089,53.242,-3.013>,<0,0,1>,23.981
                    ACTL/<0.01,0,-2.976>,<0.0007364,-0.000057,0.9999997>,23.981
                    MEAS/CIRCLE,4,WORKPLANE
                    MOVE/CLEARPLANE
                    HIT/BASIC,NORMAL,<62.725,65.227,-3.014>,<0.0303791,-0.9995384,0>,<-1.431,-9.929,-2.976>,USE THEO=YES
                    HIT/BASIC,NORMAL,<74.784,50.597,-3.017>,<-0.975363,0.220606,0>,<-9.242,3.878,-2.972>,USE THEO=YES
                    HIT/BASIC,NORMAL,<64.692,41.358,-3.014>,<-0.1337158,0.9910197,0>,<0.414,10.025,-2.976>,USE THEO=YES
                    HIT/BASIC,NORMAL,<51.102,53.511,-3.009>,<0.9997485,-0.0224247,0>,<9.847,-1.963,-2.98>,USE THEO=YES
                    ENDMEAS/
        A2         =ALIGNMENT/START,RECALL:A1,LIST=YES
                    ALIGNMENT/LEVEL,ZPLUS,PLNA
                    ALIGNMENT/ROTATE,XPLUS,TO,DATUM B,ABOUT,ZPLUS
                    ALIGNMENT/TRANS,XAXIS,DATUM B
                    ALIGNMENT/TRANS,YAXIS,DATUM C
                    ALIGNMENT/TRANS,ZAXIS,PLNA
                    ALIGNMENT/END
        Last edited by JamesMannes; 09-07-2010, 03:37 PM.
        Actively looking to be a CMM guy again
        Previously 4.3 MR2
        XP OS

        Is your problem a case of operator headspace?

        Comment


        • #5
          Originally posted by Don-ARI View Post
          In programming a part last week, I started in manual mode. I measured my three datums and then aligned them. Then I measured the other features.
          Then today I added changing to DCC mode( Right after the manual alignment) and re-measured the datums and re-aligned the part.
          When I excuted the program it got to the first feature past the DCC alignment and went out in the middle of nowhere looking for it.
          Was this because I moved the part from one day to the next?
          Now I thought once I did both the manual and DCC alignment, the software knew where the part was located.
          Did I miss something?
          Maybe, possibly, quite likely. . . take your pick.


          Now looking at your code I see. . .


          Oh. Yeah. That might help.


          C'mon, cut me some slack, I get paid by the joke don't you know?


          Speaking of things you may not know, there is some stuff called HTML, it is the language of webbrowsers. "Tags" are used to tell the browser how to display the text. That is what makes different fonts and colors possible, along with much other coolness. Of interest right now are the "CODE" tags because they will allow you to copy/paste your code into a post and have it look just like it does in the edit window!!! Awesome huh? That makes it easier for others to read and spot errors.

          So how do you do this wizardry? Well type "[code]" then paste your code here, then type "[/code]".

          Code:
          the result will look like this
          
          MODE/DCC
          READ       =FEAT/POINT,CARTESIAN
                      THEO/<14.84251,86.14022,-17.16623>,<0,0,1>
                      ACTL/<20.06666,83.92774,-17.15629>,<0,0,1>
                      READPOINT/
          READPOINT  =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
                      ALIGNMENT/TRANS,XAXIS,READ
                      ALIGNMENT/TRANS,YAXIS,READ
                      ALIGNMENT/TRANS,ZAXIS,READ
                      ALIGNMENT/END
          CIRC       =FEAT/CONTACT/CIRCLE,CARTESIAN,IN,LEAST_SQR
                      THEO/<0,0,-0.5>,<0,0,1>,1.642
                      ACTL/<0.05248,0.01843,-0.5>,<0,0,1>,1.6431
                      TARG/<0,0,-0.5>,<0,0,1>
                      START ANG=0,END ANG=360
                      ANGLE VEC=<-1,0,0>
                      DIRECTION=CCW
                      SHOW FEATURE PARAMETERS=NO
                      SHOW CONTACT PARAMETERS=YES
                        NUMHITS=7,DEPTH=0,PITCH=0
                        SAMPLE HITS=0,SPACER=0
                        AVOIDANCE MOVE=NO,DISTANCE=0
                        FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
                      SHOW HITS=NO
          CIRCLE     =ALIGNMENT/START,RECALL:READPOINT,LIST=YES
                      ALIGNMENT/TRANS,XAXIS,CIRC
                      ALIGNMENT/TRANS,YAXIS,CIRC
                      ALIGNMENT/END
                      MOVE/POINT,NORMAL,PART,<0.00000,0.00000,0.50000>
          HTH
          sigpic"Hated by Many, Loved by Few" _ A.B. - Stone brewery

          Comment


          • #6
            ugh!


            1) Don't use manually measured features to define datums

            2) You can't rotate to CIRB and use it to set your origin

            3) Get your boss's wallet and call Jim Jewell or a ********



            sigpic"Hated by Many, Loved by Few" _ A.B. - Stone brewery

            Comment


            • #7
              A1 =alignment/start,recall:startup,list=yes
              alignment/level,zplus,pln1
              alignment/rotate,xplus,to,cirb,about,zplus
              alignment/trans,zaxis,pln1
              alignment/trans,xaxis,cirb
              alignment/trans,yaxis,cirb
              alignment/end


              You need some training Don. Use line, a plane or 2 circles for a rotational alignment.

              B&S CHAMELEON/PCDMIS CAD++ V2011

              There are no bugs, only "UNDOCUMENTED ENHANCEMENTS!"

              sigpic

              Comment


              • #8
                1) Don't use manually measured features to define datums

                2) You can't rotate to CIRB and use it to set your origin

                3) Get your boss's wallet and call Jim Jewell or a ********



                Then which feature should I use to rotate the part? I am using the features and datums from the drawing.
                Actively looking to be a CMM guy again
                Previously 4.3 MR2
                XP OS

                Is your problem a case of operator headspace?

                Comment


                • #9
                  Originally posted by dph51 View Post
                  A1 =alignment/start,recall:startup,list=yes
                  alignment/level,zplus,pln1
                  alignment/rotate,xplus,to,cirb,about,zplus
                  alignment/trans,zaxis,pln1
                  alignment/trans,xaxis,cirb
                  alignment/trans,yaxis,cirb
                  alignment/end


                  You need some training Don. Use line, a plane or 2 circles for a rotational alignment.
                  Okay I will go with 2 circles since 1 circle is only a point with a size attached to it.. Then I will have direction. Thanks for the refresher. Forgot that part from training
                  Actively looking to be a CMM guy again
                  Previously 4.3 MR2
                  XP OS

                  Is your problem a case of operator headspace?

                  Comment


                  • #10
                    Originally posted by dph51 View Post
                    A1 =alignment/start,recall:startup,list=yes
                    alignment/level,zplus,pln1
                    alignment/rotate,xplus,to,cirb,about,zplus
                    alignment/trans,zaxis,pln1
                    alignment/trans,xaxis,cirb
                    alignment/trans,yaxis,cirb
                    alignment/end


                    You need some training Don. Use line, a plane or 2 circles for a rotational alignment.
                    Don, the above is quite true.
                    You need training.
                    You will never get there from here.
                    You cannot rotate to a point in space (which is really all a circle is, in the way you are using it).
                    Lately, it occurs to me
                    What a long, strange trip it's been.

                    2017 R1 (Offline programming)

                    Comment


                    • #11
                      Originally posted by Don-ARI View Post
                      Okay I will go with 2 circles since 1 circle is only a point with a size attached to it.. Then I will have direction. Thanks for the refresher. Forgot that part from training

                      Don,

                      I am not trying to be mean, but from the posts you have made, that I have read in the last week, it is clear there was much you were not ready to learn at training. You need a lot more than a "refresher". You need a solid understanding of GD&T and alignments. These are abstract concepts that are best learned in a structured class type setting with an instructor who specializes in teaching them. Many people find learning surface plate layout techniques make learning proper CMM alignments easier.

                      I can not stress this enough. Alignments are the foundation of all that can be done on a CMM. You clearly do not have a good grasp on this key concept and you need good training to get that grasp. Otherwise you might as well just open up a spread sheet or text document and fabricate a report wholesale based on what you guess the part might check as it is likely to be as accurate.



                      sigpic"Hated by Many, Loved by Few" _ A.B. - Stone brewery

                      Comment


                      • #12
                        Wes,

                        You are right. All the 5 day course did was show me how to use the CMM to measure features manually and use existing programs, which I do well.
                        As far as programming.... It is a struggle. I will suggest the next course but I doubt they will go for it.
                        In the meantime... It is one slow, unsteady step forward an 2 faltering steps back. Whatever I can pick up here and through help files.
                        Actively looking to be a CMM guy again
                        Previously 4.3 MR2
                        XP OS

                        Is your problem a case of operator headspace?

                        Comment


                        • #13
                          Originally posted by Don-ARI View Post
                          Wes,

                          You are right. All the 5 day course did was show me how to use the CMM to measure features manually and use existing programs, which I do well.
                          As far as programming.... It is a struggle. I will suggest the next course but I doubt they will go for it.
                          In the meantime... It is one slow, unsteady step forward an 2 faltering steps back. Whatever I can pick up here and through help files.
                          As long as you realize the folks here are not trying to be mean or vindictive, they will try to help. Wes is correct though, you need some help. Go to CMM Quarterly and read my articles on alignments. They are not all inclusive but may help you.

                          Some people will give you shiite, some will only be joking some won't, so get some thick skin.
                          sigpic

                          James Mannes

                          Comment


                          • #14
                            Don...glad you figured it out...looking at your location I see your a Yankee...after you've been around for a while you'll learn how us non-yankees feel about yankees.

                            Seriously...take the punches, jabs and jokes in stride and the help you seek will usually be mixed in somewhere

                            Sounds like further training is not in the cards at the moment so the forum is your last straw

                            Yeah, what James said about thick skin...it'll also come in handy when you'e confident enough to tell folks there they have their head's up their heiny when they disagree with your CMM data
                            Last edited by Perry Fisher; 09-07-2010, 04:09 PM. Reason: Didn't see James' post...can't spell either
                            Perry
                            B&S Mistral
                            3.207 Beta on XP

                            Older'n dirt

                            Comment


                            • #15
                              Originally posted by Perry Fisher View Post
                              Don...glad you figured it out...looking at your location I see your a Yankee...after you've been around for a while you'll learn how us non-yankees feel about yankees.

                              Seriously...take the punches, jabs and jokes in stride and the help you seek will usually be mixed in somewhere

                              Sounds like further training is not in the cards at the moment so the forum is your last straw

                              Yeah, what James said about thick skin...it'll also come in handy when you'e confident enough to tell folks there they have their head's up their heiny when they disagess with your CMM data
                              +1
                              sigpic
                              I am fluent in three languages:
                              English, Sarcasm & Profanity.

                              Comment

                              Related Topics

                              Collapse

                              Working...
                              X