AdsClientWriteAsResult 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  ReadOnlyMemoryByte

The write buffer.

Return Value

ResultWrite
A task that represents the asynchronous 'Write' operation. The ResultWrite parameter contains the ErrorCode after execution.

Implements

IAdsReadWriteWriteAsResult(UInt32, UInt32, ReadOnlyMemoryByte)

Reference

AdsClient Class TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026