Use this service to get diagnostic information on Profibus system and stations
More...
#include <IDiagnosisService.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 get diagnostic information on Profibus system and stations
This service is defined in library Arp.Io.Profibus.
◆ IDiagnosisService()
Arp::Io::Profibus::Services::IDiagnosisService::IDiagnosisService |
( |
void |
| ) |
|
|
default |
◆ GetStationAddresses()
virtual std::vector<uint8> Arp::Io::Profibus::Services::IDiagnosisService::GetStationAddresses |
( |
| ) |
|
|
pure virtual |
Gets station addresses of all configured Profibus slaves
- Returns
- Configured station addresses
◆ GetSystemVariables()
virtual SystemVariables Arp::Io::Profibus::Services::IDiagnosisService::GetSystemVariables |
( |
| ) |
|
|
pure virtual |
Get Profibus system variables
- Returns
- Structure with defined system variables
◆ ReadStationDiagnosisItem()
virtual uint32 Arp::Io::Profibus::Services::IDiagnosisService::ReadStationDiagnosisItem |
( |
uint8 |
stationAddress, |
|
|
StationDiagnosisItem & |
stationDiagnoseItem |
|
) |
| |
|
pure virtual |
Reads new station diagnosis of a specific Profibus slave
- Parameters
-
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. |
- Returns
0
if no error occured. Otherwise the error code
◆ ReadStationDiagnosisItems()
virtual uint32 Arp::Io::Profibus::Services::IDiagnosisService::ReadStationDiagnosisItems |
( |
std::vector< StationDiagnosisItem > & |
stationDiagnoseItem | ) |
|
|
pure virtual |
Reads new station diagnoses of all configured stations
- Parameters
-
stationDiagnoseItem | Contains new diagnosis information |
- Returns
0
if no error occured. Otherwise the error code
The documentation for this class was generated from the following file: