Forum Home › Forums › Communicating with Devices › OPC › Disconnect from OPC DA server
- This topic has 5 replies, 2 voices, and was last updated 1 week, 1 day ago by
Mikhail.
-
AuthorPosts
-
May 2, 2025 at 1:35 pm #16386
xujiujing
ParticipantHi 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] opcda2025-05-02 21:29:49 Connect to Matrikon.OPC.Simulation/{f858xxxx-xxxx-xxxx-xxxx-00c0f010xxxx}
Connection to the OPC DA server has been established2025-05-02 21:29:50 Create subscriptions
Create subscription “” for the device [1] Matrikon (async)
Error creating subscriptions:
0x800402022025-05-02 21:31:07 Disconnect from OPC DA server
2025-05-02 21:31:07 Error disconnecting OPC DA server:
0x800402002025-05-02 21:31:07 Communication line [1] opcda is stopped
——————————————————————————–Would you please help me solve this problem?
Thanks a lot in advance!May 5, 2025 at 11:29 am #16388Mikhail
ModeratorHi,
> 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.May 6, 2025 at 3:55 am #16390xujiujing
ParticipantHi 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 XuJune 12, 2025 at 8:39 am #16483xujiujing
ParticipantHi 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.108Could 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 XuJune 13, 2025 at 2:04 am #16484xujiujing
ParticipantHi 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 XuJune 13, 2025 at 5:47 am #16485Mikhail
ModeratorHi,
Thanks a lot for the update. -
AuthorPosts
- You must be logged in to reply to this topic.