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.
 
 
 
 
 
 

30 regels
845 B

  1. #ifndef PLSR_SELF_TEST_H
  2. #define PLSR_SELF_TEST_H
  3. #include "plsr_types.h"
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. /* 上电自测:Q0(A)/Q1(B) 输出三段 AB 正交周期,末段反向。
  8. * 用于 P3b-2 上板验证,验证完成后应关闭。 */
  9. PLSR_RESULT PlsrSelfTestQueue(void);
  10. /* P4-2 当量换算上板自测:Q0=PULSE、Y4=DIR,两段各1工程单位;
  11. * 3脉冲/2单位比例下应依次输出1、2个脉冲。 */
  12. PLSR_RESULT PlsrEquivalentSelfTestQueue(void);
  13. /* P5 protection-chain board test: Q0=PULSE, Q4=DIR. The commanded
  14. * distance is deliberately longer than the +500-pulse soft limit. */
  15. PLSR_RESULT PlsrProtectionSelfTestQueue(void);
  16. /* P6 board test: start four independent PULSE/DIR axes together. */
  17. PLSR_RESULT PlsrFourAxisSelfTestQueue(void);
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif /* PLSR_SELF_TEST_H */