IAdsAnyAccess Interface

Interface for accessing ADS 'Any' objects.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public interface IAdsAnyAccess

VB

Public Interface IAdsAnyAccess

Methods

 

Name

Description

ReadAny(Int32, Type)

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

ReadAny(Int32, Type, .Int32.)

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

ReadAny(UInt32, UInt32, Type)

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

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

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

ReadAnyString(Int32, Int32, Encoding)

Reads the string.

ReadAnyString(UInt32, UInt32, Int32, Encoding)

Reads the string

WriteAny(Int32, Object)

Writes an object synchronously to an ADS device.

WriteAny(Int32, Object, .Int32.)

Writes an object synchronously to an ADS device. If the Type of the object to be written is a string type, the first element of parameter args specifies the number of characters of the string.

WriteAny(UInt32, UInt32, Object)

Writes an object synchronously to an ADS device.

WriteAny(UInt32, UInt32, Object, .Int32.)

Writes an object synchronously to an ADS device.

Reference

TwinCAT.Ads Namespace