Onalarmnotification Events - Siemens Simatic S7-1500 Function Manual

Hide thumbs Also See for Simatic S7-1500:
Table of Contents

Advertisement

User interfaces (API)
7.6 API IInstances
UnregisterOnDataRecordReadCallback()
Unregisters the callback function. When the event occurs, no callback function is called.
Table 7- 306 UnregisterOnDataRecordReadCallback() - Native C++
Syntax
Parameters
Return values
7.6.10.2

OnAlarmNotification events

OnAlarmNotificationDone()
Registers or unregisters an event handler method.
Table 7- 307 OnAlarmNotificationDone() - .NET (C#)
Syntax
Parameters
Return values
Exceptions
Note
RegisterOnAlarmNotificationDoneCallback()
When the event occurs, the registered callback function is called. Only one callback function
can be registered for the event. Registering a new callback function causes the previous
callback function to be deleted.
Table 7- 308 RegisterOnAlarmNotificationDoneCallback() - Native C++
Syntax
Parameters
Return values
Note
258
void UnregisterOnDataRecordReadCallback();
None
None
event Delegate_SREC_ST_UINT32_UINT32 OnAlarmNotificationDone;
None. See Delegate_SREC_ST_UINT32_UINT32 (Page 304).
None
None
The event handler method runs in a separate thread.
void RegisterOnAlarmNotificationDoneCallback (
Event Callback_II_SREC_ST_SDRI in_CallbackFunction
);
EventCallback_II_SREC_ST_UINT32_UINT32 in_CallbackFunction:
A callback function that subscribes to the event.
See EventCallback_II_SREC_ST_UINT32_UINT32 (Page 292).
None
The callback function runs in a separate thread.
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents