TcAdsSymbolInfoLoader.FindSymbol Method

Call this method to find a symbol in the list.

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

Syntax

C#

public TcAdsSymbolInfo FindSymbol(
    string name
)

VB

Public Function FindSymbol ( 
    name As String
) As TcAdsSymbolInfo

Parameters

name

Type: System.String
Name of the symbol

Return Value

Type: TcAdsSymbolInfo
TcAdsSymbolInfo.

Remarks

If no symbols have been loaded before, the symbols are loaded from the server, regardless of the parameter forceReload.

TcAdsSymbolInfoLoader.FindSymbol Method 1:

PLC

Please attend to the PLC Control that the 'Symbol-Download' under Project / Options / TwinCAT is activated. For further information please see the manual TwinCAT PLC Control.

TcAdsSymbolInfoLoader.FindSymbol Method 2:

NC

The Symbol download has to be activated at each axis. This can de done in the configuration dialog of the axis under ‚General'. The field ‚Create Symbols' has to be marked. See manual of the TwinCAT System Manager.

Reference

TcAdsSymbolInfoLoader Class

TwinCAT.Ads Namespace