$search
#include <motor_heating_model.h>
Public Member Functions | |
void | generateCRC (void) |
bool | verifyCRC (void) const |
Public Attributes | |
uint32_t | crc32_ |
CRC32 of first 256-4 bytes of structure. | |
bool | enforce_ |
0 if heating model should be not be enforced, 0 otherwise | |
uint16_t | major_ |
Major revision of this structure. | |
uint16_t | minor_ |
Minor revision of this structure. | |
uint8_t | pad1 [3] |
uint8_t | pad2 [204] |
MotorHeatingModelParameters | params_ |
Motor parameters. | |
Static Public Attributes | |
static const unsigned | EEPROM_PAGE = 4093 |
Structure for store motor heating model parameters in MCB EEPROM page.
Eeprom pages eeprom could be 264byes or 256bytes, simplicity, fit structure to 256bytes.
Motor model parameters could be included at part of the WG0XActuatorInfo struct, however, structure is almost full, and changing structure would require code to suppport both revisions. Also, updating old MCBs with new parameters would not effect old parameters, making updates safer to do in the field.
Definition at line 86 of file motor_heating_model.h.
void ethercat_hardware::MotorHeatingModelParametersEepromConfig::generateCRC | ( | void | ) |
Definition at line 67 of file motor_heating_model.cpp.
bool ethercat_hardware::MotorHeatingModelParametersEepromConfig::verifyCRC | ( | void | ) | const |
Definition at line 58 of file motor_heating_model.cpp.
CRC32 of first 256-4 bytes of structure.
Definition at line 94 of file motor_heating_model.h.
const unsigned ethercat_hardware::MotorHeatingModelParametersEepromConfig::EEPROM_PAGE = 4093 [static] |
Definition at line 96 of file motor_heating_model.h.
0 if heating model should be not be enforced, 0 otherwise
Definition at line 90 of file motor_heating_model.h.
Major revision of this structure.
Definition at line 88 of file motor_heating_model.h.
Minor revision of this structure.
Definition at line 89 of file motor_heating_model.h.
Definition at line 91 of file motor_heating_model.h.
Definition at line 93 of file motor_heating_model.h.
Motor parameters.
Definition at line 92 of file motor_heating_model.h.