AdsServerConnectServer Method

Connect this ADS server to the local ADS router.


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

Syntax

C#

public virtual uint ConnectServer()

Return Value

UInt32
The AmsServer Port.

Exceptions

Exception

Condition

AdsServerException

The connect call has failed!.

Reference

AdsServer Class TwinCAT.Ads.Server Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026