User interfaces (API)
7.6 API IInstances
Table 7- 268 UnregisterOnOperatingStateChangedEvent() - .NET (C#)
Syntax
Parameters
Return values
WaitForOnOperatingStateChangedEvent()
The function blocks the program until the registered event object is in the signaled state or
the timeout interval is exceeded.
Table 7- 269 WaitForOnOperatingStateChangedEvent() - Native C++
Syntax
Parameters
Return values
Table 7- 270 WaitForOnOperatingStateChangedEvent() - .NET (C#)
Syntax
Parameters
Return values
246
void UnregisterOnOperatingStateChangedEvent();
None
None
bool WaitForOnOperatingStateChangedEvent();
bool WaitForOnOperatingStateChangedEvent(
UINT32 in_Time_ms
);
•
None:
The time limit is set to
•
UINT32 in_Time_ms:
Value for the time limit in milliseconds.
If the event object was set to the signaled state.
•
true:
If no event was received during the defined time limit.
•
false:
bool WaitForOnOperatingStateChangedEvent();
bool WaitForOnOperatingStateChangedEvent(
UInt32 in_Time_ms
);
•
None:
The time limit is set to
•
UInt32 in_Time_ms:
Value for the time limit in milliseconds.
If the event object was set to the signaled state.
•
true:
If no event was received during the defined time limit.
•
false:
.
INFINITE
.
INFINITE
Function Manual, 12/2017, A5E37039512-AB
S7-PLCSIM Advanced