IAccessorRawValue.TryWriteRaw 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: 6.0.328+39e3229
Syntax
C#
int TryWriteRaw(
ISymbol symbolInstance,
ReadOnlyMemory<byte> writeBuffer,
out DateTimeOffset? timeStamp
)
Parameters
symbolInstance |
Type: TwinCAT.TypeSystem.ISymbol |
writeBuffer |
Type: System.ReadOnlyMemory.Byte. |
timeStamp |
Type: System.Nullable.DateTimeOffset.. |
Return Value
Type: Int32
Error code. 0 represents succeed.