AdsConnection.ReadValue Method

Overload List

 

Name

Description

AdsConnection.ReadValue Method 1:

ReadValue(ISymbol)

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.ReadValue Method 2:

ReadValue.T.(ISymbol)

Reads the value of a symbol and returns it as an object.

AdsConnection.ReadValue Method 3:

ReadValue.T.(String)

Reads the value of a symbol and returns the value. The parameter type must have the same layout as the ADS symbol.

AdsConnection.ReadValue Method 4:

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

Reference

AdsConnection Class

TwinCAT.Ads Namespace