client scannen opc ua server automaticly registred on lds???|OPC UA Standard|Forum|OPC Foundation

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
client scannen opc ua server automaticly registred on lds???
Avatar
opcua_phobia
Member
Members
Forum Posts: 5
Member Since:
05/17/2023
sp_UserOfflineSmall Offline
1
06/05/2023 - 03:19
sp_Permalink sp_Print

as opc client can we automatically know devices registered with LDS without LDS address or Lds hostname?

how can you check if a device is a local discovery server on the network with an address or without an address is LDS SERVER?

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
06/05/2023 - 09:09
sp_Permalink sp_Print sp_EditHistory

This link describes the discovery process in detail with a flow chart:

https://reference.opcfoundatio.....5/docs/4.3

Avatar
opcua_phobia
Member
Members
Forum Posts: 5
Member Since:
05/17/2023
sp_UserOfflineSmall Offline
3
06/06/2023 - 06:01
sp_Permalink sp_Print

thanks for replay, but second question

how can you check if a device is a local discovery server on the network under ip adress?

 is only under capability (LDS ), or network protocoall and port number!!

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
06/06/2023 - 15:13
sp_Permalink sp_Print sp_EditHistory

If you get a response to a connection on port 4840 there is an LDS.

It is not clear what the issue is.

Avatar
opcua_phobia
Member
Members
Forum Posts: 5
Member Since:
05/17/2023
sp_UserOfflineSmall Offline
5
06/07/2023 - 00:41
sp_Permalink sp_Print

not every opc ua Server with port 4840 is an LDS!!!

i mean, i cann start opc ua server on port 4840 like every normal opc ua server and without lds capabiltity!!!!

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
6
06/07/2023 - 01:44
sp_Permalink sp_Print

FindServers is designed so clients do not care if a true LDS or a Server is listening on port 4840. The interactions are exactly the same.

Servers should only listen on port 4840 if they are the only server on the device. If there are multiple servers then the device maker needs to ensure an LDS is also running on the device. But it makes no difference from a client perspective.

Avatar
opcua_phobia
Member
Members
Forum Posts: 5
Member Since:
05/17/2023
sp_UserOfflineSmall Offline
7
06/07/2023 - 03:09
sp_Permalink sp_Print

Please correct me if I misunderstood: every server (opc ua) listing on socket port 4840 is an LDS!

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
8
06/07/2023 - 06:49
sp_Permalink sp_Print sp_EditHistory

Every server listening on 4840 looks like an LDS as far as the client is concerned.

If a server, rather than the LDS, listens on 4840 it blocks other servers on the same machine from registering with the LDS. However, this is generally a configuration error and no client needs to designed to deal with the possibility. More importantly, there are use cases where a device owner will want to a secondary UA server on a device to be hidden from discovery so being blocked from registering with an LDS is not a problem.

Avatar
opcua_phobia
Member
Members
Forum Posts: 5
Member Since:
05/17/2023
sp_UserOfflineSmall Offline
9
06/12/2023 - 11:07
sp_Permalink sp_Print

thank you

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: David Puffer
Guest(s) 49
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855