ITcAdsRawTryWriteControl Method

Writes the state


Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

AdsErrorCode TryWriteControl(
    StateInfo stateInfo,
    ReadOnlyMemory<byte> writeBuffer
)

Parameters

stateInfo  StateInfo

The state information.

writeBuffer  ReadOnlyMemoryByte

The write buffer.

Return Value

AdsErrorCode
The ADs Error Code

Reference

ITcAdsRaw Interface TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026