RouteConfig Class

Configuration for a single route

Inheritance Hierarchy

SystemObject
  TwinCAT.Ads.ConfigurationRouteConfig

Namespace: TwinCAT.Ads.Configuration
Assembly: TwinCAT.Ads.ConfigurationProviders (in TwinCAT.Ads.ConfigurationProviders.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public class RouteConfig

The RouteConfig type exposes the following members.

Properties

 

Name

Description

Address

Gets or sets the address of the remote Route (HostName or IPAddress).

AmsCompression

Gets the routes AmsCompression setting.

AutoConnect

Gets a value indicating whether [automatic connect].

AutoConnectDelay

Gets the automatic connect delay.

Flags

Gets the routes Flags setting.

IsLocal

Gets a value indicating whether this Route is representing the Local System.

IsLoopback

Indicates, that this AmsNetId indicates a Loopback (ID: 127.0.0.1.1.1)

MaxFragment

Gets the routes MaxFragment setting

Name

Gets or sets the name of the remote Route

NetId

Gets or sets the NetID of the remote route

Psk

Gets the PSK security setting or NULL

RemoteMask

Gets the mask of the RemoteNetId

RemoteNetId

Gets the remote NetId

Security

Gets the type of security for this RouteConfig

SubRoutes

Gets the SubRoutes.

Timeout

Gets Route Timeout setting.

Tls

Gets the TLS security setting or NULLL

Type

Gets or sets the type of the route.

Unidirectional

Gets a value indicating whether this RouteConfig is unidirectional.

Methods

 

Name

Description

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)

GetHashCode

Serves as the default hash function.
(Inherited from Object)

GetType

Gets the Type of the current instance.
(Inherited from Object)

MemberwiseClone

Creates a shallow copy of the current Object.
(Inherited from Object)

ToString

Returns a string that represents the current object.
(Inherited from Object)

Remarks

The key name for this IConfiguration value is: AmsRouter:RemoteConnnections:[Index] Example for setting Routes via Network variables (2 remote connections) AmsRouter__RemoteConnections__0__Name=Route1 AmsRouter__RemoteConnections__0__Address=192.168.0.5 AmsRouter__RemoteConnections__0__NetId=192.168.0.5.1.1 AmsRouter__RemoteConnections__1__Name=Route2 AmsRouter__RemoteConnections__1__Address=192.168.0.6 AmsRouter__RemoteConnections__1__NetId=192.168.0.6.1.1

Reference

TwinCAT.Ads.Configuration Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026