AdsSymbolicServer.OnWriteRawValue 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: 6.0.328+39e3229

Syntax

C#

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

Parameters

symbol

Type: TwinCAT.TypeSystem.ISymbol
The symbol.

span

Type: System.ReadOnlySpan.Byte.
The span.

Return Value

Type: 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