AdsConnection.ReadSymbol Method (String, Type, Boolean)
Reads the value of a symbol and returns the value as object. 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 Object ReadSymbol(
string name,
Type type,
bool reloadSymbolInfo
)
VB
Public Function ReadSymbol (
name As String,
type As Type,
reloadSymbolInfo As Boolean
) As Object
Parameters
name |
Type: System.String |
type |
Type: System.Type |
reloadSymbolInfo |
Type: System.Boolean |
Return Value
Type: Object
Value of the symbol