Showing results 1 to 5 of 5

Thread: Counter

  1. #1
    Join Date

    Default Counter

    Hi support team,

    I need again your help..How can I count the change of value.. I want to count every change of my online variable.. is it posiible?

    have a nice day..

  2. #2
    louis.paglaiccetti Gast

    Default Re: Counter

    Hi faith.oz,

    Could you provide some more information? When you say "online variable", what do you mean exactly? I would suggest that you look into option #1, in combination with a zenon Report.

    With standard zenon functionality, maybe you can accomplish this with these ideas:

    1. With the zenon Historian, not only can you count variable value changes, you can also record them for later analysis. You can create an archive that will automatically record all values changes (On change/Spontaneous Recording Type), then use the zenon Report Module, Extended Trend Module, or the Archive Revision screen type to get a count of the value changes

    2. Another idea would be to use zenon Logic (IEC 61131-3) soft PLC. With some simple PLC logic, you should be able to catch the value changes, and increment a separate internal counter variable.


  3. #3
    Join Date

    Default AW: Counter

    You can use reaction Matrix with one entry on any value and every Change of value to be executed. Then create an internal variable for counting the changes of value and a function that adds +1 to this variable. Link the function to the single entry in the reaction Matrix. Link the reaction Matrix to the variable witch you want to Count the changes of value.
    (sorry for my english, hope you understand what I mean )

  4. #4
    Join Date
    Salzburg, AT

    Default Re: Counter

    in reaction matrix (type multi-numeric) do not forget to activate checkbox 'treat each change of value as new limit violation'

  5. #5
    Join Date

    Default Re: Counter

    Thank you all,

    I solved the problem with Reaction Matrix.. It was easy thaks to you..

    have a good day...

Similar Threads

  1. Counter for Online Value
    By fatih.oz in forum VBA
    Replies: 1
    Last Post: 22nd September 2014, 16:53
  2. Reset of counter variables
    By roberto1978 in forum VBA
    Replies: 3
    Last Post: 20th June 2011, 10:40
  3. Event triggered archive by counter
    By affoltep in forum zenon Supervisor
    Replies: 5
    Last Post: 24th March 2010, 12:38
  4. How to create a "Time Counter" variable?
    By lephis in forum zenon Supervisor
    Replies: 1
    Last Post: 24th August 2009, 11:17
  5. Replies: 1
    Last Post: 12th June 2008, 14:56

Posting Rules

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