Showing results 1 to 5 of 5

Thread: Time control function - interval

  1. #1
    Join Date
    17.06.2013
    Posts
    11

    Default Time control function - interval

    Hi copadata,
    I have one archive and I want to start archiving variables in this arhive every day at 08.00AM and to stop archiveing at 11.00AM, I have made function "Archive:start" and "archive:stop" and connect thiese functions to time control function "cyclic from that day on" and there is no
    possibilty to chouse interval one day, max is 23.59.59 so my question is there some way to make this in other way and if not will it start everyday at 7.59 or with days will begine one sec earlier 7.58 next day 7.57 .. ?

  2. #2

    Default Re: Time control function - interval

    Hi geleto21,

    Have you tried the setting "from that day"?

    This allows you to create two time control functions that are executed at the specified time on the days selected, starting from the day / time specified.

    One would start the archive, the other would stop the archive.

    Best regards,
    Mark

  3. #3
    Join Date
    17.06.2013
    Posts
    11

    Default Re: Time control function - interval

    Hi Mark,
    Thank you for the support, it works with "form that day" time control function .
    My confusion comes from missing "cyclically" infront of "from that day"

    Best regards
    Angel Markov

  4. #4
    Join Date
    06.11.2019
    Posts
    4

    Default Re: Time control function - interval

    Hello!
    I would like to make seven days Time Control. If the signal of dirty filter (it is BOOL) occurs, it will switch on the Time Control (seven days) and after seven days another variable will be set on (this variable will be responsible for setting on alarm) and will be active as long as signal of dirty filter = 1. Anybody could help me how to do this? I would be very grateful.

    Best regards
    Rafal
    Last edited by Rafal : 23rd June 2020 at 14:11

  5. #5
    Join Date
    15.11.2016
    Posts
    105

    Default Re: Time control function - interval

    Hello Rafal,

    I suggest you use a variable on the MATH driver and configure it to be a counter.
    More details can be found in this help chapter:
    Drivers > MATHDR32 > Driver-specific functions > Formulas > Float formula > Statistics > Counter

    You can then set a limit (7 Days) and link the set value function for your alarm trigger.

    BR,
    Georg

Similar Threads

  1. Minimal external variable change interval to be hooked in zenOn
    By stolyarov_as in forum zenon Supervisor
    Replies: 1
    Last Post: 24th September 2013, 18:38
  2. Replies: 1
    Last Post: 24th April 2013, 04:50
  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. 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
  •