AdsSymbolicServer.OnReadRawValue Method

Handler function for Reading the internal 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 OnReadRawValue(
    ISymbol symbol,
    Span<byte> span
)

Parameters

symbol

Type: TwinCAT.TypeSystem.ISymbol
The symbol.

span

Type: System.Span.Byte.
The span.

Return Value

Type: AdsErrorCode
AdsErrorCode.

Remarks

This method is called, when a Read request was received to read the symbols value. Implement this handler to Read and marshal the value data.

Reference

AdsSymbolicServer Class

TwinCAT.Ads.Server Namespace