IAccessorRawValueTryWriteRaw(ISymbol, ReadOnlyMemoryByte, IDictionaryISymbol, ReadOnlyMemoryByte, NullableDateTimeOffset) 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 ReadOnlyMemoryByte |
The write buffer containing the data to write. |
|
staticData IDictionaryISymbol, ReadOnlyMemoryByte |
Write buffers containing the static value. |
|
timeStamp NullableDateTimeOffset |
The write timestamp. |
Return Value
Int32
Error code. 0 represents succeed.
Reference
IAccessorRawValue Interface TryWriteRaw Overload TwinCAT.ValueAccess Namespace
Beckhoff Automation GmbH & Co. KG 2001-2026