TcAdsClient.WriteSymbol Method (String, Object, Boolean)

Writes the passed object value to the specified ADS symbol.The parameter type must have the same layout as the ADS symbol.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public void WriteSymbol(
    string name,
    Object value,
    bool reloadSymbolInfo
)

VB

Public Sub WriteSymbol ( 
    name As String,
    value As Object,
    reloadSymbolInfo As Boolean
)

Parameters

name

Type: System.String
Name of the ADS symbol.

value

Type: System.Object
Object holding the value to be written to the ADS symbol

reloadSymbolInfo

Type: System.Boolean
If reload is true previously stored symbol information is cleared. As a consequence the symbol information must be obtained from the ADS server again.

Reference

TcAdsClient Class

WriteSymbol Overload

TwinCAT.Ads Namespace