OPC UA : what does installing an LDS provide?

标签 opc opc-ua

鉴于这两个安装:

  • 一台带有 3 个 OPC UA 服务器的机器。
  • 一台带有 3 个 OPC UA 服务器和一个 LDS 的机器。

  • 功能上有什么区别?我特别想知道:
  • 是否必须安装 LDS?
  • 发现服务器,然后连接到它,和直接连接到服务器的端点而不发现之间有什么实际区别?
  • 安装 LDS 可以做什么?

  • (所有这些,请在适用的情况下提供适当的 OPC UA 规范引用)

    最佳答案

    Is the installation of a LDS mandatory?



    不,LDS 的安装完全是可选的。特别是在小型/嵌入式设备上,除了 OPC UA 服务器之外,您甚至可能无法安装其他任何东西。

    What is the practical difference between discovering a server, then connecting to it, and directly connecting to the endpoint of the server without discovery?



    通过在标准化端口 (4840) 上运行的 LDS,可以在不知道端点 URL 的情况下发现计算机上的所有服务器。没有
    LDS 无法在不知道 URL 的情况下连接到服务器。

    正如已经评论过的,使用 LDS 会使发现(非常)稍微慢一点,因为必须建立到 LDS 和服务器的连接。

    如果计算机上只运行一台服务器,则可能希望将此服务器的端口设置为 4840,这样在计算机上发现的客户端无需知道自定义端口即可找到服务器。

    What does installing an LDS enable to do?



    它只是允许在不知道所有不同端点 URL 的情况下发现计算机上运行的所有服务器。

    future 版本将包含增强功能,通过 Zeroconf 广播此信息,因此每个 LDS 都将拥有本地网络上所有 OPC UA 服务器的列表。

    关于OPC UA : what does installing an LDS provide?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31740757/

    相关文章:

    c# - 从对 ServerManager 类的公共(public)访问启动 Opc Ua 服务器抛出 NullPointerException

    java - Apache Camel Milo 客户端超时

    c# OPC Automation 给出 80040154

    c# - .net C# opc 客户端

    .net - 如何开始开发 OPC Xi(.NET 3.0 WCF 服务)服务器(服务)

    c# - 如何获取 OPC 服务器上的标签列表

    node.js - 连接配置循环 - Prosys OPC UA 客户端

    java - eclipse 米洛 : How to call method which takes a customDataType as argument?

    opc-ua - Opc Ua 客户端文档

    node.js - 您应该/可以运行在 Azure 上运行的 Node-OPCUA 服务器吗?