AdsClient.ReadValue Method (String, Type)
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: 6.0.328+39e3229
Syntax
C#
public Object ReadValue(
string name,
Type type
)
Parameters
name |
Type: System.String |
type |
Type: System.Type |
Return Value
Type: Object
Value of the symbol