9#include "Arp/Io/Profibus/Services/DiagnosisServiceProxyFactory.hpp"
10#include "Arp/Io/Profibus/Services/StationDiagnosisItem.hpp"
11#include "Arp/Io/Profibus/Services/SystemVariables.hpp"
12#include "Arp/System/Rsc/Services/IRscService.hpp"
16namespace Arp {
namespace Io {
namespace Profibus {
namespace Services
32 using Ptr = std::shared_ptr<IDiagnosisService>;
39 static IRscServiceProxyFactory& GetProxyFactory(
void);
76inline IRscServiceProxyFactory& IDiagnosisService::GetProxyFactory()
78 return DiagnosisServiceProxyFactory::GetInstance();
Use this service to get diagnostic information on Profibus system and stations
Definition: IDiagnosisService.hpp:30
virtual uint32 ReadStationDiagnosisItem(uint8 stationAddress, StationDiagnosisItem &stationDiagnoseItem)=0
Reads new station diagnosis of a specific Profibus slave
virtual std::vector< uint8 > GetStationAddresses()=0
Gets station addresses of all configured Profibus slaves
IDiagnosisService(void)=default
Constructs an IDiagnosisService instance.
virtual uint32 ReadStationDiagnosisItems(std::vector< StationDiagnosisItem > &stationDiagnoseItem)=0
Reads new station diagnoses of all configured stations
virtual SystemVariables GetSystemVariables()=0
Get Profibus system variables
Delivers diagnostic information of a slave
Definition: StationDiagnosisItem.hpp:25
Delivers Profibus system variables
Definition: SystemVariables.hpp:24
Base interface for all Rsc service interface.
Definition: IRscService.hpp:20
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:36
std::uint8_t uint8
The Arp unsigned integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:28
Namespace for classes and interfaces for the Remote Service Call implementation
Root namespace for the PLCnext API