Table 7- 123 OperatingState { get; } - .NET (C#)
Syntax
Parameters
Return values
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
EOperatingState OperatingState { get; }
None
•
EOperatingState.InvalidOperatingState:
If the function fails.
•
EOperatingState.Off:
If the Simulation Runtime instance is not running.
•
EOperatingState.Booting:
If
was called while in this state and the virtual controller is not yet
PowerOn()
ready to start the user program.
•
EOperatingState.Stop:
If the virtual controller is in STOP state.
•
EOperatingState.Startup:
If the user program is currently changing from STOP to RUN.
•
EOperatingState.Run:
If the user program is running.
•
EOperatingState.Freeze:
If the user program is being stopped (Freeze status).
•
EOperatingState.Hold
If the user program is set to HOLD when the breakpoint is reached.
•
EOperatingState.ShuttingDown
If
was called but the virtual controller is still in the Shutdown
PowerOff()
phase.
:
:
User interfaces (API)
7.6 API IInstances
145