Standard Values

A list of standard telemetry values. This packet is sent in response to a Get Values command.

ByteTypeScalarMnemonicUnitsDescription
0int1610mc_interface_temp_fet_filtered
2int1610mc_interface_temp_motor_filtered
4int32100TLM_MOTOR_I_AVGAAverage motor current. Resets on read.
8int32100TLM_INPUT_I_AVGAAverage input current. Resets on read.
12int32100TLM_DIR_AXIS_I_AVGA(FOC Mode only) Average direct axis motor current. Resets on read.
16int32100TLM_Q_AXIS_I_AVGA(FOC Mode only) Average quadrature axis motor current. Resets on read.
20int161000TLM_DUTY_CYCLE
22int321TLM_RPMrpmCurrent speed of the motor. Sign determines spin direction. RPM will be this number divided by (MOTOR_POLE_NUMBER / 2)
26int1610TLM_INPUT_V_FILTERED
28int3210000TLM_AMP_HOURSA-hAmount of amp-hours drawn from the input source
32int3210000TLM_AMP_HOURS_CHARGEDA-hAmount of amp-hours fed back into the input source
36int3210000TLM_WATT_HOURSW-hAmount of watt-hours drawn from the input source
40int3210000TLM_WATT_HOURS_CHARGEDW-hAmount of watt-hours fed back into the input source
44int32TLM_TACH_STEPSStepsNumber of steps motor has rotated. Sign determines spin direction. Number of motor revolutions will be this number divided by (3 * MOTOR_POLE_NUMBER).
48int32TLM_TACH_STEPS_ABSStepsAbsolute number of steps motor has rotated. Number of motor revolutions will be this number divided by (3 * MOTOR_POLE_NUMBER).
52uint8mc_interface_get_fault
53int321000000mc_interface_get_pid_pos_now
57uint8current_controller_id
58int1610NTC_TEMP_MOS1
60int1610NTC_TEMP_MOS2
62int1610NTC_TEMP_MOS3
64int321000TLM_DIR_AXIS_V_AVGV(FOC Mode only) Average direct axis motor voltage. Resets on read.
68int321000TLM_Q_AXIS_V_AVGV(FOC Mode only) Average quadrature axis motor voltage. Resets on read.
72uint8status

[reveal1 title=”Web App”]

[/reveal1]

[reveal1 title=”UART Interface”]

This command follows the standard VESC packet format.

Command Structure

ByteDatatypeValueDescription
0uint80x02Packet start byte
1uint80x01Packet length
2uint80x04Packet ID [COMM_GET_VALUES]
3uint16value hereCRC16 of data section
5uint80x03Stop byte

Command Example

Start ByteLengthPIDCRC16End Byte
0x020x010x040xF7290x03

Command Response

The controller responds with the Standard Telemetry packet.

[/reveal1]

[reveal1 title=”CAN Interface”]

[/reveal1]