Time Calculation

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

  • Time Calculation

    We make parts that are subjected to a heating process that affects flatness and parallelism. This distortion relaxes at a known rate over time and has a tolerance allowance for how long since the parts were heated.
    Currently, the operator enters a time frame via Comment/Input ("A"- up to 8 hours, "B"- 8-24 hours, "C"- more than 24 hours).
    I'm looking for a way to have the operator enter the time from the Lot Summary Card and have the software compare it to the System Time to determine which Tolerance to apply.
    From what I've been able to learn so far, I need to find a way to convert System Time and the time entered by the operator to Epoch Time, then compute the time difference.
    Any ideas?
    v2013 MR1, v2015.1
    B&S Global 544, 555
    Mitutoyo A504 w/PC-DMIS

    sigpic
    Since 1994

    Never force anything. Get a bigger hammer.
    (Advice from my dad.)

  • #2
    you will need your guy to enter heating time in ISO 8601 time format, other than that assign system time to a variable and a straight subtraction works I believe

    Comment


    • Don Meredith
      Don Meredith commented
      Editing a comment
      Thanks, Douglas. Getting the operators to enter anything besides straight time in AM/PM format won't fly. Also, I tried the subtraction approach and it didn't work for me. I need a way to convert date/time to a numeric string. I'm thinking maybe a VB script (about which I know nothing) in a Subroutine.

    • Douglas
      Douglas commented
      Editing a comment
      the one for time at which the program is run should be this simple I think... if you do not need the date involved

      ASSIGN/TIME=SYSTEMTIME("HH':'mm':'ss")

    • Don Meredith
      Don Meredith commented
      Editing a comment
      Assigning System Date and Time and Heat Event Date and Time is not the problem - I got that part. What I need is some kind of code to calculate the difference.

Related Topics

Collapse

  • Arenw
    OEE for CMMs?
    by Arenw
    Has anyone on here had to perform OEE studies for CMMs? I've been tasked with conducting an Operating Equipment Efficiency study on our CMMs and I'm...
    09-12-2012, 10:27 AM
  • Aaron Baldauf
    Input Comment in Operator Mode
    by Aaron Baldauf
    Hi guys

    I need some help regarding Input Comments in Operator Mode...

    So at our company we started putting CMMs in the production....
    03-03-2016, 07:28 AM
  • 2013_junkie
    Elapsed Time
    by 2013_junkie
    So our 4 machines are pretty much running around the clock and talk of purchasing 1 or 2 more has came up. We are ramping up on a new contract and our...
    06-05-2017, 12:46 PM
  • sdaley
    looping reports
    by sdaley
    Hello. I've been an avid reader of forum for many years and can usually find answers by searching, no such luck this time.

    Recently upgraded...
    11-07-2008, 02:27 PM
  • taasnc
    More operator input questions
    by taasnc
    I would like to make a window that the operator only has two choices: Cell # and Pallet (fixture)#. I also would like to have the Julian date and the...
    08-11-2016, 03:51 PM
Working...
X