Skip to content

0.2

Version and Features

This map covers software series 0.2.x and configuration version 0.2. The reference firmware is 0.2.2.

Main features: CAN access to motor, encoder, calibration/test, control, protection, and MIT parameters.

See the Motor Register Communication Protocol for CAN read/write commands, frame formats, status codes, and little-endian decoding.

  • type=0: int32_t; type=1: bool; type=2: IEEE754 single-precision float; type=4: version number.
  • Access level 0: runtime read/write; 1: writable only in menu or error state; 2: system communication parameter, writable only in menu or error state; 3: read-only.
  • A write operation only changes RAM. Send REG_SAVE after a successful write to retain the value across power cycles.
  • current_test_enable and mit_aux_enable are runtime switches and are not written to Flash. REG_SAVE stores them as 0 without changing their current RAM state; they return to 0 after power-up or configuration reload.
  • A full ENCO build exposes 52 registers. Addresses 0x13, 0x15, 0x17, and 0x18 exist only when USE_ENC2=1; a build without ENCO exposes 48 registers. Query REG_INFO for the actual count.
  • The communication layer primarily validates the address, data type, and write state; it does not enforce a common business range for every numeric value. Confirm the target motor model and parameter requirements before changing protection thresholds, limits, or control gains.

A — in Factory Default means this page provides no confirmed default. Use the actual motor model and device configuration; do not interpret it as 0.

Standard Motor Registers

