DES data structure with all status variables, all variables are 16bits except Nb136 that is 32bits (double word). More...
#include <des70_10.h>
Public Attributes | |
int | abs_rotor_pos |
Nb136: Absolute rotor position (32bits of size) [qc]. | |
int | actual_cur_q |
Nb139: Actual current value in q-axis (Torque not averaged) [mA]. | |
int | actual_mean_cur_d |
Nb129: Actual mean current value in d-axis [mA]. | |
int | actual_mean_cur_q |
Nb130: Actual mean current value in q-axis (torque) [mA]. | |
int | actual_mean_speed_val |
Nb134: Actual mean speed value [rpm]. | |
int | actual_speed_val |
Nb140: Actual Speed Value (not averaged) [rpm]. | |
int | can_error |
Nb 138: CAN error. | |
int | cur_setting_val |
Nb131: Current Setting Value [mA]. | |
int | enc_counter |
Nb143: Encoder Counter [qc]. | |
int | enc_counter_last_ind |
Nb144: Encoder Counter at last index [qc]. | |
int | error_hist1 |
Nb141: Error History 1,. | |
int | error_hist2 |
Nb142: Error History 2. | |
int | hall_sens_pat |
Nb145: Hall sensor pattern. | |
int | rel_rot_pos_rev |
Nb132: Relative rotor position in a revolution [qc]. | |
int | speed_setting_val |
Nb133: Speed setting value [rpm]. | |
int | standard_error |
Nb137: standard error. | |
int | sys_op_status |
Nb128: System Operation Status b0: 0-encoder index not found yet | 1-encoder index found b1: 0-hall sensor signal not found yet | 1-hall sensor signal found b2: 0-rotor position not found yet | 1-rotor position found b3: 0-not saving the system parameters in EEPROM | 1-saving the system parameters in EEPROM b4: not used b5: reserved b6: reserved b7: 0-Max Current Set to peak current | 1-Max current reduced to continous current b8: 0-in the small current region | 1-in the large current region b9: 0-no error | 1-error b10: 0-software disabled | 1-software enabled b11: 0-not debouncing the enable input | 1-debouncing the enable input b12: 0-no offset in current circuit detected | 1-offsets in current circuit detected b13: 0-not braking | 1-braking with maximum setting current b14+15: (0+0)-power stage is disabled (0+1)-refresh the power stage (1+0)-power stage is enabled (1+1)-power stage is enabled |
DES data structure with all status variables, all variables are 16bits except Nb136 that is 32bits (double word).
Definition at line 197 of file des70_10.h.
Nb136: Absolute rotor position (32bits of size) [qc].
Definition at line 213 of file des70_10.h.
Nb139: Actual current value in q-axis (Torque not averaged) [mA].
Definition at line 219 of file des70_10.h.
Nb129: Actual mean current value in d-axis [mA].
Definition at line 201 of file des70_10.h.
Nb130: Actual mean current value in q-axis (torque) [mA].
Definition at line 203 of file des70_10.h.
Nb134: Actual mean speed value [rpm].
Definition at line 211 of file des70_10.h.
Nb140: Actual Speed Value (not averaged) [rpm].
Definition at line 221 of file des70_10.h.
Nb 138: CAN error.
Definition at line 217 of file des70_10.h.
Nb131: Current Setting Value [mA].
Definition at line 205 of file des70_10.h.
Nb143: Encoder Counter [qc].
Definition at line 227 of file des70_10.h.
Nb144: Encoder Counter at last index [qc].
Definition at line 229 of file des70_10.h.
Nb141: Error History 1,.
Definition at line 223 of file des70_10.h.
Nb142: Error History 2.
Definition at line 225 of file des70_10.h.
Nb145: Hall sensor pattern.
Definition at line 231 of file des70_10.h.
Nb132: Relative rotor position in a revolution [qc].
Definition at line 207 of file des70_10.h.
Nb133: Speed setting value [rpm].
Definition at line 209 of file des70_10.h.
Nb137: standard error.
Definition at line 215 of file des70_10.h.
Nb128: System Operation Status
b0: 0-encoder index not found yet | 1-encoder index found
b1: 0-hall sensor signal not found yet | 1-hall sensor signal found
b2: 0-rotor position not found yet | 1-rotor position found
b3: 0-not saving the system parameters in EEPROM | 1-saving the system parameters in EEPROM
b4: not used
b5: reserved
b6: reserved
b7: 0-Max Current Set to peak current | 1-Max current reduced to continous current
b8: 0-in the small current region | 1-in the large current region
b9: 0-no error | 1-error
b10: 0-software disabled | 1-software enabled
b11: 0-not debouncing the enable input | 1-debouncing the enable input
b12: 0-no offset in current circuit detected | 1-offsets in current circuit detected
b13: 0-not braking | 1-braking with maximum setting current
b14+15:
(0+0)-power stage is disabled
(0+1)-refresh the power stage
(1+0)-power stage is enabled
(1+1)-power stage is enabled
Definition at line 199 of file des70_10.h.