ADS Add Device Notification
A notification is created in an ADS device.
Increase notifications We recommend not to register more than 550 notifications per device. By organizing the data into structures, the payload per notification can be effectively increased. |
Request
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
Data array | Size | Description |
---|---|---|
Result | 4 bytes | ADS error number |
Notification Handle | 4 bytes | Handle of notification |