| Enumerator | 
|---|
| None  | Not specified.  
 | 
| Ready  | The firmware is setup, and the PLC is ready.  
 | 
| Stop  | The PLC is loaded and setup but not started yet.  
 | 
| Running  | The PLC is started.  
 | 
| Halt  | The PLC is halted for debug purpose.  
 | 
| StateMask  | Use this entry to de-mask the raw PLC state value.  
 | 
| FlagsMask  | Use this entry to de-mask the flags portion of this PLC state.  
 | 
| Warning  | An unspecified warning occurs.  
 | 
| Error  | An unspecified error or exception occurs, and the PLC is in state error.  
 | 
| SuspendedBySwitch  | This error bit is set, if it could not be started because the PLC is suspended by the hardware switch (STOP-switch).  
 | 
| FatalError  | An unspecified fatal error or exception occurs, and the PLC is in state error.  
 | 
| SuspendedBySystemWatchdog  | This error bit is set, if it could not be started because the PLC is suspended by the system watchdog.  
 | 
| Changing  | The PLC is changing a configuration, this implies, that the state Running is set.  
 | 
| Hot  | The PLC is stopped in hot state, that is all data still remains.  
 | 
| Forcing  | The PLC is in force mode. One or more variables are forced by the GDS.  
 | 
| Debugging  | The PLC is in debug mode. One or more breakpoints are set.  
 | 
| Warm  | The PLC is stopped in warm state, that is the retain data has been restored.  
 | 
| DcgNotPossible  | This error bit is set, if the PLC tries to perform a change operation, but it is not possible.  
This bit is usually combined with the state Running. 
 | 
| DcgRealTimeViolation  | This error bit is set, if the PLC tries to perform a change operation, but it is not possible in real time.  
This bit is usually combined with the state Running. 
 | 
| ClearMask  | This mask defines all states which should be cleared before any PLC operation.  
It is a combination of all bits which should remain. 
ARP_DEPRECATED("Use RemainingMask instead. The name of this entry is not self-explanatory.") 
 | 
| RemainingMask  | This mask defines all states which should not be cleared before any PLC operation. All other flags are reset.  
It is a combination of all bits which should remain. 
 |