Onprofileevent 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
UnregisterOnStatusEventDoneCallback()
Unregisters the callback function. When the event occurs, no callback function is called.
Table 7- 318 UnregisterOnStatusEventDoneCallback() - Native C++
Syntax
Parameters
Return values
7.6.10.6

OnProfileEvent events

OnProfileEventDone()
Registers or unregisters an event handler method.
Table 7- 319 OnProfileEventDone() - .NET (C#)
Syntax
Parameters
Return values
Exceptions
Note
RegisterOnProfileEventDoneCallback()
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- 320 RegisterOnProfileEventDoneCallback() - Native C++
Syntax
Parameters
Return values
Note
262
void UnregisterOnStatusEventDoneCallback ();
None
None
event Delegate_SREC_ST_UINT32 OnProfileEventDone;
None. See Delegate_SREC_ST_UINT32 (Page 303).
None
None
The event handler method runs in a separate thread.
void RegisterOnProfileEventDoneCallback (
EventCallback_II_SREC_ST_UINT32 in_CallbackFunction
);
EventCallback_II_SREC_ST_UINT32 in_CallbackFunction:
A callback function that subscribes to the event.
See EventCallback_II_SREC_ST_UINT32 (Page 291).
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