AmsConfiguration Class
Static configuration of the Ams Router system.
Inheritance Hierarchy
System.Object
TwinCAT.Ams.AmsConfiguration
Namespace: TwinCAT.Ams
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
public static class AmsConfiguration
The AmsConfiguration type exposes the following members.
Properties
|
Name |
Description |
---|---|---|
|
Gets the default router end point (IPAddress.Loopback, Port 0xBF02) | |
|
Gets the actually configured router address. | |
|
Gets or sets the default router IPEndPoint. | |
|
Gets actually configured router port. |
Fields
|
Name |
Description |
---|---|---|
|
The default TCP port (0xBF02, 48898), unsecured | |
|
The default ADSSecure Port (0x1f50, 8016), secured |
Remarks
If the router is intended to run seperately of the (virtual) system that instantiates the AdsClient or AdsServer (e.g. in UnitTests), some global static settings must be adopted to enable different network scenarious. In the default case the AdsServers and AdsClients uses the Loopback TCP port 0xBF02 to communicate internally. If the systems of AdsServer/AdsClient is split from the router (e.g. running the router isolated in a virtual machine), the Router Endpoint must be set via RouterEndPoint setter.