OPC DA null values because bad quality.

Forum Home Forums Communicating with Devices OPC OPC DA null values because bad quality.

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #13247
    mrfy
    Participant

    Is 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

    #13249
    Mikhail
    Moderator

    Bad quality status is received only by Rapid SCADA driver or also by other OPC clients, like Matrikon OPC Explorer?

    #13253
    mrfy
    Participant

    Bad 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! 🙂

    diagram

    • This reply was modified 2 years ago by mrfy.
    • This reply was modified 2 years ago by mrfy.
    #13256
    Mikhail
    Moderator

    If 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.

    #13257
    Mikhail
    Moderator

    every signal have default limits (0 to 100) but values are higher than limits

    In this case, you get Bad quality status?

    #13258
    mrfy
    Participant

    Hi, 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.

    #13260
    mrfy
    Participant

    Mikhail I have question how I can configure SecurityPolicies on the RapidScada OPC UA Server. In OpcUaServer properties I can see only this options:
    opts

    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?
    config

    #13261
    Mikhail
    Moderator

    If 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.

    #13263
    Mikhail
    Moderator

    If you need more clarification how that file is created and used by the driver, ask.

    #13265
    mrfy
    Participant

    Mikhail 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?
    Thanks

    #13266
    Mikhail
    Moderator

    Do you get an error in the client if you try to connect using Basic256Sha256 if the OPC server uses the default settings? What error?

    #13268
    mrfy
    Participant

    Yes, I have got errors, below screens from my tests:

    1. If i choose Security Policy: “Basic256Sha256”:
    256

    2. But if I choose Security Policy: “Basic256”, then I have:
    unsu

    and if I close this popup by click on Ignore button, next one showed:
    notf

    Looks like RapidScada on default settings somegow supports Security Policy: “Basic256Sha256” but client cannot authorize.

    • This reply was modified 2 years ago by mrfy.
    • This reply was modified 2 years ago by mrfy.
    • This reply was modified 2 years ago by mrfy.
    • This reply was modified 2 years ago by mrfy.
    #13276
    Mikhail
    Moderator

    I can check this issue the next week.

    #13277
    mrfy
    Participant

    Thank you, if you need to some support from my side please let me know.

    #13286
    Mikhail
    Moderator

    I 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.
Viewing 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.