LAPTOP-SNT8I5JK\Boounion
2025-03-29 57056db746cec1ad5c0cc5dad93b8f3474d2562d
SourceCode/Bond/Servo/Common.h
@@ -104,6 +104,57 @@
#define STEP_EQ_PORT4_TRANSFER_MODE      _T("EQPort4TransferMode")
#define STEP_EQ_PORT4_ENABLE         _T("EQPort4Enable")
#define STEP_EQ_PORT4_TYPE_ATUO         _T("EQPort4TypeAuto")
#define STEP_EQ_P1_CASSETTE_EMPTY      _T("EQPort1CassetteEmpty")
#define STEP_EQ_P1_CASSETTE_LOAD_EADY   _T("EQPort1CassetteLoadReady")
#define STEP_EQ_P1_CASSETTE_LOADED      _T("EQPort1CassetteLoaded")
#define STEP_EQ_P1_CASSETTE_INUSE      _T("EQPort1CassetteInUse")
#define STEP_EQ_P1_CASSETTE_UNLOAD_EADY   _T("EQPort1CassetteUnloadReady")
#define STEP_EQ_P1_CASSETTE_BLOCKED      _T("EQPort1CassetteBlocked")
#define STEP_EQ_P2_CASSETTE_EMPTY      _T("EQPort2CassetteEmpty")
#define STEP_EQ_P2_CASSETTE_LOAD_EADY   _T("EQPort2CassetteLoadReady")
#define STEP_EQ_P2_CASSETTE_LOADED      _T("EQPort2CassetteLoaded")
#define STEP_EQ_P2_CASSETTE_INUSE      _T("EQPort2CassetteInUse")
#define STEP_EQ_P2_CASSETTE_UNLOAD_EADY   _T("EQPort2CassetteUnloadReady")
#define STEP_EQ_P2_CASSETTE_BLOCKED      _T("EQPort2CassetteBlocked")
#define STEP_EQ_P3_CASSETTE_EMPTY      _T("EQPort3CassetteEmpty")
#define STEP_EQ_P3_CASSETTE_LOAD_EADY   _T("EQPort3CassetteLoadReady")
#define STEP_EQ_P3_CASSETTE_LOADED      _T("EQPort3CassetteLoaded")
#define STEP_EQ_P3_CASSETTE_INUSE      _T("EQPort3CassetteInUse")
#define STEP_EQ_P3_CASSETTE_UNLOAD_EADY   _T("EQPort3CassetteUnloadReady")
#define STEP_EQ_P3_CASSETTE_BLOCKED      _T("EQPort3CassetteBlocked")
#define STEP_EQ_P4_CASSETTE_EMPTY      _T("EQPort4CassetteEmpty")
#define STEP_EQ_P4_CASSETTE_LOAD_EADY   _T("EQPort4CassetteLoadReady")
#define STEP_EQ_P4_CASSETTE_LOADED      _T("EQPort4CassetteLoaded")
#define STEP_EQ_P4_CASSETTE_INUSE      _T("EQPort4CassetteInUse")
#define STEP_EQ_P4_CASSETTE_UNLOAD_EADY   _T("EQPort4CassetteUnloadReady")
#define STEP_EQ_P4_CASSETTE_BLOCKED      _T("EQPort4CassetteBlocked")
/* Step ID */
#define STEP_ID_PORT1_CASSETTIE_EMPTY         0x418
#define STEP_ID_PORT1_CASSETTIE_LOAD_READY      0x420
#define STEP_ID_PORT1_CASSETTIE_LOADED         0x428
#define STEP_ID_PORT1_CASSETTIE_INUSE         0x430
#define STEP_ID_PORT1_CASSETTIE_UNLOAD_READY   0x438
#define STEP_ID_PORT1_CASSETTIE_BLOCKED         0x440
#define STEP_ID_PORT2_CASSETTIE_EMPTY         0x419
#define STEP_ID_PORT2_CASSETTIE_LOAD_READY      0x421
#define STEP_ID_PORT2_CASSETTIE_LOADED         0x429
#define STEP_ID_PORT2_CASSETTIE_INUSE         0x431
#define STEP_ID_PORT2_CASSETTIE_UNLOAD_READY   0x439
#define STEP_ID_PORT2_CASSETTIE_BLOCKED         0x441
#define STEP_ID_PORT3_CASSETTIE_EMPTY         0x41a
#define STEP_ID_PORT3_CASSETTIE_LOAD_READY      0x422
#define STEP_ID_PORT3_CASSETTIE_LOADED         0x42a
#define STEP_ID_PORT3_CASSETTIE_INUSE         0x432
#define STEP_ID_PORT3_CASSETTIE_UNLOAD_READY   0x43a
#define STEP_ID_PORT3_CASSETTIE_BLOCKED         0x442
#define STEP_ID_PORT4_CASSETTIE_EMPTY         0x41b
#define STEP_ID_PORT4_CASSETTIE_LOAD_READY      0x423
#define STEP_ID_PORT4_CASSETTIE_LOADED         0x42b
#define STEP_ID_PORT4_CASSETTIE_INUSE         0x433
#define STEP_ID_PORT4_CASSETTIE_UNLOAD_READY   0x43b
#define STEP_ID_PORT4_CASSETTIE_BLOCKED         0x443
/* base alarm */
@@ -128,4 +179,43 @@
#define FLOW_TEST               0x1000
#define FLOW_SIGNAL               0x1001
#define FLOW_DATA               0x1002
#define FLOW_MOVE_MATERIAL         0x1003
#define FLOW_MOVE_MATERIAL         0x1003
/* Port Status */
#define PORT_LOAD_READY            1
#define PORT_LOADED               2
#define PORT_INUSE               3
#define PORT_LOAD_COMPLETE         PORT_INUSE
#define PORT_UNLOAD_READY         4
#define PORT_UNLOAD_REQUEST         PORT_RNLOAD_READY
#define PORT_EMPTY               5
#define PORT_UNLOAD_COMPLETE      PORT_EMPTY
#define PORT_BLOCKED            6
/* Loading Cassette Type */
#define PORT_LOADING_CASSETTE_ACTUAL   1
#define PORT_LOADING_CASSETTE_EMPTY      2
/* Q-Time flag */
#define Q_TIME_NORMAL               1
#define Q_TIME_OVER                  2
/* m_nCassetteMappingState */
#define CASSETTE_MAPPING_USE         1
#define CASSETTE_MAPPING_NOT_USE      2
/* Cassette Status */
#define CASSETTE_NO_EXIST            1
#define CASSETTE_WAITING_DATA         2
#define CASSETTE_WAITING_START         3
#define CASSETTE_WAITING_PROCCESSING   4
#define CASSETTE_IN_PROCCESSING         5
#define CASSETTE_PROCCESS_PAUSED      6
#define CASSETTE_PROCCESS_COMPLETED      7