Record machine time use Daily

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

  • Record machine time use Daily

    I'm not sure if this has been discussed, but is there a way to record daily machine use of the CMM? Trying to justify on purchasing another CMM.
    (In Memory of my Loving wife, "Ronda" who I lost March 7, 2016. I love you baby.)
    They say "Nobody's Perfect." I must be Nobody.

  • #2
    If you have parts backed up and waiting for more than half a shift, then I would say you need another one, especially if you have to do "in process" checks in a production environment.

    And yes, it has been mentioned, can't tell you what was figured out.
    sigpic
    Originally posted by AndersI
    I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

    Comment


    • KIRBSTER269
      KIRBSTER269 commented
      Editing a comment
      Thanks Matt, I thought this was discussed before, but the bean counters need something showing this. I big pile of parts sitting in front of the CMM apparently isn't good enough

  • #3
    KIRBSTER269

    At the beginning of my program I run this assignment:

    Code:
    ASSIGN/STARTTIME=(INT(SYSTEMTIME("HH")*3600)+INT(SYSTEMTIME("mm")*60)+INT(SYSTEMTIME("ss")))/60
    Then at the end of the program I use this:

    Code:
    ASSIGN/SYSDAT=SYSTEMDATE("MMMM dd yyyy")
                ASSIGN/SYSTIM=SYSTEMTIME("HH:mm:ss")
                ASSIGN/ENDTIME=(INT(SYSTEMTIME("HH")*3600)+INT(SYSTEMTIME("mm")*60)+INT(SYSTEMTIME("ss")))/60
                ASSIGN/PROGRUN=ENDTIME-STARTTIME
    END_LOG    =FILE/OPEN,M:\Quality\CMM BACKUP-RECORDS ARCHIVE\CMM LOG\CMM One\CMM ONE Program Run Log.csv,APPEND
                FILE/WRITELINE,END_LOG,SYSDAT+","+SYSTIM+","+SYSTIM1+","+PROGRUN+","+FILEHDR+","+FORM2+","+FORM3+","+FORM1+"
                FILE/CLOSE,END_LOG,KEEP
    The other variables in the WRITELINE are other variables at the start of the program I use for data collection (operator name, part number, job number, comments, etc).

    And yes, this has been discussed in the past. You've been gone so long, you forgot!

    Comment


    • bfire85
      bfire85 commented
      Editing a comment
      The only thing I have to combat with this code is if a program starts at 11:59pm and ends after midnight. The math goes to negative numbers. However, this code is in hundreds and hundreds of programs....I don't feel like modifying all that, right now.
      Last edited by bfire85; 02-06-2019, 02:58 PM.

    • KIRBSTER269
      KIRBSTER269 commented
      Editing a comment
      Thanks I will follow up with this subject a little later when I can

  • #4
    What happens if you run multiple programs that day? It would kinda suck to have to add everything up from report data.

    I could make you up an excel sheet where you press a button to start time, press again to stop, repeat - that adds the total time in a cell if you think that would be enough proof.

    This is kinda what time clocks and employee time allocation are for though.

    Comment


    • louisd
      louisd commented
      Editing a comment
      Haaahaahaa you think an employee's badge-in and badge-out times are anywhere near equal to actual CMM utilization? that's hilarious! 8-P

    • Mystic_Muffin
      Mystic_Muffin commented
      Editing a comment
      @louisd
      No, employee hours =/ to machine time which is why time allocation is important on top of in building hours.

      We have little modules on all our computers where an employee types their employee number and pin and they are prompted for a job number. once they hit go, the time they allocate to that job is being recorded until they go and enter a new job.

      Really useful when looking into refining quoted timelines.

      The data isn't 100% accurate, but it's pretty usable.

  • #5
    This has been discussed before, but I haven't seen (or made) a finished solution. We (HMN Nordic, Sweden) have an embryo in our own barcode program, as all program starts/stops are logged - this means that a total runtime can be calculated from this data.

    The principle is simple - an external application connects to PC-DMIS through automation, and gets notifications of all that's happening (more or less everything you see on the status line, plus a lot more if necessary). As long as this application is running, all PC-DMIS execution can be logged in any detail (yes, in theory you can count the number of probe hits and rotations).

    The devil is (as always) in the details - how to ensure re-connection each time PC-DMIS is restarted, how to protect the external application from crashing/locking up, etc.
    AndersI
    SW support - Hexagon Metrology Nordic AB

    Comment


    • #6
      You can use this code.


      Code:
      ASSIGN/V1=ELAPSEDEXECUTIONTIME()
                  COMMENT/REPT,
                  "Cycle Time : "+V1

      # This code gives the running program duration.
      Last edited by HAREK; 02-07-2019, 05:38 AM.

      Comment


      • #7
        interesting;

        site does not write "assign" command

        You must type the "Assign" command before V1.
        _____________________________________

        I'll try here :

        ASSIGN/V1=ELAPSEDEXECUTIONTIME()
        COMMENT/REPT,
        "Cycle Time : "+V1

        Comment


        • #8
          4 years ago... : (#5)

          https://www.pcdmisforum.com/forum/pc...n-basic-script

          Comment


          • #9
            This is my solution for machine time. I'm using it for many years and works great for me.

            https://www.pcdmisforum.com/forum/pc...usage-run-time

            Comment


            • #10
              Had to do this several years ago to justify getting a offline programming station. A detail analysis of time spent at the CMM was required. We just did a paper log that recorded program name, probe qualification time, building grid plate fixtures, run time, swapping out samples, programming time, editing time etc. There is a lot that goes on at a CMM that PC DMIS can't possibly capture.

              We wound up proving pretty easily that programming and editing was the bottleneck and were able to justify our offline programming station.

              Comment


              • #11
                I appreciate all the inputs folks. There are a crap load of programs here. I just don't see myself putting these scripts in every program. Some of these programs I don't even have access to. So I was kinda looking for maybe if the program itself had a time on time off switch. I do thank you guys for your inputs. Without full access, scripts won't work.
                (In Memory of my Loving wife, "Ronda" who I lost March 7, 2016. I love you baby.)
                They say "Nobody's Perfect." I must be Nobody.

                Comment

                Related Topics

                Collapse

                • em748
                  Run time
                  by em748
                  Hello all,
                  My boss want's to know how many hours our CMM machine are running per shift (20 hours per day). Is there any way to know ? I think...
                  10-02-2014, 10:36 PM
                • Jim Poehler
                  PC-DMIS Activity Log?
                  by Jim Poehler
                  Not sure if this is possible or not but my supervisor wants to know if there is any way PC-DMIS can generate an activity log indicating which programs...
                  09-21-2016, 02:13 PM
                • Scotster
                  Report - Auto and Append?
                  by Scotster
                  I'm running small batches of separate serial numbers. I'm just looking to automatically add an index to each set of results saved to file. The trouble...
                  05-24-2014, 06:02 AM
                • Per E
                  Logging the time of measurementprocess
                  by Per E
                  Hello!
                  Is it possible for the PC-DMIS software to output info to a file of how long the measurement cycle took to complete?

                  //P...
                  10-02-2009, 07:52 AM
                • kmcmm
                  Code Error?
                  by kmcmm
                  So I've got to track CMM "up time", below is the code I came up with. It just pulls some info into variables and then writes them to a .csv...
                  08-12-2019, 01:17 PM
                Working...
                X