AdsConnection.ReadSymbol Method

Overload List

 

Name

Description

AdsConnection.ReadSymbol Method 1:

ReadSymbol(ITcAdsSymbol)

Reads the value of a symbol and returns it as an object. Strings and all primitive datatypes(UInt32, Int32, Bool etc.) are supported. Arrays and structures cannot be read.

AdsConnection.ReadSymbol Method 2:

ReadSymbol(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.

Reference

AdsConnection Class

TwinCAT.Ads Namespace