MIT Polling Reply Guide
The motor returns one status frame for each valid MIT control frame. When mit_aux_enable is enabled, the last two bytes carry AUX data. Check the device's software series and configuration version before choosing a polling format in section 5.
| Applicable firmware | Replies per cycle | AUX IDs | Update rate per item |
|---|---|---|---|
| Other software series using 11-item polling | 11 | 0x0..0x9, 0xF | MIT reply rate ÷ 11 |
| Software series 1.5, configuration 1.5 | 16 | 0x0..0xF | MIT reply rate ÷ 16 |
Unless otherwise noted, CAN IDs, data bytes, raw values, and example values in this page are hexadecimal. Physical values, frequencies, and unit conversion results are shown in decimal.
1. Check Before Use
MIT replies are triggered by MIT control frames from the host. The motor responds to these control frame IDs:
| Control frame CAN ID | Description |
|---|---|
can_id | Unicast MIT control frame with an 8-byte control block for the current motor |
0x7FF | Broadcast MIT control frame containing the full 8-byte block for the current can_id |
The 1.5 series uses separate acknowledgments for switch and query special frames 0xE0..0xE8, as described in section 5.2. These commands do not trigger the ordinary MIT reply described here.
The motor reply frame uses master_id as its CAN ID. By default:
master_id = can_id | 0x010
When can_id=1, the default master_id is 0x11. The host receives replies on the device's configured master_id. See the Motor Register Communication Protocol for register commands.
Warning
When polling multiple motors in MIT mode, make sure their master_id values do not conflict. Otherwise, multiple motors may reply with the same CAN ID and the host cannot reliably distinguish the sources.
2. MIT Reply Frame Format
The MIT reply frame is always 8 bytes:
| Field | Content |
|---|---|
| CAN ID | master_id |
| DLC | 8 |
data[0] | Current motor can_id |
data[1..5] | Position, velocity, and torque for standard motors. Position, velocity, and force for grippers. |
data[6..7] | Temperature feedback by default; AUX polling data when mit_aux_enable is enabled |
The byte layout is:
| Reply frame | data[0] | data[1] | data[2] | data[3] | data[4] | data[5] | data[6] | data[7] |
|---|---|---|---|---|---|---|---|---|
mit_aux_enable=0 | ID | POS[15:8] | POS[7:0] | VEL[11:4] | VEL[3:0] and TOR[11:8] | TOR[7:0] | NTC1 | NTC2 |
mit_aux_enable=1 | ID | POS[15:8] | POS[7:0] | VEL[11:4] | VEL[3:0] and TOR[11:8] | TOR[7:0] | aux[15:8] | aux[7:0] |
Position, velocity, torque, and AUX are packed as bit fields with the high bits first. See the final "Bit-Field Parsing Notes" section.
3. Basic Feedback Parsing
First parse the raw values from data[1..5]:
id_raw = data[0]
pos_raw = (data[1] << 8) | data[2]
vel_raw = (data[3] << 4) | (data[4] >> 4)
tor_raw = ((data[4] & 0x0F) << 8) | data[5]
Then convert raw values back to physical values with linear mapping:
value = raw * (max - min) / ((1 << bits) - 1) + min
The table lists the encoding ranges for standard motors. Use the device's configured values to decode its feedback. Grippers use mm, mm/s, and N. See the Gripper Communication Guide for their ranges.
| Field | Width | Default range |
|---|---|---|
POS | 16 bit | [-max_pos, max_pos], default [-12.5, 12.5] rad |
VEL | 12 bit | [-max_vel, max_vel], default [-45.0, 45.0] rad/s |
TOR | 12 bit | [-max_tor, max_tor], default value depends on the motor model |
Common parsing formulas:
position_rad = uint_to_float(pos_raw, -max_pos, max_pos, 16)
velocity_rad_s = uint_to_float(vel_raw, -max_vel, max_vel, 12)
torque_Nm = uint_to_float(tor_raw, -max_tor, max_tor, 12)
4. AUX Polling Reply Parsing
mit_aux_enable controls the last two bytes of the MIT reply:
mit_aux_enable = 0 -> temperature reply: data[6]=NTC1, data[7]=NTC2, both 8-bit encoded
mit_aux_enable = 1 -> AUX polling: data[6..7] carry aux_id + payload
Use mit_aux_enable=1 to enable AUX replies, or 0 to restore temperature replies. Check the register map matching the device for the address, data type, and access permissions. The 1.5 series also accepts special frames 0xE0 / 0xE1, as described in section 5.2.
When enabled, data[6..7] is parsed as one 16-bit AUX field:
aux = (data[6] << 8) | data[7]
aux_id = (aux >> 12) & 0x0F
payload = aux & 0x0FFF
Equivalent split:
aux_id = data[6] >> 4
payload = ((data[6] & 0x0F) << 8) | data[7]
Read aux_id in each frame and use its decoding rule for payload to support both cycle lengths.
5. AUX Polling Order and Rate
5.1 Older 11-item AUX format
This section covers devices in other software series that use the 11-item AUX format. Check the device's software series and configuration version first.
- Check the register map matching the device, then set
mit_aux_enable=1using the address, type, and access permissions specified there. Use0for temperature replies instead. - Send MIT control frames to the device. A reply is triggered by a received control frame; enabling AUX alone does not start periodic replies. Receive the 8-byte reply on the configured
master_id. - With AUX enabled, decode
data[6..7]asaux = (data[6] << 8) | data[7],aux_id = (aux >> 12) & 0x0F, andpayload = aux & 0x0FFF. With AUX disabled, these bytes are the two temperature values described in section 8.
Firmware using the 11-item format sends heartbeat 0xF after 0x9 and then starts the next cycle.
0x0 → 0x1 → 0x2 → 0x3 → 0x4 → 0x5 → 0x6 → 0x7 → 0x8 → 0x9 → 0xF → 0x0
Each cycle contains 10 feedback items and one heartbeat. Each item updates at approximately the motor's MIT reply rate divided by 11.
| MIT reply rate | Single item rate |
|---|---|
| 1000 Hz | 90.9 Hz |
| 500 Hz | 45.5 Hz |
| 100 Hz | 9.1 Hz |
Decode AUX items as described in section 6 and read position from the basic POS field in section 3. 0xF carries a wrapping 12-bit count. The increment between heartbeats depends on the device firmware.
5.2 16-item polling in the 1.5 series (configuration 1.5)
When AUX is enabled, each cycle sends all 16 items, including encoder positions at 0xA/0xB and the three phase currents at 0xC/0xD/0xE. The AUX switch controls the entire cycle, including the phase-current items.
Enable and receive replies
- Enable AUX through the special frames below or register
0x6D. The switch resets to0at power-on, when restoring defaults, or when reloading configuration. Saving the configuration preserves the current switch value in RAM. 1.5 Register Map - Send MIT control frames. A reply is triggered by a received control frame; enabling AUX alone does not start periodic replies. Receive the 8-byte reply on the configured
master_id. - With AUX enabled, decode
data[6..7]asaux = (data[6] << 8) | data[7],aux_id = (aux >> 12) & 0x0F, andpayload = aux & 0x0FFF. With AUX disabled, these bytes carry NTC1 and NTC2 temperatures as described in section 8.
AUX switch and query commands
Send these eight-byte frames to the motor's can_id in MIT mode (mit_mode=1).
| Operation | Data |
|---|---|
| Enable AUX | FF FF FF FF FF FF FF E0 |
| Disable AUX and restore temperature replies | FF FF FF FF FF FF FF E1 |
| Query current switch states | FF FF FF FF FF FF FF E8 |
All three commands are available at runtime. 0xE0 / 0xE1 change the AUX switch immediately without scheduling a Flash save. These commands do not start periodic feedback, advance the AUX item or heartbeat counter, or refresh the CAN control timeout. Continue sending normal MIT control frames afterward.
The acknowledgment uses CAN ID 0x7D0 | can_id and is 8 bytes long. For node 1, the request CAN ID is 0x001 and the acknowledgment CAN ID is 0x7D1.
| Bytes | Meaning |
|---|---|
data[0] | Fixed marker 0xA5 |
data[1] | Switch flags: bit 0 AUX, bit 1 winding temperature observer, bit 2 field weakening, bit 3 aging test enabled; bit 6 configuration save pending, bit 7 last save failed; bits 4 and 5 are 0 |
data[2] | Echoed request opcode 0xE0, 0xE1, or 0xE8 |
data[3] | These three commands return 0, indicating that the request was handled |
data[4..7] | aging_test_status, unsigned 32-bit, little-endian |
Read data[1] & 0x01 in the acknowledgment for the current AUX state. Regular MIT feedback still arrives on master_id. Full special frames and save status
You can also switch AUX through runtime register 0x6D using type=1 (bool). For node 1, send REG_WRITE with CAN ID 0x181 and DLC 8:
| Operation | Data |
|---|---|
| Enable AUX | 6D 01 00 00 01 00 00 00 |
| Disable AUX | 6D 01 00 00 00 00 00 00 |
Decode register acknowledgments using the Register Communication Protocol.
Polling order and heartbeat
Each cycle sends aux_id values from 0x0 to 0xF, with one item per reply. Invalid data still occupies its assigned slot.
Disabling and enabling AUX does not reset the cycle position or heartbeat counter. Identify each frame by aux_id; do not assume that the first item after enabling is 0x0.
0x0 → 0x1 → 0x2 → 0x3 → 0x4 → 0x5 → 0x6 → 0x7 → 0x8 → 0x9 → 0xA → 0xB → 0xC → 0xD → 0xE → 0xF → 0x0
Each item updates at the motor's MIT reply rate divided by 16.
| MIT reply rate | Single item rate |
|---|---|
| 1000 Hz | 62.5 Hz |
| 500 Hz | 31.25 Hz |
| 100 Hz | 6.25 Hz |
The heartbeat counter advances with each AUX reply and wraps at 12 bits. When receiving consecutive 0xF items from the same motor, delta = (current - previous) & 0xFFF is 16 in decimal (0x10).
Additional position items 0xA and 0xB
aux_id | Position source | Range | Validity requirements |
|---|---|---|---|
0xA | ENCI position derived from the input encoder | [-max_pos, max_pos] rad at the output shaft for standard motors, 0..90 mm of displacement for grippers | Valid ENCI calibration and no encoder errors |
0xB | ENCO position measured by the output encoder | [-max_pos, max_pos] rad at the output shaft for standard motors | Standard motor with an AC4754 output encoder, valid ENCO calibration, and a successful sample no more than 30 ms old |
Valid position payloads range from 0x000 to 0xFFE, or 0..4094 in decimal. Position resolution is the range span divided by 4094. An unmet validity requirement, a non-finite position, or an invalid range returns 0xFFF. Grippers still send 0xB with a fixed payload of 0xFFF.
Standard motors 0xA / 0xB position_rad = payload × (2 × max_pos) / 4094 − max_pos
Grippers 0xA position_mm = payload × 90 / 4094
If the final two bytes are A7 FF, then aux_id=0xA and payload=0x7FF=2047. This decodes to 0 rad for a standard motor or 45 mm for a gripper.
Phase currents 0xC, 0xD, and 0xE
aux_id | Data | payload decoding | Encoding range | Resolution |
|---|---|---|---|---|
0xC | Instantaneous phase A current | current_A = payload / 10.0 - 200.0 | −200.0 to +200.0 A | 0.1 A |
0xD | Instantaneous phase B current | current_A = payload / 10.0 - 200.0 | −200.0 to +200.0 A | 0.1 A |
0xE | Instantaneous phase C current | current_A = payload / 10.0 - 200.0 | −200.0 to +200.0 A | 0.1 A |
Raw value 0x000 represents −200.0 A, and 0xFA0 represents +200.0 A. Out-of-range values saturate at the endpoints. 0xFFF indicates invalid data. For example, final bytes C7 6C give aux_id=0xC and payload=0x76C (1900 decimal), so the phase A current is 1900 / 10.0 - 200.0 = −10.0 A.
Standard motors and grippers both send these items. Each reply carries the latest instantaneous sample for one phase, so the three items arrive at different times. Use synchronized samples to calculate the sum of the three phase currents at a single instant. Bus current, q-axis current, and d-axis current retain their ±150 A range in section 6.
States, validity, and configuration
0x2returns0xFFFwhen the winding temperature observer is disabled or has yet to initialize.0x9is the ratio of the reference voltage magnitude to the available voltagev_bus / √3. It returns0xFFFwhen the available voltage is at most0.1 V.0x7uses the layout in section 7. Bits 0–3 can also return decimal11(BACKLASH),12(AGING), or13(FACTORY), depending on the device and firmware. Gripper firmware reports bit 6 as 0. On standard motors, use the0xBpayload to determine whether ENCO position is valid.- On standard motors,
TORcarries q-axis current in A in current test mode, while its encoding range remains[-max_tor, max_tor]. During backlash testing, the three basic fields carry the single-turn ENCI position, single-turn ENCO position, and their position difference, all in rad. - A write to the
can_idregister leavesmaster_idat its current value. Receive replies on the actual configuredmaster_id; see the 1.5 Register Map.
6. AUX Data Parsing
Both formats use the 11 items below. Section 5.2 covers encoder positions 0xA/0xB and phase currents 0xC/0xD/0xE in the 1.5 series.
aux_id | Data | payload parsing | Communication range | Resolution |
|---|---|---|---|---|
0x0 | NTC1 temperature | temp_C = payload / 10.0 - 30.0 | -30.0..150.0 °C | 0.1 °C |
0x1 | NTC2 temperature | temp_C = payload / 10.0 - 30.0 | -30.0..150.0 °C | 0.1 °C |
0x2 | Estimated winding temperature | temp_C = payload / 10.0 - 30.0 | -30.0..150.0 °C | 0.1 °C |
0x3 | Bus voltage v_bus | v_bus = payload / 10.0 | 0.0..100.0 V | 0.1 V |
0x4 | Estimated bus current | current_A = payload / 10.0 - 150.0 | -150.0..150.0 A | 0.1 A |
0x5 | Filtered q-axis current | current_A = payload / 10.0 - 150.0 | -150.0..150.0 A | 0.1 A |
0x6 | Filtered d-axis current | current_A = payload / 10.0 - 150.0 | -150.0..150.0 A | 0.1 A |
0x7 | Program state and runtime flags | See section 7 for bit definitions | 0x000..0xFFF | bit field |
0x8 | Thermal derating coefficient | coeff = payload / 1000.0 | 0.000..1.000 | 0.001 |
0x9 | Voltage utilization | util = payload / 1000.0 | 0.000..2.000 | 0.001 |
0xF | Heartbeat counter | heartbeat = payload | 0..4095, wraps | 1 |
For numeric measurements and coefficients, payload=0xFFF indicates invalid or unavailable data. Decode status word 0x7 as a bit field. For heartbeat 0xF, 0xFFF is a valid count. Values outside the encoding ranges in the table are clipped to the nearest endpoint.
Conversion Examples
Use the valid payload as an unsigned integer in the matching formula. Physical values are calculated in decimal.
Temperature data includes aux_id=0x0, 0x1, and 0x2:
payload = 0x02BC = 700
temp_C = 700 / 10.0 - 30.0 = 40.0 C
Voltage data uses aux_id=0x3:
payload = 0x0F0 = 240
v_bus = 240 / 10.0 = 24.0 V
Current data includes aux_id=0x4, 0x5, and 0x6:
payload = 0x05DC = 1500
current_A = 1500 / 10.0 - 150.0 = 0.0 A
Coefficient data includes aux_id=0x8 and 0x9:
payload = 0x02EE = 750
coeff = 750 / 1000.0 = 0.750
util = 750 / 1000.0 = 0.750
7. Status Word 0x7
When aux_id=0x7, payload is a status word:
bit0..3 FSM state
bit4 FOC armed
bit5 ENCI calib_valid
bit6 ENCO calib_valid
bit7 field_weaken_mode
bit8 mit_mode
bit9..11 control_mode
bit6 indicates ENCO calibration status. The list below shows the decimal FSM state values shared by both formats. See section 5.2 for the 1.5-series test states.
0 STARTUP
1 MENU
2 MOTOR
3 ENCI_AUTO
4 ENCI
5 ENCO
6 ENCI_SLS_AUTO
7 SETUP
8 ERROR
9 OPEN
10 SLS
8. Default Protocol Temperature Parsing
When mit_aux_enable=0, data[6] and data[7] are not an AUX field. They are two 8-bit temperature values:
ntc1_C = data[6] * 180.0 / 255.0 - 30.0
ntc2_C = data[7] * 180.0 / 255.0 - 30.0
In this mode, the MIT reply directly provides only NTC1 and NTC2 temperatures. Other AUX data requires mit_aux_enable to be enabled.
9. Parsing Example
Assume this reply is received:
11#017FFF7FF7FF30F0
CAN ID 0x11 is master_id, and the data bytes are:
data[0] = 0x01
data[1] = 0x7F
data[2] = 0xFF
data[3] = 0x7F
data[4] = 0xF7
data[5] = 0xFF
data[6] = 0x30
data[7] = 0xF0
The basic raw feedback values are:
pos_raw = 0x7FFF
vel_raw = 0x7FF
tor_raw = 0x7FF
If mit_aux_enable=1, the last two bytes parse as:
aux_id = 0x3
payload = 0x0F0
aux_id=0x3 means bus voltage, so:
v_bus = 0x0F0 / 10.0 = 24.0 V
10. Bit-Field Parsing Notes
POS, VEL, TOR, and aux in MIT reply frames are packed as bit fields with high bits first. Restore raw values with shifts and masks.
For example, when data[6]=0x30 and data[7]=0xF0:
aux = (0x30 << 8) | 0xF0 = 0x30F0
aux_id = (0x30F0 >> 12) & 0x0F = 0x3
payload = 0x30F0 & 0x0FFF = 0x0F0
Then parse payload with the formula for the corresponding aux_id to get the physical value or status field.