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.