AdsSymbolicServer.OnSetValue Method

Handler function to store a new Symbol value within internal caches of the AdsSymbolicServer.

Namespace:  TwinCAT.Ads.Server
Assembly:  TwinCAT.Ads.SymbolicServer (in TwinCAT.Ads.SymbolicServer.dll) Version: 6.0.328+39e3229

Syntax

C#

protected abstract AdsErrorCode OnSetValue(
    ISymbol symbol,
    Object value,
    out bool valueChanged
)

Parameters

symbol

Type: TwinCAT.TypeSystem.ISymbol
The symbol.

value

Type: System.Object
The value.

valueChanged

Type: System.Boolean.
if set to true, the value was changed.

Return Value

Type: AdsErrorCode
AdsErrorCode.

Reference

AdsSymbolicServer Class

TwinCAT.Ads.Server Namespace