Showing results 1 to 4 of 4

Thread: Screen timer

  1. #1

    Default Screen timer

    Hi,

    I tried to search if there is a property for a screen to close after a define time but I could not find. I want the command pop up screen to automatically close if after ex. 20s no selection (open or close) is made, how can I do this?

    Thanks.

  2. #2
    Join Date
    18.07.2011
    Posts
    136

    Default Re: Screen timer

    hi archie.

    You are looking for a timer. You might check on the zenon logic timer functions. Please see the attached screenshot for a help chapter reference.

    BR
    Attached Thumbnails Attached Thumbnails timers.png  

  3. #3

    Default Re: Screen timer

    Hi Archie,

    You may also want to have a look at the system driver variable "idle time". This represents a incrementing counter that starts counting when the runtime is not being operated. You can easily create a limit function when it exceeds 20 seconds, that closes the frame used by your command screen.

    Best regards,
    Mark

  4. #4
    Join Date
    29.01.2016
    Posts
    24

    Default Re: Screen timer

    I recently accomplished this using "Time Control" that had an entry that executed a function every second.
    That function reduced an internal variable.
    Then a REMA on the internal variable triggered another function when 0 was reached. That function closed the screen. So now I can have a decrementing counter that shows when the screen is about to close accurate to 1 second +- about 1 second.
    __________________
    having to do it YOUR way!

Similar Threads

  1. Timer
    By zimou in forum zenon Supervisor
    Replies: 1
    Last Post: 18th July 2014, 12:56
  2. Screen Timer
    By rob.machin@capula.co.uk in forum zenon Supervisor
    Replies: 4
    Last Post: 21st February 2013, 11:54
  3. Timer for control
    By yara in forum Drivers
    Replies: 6
    Last Post: 28th January 2011, 14:32
  4. Wrong behaviour for timer/VBA
    By matholton in forum VBA
    Replies: 2
    Last Post: 1st November 2009, 15:58
  5. VBA Timer
    By hansvanzijp in forum VBA
    Replies: 4
    Last Post: 15th September 2009, 03:04

Posting Rules

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