mrDarker
2025-06-17 58b5bb07de4bcbf670db5ad79ff8b9bd7afc1e28
SourceCode/Bond/Servo/ServoCommo.h
@@ -5,6 +5,8 @@
#define BLOCK_BUFFER_MAX         1024
#define ALIVE_TIMEOUT            15
#define VCR_MAX                  1
#define PATH_MAX               8
#define SIGNAL_MAX               8
#define ARM_ALL                  99
   enum class PortType {
@@ -27,9 +29,9 @@
   };
   enum class MaterialsType {
      G1 = 0,
      G2 = 1,
      G1G2 = 2
      G1 = 1,
      G2 = 2,
      G1G2 = 3
   };
   typedef MaterialsType CassetteType;
@@ -108,9 +110,48 @@
   enum class ROBOT_TASK_STATE {
      Ready = 0,
      Running,
      Picking,
      Placing,
      Restoring,
      Error,
      Abort,
      Completed
   };
   enum class ROBOT_STATUS {
      Setup = 0,
      Idle,
      Run,
      Pause,
      Stop,
      Moving,
   };
   enum class ROBOT_POSITION {
      Port1 = 0,
      Port2,
      Port3,
      Port4,
      Aligner,
      Fliper,
      Bonder1,
      Bonder2,
      Bake,
      Cooling,
      Measurement
   };
   /* Indexer Monitoring Status */
   /* Robot Monitoring Data */
   typedef struct _ROBOT_MONITORING_DATA {
      ROBOT_STATUS status;
      ROBOT_POSITION position;
      BOOL armState[2];
   } ROBOT_MONITORING_DATA, RMDATA;
   /* EQ Data changed code */
#define EDCC_FETCHOUT_JOB            1000   /* ȡƬ */
#define EDCC_STORED_JOB               1001   /* 放片 */
}