AdsConnectionTryWrite(UInt32, ReadOnlyMemoryByte) Method
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: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public AdsErrorCode TryWrite(
uint variableHandle,
ReadOnlyMemory<byte> writeBuffer
)Parameters
|
variableHandle UInt32 |
The variable handle. |
|
writeBuffer ReadOnlyMemoryByte |
The write buffer / value. |
Reference
AdsConnection Class TryWrite Overload TwinCAT.Ads Namespace
Beckhoff Automation GmbH & Co. KG 2001-2026