AdsServer.ConnectServer Method

Connect this ADS server to the local ADS router.

Namespace:  TwinCAT.Ads.Server
Assembly:  TwinCAT.Ads.Server (in TwinCAT.Ads.Server.dll) Version: 6.0.328+39e3229

Syntax

C#

public virtual uint ConnectServer()

Return Value

Type: UInt32
The AmsServer Port.

Exceptions

Exception

Condition

AdsServerException

The connect call has failed!.

Reference

AdsServer Class

TwinCAT.Ads.Server Namespace