Operator mode opening in online mode

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

  • Operator mode opening in online mode

    We have a couple CMM's that typically only the CMM staff run. They utilize multiple tips and modules so we just try and keep production operators out of there so there's less stuff they can break. Recently I've been asked to open those machines up to more operator use, which is fine the company has needs and i get that. However, we usually run those machines in Protected Mode to prevent meddling but that also prevents them from qualifying probe tips as well. I tried to set up operator mode for these machines so operators would be able to qualify angles used in the programs for their parts, but oddly enough, when i open Operator mode, it just opens in Online mode. Has anyone else experienced this? we are running 2013MR1 CAD++ on all four of our machines. Two of which run exclusively in Operator mode.

  • #2
    IMO (and in the opinion of most of the people I've talked to) Operator Mode is garbage.

    At my company, the machinists run the CMMs. All of the machines are in Protected Mode (unless being used be me) and autocalibration commands with some YES/NO "flow control" are being used tpo give them the option to calibrate or not.


    Code:
    QUAL_QUESTION   =COMMENT/YESNO,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
                  Has the CMM been calibrated??
                  IF_GOTO/QUAL_QUESTION.INPUT=="YES",GOTO = LABEL_END_CALGROUP
    QUAL_ACTION   =COMMENT/INPUT,NO,FULL SCREEN=NO,
                  1--> Let's calibrate the CMM now.
    
                  2--> Just run the program. I
                  don't need to calibrate.
    
                  3--> I need help.
    
                  IF_GOTO/LEN(QUAL_ACTION.INPUT)<>1,GOTO = QUAL_ACTION
                  ASSIGN/VAR_1=ARRAY(1,2,3)
                  ASSIGN/VAR_2=MIN(ABS(VAR_1-QUAL_ACTION.INPUT))
                  IF_GOTO/VAR_2<>0,GOTO = QUAL_ACTION
                  SELECT/QUAL_ACTION.INPUT
                    CASE/1
                      DISPLAYPRECISION/7
                      COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
                      Screw sphere into calibration hole. Ball facing CMM's Y+ (if applicable). Press okay when complete.
                      AUTOCALIBRATE/PROBE, PARAMETER_SET=ALL-TIPS-WITH-DEFAULTS, QUALTOOL_MOVED=YES_DCC,
                                    SHOW_SUMMARY=NO, OVERWRITE_RESULTSFILE=NO
                      COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
                      MOVE PROBE FAR OUT OF THE WAY.
    
                      Once probe is out of the way, remove
                      the sphere & put in safe place.
                      DISPLAYPRECISION/4
                      GOTO/LABEL_END
                    END_CASE/
                    CASE/2
                      GOTO/LABEL_END_CALGROUP
                    END_CASE/
                    CASE/3
                      GOTO/LABEL_END
                    END_CASE/
                    DEFAULT_CASE/
                      GOTO/LABEL_END
                    END_DEFAULTCASE/
                  END_SELECT/
    LABEL_END_CALGROUP  =LABEL/
    The stuff in bold was just me being extra. You could erase that stuff and the code would still work fine
    Last edited by DAN_M; 08-15-2019, 10:20 AM.
    Beep beep beep..

    Comment


    • #3
      Check and make sure that the link in the shortcut has the /o command line option - example "C:\Program Files\Hexagon\PC-DMIS\2016\pcdlrn.exe" /o
      AndersI
      SW support - Hexagon Metrology Nordic AB

      Comment


      • jtrofatter
        jtrofatter commented
        Editing a comment
        spot on sir! its looking like this is the issue. now to go bother our IT department

    • #4
      Originally posted by DAN_M View Post
      IMO (and in the opinion of most of the people I've talked to) Operator Mode is garbage.

      At my company, the machinists run the CMMs. All of the machines are in Protected Mode (unless being used be me) and autocalibration commands with some YES/NO "flow control" are being used tpo give them the option to calibrate or not.


      Code:
      QUAL_QUESTION =COMMENT/YESNO,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
      Has the CMM been calibrated??
      IF_GOTO/QUAL_QUESTION.INPUT=="YES",GOTO = LABEL_END_CALGROUP
      QUAL_ACTION =COMMENT/INPUT,NO,FULL SCREEN=NO,
      1--> Let's calibrate the CMM now.
      
      2--> Just run the program. I
      don't need to calibrate.
      
      3--> I need help.
      
      IF_GOTO/LEN(QUAL_ACTION.INPUT)<>1,GOTO = QUAL_ACTION
      ASSIGN/VAR_1=ARRAY(1,2,3)
      ASSIGN/VAR_2=MIN(ABS(VAR_1-QUAL_ACTION.INPUT))
      IF_GOTO/VAR_2<>0,GOTO = QUAL_ACTION
      SELECT/QUAL_ACTION.INPUT
      CASE/1
      DISPLAYPRECISION/7
      COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
      Screw sphere into calibration hole. Ball facing CMM's Y+ (if applicable). Press okay when complete.
      AUTOCALIBRATE/PROBE, PARAMETER_SET=ALL-TIPS-WITH-DEFAULTS, QUALTOOL_MOVED=YES_DCC,
      SHOW_SUMMARY=NO, OVERWRITE_RESULTSFILE=NO
      COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
      MOVE PROBE FAR OUT OF THE WAY.
      
      Once probe is out of the way, remove
      the sphere & put in safe place.
      DISPLAYPRECISION/4
      GOTO/LABEL_END
      END_CASE/
      CASE/2
      GOTO/LABEL_END_CALGROUP
      END_CASE/
      CASE/3
      GOTO/LABEL_END
      END_CASE/
      DEFAULT_CASE/
      GOTO/LABEL_END
      END_DEFAULTCASE/
      END_SELECT/
      LABEL_END_CALGROUP =LABEL/
      The stuff in bold was just me being extra. You could erase that stuff and the code would still work fine
      So, would someone have to put all that code above in each program in order to let the operators calibrate the probes when using "Protected Mode"?

      Comment


      • DAN_M
        DAN_M commented
        Editing a comment
        Yes exactly.

        I have some groups at the beginning of all of my programs. Autocal is one of them.

      • DAN_M
        DAN_M commented
        Editing a comment
        All you would need is the autocal stuff.

        I added that extra stuff to lock the program down from them typing in an incorrect response and confusing the cmm. There are multiple ways to do that, I did t the math way using an array

    • #5
      We have hundreds of CMM programs. It will take forever to add the code to all of our programs. Hence, why we have production people use operator mode.

      Comment


      • #6
        Originally posted by DAN_M View Post
        IMO (and in the opinion of most of the people I've talked to) Operator Mode is garbage.

        At my company, the machinists run the CMMs. All of the machines are in Protected Mode (unless being used be me) and autocalibration commands with some YES/NO "flow control" are being used tpo give them the option to calibrate or not.


        Code:
        QUAL_QUESTION =COMMENT/YESNO,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
        Has the CMM been calibrated??
        IF_GOTO/QUAL_QUESTION.INPUT=="YES",GOTO = LABEL_END_CALGROUP
        QUAL_ACTION =COMMENT/INPUT,NO,FULL SCREEN=NO,
        1--> Let's calibrate the CMM now.
        
        2--> Just run the program. I
        don't need to calibrate.
        
        3--> I need help.
        
        IF_GOTO/LEN(QUAL_ACTION.INPUT)<>1,GOTO = QUAL_ACTION
        ASSIGN/VAR_1=ARRAY(1,2,3)
        ASSIGN/VAR_2=MIN(ABS(VAR_1-QUAL_ACTION.INPUT))
        IF_GOTO/VAR_2<>0,GOTO = QUAL_ACTION
        SELECT/QUAL_ACTION.INPUT
        CASE/1
        DISPLAYPRECISION/7
        COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
        Screw sphere into calibration hole. Ball facing CMM's Y+ (if applicable). Press okay when complete.
        AUTOCALIBRATE/PROBE, PARAMETER_SET=ALL-TIPS-WITH-DEFAULTS, QUALTOOL_MOVED=YES_DCC,
        SHOW_SUMMARY=NO, OVERWRITE_RESULTSFILE=NO
        COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
        MOVE PROBE FAR OUT OF THE WAY.
        
        Once probe is out of the way, remove
        the sphere & put in safe place.
        DISPLAYPRECISION/4
        GOTO/LABEL_END
        END_CASE/
        CASE/2
        GOTO/LABEL_END_CALGROUP
        END_CASE/
        CASE/3
        GOTO/LABEL_END
        END_CASE/
        DEFAULT_CASE/
        GOTO/LABEL_END
        END_DEFAULTCASE/
        END_SELECT/
        LABEL_END_CALGROUP =LABEL/
        The stuff in bold was just me being extra. You could erase that stuff and the code would still work fine

        I'm going to try and add your code to one of my programs to try it out. Does it calibrate all of the probes that are used in the program?

        Comment


        • #7
          dcoss

          No. The code you saw above wouldnot calibrate all probes used in your program. Here is a cleaned up version of the code that will.

          It seems like you haven't had any formal autocalibration training, I'll try and explain it the best I can for you...

          -I have everything inside of a group command. That is the initial code I START with. I insert that code and then edit it to make what you see below.
          -I have to create calibration parameter sets. Then insert autocalibration commands. Then select the set in the dropdown box once you F9 the the autocalibration command in your edit window. Then tell it to switch probes. Then do it again.

          **NOTE**
          I said YES the sphere has moved for the first probe and NO it hasn't moved for the subsequent autocal commands. This relates them together.


          Code:
          GROUP_PROBEQUAL_FLOWCOMMANDS=GROUP/SHOWALLPARAMS=YES
          QUAL_QUESTION   =COMMENT/YESNO,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
                        Has the CMM been calibrated??
                        IF_GOTO/QUAL_QUESTION.INPUT=="YES",GOTO = LABEL_END_CALGROUP
          QUAL_ACTION   =COMMENT/INPUT,NO,FULL SCREEN=NO,
                        1--> Let's calibrate the CMM now.
          
                        2--> Just run the program. I
                        don't need to calibrate.
          
                        3--> I need help.
          
                        IF_GOTO/LEN(QUAL_ACTION.INPUT)<>1,GOTO = QUAL_ACTION
                        ASSIGN/VAR_1=ARRAY(1,2,3)
                        ASSIGN/VAR_2=MIN(ABS(VAR_1-QUAL_ACTION.INPUT))
                        IF_GOTO/VAR_2<>0,GOTO = QUAL_ACTION
                        SELECT/QUAL_ACTION.INPUT
                          CASE/1
                            DISPLAYPRECISION/7
                            COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
                            Screw sphere into calibration hole. Ball facing CMM's Y+ (if applicable). Press okay when complete.
                            AUTOCALIBRATE/PROBE, PARAMETER_SET=A0B0_MASTER, QUALTOOL_MOVED=YES_DCC,
                                          CHECK COLLISION=NO, SHOW_SUMMARY=NO, OVERWRITE_RESULTSFILE=NO
                            AUTOCALIBRATE/PROBE, PARAMETER_SET=ALL-TIPS-WITH-DEFAULTS, QUALTOOL_MOVED=NO,
                                          CHECK COLLISION=NO, SHOW_SUMMARY=NO, OVERWRITE_RESULTSFILE=NO
                            LOADPROBE/7107_Y_1BY20
                            TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                            AUTOCALIBRATE/PROBE, PARAMETER_SET=A0B0_SLAVE, QUALTOOL_MOVED=NO,
                                          CHECK COLLISION=NO, SHOW_SUMMARY=NO, OVERWRITE_RESULTSFILE=NO
                            LOADPROBE/7107_G_4X20
                            TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                            COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
                            MOVE PROBE FAR OUT OF THE WAY.
          
                            Once probe is out of the way, remove
                            the sphere & put in safe place.
                            DISPLAYPRECISION/4
                            GOTO/LABEL_ENDPROGRAM
                          END_CASE/
                          CASE/2
                            GOTO/LABEL_END_CALGROUP
                          END_CASE/
                          CASE/3
                            GOTO/LABEL_ENDPROGRAM
                          END_CASE/
                        END_SELECT/
          LABEL_END_CALGROUP  =LABEL/
                      ENDGROUP/ID=GROUP_PROBEQUAL_FLOWCOMMANDS
          Capture2.PNG
          Capture3.PNG
          Last edited by DAN_M; 08-28-2019, 11:48 AM.
          Beep beep beep..

          Comment

          Related Topics

          Collapse

          Working...
          X