IAdsNotifications Interface

Interface for Notification management.

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

Syntax

C#

public interface IAdsNotifications

VB

Public Interface IAdsNotifications

The IAdsNotifications type exposes the following members.

Methods

 

Name

Description

IAdsNotifications Interface 1:

AddDeviceNotification(String, AdsStream, AdsTransMode, Int32, Int32, Object)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event.

IAdsNotifications Interface 2:

AddDeviceNotification(UInt32, UInt32, AdsStream, AdsTransMode, Int32, Int32, Object)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event.

IAdsNotifications Interface 3:

AddDeviceNotification(String, AdsStream, Int32, Int32, AdsTransMode, Int32, Int32, Object)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event.

IAdsNotifications Interface 4:

AddDeviceNotification(UInt32, UInt32, AdsStream, Int32, Int32, AdsTransMode, Int32, Int32, Object)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event.

IAdsNotifications Interface 5:

AddDeviceNotificationEx(String, AdsTransMode, Int32, Int32, Object, Type)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event.

IAdsNotifications Interface 6:

AddDeviceNotificationEx(String, AdsTransMode, Int32, Int32, Object, Type, .Int32.)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event.

IAdsNotifications Interface 7:

AddDeviceNotificationEx(UInt32, UInt32, AdsTransMode, Int32, Int32, Object, Type)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event.

IAdsNotifications Interface 8:

AddDeviceNotificationEx(UInt32, UInt32, AdsTransMode, Int32, Int32, Object, Type, .Int32.)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. If type is a string type, the first element of the parameter args specifies the number of characters of the string. If type 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.

IAdsNotifications Interface 9:

DeleteDeviceNotification

Deletes an existing notification.

IAdsNotifications Interface 10:

TryAddDeviceNotification

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event.

IAdsNotifications Interface 11:

TryAddDeviceNotificationEx

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event.

IAdsNotifications Interface 12:

TryDeleteDeviceNotification

Deletes an existing notification.

Events

 

Name

Description

IAdsNotifications Interface 13:

IAdsNotifications Interface 14:

AdsNotification

Occurs when the ADS device sends a notification to the client.

IAdsNotifications Interface 15:

AdsNotificationError

Occurs when a exception has occurred during notification management.

IAdsNotifications Interface 16:

AdsNotificationEx

Occurs when the ADS devices sends a notification to the client.

Reference

TwinCAT.Ads Namespace