Forum Home › Forums › Communicating with Devices › OPC › OPC DA null values because bad quality.
- This topic has 16 replies, 2 voices, and was last updated 1 year, 12 months ago by
Mikhail.
-
AuthorPosts
-
August 25, 2023 at 5:08 am #13247
mrfy
ParticipantIs there a way to bypass the signal status check in the ProFace OPC DA server when using Rapid SCADA V6 to read this? After successfully read OPC-DA server by rapidscada and create new OPC-UA data source I’ve successfully connected other clients to the OPC UA, but I’m encountering issues with many values showing a bad quality status, resulting in null values in Rapid SCADA. It seems like there might be a configuration issue with the ProFace OPC server. Any suggestions or solutions to this problem? Thanks
August 25, 2023 at 11:46 am #13249Mikhail
ModeratorBad quality status is received only by Rapid SCADA driver or also by other OPC clients, like Matrikon OPC Explorer?
August 25, 2023 at 1:12 pm #13253mrfy
ParticipantBad quality is also received using 3rd party OPC Client, I have used UA Expert OPC Client for my tests. I need to reconfigure limits in OPC Server so now every values are in good ranges – that was the reason, every signal have default limits (0 to 100) but values are higher than limits.
Thanks to that I’m able to communicate with remote server with opc da, like on diagram. Rapidscada rocks – it was very easy to configure! 🙂
August 25, 2023 at 1:27 pm #13256Mikhail
ModeratorIf you need to use values with bad status as good values, I can provide the source code of the OPC DA driver, so you can change it as needed.
August 25, 2023 at 1:28 pm #13257Mikhail
Moderatorevery signal have default limits (0 to 100) but values are higher than limits
In this case, you get Bad quality status?
August 28, 2023 at 7:23 am #13258mrfy
ParticipantHi, yes in Pro Server if have have default limits 0 to 100 and values (Int16) was over 100, then I have ‘Bad’ quality status.I have changed limits and everything is ok now.
August 28, 2023 at 10:07 am #13260mrfy
ParticipantMikhail I have question how I can configure SecurityPolicies on the RapidScada OPC UA Server. In OpcUaServer properties I can see only this options:
But dont know what Configuration File is meaning, because in path “SCADA\ScadaComm\Config\DrvDsOpcUaServer.xml” there is default configuration xml?
In this file I see some <SecurityPolicies> options, how to configure and then use it?
August 28, 2023 at 2:34 pm #13261Mikhail
ModeratorIf DrvDsOpcUaServer.xml does not exist, the driver creates a default configuration file. You can put it in the project and change if needed. I recommend to use the default configuration if it fit your needs, because there are a lot of settings which are not obvious. The file in the screenshot was created by the OPC Foundation developers (and included in the driver), and I haven’t seen any documentation related to it.
August 28, 2023 at 2:38 pm #13263Mikhail
ModeratorIf you need more clarification how that file is created and used by the driver, ask.
August 28, 2023 at 8:03 pm #13265mrfy
ParticipantMikhail I’m wondering how to configure the opc server in rapidscad so that I can authorize SecurityPolicy Basic256Sha256 in the OPC client? I guess I have to set something in this XML file?
ThanksAugust 29, 2023 at 3:39 pm #13266Mikhail
ModeratorDo you get an error in the client if you try to connect using Basic256Sha256 if the OPC server uses the default settings? What error?
August 29, 2023 at 8:55 pm #13268mrfy
ParticipantYes, I have got errors, below screens from my tests:
1. If i choose Security Policy: “Basic256Sha256”:
2. But if I choose Security Policy: “Basic256”, then I have:
and if I close this popup by click on Ignore button, next one showed:
Looks like RapidScada on default settings somegow supports Security Policy: “Basic256Sha256” but client cannot authorize.
August 31, 2023 at 3:06 am #13276Mikhail
ModeratorI can check this issue the next week.
September 1, 2023 at 8:32 am #13277mrfy
ParticipantThank you, if you need to some support from my side please let me know.
September 4, 2023 at 12:33 pm #13286Mikhail
ModeratorI did the following test:
1. Use the default settings of the OPC UA Server data source. The Automatically accept certificates checkbox in set.
2. Install and run Prosys OPC UA Browser.
3. In Prosys OPC UA Browser
– Security settings: Sign, Basic256Sha256
– User auth: username and password (opc / scada)
4. When connect, the client asks to accept the certicicate.
5. Connected successfully.Note: the same machine for client and server.
Could you repeat this test?-
This reply was modified 1 year, 12 months ago by
Mikhail.
-
This reply was modified 1 year, 12 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.