Configuring Sample Server to be found by OPC clients searching on local machine | OPC UA Standard | Forum

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Configuring Sample Server to be found by OPC clients searching on local machine
Avatar
Justin Lipps
Member
Members
Forum Posts: 3
Member Since:
03/27/2020
sp_UserOfflineSmall Offline
1
05/16/2020 - 21:29
sp_Permalink sp_Print

I'm researching how to go about implementing an OPC server and have been working with the sample server implemented in .NET standard. I've created a simple installer for the server and installed it on my local machine. The server runs fine once installed, but is not able to be discovered by other OPC clients looking for registered OPC servers installed on the local machine. My question is how do I configure the sample server to allow it to be discovered by other fully qualified OPC clients?

Avatar
Randy Armstrong
Admin
Forum Posts: 495
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
05/17/2020 - 13:39
sp_Permalink sp_Print

You need to ensure the LDS is installed and running on your Server machine.

You need to ensure that your Server is configured to register with the LDS.

You need to ensure that the LDS is configured to accept registration requests from your Server (i.e. the Server is in the LDS trust list).

Avatar
Justin Lipps
Member
Members
Forum Posts: 3
Member Since:
03/27/2020
sp_UserOfflineSmall Offline
3
05/18/2020 - 05:04
sp_Permalink sp_Print

1.) Check

2.) That's the part I'm not sure how to do I suppose, I've already declared the url in the config.xml:

Please, correct me if this is wrong

<BaseAddresses>
   <ua:String>opc.tcp://localhost:51210/UA/Discovery</ua:String>
   <ua:String>opc.tcp://localhost:51210/UA/SampleServer</ua:String>
   <ua:String>https://localhost:51212/UA/Sam.....ng&gt;
</BaseAddresses>

3.) I'm looking for a way to automate this portion, because other free OPC servers I've found online I've used to test against, once installed, were visible in my OPC client. So, there must be some of doing this upon install of the server to the local machine.

Do I have to do additional configuration within the c# code? Do you know of official documentation that you could point me to that explains this process in detail? Thank you for your time, much appreciated. (note: I should say that I am not a corporate member, only a registered user, so I'm hoping I can still get access to the documentation outlining this process)

Forum Timezone: America/Phoenix
Most Users Ever Online: 202
Currently Online:
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 9
Topics: 771
Posts: 2275