7.5
API ISimulationRuntimeManager
7.5.1
Interfaces - Information and settings
GetVersion() / Version { get; }
Returns the version of Runtime Manager. If the function fails, version 0.0 is returned.
Table 7- 42
Syntax
Parameters
Return values
Table 7- 43
Syntax
Parameters
Return values
IsInitialized() / IsInitialized { get; }
Returns a value that indicates whether the API was successfully initialized.
Table 7- 44
Syntax
Parameters
Return values
Table 7- 45
Syntax
Parameters
Return values
IsRuntimeManagerAvailable() / IsRuntimeManagerAvailable { get; }
The function returns
happens only when the Runtime Manager process is closed.
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
GetVersion() - Native C++
UINT32 GetVersion();
None
Runtime Manager Version (
UINT32:
Version { get; } - .NET (C#)
UInt32 Version { get; }
None
Runtime Manager Version (
Uint32:
IsInitialized() - Native C++
bool IsInitialized();
None
If the API was not initialized.
•
false:
If the API was initialized.
•
true:
IsInitialized { get; } - .NET (C#)
bool IsInitialized { get; }
None
If the API was not initialized.
•
false:
If the API was initialized.
•
true:
when the connection to Runtime Manager is interrupted. This
false
User interfaces (API)
7.5 API ISimulationRuntimeManager
= Major,
= Minor)
HIWORD
LOWORD
= Major,
= Minor)
HIWORD
LOWORD
111