Use this service to control the PLC of the controller.  
 More...
#include <IPlcManagerService.hpp>
 | 
| 
static IRscServiceProxyFactory &  | GetProxyFactory (void) | 
|   | 
| static IRscServiceProxyFactory &  | GetProxyFactory (void) | 
|   | Returns a reference to service proxy factory to create a proxy instance of the service  More...
  | 
|   | 
Use this service to control the PLC of the controller. 
 
◆ IPlcManagerService()
  
  
      
        
          | Arp::Plc::Domain::Services::IPlcManagerService::IPlcManagerService  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ ~IPlcManagerService()
  
  
      
        
          | Arp::Plc::Domain::Services::IPlcManagerService::~IPlcManagerService  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
Destructs this instance and frees all resouces.
 
 
◆ GetPlcState()
  
  
      
        
          | virtual PlcState Arp::Plc::Domain::Services::IPlcManagerService::GetPlcState  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Gets the actual PLC state. 
- Returns
 - The current PLC state. If the PLC has a warning, the Arp.Plc.Domain.Services.PlcState.Warning Bit is set. If the PLC has an actual error, the Arp.Plc.Domain.Services.PlcState.Error Bit is set. 
 
 
 
◆ Load()
  
  
      
        
          | virtual void Arp::Plc::Domain::Services::IPlcManagerService::Load  | 
          ( | 
          boolean  | 
          async = false | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Loads the PLC configuration and setup the PLC. 
- Parameters
 - 
  
    | async | true, if the operation should be processed asynchronously, otherwise false. | 
  
   
 
 
◆ Reset()
  
  
      
        
          | virtual void Arp::Plc::Domain::Services::IPlcManagerService::Reset  | 
          ( | 
          boolean  | 
          async = false | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Resets the PLC and unloads its configuration. 
- Parameters
 - 
  
    | async | true, if the operation should be processed asynchronously, otherwise false. | 
  
   
 
 
◆ Start()
  
  
      
        
          | virtual void Arp::Plc::Domain::Services::IPlcManagerService::Start  | 
          ( | 
          PlcStartKind  | 
          startKind,  | 
         
        
           | 
           | 
          boolean  | 
          async = false  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
Starts the PLC. 
- Parameters
 - 
  
    | startKind | Determines how the PLC should be started. 
| StartKind | Description |  
| Arp.Plc.Domain.Services.PlcStartKind.Cold | A cold start is processed. That is, all data is set to initial values. |  
| Arp.Plc.Domain.Services.PlcStartKind.Warm | A warm start is processed. That is, all data is set to initial values but retained data is set to the retained values.  |  
| Arp.Plc.Domain.Services.PlcStartKind.Hot | The PLC is just continued without setting or resetting any data. |  
 
 | 
    | async | true, if the operation should be processed asynchronously, otherwise false. | 
  
   
If the actual state of the PLC is Arp.Plc.Domain.Services.PlcState.Ready, Arp.Plc.Domain.Services.PlcState.Running or Arp.Plc.Domain.Services.PlcState.Halt, the operation is ignored. 
 
 
◆ Stop()
  
  
      
        
          | virtual void Arp::Plc::Domain::Services::IPlcManagerService::Stop  | 
          ( | 
          boolean  | 
          async = false | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Stops the PLC. 
- Parameters
 - 
  
    | async | true, if the operation should be processed asynchronously, otherwise false. | 
  
   
 
 
The documentation for this class was generated from the following file: