IAdsHandle.Write Method

Writes data synchronously to an ADS device.


Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

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

Parameters

variableHandle  UInt32

Handle of the ADS variable

writeBuffer  ReadOnlyMemory<Byte>

The write buffer / value to be written

See Also

Reference

IAdsHandle Interface TwinCAT.Ads Namespace TryWrite(UInt32, ReadOnlyMemory<Byte>) WriteAsync(UInt32, ReadOnlyMemory<Byte>, CancellationToken)

Beckhoff Automation GmbH & Co. KG 2001-2026