|
|
@ -6,15 +6,24 @@ public enum CmdId { |
|
|
|
board_reset(0x0000, "复位板子"),// |
|
|
|
event_bus_reg_change_report(0x0064, "寄存器修改事件"),// |
|
|
|
// |
|
|
|
module_ping(0x0100, "MODULE_PING"),// |
|
|
|
module_get_status(0x0104, "读取模块状态"),// |
|
|
|
module_stop(0x0101, "模块停止"),// |
|
|
|
module_set_reg(0x0105, "写入寄存器"),// |
|
|
|
module_get_reg(0x0106, "获取寄存器"),// |
|
|
|
module_reset_reg(0x0107, "复位寄存器"),// |
|
|
|
module_get_error(0x010a, "读取模块错误"),// |
|
|
|
module_clear_error(0x010b, "清除模块错误"),// |
|
|
|
module_active_cfg(0x0110, "激活配置"),// |
|
|
|
|
|
|
|
module_ping(0x0101, "MODULE_PING"), |
|
|
|
module_stop(0x0102, "MODULE_STOP"), |
|
|
|
|
|
|
|
module_get_error(0x0110, "MODULE_GET_ERROR"), |
|
|
|
module_get_detail_error(0x0111, "MODULE_GET_DETAIL_ERROR"), |
|
|
|
module_clear_error(0x0112, "MODULE_CLEAR_ERROR"), |
|
|
|
|
|
|
|
module_set_reg(0x0120, "MODULE_SET_REG"), |
|
|
|
module_get_reg(0x0121, "MODULE_GET_REG"), |
|
|
|
module_reset_reg(0x0123, "MODULE_RESET_REG"), |
|
|
|
|
|
|
|
module_get_version(0x0130, "MODULE_GET_VERSION"), |
|
|
|
module_get_type(0x0131, "MODULE_GET_TYPE"), |
|
|
|
module_get_status(0x0132, "MODULE_GET_STATUS"), |
|
|
|
|
|
|
|
|
|
|
|
// module_active_cfg(0x0110, "激活配置"),// |
|
|
|
// |
|
|
|
xymotor_enable(0x0301, "XYMOTOR_ENABLE"),// |
|
|
|
xymotor_move_by(0x0302, "XYMOTOR_MOVE_BY"),// |
|
|
|