From 77c5de231f003ce1e86caa4bd825de4a554e4a0b Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期六, 21 六月 2025 09:18:23 +0800
Subject: [PATCH] 1. 添加搬运记录的时间戳为0插入空字符串
---
SourceCode/Bond/Servo/ServoCommo.h | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 47 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/ServoCommo.h b/SourceCode/Bond/Servo/ServoCommo.h
index 6e70ac3..c8b3ae1 100644
--- a/SourceCode/Bond/Servo/ServoCommo.h
+++ b/SourceCode/Bond/Servo/ServoCommo.h
@@ -9,6 +9,12 @@
#define SIGNAL_MAX 8
#define ARM_ALL 99
+ enum class RET {
+ OK = 1,
+ NG,
+ };
+ typedef RET JobDataRequestAck;
+
enum class PortType {
Loading = 1,
Unloading,
@@ -111,13 +117,54 @@
Ready = 0,
Running,
Picking,
+ Picked,
Placing,
Restoring,
Error,
Abort,
+ Restored,
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