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.

Implements

IAdsConnection.ClientAddress

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)

Reference

TcAdsClient Class

TwinCAT.Ads Namespace