PLCnext API Documentation 23.9.0.25
|
Use this service to get diagnostic information on Profibus system and stations More...
#include <IDiagnosisService.hpp>
Public Types | |
using | Ptr = std::shared_ptr< IDiagnosisService > |
![]() | |
typedef std::shared_ptr< IRscService > | Ptr |
Public Member Functions | |
IDiagnosisService (void)=default | |
Constructs an IDiagnosisService instance. | |
virtual uint32 | ReadStationDiagnosisItem (uint8 stationAddress, StationDiagnosisItem &stationDiagnoseItem)=0 |
Reads new station diagnosis of a specific Profibus slave More... | |
virtual uint32 | ReadStationDiagnosisItems (std::vector< StationDiagnosisItem > &stationDiagnoseItem)=0 |
Reads new station diagnoses of all configured stations More... | |
virtual SystemVariables | GetSystemVariables ()=0 |
Get Profibus system variables More... | |
virtual std::vector< uint8 > | GetStationAddresses ()=0 |
Gets station addresses of all configured Profibus slaves More... | |
![]() | |
IRscService (void)=default | |
Constructs an IRscService instance. | |
virtual | ~IRscService (void)=default |
Destructs this instance and frees all resouces. | |
Static Public Member Functions | |
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 get diagnostic information on Profibus system and stations
This service is defined in library Arp.Io.Profibus.
Realtime Usage: This API call does not have to be deterministic in runtime behaviour, so an asynchronous execution should be considered.
|
pure virtual |
Gets station addresses of all configured Profibus slaves
|
pure virtual |
Get Profibus system variables
|
pure virtual |
Reads new station diagnosis of a specific Profibus slave
stationAddress | Contains station address of slave to read diagnosis from |
stationDiagnoseItem | Contains station diagnosis if field StationAddress equals to parameter stationAddress. Otherwise no new diagnosis for station exists. |
0
if no error occured. Otherwise the error code
|
pure virtual |
Reads new station diagnoses of all configured stations
stationDiagnoseItem | Contains new diagnosis information |
0
if no error occured. Otherwise the error code