TcAdsClient.Connect Method (.Byte., Int32)

Establishes a connection to a ADS device.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public void Connect(
    byte[] netID,
    int srvPort
)

VB

Public Sub Connect ( 
    netID As Byte(),
    srvPort As Integer
)

Parameters

netID

Type: .System.Byte.
NetId of the ADS server.

srvPort

Type: System.Int32
Port number of the ADS server.

Reference

TcAdsClient Class

Connect Overload

TwinCAT.Ads Namespace