IAdsHandleAccess Interface

Interface for ads access via variable handle

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

Syntax

C#

public interface IAdsHandleAccess

VB

Public Interface IAdsHandleAccess

The IAdsHandleAccess type exposes the following members.

Methods

 

Name

Description

IAdsHandleAccess Interface 1:

CreateVariableHandle

Generates a unique handle for an ADS variable.

IAdsHandleAccess Interface 2:

DeleteVariableHandle

Releases the handle of a ADS variable again.

IAdsHandleAccess Interface 3:

Read(Int32, AdsStream)

Reads data synchronously from an ADS device and writes it to the given stream.

IAdsHandleAccess Interface 4:

Read(Int32, AdsStream, Int32, Int32)

Reads data synchronously from an ADS device and writes it to the given stream.

IAdsHandleAccess Interface 5:

ReadWrite

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

IAdsHandleAccess Interface 6:

TryRead

Reads data synchronously from an ADS device and writes it to the given stream.

IAdsHandleAccess Interface 7:

TryReadWrite

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

IAdsHandleAccess Interface 8:

TryWrite

Writes data synchronously to an ADS device.

IAdsHandleAccess Interface 9:

Write(Int32, AdsStream)

Writes data synchronously to an ADS device.

IAdsHandleAccess Interface 10:

Write(Int32, AdsStream, Int32, Int32)

Writes data synchronously to an ADS device.

Reference

TwinCAT.Ads Namespace