TcAdsClient.ReadSymbol Method

Overload List

 

Name

Description

TcAdsClient.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.

TcAdsClient.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

TcAdsClient Class

TwinCAT.Ads Namespace