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

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

Advertisement

7.6.9

Events

Events for IInstances
The following events are differentiated in the API:
Table 7- 262 Events for the IInstances interface
Event
OnOperatingStateChanged
(Page 243)
OnSyncPointReached
(Page 247)
OnConfigurationChanging
(Page 249)
OnConfigurationChanged
(Page 252)
OnLedChanged (Page 254)
7.6.9.1

OnOperatingStateChanged events

OnOperatingStateChanged
Registers or unregisters an event handler method.
Table 7- 263 OnOperatingStateChanged - .NET (C#)
Syntax
Parameters
Return values
Exceptions
Note
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
Cause
This event is always triggered when the operating state of the virtual
controller has changed.
This event is triggered when the virtual controller reaches a synchro-
nization point.
If the virtual controller is being operated in Default mode, the
SendSyncEventInDefaultMode
See SendSyncEventInDefaultMode (Page 223).
This event is triggered when changing of the configuration of the vir-
tual controller starts.
During power up from the Virtual SIMATIC Memory Card
At the start of a download
When this event is triggered, the stored tag list is reset.
This event is triggered when the configuration of the virtual controller
has changed:
After power up from the Virtual SIMATIC Memory Card
At the end of a download
When the IP address changes
This event is triggered when the LED display of the virtual controller
has changed.
event Delegate_II_EREC_DT_EOS_EOS OnOperatingStateChanged;
None. See Delegate_II_EREC_DT_EOS_EOS (Page 294).
None
None
The event handler method runs in a separate thread.
User interfaces (API)
7.6 API IInstances
flag must be set to receive the event.
243

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents