Events; Onconfigurationchanged Events - Siemens Simatic S7-1500 Function Manual

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

Advertisement

User interfaces (API)
7.5 API ISimulationRuntimeManager
7.5.4

Events

Events for the ISimulationRuntimeManager interface
The following events are differentiated in the API:
Table 7- 70
Event
OnConfigurationChanged
(Page 124)
OnRuntimeManagerLost
(Page 127)
7.5.4.1

OnConfigurationChanged events

OnConfigurationChanged
Registers or unregisters an event handler method.
Table 7- 71
Syntax
Parameters
Return values
Exceptions
Note
RegisterOnConfigurationChangedCallback()
When the event occurs, the registered callback function is called. Only one callback function
can be registered for the event. The registration of a new callback function causes the
previous callback function to be deleted.
Table 7- 72
Syntax
Parameters
Return values
Note
124
Events for the ISimulationRuntimeManager interface
Cause
This event is triggered at a change of the Runtime Manager configura-
tion. For example, when a new instance is registered, an instance is
removed or a connection to a client is established.
The Control Panel uses such an event to update the list of available
instances.
The event is triggered when the connection to Runtime Manager is
interrupted.
OnConfigurationChanged - .NET (C#)
event Delegate_SRCC_UINT32_UINT32_INT32 OnConfigurationChanged;
None. See Delegate_SRCC_UINT32_UINT32_INT32 (Page 297).
None
None
The event handler method runs in a separate thread.
RegisterOnConfigurationChangedCallback() - Native C++
void RegisterOnConfigurationChangedCallback(
EventCallback_SRCC_UINT32_UINT32_INT32 in_CallbackFunction
);
EventCallback_SRCC_UINT32_UINT32_INT32 in_CallbackFunction
A callback function to subscribe to an event.
See EventCallback_SRCC_UINT32_UINT32_INT32 (Page 285).
None
The event handler method 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