RouterConfigTcpPort Property
Gets or sets the TCP port used for external communication (Default: 0xBF02)
Namespace: TwinCAT.Ads.Configuration
Assembly: TwinCAT.Ads.ConfigurationProviders
(in TwinCAT.Ads.ConfigurationProviders.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public int TcpPort { get; set; }Property Value
Int32
The TCP port.
Remarks
This port is changed in scenarious, where the External Ads/Ams communication should be configured to another port (e.g. some Docker environments). The key name for this IConfiguration value: AmsRouter:TcpPort
Reference
RouterConfig Class TwinCAT.Ads.Configuration Namespace
Beckhoff Automation GmbH & Co. KG 2001-2026