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

AmsConfiguration Class 1:

AmsConfiguration Class 2:

DefaultRouterEndPoint

Gets the default router end point (IPAddress.Loopback, Port 0xBF02)

AmsConfiguration Class 3:

AmsConfiguration Class 4:

RouterAddress

Gets the actually configured router address.

AmsConfiguration Class 5:

AmsConfiguration Class 6:

RouterEndPoint

Gets or sets the default router IPEndPoint.

AmsConfiguration Class 7:

AmsConfiguration Class 8:

RouterPort

Gets actually configured router port.

Fields

 

Name

Description

AmsConfiguration Class 9:

AmsConfiguration Class 10:

DEFAULT_TCP_PORT

The default TCP port (0xBF02, 48898), unsecured

AmsConfiguration Class 11:

AmsConfiguration Class 12:

DEFAULT_TCP_PORT_ADSSECURE

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.

Reference

TwinCAT.Ams Namespace