IAccessorRawValue.TryWriteRaw(ISymbol, ReadOnlyMemory<Byte>, IDictionary<ISymbol, ReadOnlyMemory<Byte>>, Nullable<DateTimeOffset>) Method

Writes the symbol value from source memory location to the ADS Device.


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

Syntax

C#

int TryWriteRaw(
ISymbol symbolInstance,
ReadOnlyMemory<byte> writeBuffer,
IDictionary<ISymbol, ReadOnlyMemory<byte>>? staticData,
out DateTimeOffset? timeStamp
)

Parameters

symbolInstance  ISymbol

The symbol instance.

writeBuffer  ReadOnlyMemory<Byte>

The write buffer containing the data to write.

staticData  IDictionary<ISymbol, ReadOnlyMemory<Byte>>

Write buffers containing the static value.

timeStamp  Nullable<DateTimeOffset>

The write timestamp.

Return Value

Int32
Error code. 0 represents succeed.

See Also

Reference

IAccessorRawValue Interface TryWriteRaw Overload TwinCAT.ValueAccess Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026