RouterConfigUdpDiscoveryPort Property
Gets or sets the UDP discovery port that is used by the Broadcast.
Namespace: TwinCAT.Ads.Configuration
Assembly: TwinCAT.Ads.ConfigurationProviders
(in TwinCAT.Ads.ConfigurationProviders.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public int UdpDiscoveryPort { get; set; }Property Value
Int32
The UDP discovery port.
Remarks
The default port is DEFAULT_UDP_DISCOVERY_PORT (0xBFO3). In scenarious, where the .NET TcpRouter/SystemService should run beneath an active TwinCAT installation, it is necessary to change the port to prevent a conflict. The key name for this IConfiguration value: AMsRouter:UdpDIscoveryPort
Reference
RouterConfig Class TwinCAT.Ads.Configuration Namespace
Beckhoff Automation GmbH & Co. KG 2001-2026