Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ethercat_hardware::MotorHeatingModelParametersEepromConfig Struct Reference

#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. More...
 
bool enforce_
 0 if heating model should be not be enforced, 0 otherwise More...
 
uint16_t major_
 Major revision of this structure. More...
 
uint16_t minor_
 Minor revision of this structure. More...
 
uint8_t pad1 [3]
 
uint8_t pad2 [204]
 
MotorHeatingModelParameters params_
 Motor parameters. More...
 

Static Public Attributes

static const unsigned EEPROM_PAGE = 4093
 

Detailed Description

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 87 of file motor_heating_model.h.

Member Function Documentation

void ethercat_hardware::MotorHeatingModelParametersEepromConfig::generateCRC ( void  )

Definition at line 69 of file motor_heating_model.cpp.

bool ethercat_hardware::MotorHeatingModelParametersEepromConfig::verifyCRC ( void  ) const

Definition at line 60 of file motor_heating_model.cpp.

Member Data Documentation

uint32_t ethercat_hardware::MotorHeatingModelParametersEepromConfig::crc32_

CRC32 of first 256-4 bytes of structure.

Definition at line 95 of file motor_heating_model.h.

const unsigned ethercat_hardware::MotorHeatingModelParametersEepromConfig::EEPROM_PAGE = 4093
static

Definition at line 97 of file motor_heating_model.h.

bool ethercat_hardware::MotorHeatingModelParametersEepromConfig::enforce_

0 if heating model should be not be enforced, 0 otherwise

Definition at line 91 of file motor_heating_model.h.

uint16_t ethercat_hardware::MotorHeatingModelParametersEepromConfig::major_

Major revision of this structure.

Definition at line 89 of file motor_heating_model.h.

uint16_t ethercat_hardware::MotorHeatingModelParametersEepromConfig::minor_

Minor revision of this structure.

Definition at line 90 of file motor_heating_model.h.

uint8_t ethercat_hardware::MotorHeatingModelParametersEepromConfig::pad1[3]

Definition at line 92 of file motor_heating_model.h.

uint8_t ethercat_hardware::MotorHeatingModelParametersEepromConfig::pad2[204]

Definition at line 94 of file motor_heating_model.h.

MotorHeatingModelParameters ethercat_hardware::MotorHeatingModelParametersEepromConfig::params_

Motor parameters.

Definition at line 93 of file motor_heating_model.h.


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


ethercat_hardware
Author(s): Rob Wheeler , Derek King
autogenerated on Thu Mar 4 2021 03:10:21