IAccessorRawValue.ReadRawAsync Method
Read a Symbol value asynchronously as bytes .
Namespace: TwinCAT.ValueAccess
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
Task<ResultReadRawAccess> ReadRawAsync(
ISymbol symbolInstance,
Memory<byte> readBuffer,
CancellationToken cancel
)
Parameters
symbolInstance |
Type: TwinCAT.TypeSystem.ISymbol |
readBuffer |
Type: System.Memory.Byte. |
cancel |
Type: System.Threading.CancellationToken |
Return Value
Type: Task.ResultReadRawAccess.
A task that represents the asynchronous 'ReadRaw'
operation. The ResultReadRawAccess
result contains the (Value) and the
ErrorCode
after execution.