ADS Add Device Notification

A notification is created in an ADS device.

Note: We recommend to announce not more than 550 notifications per device. Otherwise increase the payload by working with structures or use sum commands.

Request

ADS Add Device Notification 1:

Data array

Size

Description

Index Group

4 bytes

Index Group of the data, which should be sent per notification.

Index Offset

4 bytes

Index Offset of the data, which should be sent per notification.

Length

4 bytes

Length of data in bytes, which should be sent per notification.

Transmission Mode

4 bytes

See description of the structure ADSTRANSMODE at the ADS-DLL.

Max Delay

4 bytes

At the latest after this time, the ADS Device Notification is called. The unit is 1ms.

Cycle Time

4 bytes

The ADS server checks if the value changes in this time slice. The unit is 1ms

reserved

16bytes

Must be set to 0

Response

ADS Add Device Notification 2:

Data array

Size

Description

Result

4 bytes

ADS error number

Notification Handle

4 bytes

Handle of notification