Table 7- 296 Registeronledchangedcallback() - Native C - Siemens Simatic S7-1500 Function Manual

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

Advertisement

RegisterOnLedChangedCallback()
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- 296 RegisterOnLedChangedCallback() - Native C++

Syntax
Parameters
Return values
Note
RegisterOnLedChangedEvent()
When the event occurs, the registered event object is set to the signaled state. Only one
event object can be registered for the event. Registering a new event object causes the
previous event object to be deleted.
Table 7- 297 RegisterOnLedChangedEvent() - Native C++
Syntax
Parameters
Return values
UnregisterOnLedChangedCallback()
Unregisters the callback function. When the event occurs, no callback function is called.
Table 7- 298 UnregisterOnLedChangedCallback() - Native C++
Syntax
Parameters
Return values
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
void RegisterOnLedChangedCallback(
EventCallback_II_SREC_ST_SRLT_SRLM in_CallbackFunction
);
EventCallback_II_SREC_ST_SRLT_SRLM in_CallbackFunction:
A callback function that subscribes to an event.
See EventCallback_II_SREC_ST_SRLT_SRLM (Page 283).
None
The callback function runs in a separate thread.
void RegisterOnLedChangedEvent();
void RegisterOnLedChangedEvent(
HANDLE* in_Event
);
None:
An internal event object is registered.
HANDLE* in_Event:
A handle for a user-specific event object. The event object is registered.
None
void UnregisterOnLedChangedCallback();
None
None
User interfaces (API)
7.6 API IInstances
255

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents