Symbol.WriteRawValueAsync Method
Writes the raw value of the IValueSymbol (Ads Read / Write)
Namespace: TwinCAT.Ads.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public Task<ResultWriteAccess> WriteRawValueAsync(
byte[] rawValue,
CancellationToken cancel
)Parameters
|
rawValue Byte[] |
The value as byte array. |
|
cancel CancellationToken |
The cancellation token. |
Return Value
Task<ResultWriteAccess>
A task that represents the asynchronous read operation. The ResultRead parameter contains the total number of bytes read into the buffer
(ReadBytes) and the ErrorCode after execution..