Category Address Parameter Type Data Type Access Factory Default Description
Motor 0x01 motor_pole_pairs 0 int32_t 1 menu/error writable — Motor pole pairs
Motor 0x02 motor_phase_resistance 2 float 1 menu/error writable — Phase resistance, in ohm
Motor 0x03 motor_phase_inductance 2 float 1 menu/error writable — Phase inductance, in H
Motor 0x04 inertia 2 float 1 menu/error writable — Controller feedforward inertia parameter
Motor 0x05 reduction_ratio 2 float 3 read-only — Reduction ratio from the build configuration
Encoder 0x10 encoder_dir_rev 0 int32_t 1 menu/error writable — ENCI direction-reversal flag, 0/1
Encoder 0x11 encoder_offset 0 int32_t 1 menu/error writable — ENCI electrical-angle offset, normally written by calibration
Encoder 0x12 calib_valid 0 int32_t 3 read-only — ENCI calibration-valid flag
Encoder 0x13 enco_calib_valid 0 int32_t 3 read-only — ENCO calibration-valid flag; available only when USE_ENC2=1
Encoder 0x14 usr_enc1_offset 0 int32_t 3 read-only — ENCI user zero position, normally written by the zero-setting procedure
Encoder 0x15 usr_enc2_offset 2 float 3 read-only — ENCO user zero position; available only when USE_ENC2=1
Encoder 0x17 enco_dir 0 int32_t 1 menu/error writable — ENCO direction configuration, 0/1; available only when USE_ENC2=1
Encoder 0x18 enco_offset 2 float 1 menu/error writable — ENCO raw offset; available only when USE_ENC2=1
Calibration/Test 0x20 calib_current 2 float 0 runtime read/write — Calibration current, in A
Calibration/Test 0x21 calib_max_voltage 2 float 0 runtime read/write — Maximum calibration voltage, in V
Calibration/Test 0x22 current_test_enable 1 bool 0 runtime read/write 0 Current-test switch; not saved to Flash
Control 0x30 control_mode 0 int32_t 0 runtime read/write — 0 current, 1 current ramp, 2 velocity, 3 velocity ramp, 4 position, 5 trapezoidal position
Control 0x31 pos_gain 2 float 0 runtime read/write — Position-loop proportional gain
Control 0x32 vel_gain 2 float 0 runtime read/write — Velocity-loop proportional gain
Control 0x33 vel_integrator_gain 2 float 0 runtime read/write — Velocity-loop integral gain
Control 0x34 vel_limit 2 float 0 runtime read/write — Velocity limit, in turn/s
Control 0x35 current_limit 2 float 0 runtime read/write — q-axis current limit, in A
Control 0x36 torquet_limit 2 float 0 runtime read/write — MIT/torque-control torque limit; parameter spelling follows the source code
Control 0x37 current_ramp_rate 2 float 0 runtime read/write — Current ramp rate, in A/s
Control 0x38 vel_ramp_rate 2 float 0 runtime read/write — Velocity ramp rate, in turn/s²
Control 0x39 traj_vel 2 float 0 runtime read/write — Trapezoidal-trajectory target velocity, in turn/s
Control 0x3A traj_accel 2 float 0 runtime read/write — Trapezoidal-trajectory acceleration, in turn/s²
Control 0x3B traj_decel 2 float 0 runtime read/write — Trapezoidal-trajectory deceleration, in turn/s²
Control 0x3C field_weaken_mode 1 bool 0 runtime read/write — Field-weakening switch, 0 off and non-zero on
Current Loop 0x40 current_ctrl_p_gain 2 float 1 menu/error writable — Current-loop P gain
Current Loop 0x41 current_ctrl_i_gain 2 float 1 menu/error writable — Current-loop I gain
Current Loop 0x42 current_ctrl_bandwidth 0 int32_t 1 menu/error writable — Current-loop bandwidth parameter
Protection 0x50 protect_under_voltage 2 float 0 runtime read/write — Bus undervoltage protection threshold, in V
Protection 0x51 protect_over_voltage 2 float 0 runtime read/write — Bus overvoltage protection threshold, in V
Protection 0x52 protect_over_speed 2 float 0 runtime read/write — Overspeed protection threshold, in turn/s
Protection 0x53 protect_temperature_low 2 float 0 runtime read/write — Motor thermal-derating start temperature, in °C
Protection 0x54 protect_temperature_high 2 float 0 runtime read/write — Motor overtemperature shutdown threshold, in °C
Protection 0x55 protect_i_abc_error 2 float 0 runtime read/write — Three-phase current-sum fault threshold, in A
CAN 0x60 can_id 0 int32_t 2 system communication parameter — Motor node ID; restart or reinitialize CAN after changing and saving it
CAN 0x61 master_id 0 int32_t 2 system communication parameter can_id \| 0x10 MIT reply CAN ID, normally can_id \| 0x10 by default
CAN 0x62 sync_boot_id_flag 1 bool 2 system communication parameter — Boot-ID synchronization switch
CAN 0x63 can_timeout_ms 0 int32_t 0 runtime read/write — CAN control timeout in ms; 0 disables timeout protection
CAN 0x64 can_sync_target_enable 1 bool 0 runtime read/write — CAN synchronized-target enable switch
CAN 0x65 can_mode_switch 1 bool 0 runtime read/write — CAN mode-switch flag
MIT 0x66 mit_mode 1 bool 1 menu/error writable — MIT protocol-mode switch
MIT 0x67 max_pos 2 float 0 runtime read/write — MIT position mapping range [-max_pos, +max_pos], in rad
MIT 0x68 max_vel 2 float 0 runtime read/write — MIT velocity mapping range [-max_vel, +max_vel], in rad/s
MIT 0x69 max_tor 2 float 0 runtime read/write — MIT torque mapping range [-max_tor, +max_tor]
MIT 0x6A kp_max 2 float 0 runtime read/write — MIT kp mapping range [0, kp_max]
MIT 0x6B kd_max 2 float 0 runtime read/write — MIT kd mapping range [0, kd_max]
MIT 0x6D mit_aux_enable 1 bool 0 runtime read/write 0 MIT AUX polling-telemetry switch; not saved to Flash
Version 0x7C config_version 4 version 3 read-only 0.2 Configuration-layout version, currently 0.2

Gripper Registers

No gripper information available.