Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EthercatDeviceDiagnostics Struct Reference

#include <ethercat_device.h>

Public Member Functions

void collect (EthercatCom *com, EtherCAT_SlaveHandler *sh)
 
 EthercatDeviceDiagnostics ()
 
void publish (diagnostic_updater::DiagnosticStatusWrapper &d, unsigned numPorts=4) const
 

Protected Member Functions

void accumulate (const et1x00_error_counters &next, const et1x00_error_counters &prev)
 
void zeroTotals ()
 

Protected Attributes

int devicesRespondingToNodeAddress_
 
bool diagnosticsFirst_
 
bool diagnosticsValid_
 
uint64_t epuErrorTotal_
 
bool errorCountersMayBeCleared_
 
et1x00_error_counters errorCountersPrev_
 
unsigned nodeAddress_
 
uint64_t pdiErrorTotal_
 
EthercatPortDiagnostics portDiagnostics_ [4]
 
bool resetDetected_
 

Detailed Description

Definition at line 95 of file ethercat_device.h.

Constructor & Destructor Documentation

◆ EthercatDeviceDiagnostics()

EthercatDeviceDiagnostics::EthercatDeviceDiagnostics ( )

Definition at line 122 of file ethercat_device.cpp.

Member Function Documentation

◆ accumulate()

void EthercatDeviceDiagnostics::accumulate ( const et1x00_error_counters next,
const et1x00_error_counters prev 
)
protected

Definition at line 144 of file ethercat_device.cpp.

◆ collect()

void EthercatDeviceDiagnostics::collect ( EthercatCom com,
EtherCAT_SlaveHandler *  sh 
)

Definition at line 158 of file ethercat_device.cpp.

◆ publish()

void EthercatDeviceDiagnostics::publish ( diagnostic_updater::DiagnosticStatusWrapper d,
unsigned  numPorts = 4 
) const

Definition at line 273 of file ethercat_device.cpp.

◆ zeroTotals()

void EthercatDeviceDiagnostics::zeroTotals ( )
protected

Definition at line 133 of file ethercat_device.cpp.

Member Data Documentation

◆ devicesRespondingToNodeAddress_

int EthercatDeviceDiagnostics::devicesRespondingToNodeAddress_
protected

Definition at line 129 of file ethercat_device.h.

◆ diagnosticsFirst_

bool EthercatDeviceDiagnostics::diagnosticsFirst_
protected

Definition at line 126 of file ethercat_device.h.

◆ diagnosticsValid_

bool EthercatDeviceDiagnostics::diagnosticsValid_
protected

Definition at line 127 of file ethercat_device.h.

◆ epuErrorTotal_

uint64_t EthercatDeviceDiagnostics::epuErrorTotal_
protected

Definition at line 120 of file ethercat_device.h.

◆ errorCountersMayBeCleared_

bool EthercatDeviceDiagnostics::errorCountersMayBeCleared_
protected

Definition at line 124 of file ethercat_device.h.

◆ errorCountersPrev_

et1x00_error_counters EthercatDeviceDiagnostics::errorCountersPrev_
protected

Definition at line 123 of file ethercat_device.h.

◆ nodeAddress_

unsigned EthercatDeviceDiagnostics::nodeAddress_
protected

Definition at line 122 of file ethercat_device.h.

◆ pdiErrorTotal_

uint64_t EthercatDeviceDiagnostics::pdiErrorTotal_
protected

Definition at line 119 of file ethercat_device.h.

◆ portDiagnostics_

EthercatPortDiagnostics EthercatDeviceDiagnostics::portDiagnostics_[4]
protected

Definition at line 121 of file ethercat_device.h.

◆ resetDetected_

bool EthercatDeviceDiagnostics::resetDetected_
protected

Definition at line 128 of file ethercat_device.h.


The documentation for this struct was generated from the following files:


ethercat_hardware
Author(s): Rob Wheeler , Derek King
autogenerated on Tue Mar 28 2023 02:10:20