Use this service to control the PLC of the controller.  
 More...
#include <IPlcManagerService.hpp>
Use this service to control the PLC of the controller. 
This service is defined in library Arp.Plc.Domain. 
Realtime Usage: This API call does not have to be deterministic in runtime behaviour, so an asynchronous execution should be considered. 
 
◆ GetPlcState()
  
  
      
        
          | virtual PlcState Arp::Plc::Domain::Services::IPlcManagerService::GetPlcState  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ 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.RestoreWarm | A recover warm start is processed. That is, all data is set to initial values but retained data is set to the retained values from the prepared retain backup file.  |  
| 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: