AdsSymbolicServerOnWriteRawValue Method

Handler function for writing the symbol value data in raw format.


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

Syntax

C#

protected abstract AdsErrorCode OnWriteRawValue(
    ISymbol symbol,
    ReadOnlySpan<byte> span
)

Parameters

symbol  ISymbol

The symbol.

span  ReadOnlySpanByte

The span.

Return Value

AdsErrorCode
AdsErrorCode.

Remarks

This method is called, when a Write request was received to overwrite the symbols value. Implement this handler to overwrite the Ads Servers internal value data.

Reference

AdsSymbolicServer Class TwinCAT.Ads.Server Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026