AdsConnectionWrite(UInt32, ReadOnlyMemoryByte) Method
Writes data synchronously to an ADS device.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public void Write(
uint variableHandle,
ReadOnlyMemory<byte> writeBuffer
)Parameters
|
variableHandle UInt32 |
Handle of the ADS variable |
|
writeBuffer ReadOnlyMemoryByte |
The write buffer / value to be written |
Reference
AdsConnection Class Write Overload TwinCAT.Ads Namespace TryWrite(UInt32, ReadOnlyMemoryByte) WriteAsync(UInt32, ReadOnlyMemoryByte, CancellationToken)
Beckhoff Automation GmbH & Co. KG 2001-2026