IAdsHandle Interface

Interface for ADS access via variable handle

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public interface IAdsHandle

The IAdsHandle type exposes the following members.

Methods

 

Name

Description

IAdsHandle Interface 1:

CreateVariableHandle

Determines the Symbol handle by its instance path synchronously.

IAdsHandle Interface 2:

CreateVariableHandleAsync

Determines the Symbol handle by its instance path asynchronously.

IAdsHandle Interface 3:

DeleteVariableHandle

Releases the specified symbol/variable handle synchronously.

IAdsHandle Interface 4:

DeleteVariableHandleAsync

Releases the specified symbol/variable handle asynchronously.

IAdsHandle Interface 5:

Read

Reads data synchronously from an ADS device and writes to the specified readBuffer.

IAdsHandle Interface 6:

ReadAsync

Reads the value data of the symbol asynchronously into the readBuffer.

IAdsHandle Interface 7:

ReadWrite

Writes data synchronously to an ADS device and then Reads data from that target.

IAdsHandle Interface 8:

ReadWriteAsync

ReadWrites value data asynchronously to/from the symbol represented by the variableHandle.

IAdsHandle Interface 9:

TryCreateVariableHandle

Determines the Symbol handle by its instance path synchronously.

IAdsHandle Interface 10:

TryDeleteVariableHandle

Releases the specified symbol/variable handle synchronously.

IAdsHandle Interface 11:

TryRead

Reads the value synchronously data of the symbol, that is represented by the variable handle into the readBuffer.

IAdsHandle Interface 12:

TryReadWrite

ReadWrites value data synchronously to/from the symbol represented by the variableHandle.

IAdsHandle Interface 13:

TryWrite

Writes the value data synchronously that is represented in the writeBuffer to the symbol with the specified variableHandle.

IAdsHandle Interface 14:

Write

Writes data synchronously to an ADS device.

IAdsHandle Interface 15:

WriteAsync

Writes the value data asynchronously that is represented by the writeBuffer to the symbol specified by the variableHandle.

Reference

TwinCAT.Ads Namespace