IAdsSymbolicAccess.ReadSymbolAsync 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#
Task<ResultValue<IAdsSymbol>> ReadSymbolAsync(
string symbolPath,
CancellationToken cancel
)
Parameters
symbolPath |
Type: System.String |
cancel |
Type: System.Threading.CancellationToken |
Return Value
Type: Task.ResultValue.IAdsSymbol..
A task that represents the asynchronous 'ReadSymbolInfo'
operation. The ResultValue.TValue. parameter contains the read value (Value) and the
ErrorCode
after execution.