AdsClient.WriteAsResult Method
Writes the data / Value into the specified writeBuffer.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public ResultWrite WriteAsResult(
uint indexGroup,
uint indexOffset,
ReadOnlyMemory<byte> writeBuffer
)Parameters
|
indexGroup UInt32 |
The index group. |
|
indexOffset UInt32 |
The index offset. |
|
writeBuffer ReadOnlyMemory<Byte> |
The write buffer. |
Return Value
ResultWrite
A task that represents the asynchronous 'Write' operation. The ResultWrite parameter contains
the ErrorCode after execution.
Implements
IAdsReadWrite.WriteAsResult(UInt32, UInt32, ReadOnlyMemory<Byte>)