Disconnect from OPC DA server

Forum Home Forums Communicating with Devices OPC Disconnect from OPC DA server

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #16386
    xujiujing
    Participant

    Hi everyone,

    I am trying to set up a DA to UA Gateway.
    Rapidscada and the OPC DA Server are running on different machines.
    Communicator and Agent applications were installed on the remote PC.
    The ScadaComm6 service was setup to work as the OPCSrv user. Such as this.
    The driver is DrvOpcClassic 6.0.1.2.
    Rapidscada version is 6.4.1.
    It seems Rapidscada could read the variables from the OPC DA server.
    However, I got the following error messages after I closing the device property settings (Device Polling):
    ——————————————————————————–
    (Log messages in communication lines)
    ——————————————————————————–
    2025-05-02 21:29:49 Start communication line [1] opcda

    2025-05-02 21:29:49 Connect to Matrikon.OPC.Simulation/{f858xxxx-xxxx-xxxx-xxxx-00c0f010xxxx}
    Connection to the OPC DA server has been established

    2025-05-02 21:29:50 Create subscriptions
    Create subscription “” for the device [1] Matrikon (async)
    Error creating subscriptions:
    0x80040202

    2025-05-02 21:31:07 Disconnect from OPC DA server
    2025-05-02 21:31:07 Error disconnecting OPC DA server:
    0x80040200

    2025-05-02 21:31:07 Communication line [1] opcda is stopped
    ——————————————————————————–

    Would you please help me solve this problem?
    Thanks a lot in advance!

    #16388
    Mikhail
    Moderator

    Hi,

    > Rapidscada and the OPC DA Server are running on different machines.
    When OPC DA server and client are installed on different machines, it requires setup of DCOM security. You should search for DCOM manuals. Sometimes a user manages to run it.
    I recommend installing Communicator on the same machine where the OPC server is already installed.

    #16390
    xujiujing
    Participant

    Hi Mikhail,

    Thanks a lot for your reply. My DCOM configuration was reset by accident. I’ve now managed to get everything working again.

    Many thanks for your support and guidance.

    Best regards
    Jiujing Xu

    #16483
    xujiujing
    Participant

    Hi Mikhail,

    I am performing the same task with another OPC DA server running on a different machine.

    DCOM configuration has already been completed.

    Using the “MatrikonOPC Explorer” OPC DA client, I am able to successfully connect to the remote OPC DA server. However, when attempting to access the server using Rapid SCADA, I encounter an error: “CoCreateInstanceEx denies access.”

    Both machines have installed the following components:
    OPC Core Components Redistributable (x64) 3.00.108
    OPC Core Components Redistributable (x86) 3.00.108

    Could you please advise on how to resolve this issue?
    Thank you very much for your help in advance. Wishing you a great day!

    Best regards,
    Jiujing Xu

    #16484
    xujiujing
    Participant

    Hi Mikhail,

    Sorry to bother you again. It seems that my OpcEnum configuration has been changed once more. The connection is working fine now.

    Best regards,
    Jiujing Xu

    #16485
    Mikhail
    Moderator

    Hi,
    Thanks a lot for the update.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.