You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

118 lines
3.6 KiB

2 years ago
2 years ago
2 years ago
2 years ago
  1. ```
  2. ----------------------------------------
  3. ���̳�ʼ��:
  4. git submodule update --init --recursive
  5. ```
  6. ```
  7. # ����ָ��
  8. a8000_optical_close_laser (mid,type)
  9. a8000_optical_module_power_ctrl (mid,state)
  10. a8000_optical_open_laser (mid,type)
  11. a8000_optical_read_laster_adc_val (type,mid)
  12. a8000_optical_read_scanner_adc_val (type,mid)
  13. a8000_optical_scan_current_point_amp_adc_val (type,mid,lastergain,ampgain)
  14. a8000_optical_set_laster_gain (type,mid,gain)
  15. a8000_optical_set_scan_amp_gain (type,mid,gain)
  16. app_dump_reg (mid,regindex)
  17. app_dump_regs (mid)
  18. app_module_read_raw_str (mid,size)
  19. app_scanmodule ()
  20. app_wait_for_module (mid,timeout)
  21. blower_set_val (bool on)
  22. dumpreg (mid)
  23. line_locking_solenoid_valve (bool on)
  24. module_active_cfg (mid)
  25. module_break (mid)
  26. module_clear_error (mid)
  27. module_enable (mid, enable)
  28. module_factory_reset (mid)
  29. module_flush_cfg (mid)
  30. module_get_error (mid)
  31. module_get_inited_flag (mid)
  32. module_get_last_exec_status (mid)
  33. module_get_reg (mid, param_id)
  34. module_get_status (mid)
  35. module_ping (mid)
  36. module_read_adc (mid,adc_id, adcindex)
  37. module_read_raw (mid, startindex)
  38. module_readio (mid)
  39. module_set_inited_flag (mid, flag)
  40. module_set_reg (mid, param_id, param_value)
  41. module_start (mid)
  42. module_stop (mid)
  43. module_writeio (mid,ioindex,io)
  44. motor_calculated_pos_by_move_to_zero (mid)
  45. motor_easy_move_by (mid, distance)
  46. motor_easy_move_to (mid, position)
  47. motor_easy_move_to_io (mid, ioindex, direction)
  48. motor_easy_move_to_zero (mid, direction)
  49. motor_easy_rotate (mid, direction)
  50. motor_easy_set_current_pos (mid, pos)
  51. motor_enable (mid, enable)
  52. motor_move_by (mid, distance, motor_velocity, acc)
  53. motor_move_by_acctime (mid, distance, motor_velocity, acctime)
  54. motor_move_to (mid, position, motor_velocity, acc)
  55. motor_move_to_acctime (mid, position, motor_velocity, acctime)
  56. motor_move_to_torque (mid, pos, torque, overtime)
  57. motor_move_to_zero_backward (mid, findzerospeed, findzeroedge_speed, acc, overtime)
  58. motor_move_to_zero_backward_and_calculated_shift (mid, findzerospeed, findzeroedge_speed, acc, overtime)
  59. motor_move_to_zero_forward (mid, findzerospeed, findzeroedge_speed, acc, overtime)
  60. motor_move_to_zero_forward_and_calculated_shift (mid, findzerospeed, findzeroedge_speed, acc, overtime)
  61. motor_read_pos (mid)
  62. motor_rotate (mid, direction, motor_velocity, acc)
  63. motor_rotate_acctime (mid, direction, motor_velocity, acctime)
  64. motor_rotate_with_torque (mid, pos, torque)
  65. motor_set_current_pos_by_change_shift (mid, pos)
  66. pipette_ctrl_init_device (mid)
  67. pipette_ctrl_move_to_ul (mid, ul)
  68. pipette_ctrl_put_tip (mid)
  69. scanmodule ()
  70. sleep_ms (ms)
  71. xymotor_calculated_pos_by_move_to_zero (mid)
  72. xymotor_enable (mid, enable)
  73. xymotor_move_by (mid, dx, dy, motor_velocity)
  74. xymotor_move_to (mid, x, y, motor_velocity)
  75. xymotor_move_to_zero (mid)
  76. xymotor_move_to_zero_and_calculated_shift (mid)
  77. xymotor_read_pos (mid)
  78. # ��������
  79. �����ƶ�: motor_easy_move_to(id,pos)
  80. ����ʹ��: motor_enable(id,enable)
  81. ��ȡλ��: module_get_reg(id,1001)
  82. ����Ť��: module_set_reg(id,1077)
  83. ��ȡŤ��: module_get_reg(id,1077)
  84. # ��������
  85. ��������: motor_easy_move_to_zero(id,-1);
  86. �����ƶ�: motor_easy_move_to(id,pos)
  87. ����ʹ��: motor_enable(id,enable)
  88. ��ȡλ��: module_get_reg(id,1001)
  89. # XY����
  90. ʹ��: xymotor_enable(id,enable)
  91. ����: xymotor_move_to_zero(id)
  92. �ƶ�: xymotor_move_to(id,x,y,velocity)
  93. ͨ��������ȡ��ǰλ��: xymotor_calculated_pos_by_move_to_zero(mid)
  94. # ��������
  95. ����ʹ��: motor_enable(id,enable)
  96. ������ת: motor_easy_rotate (id, 1)
  97. ������ת: motor_easy_rotate (id, -1)
  98. ����ֹͣ: module_stop(id,pos)
  99. # �̵�������
  100. blower_set_val (bool on)
  101. line_locking_solenoid_valve (bool on)
  102. # ��ʱ
  103. sleep_ms (ms)
  104. # �ȴ���������
  105. app_wait_for_module (mid,timeout)
  106. ```