Forum Replies Created
-
AuthorPosts
-
MikhailModeratorHello,
OPC UA server works on the Communicator level, so it has no access to values of calculated channels. Do solve the task as you described, there should be an OPC UA module working on the Server level.
Consider alternative solutions:
1. MQTT Publisher driver (DrvMqttPublisher.dll) can publish channel values.
2. Send Telegram/email/SMS notifications using Rapid SCADA.
MikhailModeratorYou downloaded the latest version, and helped to find a bug. Thank you.
The bug is related to our recent upgrade from .NET 6 to .NET 8.
MikhailModeratorTo fix the issue, upgrade PlgMap to the latest version 6.1.0.0.
MikhailModeratorThank you for the report.
We will check and let you know.
MikhailModeratorWhen Server starts, it loads channel values that saved before it Server stop. Value is reset because of your function. Using DayStarted() may help not to reset lowest value on start.
MikhailModeratorHi,
Add a function like that:public CnlData Every5Sec(Func
getDataFunc) { return EveryPeriod(getDataFunc, TimeSpan.TicksPerSecond * 5, TimeSpan.TicksPerMillisecond * 500 * 5); } > I’m still confusing why we still need execSpan argument?
It is needed to avoid unnecessary calls of getDataFunc.
MikhailModerator
MikhailModeratorHello,
OK
MikhailModeratorHello,
Specify the channel limits, and configure event mask of the channel.
MikhailModeratorHi,
This video can help.March 4, 2024 at 11:40 am in reply to: Scheme Editor cannot load from Administrator app V6.0.2 #14117
MikhailModeratorHi,
Open Administrator – Options – File Associations and make sure that ScadaSchemeEditor.exe exists there. It should be by default.
MikhailModeratorHi,
There is a ready to use DayStarted() function. It equals to true in the beginning of the day. Probably, using this function inside your formulas can fix the issue.
If you provide screenshots of your channels, I can check them.
MikhailModeratorThank you for the description.
It is possible to develop a plugin that provides a web page that uploads a file and save it somewhere on the server side if it solves your task. It can be done by a .NET developer. Be careful, because uploaded files may harm the system if it is available from the global internet.
MikhailModeratorProbably, it’s better to create your own function that uses the EveryPeriod method.
execSpan can be equal to period / 10
MikhailModeratorHi,
EveryPeriod is defined as protected. You can change it to public and try using it directly. The period argument would be taken from a channel value, for example.
The execSpan parameter provides a flexible period when getDataFunc can be executed. Note that EveryPeriod is called many times a second by the Server engine, and you don’t know the particular moment when it is called. -
AuthorPosts