AdsConnection.TryWrite Method (UInt32, ReadOnlyMemory.Byte.)
Writes the value data synchronously that is represented in the writeBuffer to the symbol with the specified variableHandle.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
public AdsErrorCode TryWrite(
uint variableHandle,
ReadOnlyMemory<byte> writeBuffer
)
Parameters
variableHandle |
Type: System.UInt32 |
writeBuffer |
Type: System.ReadOnlyMemory.Byte. |