Infosys在阅读器中打开 / AI 翻译

ADS · 0 次阅读

TcAdsClient.Connect Method (AmsNetId, AmsPort)

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,
    AmsPort srvPort
)

VB

Public Sub Connect ( 
    netID As AmsNetId,
    srvPort As AmsPort
)

Parameters

netID

Type: TwinCAT.Ads.AmsNetId
NetId of the ADS server.

srvPort

Type: TwinCAT.Ads.AmsPort
Port number of the ADS server.