AdsClient.ReadValue.T. Method (String)

Reads the value of a symbol and returns the value. The parameter type must have the same layout as the ADS symbol.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public T ReadValue<T>(
    string name
)

Parameters

name

Type: System.String
Name of the ADS symbol.

Type Parameters

T

The value type

Return Value

Type: T
Value of the symbol

Implements

IAdsSymbolicAccess.ReadValue.T.(String)

Reference

AdsClient Class

ReadValue Overload

TwinCAT.Ads Namespace