YingXingAction.c 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #include "global.h"
  2. #include "Action.h"
  3. #if FJ_YING_XING_MACHINE
  4. //初始化动作
  5. void YX_Mechine_InitAction(void)
  6. {
  7. switch(cMachineType)
  8. {
  9. case JIAO_YA_DIN_CUN:
  10. break;
  11. case CHU_CHI_JI:
  12. break;
  13. case JIAO_YA_CHU_CHI:
  14. break;
  15. case QIE_DUAN_JI:
  16. break;
  17. case CHUAN_TOU_QIE_DUAN_JI:
  18. break;
  19. case MXC_NILONG:
  20. break;
  21. case JIN_SHU_DIN_CUN:
  22. break;
  23. case CHUAN_TOU_JI:
  24. break;
  25. case JIN_SHU_KLSZ_JI:
  26. break;
  27. case HE_LIAN_JI:
  28. break;
  29. case TIE_BU_JI:
  30. break;
  31. case FANG_KUAI_CHA_XIAO_JI:
  32. break;
  33. case GONG_ZHI_MA:
  34. break;
  35. case CHUANTOU_HELIAN_JI: //穿头合链机
  36. XY_CTHL_InitAction();
  37. break;
  38. case TW0_CHUANTOU_HELIAN_JI: //双电机穿头合链
  39. YX_CTHL_InitAction();
  40. break;
  41. default:
  42. break;
  43. }
  44. }
  45. void YX_Mechine_Action(void)
  46. {
  47. switch(cMachineType)
  48. {
  49. case CHUANTOU_HELIAN_JI: //穿头合链机
  50. XY_CTHL_Action();
  51. break;
  52. case TW0_CHUANTOU_HELIAN_JI: //双电机穿头合链
  53. YX_CTHL_Action();
  54. break;
  55. }
  56. }
  57. #endif