Showing results 1 to 4 of 4

Thread: Time value Archieve

  1. #1
    Join Date
    28.03.2018
    Posts
    50

    Default Time value Archieve

    Hi,

    I need to create a variable and store the shift start time and stop time to add in report, please let me know how to store time value in a variable

    Regards
    Sandeep

  2. #2
    Join Date
    24.06.2019
    Posts
    1

    Default Re: Time value Archieve

    I am also investigating this issue, hoping to quickly get answers!

  3. #3
    Join Date
    25.06.2012
    Posts
    155

    Default Re: Time value Archieve

    Dear,

    you can find attached a sample project and the respective AddIn code.

    I just did it for educational purposes so that please don't take it as the best coding option, but just as a guidance.

    Basically the solution is based on a Runtime AddIn wizard executed every minute by zenon time control (this is just to quickly see the result in the runtime while playing and testing with the solution, in fact I recommend this time to be longer and based on the real shift periods) that saves the value of the shift start time and end time in two internal string variables.

    In your case, you can link these variables to an archive and use both in reporting. This I did not implement.

    Good luck.

    Best regards,
    David Cerdeira
    Attached Files Attached Files

  4. #4
    Join Date
    10.07.2019
    Posts
    1

    Default Re: Time value Archieve

    Quote Originally Posted by sandeep2018 View Post
    Hi,

    I need to create a variable and store the shift start time and stop time to add in report, please let me know how to store time value in a variable

    khatrimaza

    Regards
    Sandeep
    What do you want to ask I didn't understand it.



Similar Threads

  1. Start time and end time
    By sandeep2018 in forum zenon Supervisor
    Replies: 1
    Last Post: 28th January 2019, 14:32
  2. Replies: 2
    Last Post: 25th January 2019, 17:46
  3. Read Date & Time from Time Attribute on IEC61850
    By salmanhassan2 in forum zenon Energy Edition
    Replies: 4
    Last Post: 22nd February 2013, 07:34
  4. Read Date & Time from Time Attribute on IEC61850
    By salmanhassan2 in forum Drivers
    Replies: 4
    Last Post: 22nd February 2013, 07:34
  5. compare time variable with system time
    By flajoso in forum VBA
    Replies: 7
    Last Post: 25th August 2008, 06:47

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •