Showing results 1 to 3 of 3

Thread: NET_SEL Variable

  1. #1
    Join Date
    19.05.2017
    Posts
    5

    Default NET_SEL Variable

    Good Morning,

    I am making a HMI for a test environment. And this is HMI includes an option to control switching objects.
    I have made a dynamic element (Switching object) that flashes when i have it selected. (NET_SEL is HIGH).

    When i execute the command the NET_SEL variable goes to LOW and the element stops flashing.

    Is there a way that i can keep the Variable high for a longer time than when my command screen is open? 
    Or keep my command screen open for 1 or 2 seconds more after i put out my command?

    What i want to accomplish is that my Dynamic element keeps flashing for a little while longer after i gave my command.

    I hope you can help me.

    Best regards,

    Mark 

  2. #2
    Join Date
    01.07.2008
    Location
    Salzburg, AT
    Posts
    983

    Default Re: NET_SEL Variable

    The NET_SEL gones when the action is completed and command screen closes. The switch-command action is completed depending on condition defined by the 'Command Group' - in the setting 'Watchdog timer'. I suppose now in your project this setting is configured "none", thus the action is "completed" as soon as the value of command variable has been poked to the driver (so actually few nanoseconds before will be sent to the IED ).

    I'm proposing you: consider the use of 'Watchdog Timer', then the actions will supervise the switching process. For example when 'Watchdog timer' is configured to take into account the value of Response Variable (RV) then the action will be completed (and NET_SEL will stay for this period) after the position of the switch changes like expected - according action's setting 'Return state/switching direction'. And the action will recognize a failure of the switching process, not only if the IED will response the command negatively, but also if the RV does not get the expected value in the 'Timeout' (default 30s) defined in the action's settings.

    In addition, when 'Watchdog timer' is activated (not "none"), then during the command execution, the RV variable may get status bit PROGRESS - see 'Command Group' - check-box 'Set status PROGRESS'.
    Note: NET_SEL is set when the operator opens the command screen, so already before he decides to really send a command. PROGRESS is set while switching process is running (so after operator press the action button).


    If, of whatever reasons, you cannot use the 'Watchdog timer', then the possible solution would be to use additional internal variable to make blinking, not NET_SEL of RV directly. So limit detecting NET_SEL of RV may call zenon function 'write set value' linked to internal, network, BOOL variable (configure function to set 'directly to HW'). And the limit of value 1 of this BOOL variable may - with a 'Delay' of 2s - call a function to set value of BOOL to 0.   


  3. #3
    Join Date
    19.05.2017
    Posts
    5

    Default Re: NET_SEL Variable

    Thank you for the quick answer!

    I will check next week.

Similar Threads

  1. 1. Modify BitAddr of variable, 2. edit SubItems of variable
    By professor_hubert_farnsworth in forum VSTA
    Replies: 3
    Last Post: 18th January 2017, 09:46
  2. packing 16 bool variable to one 16 bit interger variable
    By ismailsel in forum zenon Service Engine Supervisor
    Replies: 2
    Last Post: 9th June 2015, 09:22
  3. NET_SEL variable
    By ansab.tp in forum zenon Network
    Replies: 1
    Last Post: 13th April 2012, 00:20
  4. Replies: 1
    Last Post: 2nd August 2011, 10:21
  5. Link between an INT PLC variable and a STRING interne variable?
    By lephis in forum zenon Service Engine Supervisor
    Replies: 1
    Last Post: 23rd July 2011, 08:51

Tags for this Thread

Posting Rules

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