ShutdownMode
- Last UpdatedJul 18, 2023
- 1 minute read
Gets the mode of the last Shutdown function call. The mode is useful to identify the type of Shutdown that was performed.
Syntax
ShutdownMode()
Return Value
The shutdown mode set when shutdown was called.
Related Functions
Example
nMode = ShutdownMode()
If nMode = 4 Then
Prompt ("Plant SCADA closed down and computer was rebooted")
END