From 8ffc831c6bf37a73961e22efc145be4e8c8f1241 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期四, 19 六月 2025 10:05:07 +0800
Subject: [PATCH] Merge branch 'clh' into liuyang
---
SourceCode/Bond/Servo/ServoCommo.h | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 56 insertions(+), 3 deletions(-)
diff --git a/SourceCode/Bond/Servo/ServoCommo.h b/SourceCode/Bond/Servo/ServoCommo.h
index 5cfc30d..979aabc 100644
--- a/SourceCode/Bond/Servo/ServoCommo.h
+++ b/SourceCode/Bond/Servo/ServoCommo.h
@@ -5,7 +5,14 @@
#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 RET {
+ OK = 1,
+ NG,
+ };
enum class PortType {
Loading = 1,
@@ -27,9 +34,9 @@
};
enum class MaterialsType {
- G1 = 0,
- G2 = 1,
- G1G2 = 2
+ G1 = 1,
+ G2 = 2,
+ G1G2 = 3
};
typedef MaterialsType CassetteType;
@@ -108,9 +115,55 @@
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;
+
+ /* 工艺(加工处理)状态 */
+ enum class PROCESS_STATE {
+ Ready = 0,
+ Processing,
+ Complete,
+ Error
+ };
+
+ /* EQ Data changed code */
+#define EDCC_FETCHOUT_JOB 1000 /* 取片 */
+#define EDCC_STORED_JOB 1001 /* 放片 */
}
--
Gitblit v1.9.3