Forum Replies Created
-
AuthorPosts
-
MikhailModeratorSince Rapid SCADA 5.7.0 we store the configuration database in XML as a part of a project. *.dat files are used in runtime.
-
This reply was modified 6 years, 6 months ago by
Mikhail.
MikhailModeratorWhere can i find and/or change the version number?
Usually in the about page. Version number of what application?
Also is it possible to acces the db like a sql datebase or?
Is the baseDat the only thing i have?You can read the files like written here , get data from Server by TCP and use REST API.
MikhailModeratorHi,
if (CnlStat > 0) …
July 4, 2019 at 6:25 am in reply to: Digital Counter and calculate elapsed time for a channel in certain state #5668
MikhailModeratorHi,
Can we use formula to calculate the elapsed time for the channel being in in True State?
How many times a day a channel may change?
The simplest approach is:
1. Create an input channel of Minute real type.
2. Use a formula Val(101) > 0 ? Val() + 1 : Val()
where 101 is the source channel that can be 0 or 1
The formula is calculated every minute for this type of channel.But this approach is not accurate.
can we use formulas to make a digital counter so that we can calculate how many times channel changed from state to another state for example False to True?
Just choose Switching counter type of the input channel. And it will count.
MikhailModeratorConfigured the aliases in OPC server. Now I have access to them from communicator service and it is now working. I didn´t know that the use of aliases was needed.
That’s good! Thank you for sharing the cure recipe. OPC is a black box.
MikhailModeratorHi,
Stop the Communicator service, and use the Generator feature the collect more information how the formula works. The expected and actual results, you need, are not clear.
MikhailModeratorIs it possible that this tags are blocked to use them outside OPC server?
May be, but I don’t think so.
Matrikon also provides OPC Explorer. Try to use it for get data of that tags. Does it work?I can connect to your PC remotely to do more diagnostic, however this is a commercial service and I’m not sure that I reach success in fixing this problem.
I tried restarting communicator and also setting the tag´s names from administrator but still not work.
Please provide communication line log.
MikhailModeratorYes. Open the archive directories:
C:\SCADA\ArchiveDAT\Events
C:\SCADA\ArchiveDAT\Hour
C:\SCADA\ArchiveDAT\Minand delete the unnecessary files. Each file is written for a one day.
MikhailModeratorIs the “duplicate entry” error critical in your situation or can be ignored?
MikhailModeratorThank you.
Could you check if the problem also occurs in case of using Matrikon OPC Simulation Server?Despite of the error, a name should be set non empty. Are there tags that can be added with non empty name? What if you save settings and restart the Communicator service?
MikhailModeratorOK 🙂
MikhailModeratorOK 🙂
MikhailModeratorMay be you should change cnlmun to cnlnum in the INSERT request.
MikhailModeratorHi,
However, the alarm still plays the old sound file and not the one configured at in the Modules.
You should ask the module author for the solution. Possibly write to him on GitHub.
By the way, did you restart the Server service?
Eg. alarm should play when channel value is 1 but should but play if it goes to 0.
Create an extra input channel of the calculated type and revert the value:
Val(101) > 0 ? 0 : 1
101 is the number of the source input channel
MikhailModeratorError check tag type:
Receiving data from OPC server failed.
Add the tag manually by specifying its typePlease provide a screenshot.
-
This reply was modified 6 years, 6 months ago by
-
AuthorPosts