TcAdsClient.Connect Method (AmsNetId, 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(
AmsNetId netID,
int srvPort
)
VB
Public Sub Connect (
netID As AmsNetId,
srvPort As Integer
)
Parameters
netID |
Type: TwinCAT.Ads.AmsNetId |
srvPort |
Type: System.Int32 |