IAdsSymbolicAccess.ReadSymbol Method

Call this method to obtain information about the individual symbols (variables) in ADS devices.

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

Syntax

C#

IAdsSymbol ReadSymbol(
    string symbolPath
)

Parameters

symbolPath

Type: System.String
Name of the symbol.

Return Value

Type: IAdsSymbol
An IAdsSymbol containing the requested symbol information or null if symbol could not be found.

Reference

IAdsSymbolicAccess Interface

TwinCAT.Ads Namespace

IAdsSymbolicAccess.TryReadSymbol(String, IAdsSymbol.)

IAdsSymbolicAccess.ReadSymbolAsync(String, CancellationToken)