AdsConnection.ReadAny Method

Overload List

 

Name

Description

AdsConnection.ReadAny Method 1:

ReadAny(Int32, Type)

Reads data synchronously from an ADS device and writes it to an object.

AdsConnection.ReadAny Method 2:

ReadAny(Int32, Type, .Int32.)

Reads any.

AdsConnection.ReadAny Method 3:

ReadAny(UInt32, UInt32, Type)

Reads data synchronously from an ADS device and writes it to an object.

AdsConnection.ReadAny Method 4:

ReadAny(UInt32, UInt32, Type, .Int32.)

Reads data synchronously from an ADS device and writes it to an object. If the Type of the object to be read is a string type, the first element of the parameter args specifies the number of characters of the string. If the Type of the object to be read is an array type, the number of elements for each dimension has to be specified in the parameter args. At the moment only 1 dimensional Arrays are supported.

AdsConnection.ReadAny Method 5:

ReadAny(UInt32, UInt32, Type, .Int32., Int32)

Reads data synchronously from an ADS device and writes it to an object. If the Type of the object to be read is a string type, the first element of the parameter args specifies the number of characters of the string. If the Type of the object to be read is an array type, the number of elements for each dimension has to be specified in the parameter args. At the moment only 1 dimensional Arrays are supported.

Reference

AdsConnection Class

TwinCAT.Ads Namespace