|
@ -28,21 +28,6 @@ typedef enum { |
|
|
kmodule_get_type = 0x0131, |
|
|
kmodule_get_type = 0x0131, |
|
|
kmodule_get_status = 0x0132, |
|
|
kmodule_get_status = 0x0132, |
|
|
|
|
|
|
|
|
// kmodule_ping = 0x0100, //
|
|
|
|
|
|
// kmodule_stop = 0x0101, //
|
|
|
|
|
|
// kmodule_enable = 0x0102, //
|
|
|
|
|
|
// kmodule_clear_error = 0x0103, //
|
|
|
|
|
|
// kmodule_active_cfg = 0x0104, //
|
|
|
|
|
|
// kmodule_reset_reg = 0x0105, //
|
|
|
|
|
|
// kmodule_set_reg = 0x0106, //(int32_t index,int32_t val)->()
|
|
|
|
|
|
// kmodule_get_reg = 0x0107, //(int32_t index)->(int32_t val)
|
|
|
|
|
|
|
|
|
|
|
|
// kmodule_get_version = 0x0150, //()->int32_t
|
|
|
|
|
|
// kmodule_get_type = 0x0151, //()->int32_t
|
|
|
|
|
|
// kmodule_get_status = 0x0153, //{}{int32_t}
|
|
|
|
|
|
// kmodule_get_error = 0x0154, //
|
|
|
|
|
|
// kmodule_get_detail_errorcode = 0x0155, //()->int32_t
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
kxymotor_enable = 0x0301, //
|
|
|
kxymotor_enable = 0x0301, //
|
|
|
kxymotor_move_by = 0x0302, //
|
|
|
kxymotor_move_by = 0x0302, //
|
|
@ -81,6 +66,10 @@ typedef enum { |
|
|
kstep_motor_active_cfg = 0x0229, //
|
|
|
kstep_motor_active_cfg = 0x0229, //
|
|
|
kstep_motor_read_io_state = 0x022a, //
|
|
|
kstep_motor_read_io_state = 0x022a, //
|
|
|
kstep_motor_easy_move_to_end_point = 0x022c, //
|
|
|
kstep_motor_easy_move_to_end_point = 0x022c, //
|
|
|
|
|
|
kstep_motor_move_by = 0x021d, // (dpos,speedlevel)->null speedlevel=0,1,2,3(default,low,mid,high)
|
|
|
|
|
|
kstep_motor_move_to = 0x021e, // (pos,speedlevel)->null speedlevel=0,1,2,3(default,low,mid,high)
|
|
|
|
|
|
kstep_motor_move_to_zero_point_quick = 0x021f, // (speedlevel)->null speedlevel=0,1,2,3(default,low,mid,high)
|
|
|
|
|
|
kstep_motor_rotate = 0x0220, //
|
|
|
kstep_motor_read_tmc5130_status = 0x0232, //
|
|
|
kstep_motor_read_tmc5130_status = 0x0232, //
|
|
|
kstep_motor_read_tmc5130_state = 0x0233, //
|
|
|
kstep_motor_read_tmc5130_state = 0x0233, //
|
|
|
kstep_motor_read_io_index_in_stm32 = 0x0238, //
|
|
|
kstep_motor_read_io_index_in_stm32 = 0x0238, //
|
|
@ -88,6 +77,7 @@ typedef enum { |
|
|
kstep_motor_get_subdevice_reg = 0x023a, //
|
|
|
kstep_motor_get_subdevice_reg = 0x023a, //
|
|
|
kstep_motor_easy_reciprocating_motion = 0x022d, //
|
|
|
kstep_motor_easy_reciprocating_motion = 0x022d, //
|
|
|
kstep_motor_easy_move_to_zero_point_quick = 0x022e, //
|
|
|
kstep_motor_easy_move_to_zero_point_quick = 0x022e, //
|
|
|
|
|
|
|
|
|
kmini_servo_enable = 0x6601, //
|
|
|
kmini_servo_enable = 0x6601, //
|
|
|
kmini_servo_read_pos = 0x6602, //
|
|
|
kmini_servo_read_pos = 0x6602, //
|
|
|
kmini_servo_active_cfg = 0x6603, //
|
|
|
kmini_servo_active_cfg = 0x6603, //
|
|
|