AdsSymbolicServerOnReadRawValue 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: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

protected abstract AdsErrorCode OnReadRawValue(
    ISymbol symbol,
    Span<byte> span
)

Parameters

symbol  ISymbol

The symbol.

span  SpanByte

The span.

Return Value

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

Beckhoff Automation GmbH & Co. KG 2001-2026