IAdsSymbolicAccessReadSymbol Method

Reads the symbol information about an individual variable in ADS devices.


Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

IAdsSymbol ReadSymbol(
    string instancePath
)

Parameters

instancePath  String

Name of the symbol.

Return Value

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

Reference

IAdsSymbolicAccess Interface TwinCAT.Ads Namespace TryReadSymbol(String, IAdsSymbol) ReadSymbolAsync(String, CancellationToken)

Beckhoff Automation GmbH & Co. KG 2001-2026