IAdsHandle.Write Method

Writes data synchronously to an ADS device.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

void Write(
    uint variableHandle,
    ReadOnlyMemory<byte> writeBuffer
)

Parameters

variableHandle

Type: System.UInt32
Handle of the ADS variable

writeBuffer

Type: System.ReadOnlyMemory.Byte.
The write buffer / value to be written

Reference

IAdsHandle Interface

TwinCAT.Ads Namespace

IAdsHandle.TryWrite(UInt32, ReadOnlyMemory.Byte.)

IAdsHandle.WriteAsync(UInt32, ReadOnlyMemory.Byte., CancellationToken)