| | |
| | | #pragma once |
| | | |
| | | |
| | | #define TESTMODE 1 |
| | | |
| | | /* Rx Code */ |
| | | #define RX_CODE_TEST 0 |
| | | #define RX_CODE_LOG 1000 |
| | |
| | | #define RX_CODE_SELECT_STEP 1007 |
| | | #define RX_CODE_ALARM_SET 1008 |
| | | #define RX_CODE_ALARM_CLEAR 1009 |
| | | #define RX_CODE_EQ_DATA_CHANGED 1010 |
| | | |
| | | |
| | | /* Channel Name */ |
| | |
| | | #define EQ_ID_VACUUMBAKE 9 |
| | | #define EQ_ID_ALIGNER 10 |
| | | #define EQ_ID_BAKE_COOLING 11 |
| | | #define EQ_ID_ARM 12 |
| | | #define EQ_ID_ARM_TRAY1 13 |
| | | #define EQ_ID_ARM_TRAY2 14 |
| | | #define EQ_ID_OPERATOR_REMOVE 999 |
| | | |
| | | |
| | |
| | | #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") |
| | | #define STEP_EQ_P1_CASSETTE_CTRL_CMD _T("EQPort1CassetteCtrlCmd") |
| | | #define STEP_EQ_P2_CASSETTE_CTRL_CMD _T("EQPort2CassetteCtrlCmd") |
| | | #define STEP_EQ_P3_CASSETTE_CTRL_CMD _T("EQPort3CassetteCtrlCmd") |
| | | #define STEP_EQ_P4_CASSETTE_CTRL_CMD _T("EQPort4CassetteCtrlCmd") |
| | | #define STEP_EQ_CIM_MESSAGE_CONFIRM _T("EQCimMessageConfirm") |
| | | #define STEP_EQ_RECEIVED_JOB_UPSn _T("EQJEReceivedJobUps") |
| | | #define STEP_EQ_RECEIVED_JOB_UPS1 _T("EQJEReceivedJobUps1") |
| | | #define STEP_EQ_RECEIVED_JOB_UPS2 _T("EQJEReceivedJobUps2") |
| | | #define STEP_EQ_RECEIVED_JOB_UPS3 _T("EQJEReceivedJobUps3") |
| | | #define STEP_EQ_RECEIVED_JOB_UPS4 _T("EQJEReceivedJobUps4") |
| | | #define STEP_EQ_RECEIVED_JOB_UPS5 _T("EQJEReceivedJobUps5") |
| | | #define STEP_EQ_RECEIVED_JOB_UPS6 _T("EQJEReceivedJobUps6") |
| | | #define STEP_EQ_RECEIVED_JOB_UPS7 _T("EQJEReceivedJobUps7") |
| | | #define STEP_EQ_RECEIVED_JOB_UPS8 _T("EQJEReceivedJobUps8") |
| | | #define STEP_EQ_RECEIVED_JOB_UPS9 _T("EQJEReceivedJobUps9") |
| | | #define STEP_EQ_SENT_OUT_JOB_DOWNSn _T("EQJESentOutJobDowns") |
| | | #define STEP_EQ_SENT_OUT_JOB_DOWNS1 _T("EQJESentOutJobDowns1") |
| | | #define STEP_EQ_SENT_OUT_JOB_DOWNS2 _T("EQJESentOutJobDowns2") |
| | | #define STEP_EQ_SENT_OUT_JOB_DOWNS3 _T("EQJESentOutJobDowns3") |
| | | #define STEP_EQ_SENT_OUT_JOB_DOWNS4 _T("EQJESentOutJobDowns4") |
| | | #define STEP_EQ_SENT_OUT_JOB_DOWNS5 _T("EQJESentOutJobDowns5") |
| | | #define STEP_EQ_SENT_OUT_JOB_DOWNS6 _T("EQJESentOutJobDowns6") |
| | | #define STEP_EQ_SENT_OUT_JOB_DOWNS7 _T("EQJESentOutJobDowns7") |
| | | #define STEP_EQ_SENT_OUT_JOB_DOWNS8 _T("EQJESentOutJobDowns8") |
| | | #define STEP_EQ_SENT_OUT_JOB_DOWNS9 _T("EQJESentOutJobDowns9") |
| | | #define STEP_EQ_VCR1_EVENT_REPORT _T("EQVcr1EventReport") |
| | | #define STEP_EQ_RURRENT_RECIPE_CHANGE _T("EQCurrentRecipeChange") |
| | | #define STEP_EQ_MASTER_RECIPE_LIST_REQ _T("EQMasterRecipeListReq") |
| | | #define STEP_EQ_MASTER_RECIPE_LIST _T("EQMasterRecipeListReport") |
| | | #define STEP_EQ_RECIPE_PARAMETER_REQ _T("EQRecipeParameterReq") |
| | | #define STEP_EQ_RECIPE_PARAMETER _T("EQRecipeParameterReport") |
| | | #define STEP_EQ_RECEIVED_JOBn _T("EQReceivedJobReport") |
| | | #define STEP_EQ_RECEIVED_JOB1 _T("EQReceivedJobReport1") |
| | | #define STEP_EQ_RECEIVED_JOB2 _T("EQReceivedJobReport2") |
| | | #define STEP_EQ_RECEIVED_JOB3 _T("EQReceivedJobReport3") |
| | | #define STEP_EQ_RECEIVED_JOB4 _T("EQReceivedJobReport4") |
| | | #define STEP_EQ_RECEIVED_JOB5 _T("EQReceivedJobReport5") |
| | | #define STEP_EQ_RECEIVED_JOB6 _T("EQReceivedJobReport6") |
| | | #define STEP_EQ_RECEIVED_JOB7 _T("EQReceivedJobReport7") |
| | | #define STEP_EQ_RECEIVED_JOB8 _T("EQReceivedJobReport8") |
| | | #define STEP_EQ_RECEIVED_JOB9 _T("EQReceivedJobReport9") |
| | | #define STEP_EQ_FETCHED_OUT_JOBn _T("EQFetchedOutJobReport") |
| | | #define STEP_EQ_FETCHED_OUT_JOB1 _T("EQFetchedOutJobReport1") |
| | | #define STEP_EQ_FETCHED_OUT_JOB2 _T("EQFetchedOutJobReport2") |
| | | #define STEP_EQ_FETCHED_OUT_JOB3 _T("EQFetchedOutJobReport3") |
| | | #define STEP_EQ_FETCHED_OUT_JOB4 _T("EQFetchedOutJobReport4") |
| | | #define STEP_EQ_FETCHED_OUT_JOB5 _T("EQFetchedOutJobReport5") |
| | | #define STEP_EQ_FETCHED_OUT_JOB6 _T("EQFetchedOutJobReport6") |
| | | #define STEP_EQ_FETCHED_OUT_JOB7 _T("EQFetchedOutJobReport7") |
| | | #define STEP_EQ_FETCHED_OUT_JOB8 _T("EQFetchedOutJobReport8") |
| | | #define STEP_EQ_FETCHED_OUT_JOB9 _T("EQFetchedOutJobReport9") |
| | | #define STEP_EQ_FETCHED_OUT_JOB10 _T("EQFetchedOutJobReport10") |
| | | #define STEP_EQ_FETCHED_OUT_JOB11 _T("EQFetchedOutJobReport11") |
| | | #define STEP_EQ_FETCHED_OUT_JOB12 _T("EQFetchedOutJobReport12") |
| | | #define STEP_EQ_FETCHED_OUT_JOB13 _T("EQFetchedOutJobReport13") |
| | | #define STEP_EQ_FETCHED_OUT_JOB14 _T("EQFetchedOutJobReport14") |
| | | #define STEP_EQ_FETCHED_OUT_JOB15 _T("EQFetchedOutJobReport15") |
| | | #define STEP_EQ_STORED_JOBn _T("EQStoredJobReport") |
| | | #define STEP_EQ_STORED_JOB1 _T("EQStoredJobReport1") |
| | | #define STEP_EQ_STORED_JOB2 _T("EQStoredJobReport2") |
| | | #define STEP_EQ_STORED_JOB3 _T("EQStoredJobReport3") |
| | | #define STEP_EQ_STORED_JOB4 _T("EQStoredJobReport4") |
| | | #define STEP_EQ_STORED_JOB5 _T("EQStoredJobReport5") |
| | | #define STEP_EQ_STORED_JOB6 _T("EQStoredJobReport6") |
| | | #define STEP_EQ_STORED_JOB7 _T("EQStoredJobReport7") |
| | | #define STEP_EQ_STORED_JOB8 _T("EQStoredJobReport8") |
| | | #define STEP_EQ_STORED_JOB9 _T("EQStoredJobReport9") |
| | | #define STEP_EQ_STORED_JOB10 _T("EQStoredJobReport10") |
| | | #define STEP_EQ_STORED_JOB11 _T("EQStoredJobReport11") |
| | | #define STEP_EQ_STORED_JOB12 _T("EQStoredJobReport12") |
| | | #define STEP_EQ_STORED_JOB13 _T("EQStoredJobReport13") |
| | | #define STEP_EQ_STORED_JOB14 _T("EQStoredJobReport14") |
| | | #define STEP_EQ_STORED_JOB15 _T("EQStoredJobReport15") |
| | | #define STEP_EQ_DISPATCHINT_MODE_CHANGE _T("EQDispatchingModeChangeCommand") |
| | | #define STEP_EFEM_ROBOT_CMD _T("EFEMRobotCmd") |
| | | #define STEP_EFEM_IN_OP_MODE_CHANGE _T("EFEMIndexerOperationModeChangeCommand") |
| | | |
| | | |
| | | |
| | | /* 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 |
| | | #define STEP_ID_CIMMODE_CHANGED_CMD_REPLY 0x550 |
| | | #define STEP_ID_CIM_MSG_SET_CMD_REPLY 0x551 |
| | | #define STEP_ID_CIM_MSG_CLEAR_CMD_REPLY 0x552 |
| | | #define STEP_ID_DATETIME_SET_CMD_REPLY 0x553 |
| | | #define STEP_ID_VCR_ENABLE_CMD_REPLY 0x554 |
| | | #define STEP_ID_EQMODE_CHANGE_CMD_REPLY 0x555 |
| | | #define STEP_ID_MASTER_RECIPE_LIST_CMD_REPLY 0x556 |
| | | #define STEP_ID_RECIPE_PARAMETER_CMD_REPLY 0x557 |
| | | #define STEP_ID_EQMODE_CHANGED 0x560 |
| | | #define STEP_ID_EQSTATUS_CHANGED 0x561 |
| | | #define STEP_ID_EQALARM1 0x562 |
| | | #define STEP_ID_EQALARM2 0x563 |
| | | #define STEP_ID_EQALARM3 0x564 |
| | | #define STEP_ID_EQALARM4 0x565 |
| | | #define STEP_ID_EQALARM5 0x566 |
| | | #define STEP_ID_PROCESS_DATA_REPORT 0x567 |
| | | #define STEP_ID_CURRENT_RECIPE_CHANGE_REPORT 0x568 |
| | | #define STEP_ID_CIM_MSG_CONFIRM_REPORT 0x569 |
| | | #define STEP_ID_VCR1_EVENT_REPORT 0x56A |
| | | #define STEP_ID_MASTER_RECIPE_LIST_REPORT 0x56B |
| | | #define STEP_ID_RECIPE_PARAMETER_REPORT 0x56C |
| | | #define STEP_ID_RECIVE_JOB_UPS1 0x580 |
| | | #define STEP_ID_RECIVE_JOB_UPS2 0x581 |
| | | #define STEP_ID_RECIVE_JOB_UPS3 0x582 |
| | | #define STEP_ID_RECIVE_JOB_UPS4 0x583 |
| | | #define STEP_ID_RECIVE_JOB_UPS5 0x584 |
| | | #define STEP_ID_RECIVE_JOB_UPS6 0x585 |
| | | #define STEP_ID_RECIVE_JOB_UPS7 0x586 |
| | | #define STEP_ID_RECIVE_JOB_UPS8 0x587 |
| | | #define STEP_ID_RECIVE_JOB_UPS9 0x588 |
| | | #define STEP_ID_SENT_OUT_JOB_DOWNS1 0x590 |
| | | #define STEP_ID_SENT_OUT_JOB_DOWNS2 0x591 |
| | | #define STEP_ID_SENT_OUT_JOB_DOWNS3 0x592 |
| | | #define STEP_ID_SENT_OUT_JOB_DOWNS4 0x593 |
| | | #define STEP_ID_SENT_OUT_JOB_DOWNS5 0x594 |
| | | #define STEP_ID_SENT_OUT_JOB_DOWNS6 0x595 |
| | | #define STEP_ID_SENT_OUT_JOB_DOWNS7 0x596 |
| | | #define STEP_ID_SENT_OUT_JOB_DOWNS8 0x597 |
| | | #define STEP_ID_SENT_OUT_JOB_DOWNS9 0x598 |
| | | #define STEP_ID_STORE_JOB_REPORT1 0x5A0 |
| | | #define STEP_ID_STORE_JOB_REPORT2 0x5A1 |
| | | #define STEP_ID_STORE_JOB_REPORT3 0x5A2 |
| | | #define STEP_ID_STORE_JOB_REPORT4 0x5A3 |
| | | #define STEP_ID_STORE_JOB_REPORT5 0x5A4 |
| | | #define STEP_ID_STORE_JOB_REPORT6 0x5A5 |
| | | #define STEP_ID_STORE_JOB_REPORT7 0x5A6 |
| | | #define STEP_ID_STORE_JOB_REPORT8 0x5A7 |
| | | #define STEP_ID_STORE_JOB_REPORT9 0x5A8 |
| | | #define STEP_ID_STORE_JOB_REPORT10 0x5A9 |
| | | #define STEP_ID_STORE_JOB_REPORT11 0x5AA |
| | | #define STEP_ID_STORE_JOB_REPORT12 0x5AB |
| | | #define STEP_ID_STORE_JOB_REPORT13 0x5AC |
| | | #define STEP_ID_STORE_JOB_REPORT14 0x5AD |
| | | #define STEP_ID_STORE_JOB_REPORT15 0x5AE |
| | | #define STEP_ID_FETCHED_OUT_JOB_REPORT1 0x5AF |
| | | #define STEP_ID_FETCHED_OUT_JOB_REPORT2 0x5B0 |
| | | #define STEP_ID_FETCHED_OUT_JOB_REPORT3 0x5B1 |
| | | #define STEP_ID_FETCHED_OUT_JOB_REPORT4 0x5B2 |
| | | #define STEP_ID_FETCHED_OUT_JOB_REPORT5 0x5B3 |
| | | #define STEP_ID_FETCHED_OUT_JOB_REPORT6 0x5B4 |
| | | #define STEP_ID_FETCHED_OUT_JOB_REPORT7 0x5B5 |
| | | #define STEP_ID_FETCHED_OUT_JOB_REPORT8 0x5B6 |
| | | #define STEP_ID_FETCHED_OUT_JOB_REPORT9 0x5B7 |
| | | #define STEP_ID_FETCHED_OUT_JOB_REPORT10 0x5B8 |
| | | #define STEP_ID_FETCHED_OUT_JOB_REPORT11 0x5B9 |
| | | #define STEP_ID_FETCHED_OUT_JOB_REPORT12 0x5BA |
| | | #define STEP_ID_FETCHED_OUT_JOB_REPORT13 0x5BB |
| | | #define STEP_ID_FETCHED_OUT_JOB_REPORT14 0x5BC |
| | | #define STEP_ID_FETCHED_OUT_JOB_REPORT15 0x5BD |
| | | #define STEP_ID_IN_OP_CMD_REPLY 0x5F0 |
| | | #define STEP_ID_DISPATCHING_MODE_CHANGE_REPLY 0x5F1 |
| | | #define STEP_ID_PORT1_TYPE_CHANGE 0x600 |
| | | #define STEP_ID_PORT2_TYPE_CHANGE 0x601 |
| | | #define STEP_ID_PORT3_TYPE_CHANGE 0x602 |
| | | #define STEP_ID_PORT4_TYPE_CHANGE 0x603 |
| | | #define STEP_ID_PORT1_MODE_CHANGE 0x608 |
| | | #define STEP_ID_PORT2_MODE_CHANGE 0x609 |
| | | #define STEP_ID_PORT3_MODE_CHANGE 0x60A |
| | | #define STEP_ID_PORT4_MODE_CHANGE 0x60B |
| | | #define STEP_ID_PORT1_CASSETTE_TYPE_CHANGE 0x610 |
| | | #define STEP_ID_PORT2_CASSETTE_TYPE_CHANGE 0x611 |
| | | #define STEP_ID_PORT3_CASSETTE_TYPE_CHANGE 0x612 |
| | | #define STEP_ID_PORT4_CASSETTE_TYPE_CHANGE 0x613 |
| | | #define STEP_ID_PORT1_TRANSFER_MODE_CHANGE 0x618 |
| | | #define STEP_ID_PORT2_TRANSFER_MODE_CHANGE 0x619 |
| | | #define STEP_ID_PORT3_TRANSFER_MODE_CHANGE 0x61A |
| | | #define STEP_ID_PORT4_TRANSFER_MODE_CHANGE 0x61B |
| | | #define STEP_ID_PORT1_ENABLE_MODE_CHANGE 0x620 |
| | | #define STEP_ID_PORT2_ENABLE_MODE_CHANGE 0x621 |
| | | #define STEP_ID_PORT3_ENABLE_MODE_CHANGE 0x622 |
| | | #define STEP_ID_PORT4_ENABLE_MODE_CHANGE 0x623 |
| | | #define STEP_ID_PORT1_TYPE_AUTO_CHANGE 0x628 |
| | | #define STEP_ID_PORT2_TYPE_AUTO_CHANGE 0x629 |
| | | #define STEP_ID_PORT3_TYPE_AUTO_CHANGE 0x62A |
| | | #define STEP_ID_PORT4_TYPE_AUTO_CHANGE 0x62B |
| | | #define STEP_ID_PORT1_CASSETTIE_EMPTY 0x638 |
| | | #define STEP_ID_PORT1_CASSETTIE_LOAD_READY 0x640 |
| | | #define STEP_ID_PORT1_CASSETTIE_LOADED 0x648 |
| | | #define STEP_ID_PORT1_CASSETTIE_INUSE 0x650 |
| | | #define STEP_ID_PORT1_CASSETTIE_UNLOAD_READY 0x658 |
| | | #define STEP_ID_PORT1_CASSETTIE_BLOCKED 0x660 |
| | | #define STEP_ID_PORT2_CASSETTIE_EMPTY 0x639 |
| | | #define STEP_ID_PORT2_CASSETTIE_LOAD_READY 0x641 |
| | | #define STEP_ID_PORT2_CASSETTIE_LOADED 0x649 |
| | | #define STEP_ID_PORT2_CASSETTIE_INUSE 0x651 |
| | | #define STEP_ID_PORT2_CASSETTIE_UNLOAD_READY 0x659 |
| | | #define STEP_ID_PORT2_CASSETTIE_BLOCKED 0x661 |
| | | #define STEP_ID_PORT3_CASSETTIE_EMPTY 0x63a |
| | | #define STEP_ID_PORT3_CASSETTIE_LOAD_READY 0x642 |
| | | #define STEP_ID_PORT3_CASSETTIE_LOADED 0x64a |
| | | #define STEP_ID_PORT3_CASSETTIE_INUSE 0x652 |
| | | #define STEP_ID_PORT3_CASSETTIE_UNLOAD_READY 0x65a |
| | | #define STEP_ID_PORT3_CASSETTIE_BLOCKED 0x662 |
| | | #define STEP_ID_PORT4_CASSETTIE_EMPTY 0x63b |
| | | #define STEP_ID_PORT4_CASSETTIE_LOAD_READY 0x643 |
| | | #define STEP_ID_PORT4_CASSETTIE_LOADED 0x64b |
| | | #define STEP_ID_PORT4_CASSETTIE_INUSE 0x653 |
| | | #define STEP_ID_PORT4_CASSETTIE_UNLOAD_READY 0x65b |
| | | #define STEP_ID_PORT4_CASSETTIE_BLOCKED 0x663 |
| | | #define STEP_ID_ROBOT_CMD_REPLY 0x6b0 |
| | | |
| | | |
| | | |
| | | /* base alarm */ |
| | |
| | | #define CASSETTE_PROCCESS_COMPLETED 7 |
| | | |
| | | |
| | | /* |
| | | Master Recipe List Return Code Block Description |
| | | 1 OK : Recipe List Received Result is all ok |
| | | 2 Continue : Equipment still has to send the master recipe list to EAS because EAS is not yet received all master recipe list. |
| | | 3 Master Recipe list Count NG : Total Group Count is same as Current Group Count but it’s different with Total Master Recipe List Count. |
| | | 4 Group Count NG : Total Group Count is different with Current Group Count but it’s same with Total Master Recipe Count. |
| | | 5 Duplication Group Count NG : Current Group Count is duplicate with previous group count.Equipment has to send the next group count to EAS. |
| | | 6 Order by Group Count NG : Group Count is not sent order by next group count to EAS.Group Count has to send by order the next group count |
| | | */ |
| | | #define MRLRC_CURRENT_RECIPE_COMPLETE 0 |
| | | #define MRLRC_OK 1 |
| | | #define MRLRC_NG 2 |
| | | #define MRLRC_CONTINUE 3 |
| | | #define MRLRC_MASTER_RECIPE_LIST_COUNT_NG 4 |
| | | #define MRLRC_GROUP_COUNT_NG 5 |
| | | #define MRLRC_DUPLICATION_GROUP_COUNT_NG 6 |
| | | #define ORDER_BY_GROUP_COUNT_NG 7 |
| | | |
| | | |
| | | /* |
| | | Report type |
| | | 1: Create |
| | | 2: Modify |
| | | 3: Delete |
| | | 4: Request from EAS |
| | | */ |
| | | #define RT_CREATE 1 |
| | | #define RT_MODIFY 2 |
| | | #define RT_DELETE 3 |
| | | #define RT_REQUEST_FROM_EAS 4 |
| | | |
| | | |