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

ADS · 0 次阅读

IConnection.IsConnected Property

Gets a value indicating whether the local ADS port was opened successfully. It does not indicate if the target port is available. Use the method ReadState to determine if the target port is available.

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

Syntax

C#

bool IsConnected { get; }

VB

ReadOnly Property IsConnected As Boolean
    Get

Property Value

Type: Boolean