OPC Connections 7.90 and higher - DCOM changes
Command Centre - Connection Issues › OPC Connections 7.90 and higher - DCOM changes
Often an OPC connection issue is DCOM related (this applies to both OPC DA and OPC AE). You can test using the Config client.
From v7.90 you need to change the registry to use DCOM instead of WebSockets.
✅ This is no longer needed from version v9.20 onwards.
Change the ServerUrl REG_SZ at HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\CARDAX\Command Centre FT\ServerUrl from wss://<server>:8905 to dcom://<server>. This must be done on both the server and the workstation.
Follow the OPC Bridge Installation note for registering the DLLs on the server, firewall configuration, and DCOM access permissions.
By default the login is username opc with no password. Check you can log into the Config client using these credentials.
OPC credential lookup
The server looks up the following values within the host machine's registry:
(32-bit OS)
HKEY_LOCAL_MACHINE\SOFTWARE\Cardax\Command Centre FT
(64-bit OS)
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cardax\Command Centre FT
Username value
OPCUserName (REG_SZ)
Password value
OPCPassword (REG_SZ)
Note: For all logon scenarios, the corresponding operator (with matching username/password) must first have been created, configured, and enabled as an operator in Gallagher Command Centre. To disable the automatic logon feature for the OPC server, ensure there is no default OPC operator configured with the credentials above. The default OPC logon with a blank password is intended for testing purposes only; use on production sites is strongly discouraged.
Check whether the Command Centre server and OPC DA client are on the same domain, or are workgroup PCs.
Connection strings
The CLSID at the end (in {}) is required when connecting from a remote PC (it will not hurt on the local PC either):
Replace <servername> with the host name of the FT Server PC. You can also use the IP address, or localhost if you are on the same PC as the FT server, for example opcda://localhost/CCFTOPCData.CardaxOPCDataServer.
Re-enabling OPC after upgrading to v8.00–8.20
Upgrading to v7.90 (and particularly v8.XX) disables DCOM on the server, which also disables OPC.
Change the
ServerUrlregistry key fromwss://servername:8905todcom://servername, then restart the Command Centre Services.On every workstation in use, edit
C:\Program Files (x86)\Gallagher\Command Centre\ConfigClient\CCFT.exe.configand changewss://servername:8905todcom://servername.Obtain
FT DCom Setup.exefrom an older version of Command Centre and run it in the Bin folder with Legacy DCOM Settings. Contact Technical Support for a link.
Important: If the FT DCOM Setup tool is run, the computer it is run on must be restarted for the changes to take full effect. This reverts DCOM to active for workstations and re-enables OPC alarms and events. If the OPC connection is on the server, step 1 (registry change) is needed; after restarting the services and establishing the OPC connection, the settings can be reverted back to
wss://servername:8905.
Re-enabling OPC after upgrading to v8.30+
From vEL8.30.xxx onwards, after changing the ServerURL registry from wss: to dcom:, take these two steps:
On every workstation, change the relevant line in
C:\Program Files (x86)\Gallagher\Command Centre\ConfigClient\CCFT.exe.configfromwss:todcom:, for example:becomes
On every workstation, run a Command Prompt as Administrator from
C:\Program Files (x86)\Gallagher\Command Centre\ConfigClient\and type:
🔗 Related
Unable to log into Configuration Client. The DCOM logon fix.
Last updated
Was this helpful?
