hi

Dependencies:   CANMsg

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers canIds.h Source File

canIds.h

00001 // BPS
00002 #define BPS_TRIP            0x002
00003 #define BPS_ALL_CLEAR       0x101
00004 #define BPS_OFF             0x102
00005 #define CURRENT_DATA        0x103
00006 #define VOLTAGE_DATA        0x104
00007 #define TEMPERATURE_DATA    0x105
00008 #define SOC_DATA            0x106
00009 #define WDOG_TRIGGERED      0x107
00010 #define CAN_ERROR           0x108
00011 #define BPS_COMMAND_MSG     0x109
00012 
00013 // Motor
00014 #define DC_BUS_CURRENT 0x600
00015 #define DC_BUS_VOLTAGE 0x601
00016 #define PHASE_B_CURRENT 0x602
00017 #define PHASE_C_CURRENT 0x603
00018 #define VEHICLE_VELOCITY 0x604
00019 #define MOTOR_VELOCITY 0x605
00020 #define VD 0x606
00021 #define VQ 0x607
00022 #define ID 0x608
00023 #define IQ 0x609
00024 #define BEMFD 0x60A
00025 #define BEMFQ 0x60B
00026 #define HEAT_SINK_TEMPERATURE 0x60C
00027 #define MOTOR_TEMPERATURE 0x60D
00028 #define DC_BUS_AMP_HOURS 0x60E
00029 #define ODOMETER 0x60F
00030 
00031 // MPPT
00032 #define MPPT_BASE_R     0x710 // MPPT Base ID (Request)
00033 #define MPPT_BASE_A     0x770 // MPPT Base ID (Answer)
00034 #define MPPT_OFF        0xF //MPPT Offset ID (set by DIP switch on board)
00035 
00036 // Array Temperature
00037 // WARNING: TEMPORARY IDS 
00038 #define ARRAY_TEMP_1    0x798
00039 #define ARRAY_TEMP_2    0x799