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

ADS · 0 次阅读

TcAdsClient.ClientAddress Property

Get the AmsAddress of the ADS client (Source side)

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

Syntax

C#

public AmsAddress ClientAddress { get; }

VB

Public ReadOnly Property ClientAddress As AmsAddress
    Get

Property Value

Type: AmsAddress
The client address if connection is up and running, otherwise NULL.

Remarks

The ClientAddress is only available if the connection is up and running. For the different (possible) connection methods:

Port

Description

1

Connection is using the TCP/IP protocol.

>=0x8000 (>=32768)

Ads communication via ADS Router (Default)