Internal variables

Forum Home Forums Understanding the Software Using Formulas Internal variables

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #169
    teleco
    Participant

    I have defined an internal variable (Input channel: switching counter), in order to follow the number of cycles. The issue is that when I connect to SCADA-Web, the variable doesn´t reset, it starts from the last value of the previous connection. I have deleted all the database: ArchiveDAT and ArchiveDATCopy. However, the problem remains.

    As this tag is internal, doesn´t depends on any OPC or Modbus variable, I think that the function is a little different. How can I reset internal tag?

    I would like to create a button on my scheme that executing it reset automatically the mentioned tag. I have tried doing on Formula field of the output channel (lets call “RESET”): Val(cycles)=0, but restarting SCADA-Server it says that the formula is not correct.

    Which is the correct procedure?

    Thank you in advance.

    #170
    Mikhail
    Moderator

    Hello,
    You can reset this kind of value by using Generator of SCADA-Server. But it is not suitable for your case. I think the best way of implementing the functionality you need is defining your own formula that calculates switching and supports reset.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.