Forum Home › Forums › Understanding the Software › OPC DA to UA Gateway
- This topic has 7 replies, 3 voices, and was last updated 1 week, 6 days ago by
Mikhail.
-
AuthorPosts
-
May 22, 2023 at 11:06 am #12676
raizazel
ParticipantHi,
I’ve just stumbled upon this great software but I’m still a bit lost. I’m trying to connect to a OPC DA server and create a gateway to a new OPC UA server. I’ve seen that this is possible with the latest realease but I’ve got zero clue on where to start.
Could you please give me some hints on where to start looking?
Thanks a lot
May 22, 2023 at 11:12 pm #12679heavenbird
ParticipantFirst add communicator line and device for connect to your opc da server。
Then active OPC UA server Data source。May 23, 2023 at 10:05 am #12684Mikhail
ModeratorHi,
There are 2 independent tasks:
1. Get data from OPC DA.
2. Provide data as OPC UA. Rapid SCADA 6 is needed for this.To solve the 1st task, use usual configuring sequence, as written above. In case of errors, please provide screenshots of the settings and logs.
After the 1st task is done, ask about the 2nd,
May 26, 2023 at 11:19 am #12718raizazel
ParticipantHi,
I’ve been able to configure reads from OPC DA using a the OPC DA driver and setting a line in the communicator for that.
After that I’ve set a Data Source of type OPC UA and I’m able to connect to it using UAExpert.
Now I’m worried about losing data in the transformation, I’m running a OPC DA Matrikon Simulation server and some of the data posted runs under 100ms and from the tests I’ve run I’m not able to post to OPC UA consistenly under 100ms.
To check if the simulation server wasn’t the bottleneck I’ve created a simple scripts that uses MQTT to create a triangular signal [-100, 100] that can go up to 1ms and increments 1 by each “tick”. Using MQTT and going through RapidScada results as stable as it should send and recieved the signal without losing points and not much delay. With OPC UA as a publisher it happens the same, anything trying to go sub 100ms starts to get chopped.
Another thing that I wanted to achieve is to store signals into InfluxDB but it bahaves the same as with OPC UA it cannot go under 100ms, I’ve setted it up to be written on change so in principle it shouldn’t be missing data but it does. Am I missing some configuration or is this a hard limit of RapidScada? I’ve tested InfluxDB on its own and is more than capable of running at under 10ms without any issue.
I know that OPC DA is not supposed to go under 100ms but I’m looking at RapidScada not only for OPCDA but also for some future projects that could involve rapid changing signals
Sorry for the long topic and thanks a lot for the support.
May 26, 2023 at 3:19 pm #12721Mikhail
ModeratorHi,
You have done interesting tests.
1. OPC UA. If you sent data to the OPC UA Server data source (implemented y DrvDsOpcUaServer.dll) fast and for a long time, are there some RAM issues or hangs?
Currently, I have no info how such situation should be processed by the used libraries https://github.com/OPCFoundation/UA-.NETStandard
Would you ask the OPC developers on GitHub? If you ask please share a link to the issue.2. Influx DB. There is no limits. If data points are sent too fast, the internal queue of the client should eat a lot of RAM. Could you post a screenshot of the archive settings and data samples?
Check the issue I created a few months ago https://github.com/influxdata/influxdb-client-csharp/issues/478May 26, 2023 at 3:20 pm #12722Mikhail
ModeratorTalking about Influx DB client, we can implement our own data queue in Rapid SCADA to gain more control. But that would be stupid, since the Influx DB client claims to provide a built-in queue as a feature.
May 26, 2023 at 3:26 pm #12723Mikhail
ModeratorIf your project requires work with a large amount of incoming data, we can take part in it to improve existing Rapid SCADA modules.
Alternatively, if you are a software developer, you can join the development and submit a solution.Just for info: PostgreSQL archives (ModArcPostgreSql.dll) appends all data points in the queue. And it’s easy to monitor the queue size and data insert rate.
May 26, 2023 at 3:29 pm #12724Mikhail
ModeratorI guess, OPC server should have an option that allows to restrict publishing speed. Or may be, it’s a client subscription includes such parameter. For example, Rapid SCADA OPC UA client subscription have the Publishing interval option.
-
AuthorPosts
- You must be logged in to reply to this topic.