IAdsNotifications Interface

Interface for Notification management.

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

Syntax

C#

public interface IAdsNotifications

The IAdsNotifications type exposes the following members.

Methods

 

Name

Description

IAdsNotifications Interface 1:

AddDeviceNotification(String, Int32, NotificationSettings, Object)

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

IAdsNotifications Interface 2:

AddDeviceNotification(UInt32, UInt32, Int32, NotificationSettings, Object)

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

IAdsNotifications Interface 3:

AddDeviceNotificationAsync(String, Int32, NotificationSettings, Object, CancellationToken)

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

IAdsNotifications Interface 4:

AddDeviceNotificationAsync(UInt32, UInt32, Int32, NotificationSettings, Object, CancellationToken)

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

IAdsNotifications Interface 5:

AddDeviceNotificationEx(String, NotificationSettings, Object, Type)

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

IAdsNotifications Interface 6:

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

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

IAdsNotifications Interface 7:

AddDeviceNotificationEx(UInt32, UInt32, NotificationSettings, Object, Type)

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

IAdsNotifications Interface 8:

AddDeviceNotificationEx(UInt32, UInt32, NotificationSettings, 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. Only primitive ('AnyType') types are allowed for the parameter type.

IAdsNotifications Interface 9:

AddDeviceNotificationExAsync(String, NotificationSettings, Object, Type, .Int32., CancellationToken)

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

IAdsNotifications Interface 10:

AddDeviceNotificationExAsync(UInt32, UInt32, NotificationSettings, Object, Type, .Int32., CancellationToken)

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

IAdsNotifications Interface 11:

DeleteDeviceNotification

Deletes a registered notification.

IAdsNotifications Interface 12:

DeleteDeviceNotificationAsync

Deletes a registered notification asynchronously.

IAdsNotifications Interface 13:

TryAddDeviceNotification(String, Int32, NotificationSettings, Object, UInt32.)

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

IAdsNotifications Interface 14:

TryAddDeviceNotification(UInt32, UInt32, Int32, NotificationSettings, Object, UInt32.)

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

IAdsNotifications Interface 15:

TryAddDeviceNotificationEx(String, NotificationSettings, Object, Type, .Int32., UInt32.)

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

IAdsNotifications Interface 16:

TryAddDeviceNotificationEx(UInt32, UInt32, NotificationSettings, Object, Type, .Int32., UInt32.)

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

IAdsNotifications Interface 17:

TryDeleteDeviceNotification

Deletes a registered notification.

Events

 

Name

Description

IAdsNotifications Interface 18:

IAdsNotifications Interface 19:

AdsNotification

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

IAdsNotifications Interface 20:

AdsNotificationError

Occurs when a exception has occurred during notification management.

IAdsNotifications Interface 21:

IAdsNotifications Interface 22:

AdsNotificationEx

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

IAdsNotifications Interface 23:

IAdsNotifications Interface 24:

AdsSumNotification

Occurs when Notifications are send (bundled notifications)

Reference

TwinCAT.Ads Namespace