AdsSymbolicServer.SetValue Method (ISymbol, Object)

Sets the value of the symbol.

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

Syntax

C#

public AdsErrorCode SetValue(
    ISymbol symbol,
    Object value
)

Parameters

symbol

Type: TwinCAT.TypeSystem.ISymbol
The symbol.

value

Type: System.Object
The value.

Return Value

Type: AdsErrorCode

Remarks

Call this if the Server has to store a new Value of the symbol internally.

Reference

AdsSymbolicServer Class

SetValue Overload

TwinCAT.Ads.Server Namespace