TYPE_DES_status_var Struct Reference
[Des70_10]

DES data structure with all status variables, all variables are 16bits except Nb136 that is 32bits (double word). More...

#include <des70_10.h>

Data Fields

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

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 cur_setting_val
 Nb131: Current Setting Value [mA].
int rel_rot_pos_rev
 Nb132: Relative rotor position in a revolution [qc].
int speed_setting_val
 Nb133: Speed setting value [rpm].
int actual_mean_speed_val
 Nb134: Actual mean speed value [rpm].
int abs_rotor_pos
 Nb136: Absolute rotor position (32bits of size) [qc].
int standard_error
 Nb137: standard error.
int can_error
 Nb 138: CAN error.
int actual_cur_q
 Nb139: Actual current value in q-axis (Torque not averaged) [mA].
int actual_speed_val
 Nb140: Actual Speed Value (not averaged) [rpm].
int error_hist1
 Nb141: Error History 1,.
int error_hist2
 Nb142: Error History 2.
int enc_counter
 Nb143: Encoder Counter [qc].
int enc_counter_last_ind
 Nb144: Encoder Counter at last index [qc].
int hall_sens_pat
 Nb145: Hall sensor pattern.

Detailed Description

DES data structure with all status variables, all variables are 16bits except Nb136 that is 32bits (double word).


Field Documentation

Nb136: Absolute rotor position (32bits of size) [qc].

Nb139: Actual current value in q-axis (Torque not averaged) [mA].

Nb129: Actual mean current value in d-axis [mA].

Nb130: Actual mean current value in q-axis (torque) [mA].

Nb134: Actual mean speed value [rpm].

Nb140: Actual Speed Value (not averaged) [rpm].

Nb 138: CAN error.

Nb131: Current Setting Value [mA].

Nb143: Encoder Counter [qc].

Nb144: Encoder Counter at last index [qc].

Nb141: Error History 1,.

Nb142: Error History 2.

Nb145: Hall sensor pattern.

Nb132: Relative rotor position in a revolution [qc].

Nb133: Speed setting value [rpm].

Nb137: standard error.

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

Referenced by InitDES(), and stopDES().


The documentation for this struct was generated from the following file:
Generated on Wed Jun 2 12:43:29 2010 for LAR Atlas by  doxygen 1.6.3