Index question

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

  • Index question

    3.7 mr3 CAD++

    I've got several parts that are checked daily (10 each). Currently I execute from cursor at the label "START HERE". This works OK but I'd like to use a goto command (see code below). When I do the demon wants to index the probe to 0/0 and asks if it's OK to do so. Clicking OK it indexes, goes to the label, I press enter and it indexes back to the tip needed for the part check. If it worked as I'd like it would not need to index to 0/0, go straight to the operator prompt and proceed with the part check when I pressed the enter key. Any ideas to stop the indexing I don't need?

    PART NAME : L0023173 - TPS Check
    REV NUMBER : 4-20-06
    SER NUMBER :
    STATS COUNT : 334

    STARTUP =ALIGNMENT/START,RECALL:, LIST= YES
    ALIGNMENT/END
    FLY/ON,3
    LOADPROBE/PROBE2CYL45LONG
    TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=90

    Alignment code here


    SAVE/ALIGNMENT,A0,fixstart.aln,MACHINETOPARTS
    START HERE =LABEL/
    COMMENT/OPER,NO,Place part in fixture,
    ,Position probe above part,
    ,Going to DCC!!!!!!!!!!!!!!
    MODE/DCC
    TIP/T1A90B180, SHANKIJK=1, -0.001, 0, ANGLE=-90


    Part probing, reporting, stats code here


    RECALL/ALIGNMENT,EXTERNAL,a0,FIXSTART:a0
    STATS/UPDATE


    Code above runs fine, if I tag the following onto the end I experience the problem.


    GOTO/START HERE

    Thanks,

    TK
    sigpicHave a homebrew

  • #2
    Do you use marked sets? Does it still goto tip A0B0 even when it is unmarked?
    sigpic

    Comment


    • #3
      If you are using V3.5, then you will never get away from it. IF you are using pre-V3.5, or V3.7mr3, then you can get away from it. In V3.5, no matter what you do, it will ALWAYS mark that first tip in the program, even if you un-mark it, it will mark it on it's own. In V3.7mr3, you can actually have it stay un-marked. I can't figure out why it won't get away from that.
      sigpic
      Originally posted by AndersI
      I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

      Comment


      • #4
        Only thing I can think of is at the start of your program start with that tip.. do a little move point and change to the one you really need.
        so when you get to the goto command it will want that tip
        sigpic
        if you had soap on a rope it would be tied to yer ankle

        Comment


        • #5
          djayne, I haven't but I made an experimental copy just now and unmarked the code I don't need including the first tip at 0/0 and executed from cursor at the goto command, still wants to index.

          Matt, the unmark action stuck (3.7 mr3).

          Tom, your suggestion is next.

          I'll be back!

          Thanks,

          TK
          sigpicHave a homebrew

          Comment


          • #6
            I guess I've never really noticed this before because at the beginning of all of my programs I use Tip A0B0 and a goto to clear the probe before the part program - I'll have to experiment with mine to see if it does the same.
            sigpic

            Comment


            • #7
              Tom, just tried your suggestion and unmarked it, still wants to index. BTW why when I higlight the code I want to unmark does it decide to unmark a whole lot of other code as well? When I then higlight the code I do want and mark it only that code gets marked ??? Little quirkey or just my novice showing through?

              TK
              sigpicHave a homebrew

              Comment


              • #8
                You might try adding a "goto" just above where you are restarting the program that will jump just over a tip call-out "the tip you want durning rerun".

                This should jump over that rotation durning the first run and use it durring any repeated runs.

                Comment


                • #9
                  I have 3.5 mr2. How I get around it is using Ctrl U Try that from your go to start here.
                  sigpicSummer Time. Gotta Love it!

                  Comment


                  • #10
                    Originally posted by Tested
                    You might try adding a "goto" just above where you are restarting the program that will jump just over a tip call-out "the tip you want durning rerun".

                    This should jump over that rotation durning the first run and use it durring any repeated runs.
                    I'm off to the experiment, back in a bit.

                    Thanks, Tested,

                    TK
                    sigpicHave a homebrew

                    Comment


                    • #11
                      TK,
                      I am using v35mr2, I have had this problem also. I use this type of programming for most of my programs because I am always doing more than 1 part. What I did is added a wrist change at the end of the program to match the A-B. So looking at you code, if you put a wrist change above your start label it shouldn't do that anymore. Hope this helps.

                      Alignment code here

                      I think if you put a wrist change of A90B180 here!!!

                      SAVE/ALIGNMENT,A0,fixstart.aln,MACHINETOPARTS
                      START HERE =LABEL/
                      PCDmis 3.5mr2 CAD++

                      Comment


                      • #12
                        Tested,

                        Pretty slick there! Worked like a champ. OK now how do I bump up someones rep points, I owe you some!

                        Thanks,

                        TK
                        sigpicHave a homebrew

                        Comment


                        • #13
                          rep poits heck ... I take money lol

                          Comment


                          • #14
                            Originally posted by TRD_racing
                            TK,
                            I am using v35mr2, I have had this problem also. I use this type of programming for most of my programs because I am always doing more than 1 part. What I did is added a wrist change at the end of the program to match the A-B. So looking at you code, if you put a wrist change above your start label it shouldn't do that anymore. Hope this helps.

                            Alignment code here

                            I think if you put a wrist change of A90B180 here!!!

                            SAVE/ALIGNMENT,A0,fixstart.aln,MACHINETOPARTS
                            START HERE =LABEL/
                            Yup, pretty close to what Tested suggested and it works!

                            Thanks to both of ya!

                            Gawd, I love this forum.

                            TK
                            sigpicHave a homebrew

                            Comment


                            • #15
                              tking, set your style to minimalistic, that the little box on the bottum of the screen. then you should see a balance inside each of our posts. you double left click, it a window will pop up. put in the message box your name or no one will know who they are getting them from
                              sigpicSummer Time. Gotta Love it!

                              Comment

                              Related Topics

                              Collapse

                              Working...
                              X