How can we check ABB.AfwOPCDaSurrogate service is running or not in 800Xa system?
If the server and clients are in different domain/workgroup - DCOM settings are required to establish the connection.
Please refer manual - 3BDS011222-510_A_en_System_800xA_5.1_Configuration.pdf on "Data Access" scetion - P.No 406 onwards.
What is the error you are getting ?
Try to connect the afwopcdasurrogate in the localhost and check the connectivity.
Also look at the Windows events (Eg:DCOM errors) which gives some hint to troubleshoot.
If you couldn't manage to fix this issue,please contact your regional supportline for the assistance.
(as mentioned in first answer) DCOM settings must first be set as per the Configuration User's Guide. Sometimes, DCOM settings must be made in both client and server (subscriptions via Advise() require server to be able to make callbacks to clients).
Hint: avoid using service account or any other admin account since it would disable security and possibly also audit trail function. I recommend creating a dedicated "externalopc" account with least possible access permission.
The OPC DA Surrogate "AfwDsOpcSurrogate.exe" exists on disk in ALL 800xA clients and servers and can be browsed from an OPC DA Client, locally or remote.
Note: The executable (AfwDsOpcSurrogate.exe) itself will not appear in the Task Manager until a connection from a client has been established. Under certain circumstances, one surrogate may be shared by multiple clients - the currently in use account is listed in the Task Manager's "User Name" column.