#include "DCBC_XRT.orl"

START: 2007/12/07.06:39:25 {SEQ: XRT_TI_just_after_OP_Upload_SEQ; }

START: 2007/12/07.09:25:25 {SEQ: XRT_Table_Upload_with_TI_SEQ; }

START: 2007/12/07.10:14:54 {SEQ: XRT_HOP15_tracking_AR_SEQ; }

START: 2007/12/07.12:29:54 {SEQ: XRT_Synoptic-A_SEQ; }

START: 2007/12/07.12:39:54 {SEQ: XRT_NEW_AR_Tracking_SEQ; }

START: 2007/12/07.15:59:54 {SEQ: XRT_HOP35_AR_10977_Tracking_SEQ; }

START: 2007/12/07.17:54:54 {SEQ: XRT_Synoptic-B_SEQ; }

START: 2007/12/07.18:04:54 {SEQ: XRT_HOP35_AR_10977_Tracking_2_SEQ; }

START: 2007/12/07.19:59:54 {SEQ: XRT_NEW_AR_Tracking_2_SEQ; }

START: 2007/12/07.23:59:54 {SEQ: XRT_Synoptic-A_2_SEQ; }

START: 2007/12/08.00:09:54 {SEQ: XRT_NEW_AR_Tracking_3_SEQ; }

START: 2007/12/08.06:27:54 {SEQ: XRT_Synoptic-B_2_SEQ; }

START: 2007/12/08.06:37:54 {SEQ: XRT_NEW_AR_Tracking_4_SEQ; }

START: 2007/12/08.09:44:54 {SEQ: XRT_SSQ_SEQ; }

START: 2007/12/08.10:51:54 {SEQ: XRT_Backup_SEQ; }

POINT-AT OP_START ~- 60 {
        POINT : XRT_MODE_STBY_POINT;
}

POINT-AT OP_START ~- 58 {
        POINT : XRT_MODE_OBSV_POINT;
}

POINT-AT OP_START ~- 56 {
        POINT : XRT_CTRL_AUTO_POINT;
}

DEFSEQ(REAL): XRT_TI_just_after_OP_Upload_SEQ {
	NP_C. : "" ;
	NP_C. : "************ XRT START ************" ;
	NP_C. : "Execute, after the success of OP upload." ;
	TIME_CMD : MDP_XRT_MODE_STBY AT XRT_MODE_STBY_POINT ; 
	C. : "                     [   ]  [HK1_TI_CMD_NUM]     EQ    1COUNTUP" ;
	NP_C. : "" ;
	NP_C. : "************ XRT END ***********" ;
}

DEFSEQ(REAL): XRT_Table_Upload_with_TI_SEQ {
	NP_C. : "" ;
	NP_C. : "************ XRT START ************" ;
	NP_C. : "" ;
	CMD : MDP_XRT_CTRL_MANU ;
	NP_CMD : MDP_XRT_MODE_STBY ;
	C. : "----------- Success Verify ?              OK / NG____" ;
	NP_C. : "" ;
	NP_C. : "XRT Obs. Table Upload" ;
	ENTRY: RAM MDP_OBS_X 291 291 ;
	NP_C. : "" ;
	CMD : MDP_DUMP_XRTTBL 00 00 00 3A D4 ; 
	C. : "----------- Comparison Check ?                        OK / ERR ____         " ;
	NP_C. : "" ;
	NP_C. : "" ;
	CMD : MDP_XRT_ROI_SET 01 b1 b1 04 04 ;
	NP_CMD : MDP_XRT_ROI_SET 02 b1 b1 08 08 ;
	NP_CMD : MDP_XRT_ROI_SET 03 b1 b1 08 08 ;
	NP_CMD : MDP_XRT_ROI_SET 04 b1 b1 06 06 ;
	NP_CMD : MDP_XRT_ROI_SET 06 80 80 08 08 ;
	NP_CMD : MDP_XRT_ROI_SET 07 80 80 20 20 ;
	NP_CMD : MDP_XRT_ROI_SET 0f 80 80 06 06 ;
	NP_CMD : MDP_XRT_ROI_SET 10 80 80 04 04 ;
		CMD : MDP_XRT_QT_PROG_SET 14 ;
	NP_CMD : MDP_XRT_ARS_ENA ;
	NP_CMD : MDP_XRT_FLD_DIS ;
	NP_CMD : MDP_XRT_FLRCTRL_DIS ;
	C. : "---------- Success Verify ?            OK / NG ____" ;
	NP_C. : "" ;
	NP_C. : "" ;
	C. : "All OK?   Yes--> Please Proceed. / No --> Stop here." ;
	NP_C. : "" ;
	CMD : MDP_XRT_MODE_OBSV ;
	NP_CMD : MDP_XRT_CTRL_AUTO ;
	TIME_CMD : MDP_XRT_MODE_OBSV AT XRT_MODE_OBSV_POINT ; 
	TIME_CMD : MDP_XRT_CTRL_AUTO AT XRT_CTRL_AUTO_POINT ; 
	C. : "---------- Success Verify ?            OK / NG ____" ;
	NP_C. : "" ;
	NP_C. : "************ XRT END ***********" ;
}

DEFSEQ(OP): XRT_HOP15_tracking_AR_SEQ {
	OG : XRT_CTRL_MANU_434_OG ;
	INTERVAL: 98.0 ;
	OG : XRT_FOCUS_POSITION_441_OG ;
	INTERVAL: 20.0 ;
		OG : XRT_QT_PROG_SET_440_OG ; 	INTERVAL: 2.0 ;
	OG : XRT_ARS_ENA_406_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLD_DIS_445_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLRCTRL_DIS_416_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_CTRL_AUTO_403_OG ;
}

DEFSEQ(OP): XRT_Synoptic-A_SEQ {
									OG : XRT_CTRL_MANU_417_OG ;
	INTERVAL: 98.0 ;
	OG : XRT_FOCUS_POSITION_442_OG ;
	INTERVAL: 20.0 ;
		OG : XRT_QT_PROG_SET_409_OG ; 	INTERVAL: 2.0 ;
	OG : XRT_FLD_DIS_419_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLRCTRL_DIS_447_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_ARS_DIS_418_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_CTRL_AUTO_432_OG ;
}

DEFSEQ(OP): XRT_NEW_AR_Tracking_SEQ {
	OG : XRT_CTRL_MANU_434_OG ;
	INTERVAL: 98.0 ;
	OG : XRT_FOCUS_POSITION_441_OG ;
	INTERVAL: 20.0 ;
		OG : XRT_QT_PROG_SET_440_OG ; 	INTERVAL: 2.0 ;
	OG : XRT_ARS_ENA_406_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLD_DIS_445_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLRCTRL_DIS_416_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_CTRL_AUTO_403_OG ;
}

DEFSEQ(OP): XRT_HOP35_AR_10977_Tracking_SEQ {
	OG : XRT_CTRL_MANU_434_OG ;
	INTERVAL: 98.0 ;
	OG : XRT_FOCUS_POSITION_441_OG ;
	INTERVAL: 20.0 ;
		OG : XRT_QT_PROG_SET_440_OG ; 	INTERVAL: 2.0 ;
	OG : XRT_ARS_ENA_406_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLD_DIS_445_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLRCTRL_DIS_416_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_CTRL_AUTO_403_OG ;
}

DEFSEQ(OP): XRT_Synoptic-B_SEQ {
										OG : XRT_CTRL_MANU_417_OG ;
	INTERVAL: 98.0 ;
	OG : XRT_FOCUS_POSITION_442_OG ;
	INTERVAL: 20.0 ;
		OG : XRT_QT_PROG_SET_423_OG ; 	INTERVAL: 2.0 ;
	OG : XRT_FLD_DIS_419_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLRCTRL_DIS_447_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_ARS_DIS_418_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_CTRL_AUTO_432_OG ;
}

DEFSEQ(OP): XRT_HOP35_AR_10977_Tracking_2_SEQ {
	OG : XRT_CTRL_MANU_434_OG ;
	INTERVAL: 98.0 ;
	OG : XRT_FOCUS_POSITION_441_OG ;
	INTERVAL: 20.0 ;
		OG : XRT_QT_PROG_SET_440_OG ; 	INTERVAL: 2.0 ;
	OG : XRT_ARS_ENA_406_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLD_DIS_445_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLRCTRL_DIS_416_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_CTRL_AUTO_403_OG ;
}

DEFSEQ(OP): XRT_NEW_AR_Tracking_2_SEQ {
	OG : XRT_CTRL_MANU_434_OG ;
	INTERVAL: 98.0 ;
	OG : XRT_FOCUS_POSITION_441_OG ;
	INTERVAL: 20.0 ;
		OG : XRT_QT_PROG_SET_440_OG ; 	INTERVAL: 2.0 ;
	OG : XRT_ARS_ENA_406_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLD_DIS_445_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLRCTRL_DIS_416_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_CTRL_AUTO_403_OG ;
}

DEFSEQ(OP): XRT_Synoptic-A_2_SEQ {
									OG : XRT_CTRL_MANU_417_OG ;
	INTERVAL: 98.0 ;
	OG : XRT_FOCUS_POSITION_442_OG ;
	INTERVAL: 20.0 ;
		OG : XRT_QT_PROG_SET_409_OG ; 	INTERVAL: 2.0 ;
	OG : XRT_FLD_DIS_419_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLRCTRL_DIS_447_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_ARS_DIS_418_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_CTRL_AUTO_432_OG ;
}

DEFSEQ(OP): XRT_NEW_AR_Tracking_3_SEQ {
	OG : XRT_CTRL_MANU_434_OG ;
	INTERVAL: 98.0 ;
	OG : XRT_FOCUS_POSITION_441_OG ;
	INTERVAL: 20.0 ;
		OG : XRT_QT_PROG_SET_440_OG ; 	INTERVAL: 2.0 ;
	OG : XRT_ARS_ENA_406_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLD_DIS_445_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLRCTRL_DIS_416_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_CTRL_AUTO_403_OG ;
}

DEFSEQ(OP): XRT_Synoptic-B_2_SEQ {
										OG : XRT_CTRL_MANU_417_OG ;
	INTERVAL: 98.0 ;
	OG : XRT_FOCUS_POSITION_442_OG ;
	INTERVAL: 20.0 ;
		OG : XRT_QT_PROG_SET_423_OG ; 	INTERVAL: 2.0 ;
	OG : XRT_FLD_DIS_419_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLRCTRL_DIS_447_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_ARS_DIS_418_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_CTRL_AUTO_432_OG ;
}

DEFSEQ(OP): XRT_NEW_AR_Tracking_4_SEQ {
	OG : XRT_CTRL_MANU_434_OG ;
	INTERVAL: 98.0 ;
	OG : XRT_FOCUS_POSITION_441_OG ;
	INTERVAL: 20.0 ;
		OG : XRT_QT_PROG_SET_440_OG ; 	INTERVAL: 2.0 ;
	OG : XRT_ARS_ENA_406_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLD_DIS_445_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLRCTRL_DIS_416_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_CTRL_AUTO_403_OG ;
}

DEFSEQ(OP): XRT_SSQ_SEQ {
	OG : XRT_CTRL_MANU_428_OG ;
}

DEFSEQ(OP): XRT_Backup_SEQ {
									OG : XRT_CTRL_MANU_417_OG ;
	INTERVAL: 98.0 ;
	OG : XRT_FOCUS_POSITION_442_OG ;
	INTERVAL: 20.0 ;
		OG : XRT_QT_PROG_SET_414_OG ; 	INTERVAL: 2.0 ;
	OG : XRT_ARS_ENA_408_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLD_DIS_419_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_FLRCTRL_DIS_447_OG ;
	INTERVAL: 2.0 ;
	OG : XRT_CTRL_AUTO_432_OG ;
}

DEFSEQ(OG) : XRT_QT_PROG_SET_400_OG {
	NUMBER : 400 ;
	CMD : MDP_XRT_QT_PROG_SET 01 ; 
}

DEFSEQ(OG) : XRT_CTRL_MANU_401_OG {
	NUMBER : 401 ;
	CMD : MDP_XRT_CTRL_MANU ;
}

DEFSEQ(OG) : XRT_FOCUS_POSITION_402_OG {
	NUMBER : 402 ;
	CMD : XRT_FOCUS_POSITION ff aa 00 ; 
}

DEFSEQ(OG) : XRT_CTRL_AUTO_403_OG {
	NUMBER : 403 ;
	CMD : MDP_XRT_CTRL_AUTO ;
}

DEFSEQ(OG) : XRT_QT_PROG_SET_404_OG {
	NUMBER : 404 ;
	CMD : MDP_XRT_QT_PROG_SET 07 ; 
}

DEFSEQ(OG) : XRT_CTRL_MANU_405_OG {
	NUMBER : 405 ;
	CMD : MDP_XRT_CTRL_MANU ;
}

DEFSEQ(OG) : XRT_ARS_ENA_406_OG {
	NUMBER : 406 ;
	CMD : MDP_XRT_ARS_ENA ;
}

DEFSEQ(OG) : XRT_QT_PROG_SET_407_OG {
	NUMBER : 407 ;
	CMD : MDP_XRT_QT_PROG_SET 09 ; 
}

DEFSEQ(OG) : XRT_ARS_ENA_408_OG {
	NUMBER : 408 ;
	CMD : MDP_XRT_ARS_ENA ;
}

DEFSEQ(OG) : XRT_QT_PROG_SET_409_OG { 	NUMBER : 409 ;
	CMD : MDP_XRT_QT_PROG_SET 0b ; 
}

DEFSEQ(OG) : XRT_FLD_ENA_410_OG {
	NUMBER : 410 ;
	CMD : MDP_XRT_FLD_ENA ;
}

DEFSEQ(OG) : XRT_QT_PROG_SET_411_OG {
	NUMBER : 411 ;
	CMD : MDP_XRT_QT_PROG_SET 0e ; 
}

DEFSEQ(OG) : XRT_QT_PROG_SET_412_OG {
	NUMBER : 412 ;
	CMD : MDP_XRT_QT_PROG_SET 08 ; 
}

DEFSEQ(OG) : XRT_AEC_RESET_413_OG {
	NUMBER : 413 ;
	CMD : MDP_XRT_AEC_RESET ;
}

DEFSEQ(OG) : XRT_QT_PROG_SET_414_OG { 	NUMBER : 414 ;
	CMD : MDP_XRT_QT_PROG_SET 02 ; 
}

DEFSEQ(OG) : XRT_QT_PROG_SET_415_OG {
	NUMBER : 415 ;
	CMD : MDP_XRT_QT_PROG_SET 0f ; 
}

DEFSEQ(OG) : XRT_FLRCTRL_DIS_416_OG {
	NUMBER : 416 ;
	CMD : MDP_XRT_FLRCTRL_DIS ;
}

DEFSEQ(OG) : XRT_CTRL_MANU_417_OG {
	NUMBER : 417 ;
	CMD : MDP_XRT_CTRL_MANU ;
}

DEFSEQ(OG) : XRT_ARS_DIS_418_OG {
	NUMBER : 418 ;
	CMD : MDP_XRT_ARS_DIS ;
}

DEFSEQ(OG) : XRT_FLD_DIS_419_OG {
	NUMBER : 419 ;
	CMD : MDP_XRT_FLD_DIS ;
}

DEFSEQ(OG) : XRT_QT_PROG_SET_420_OG {
	NUMBER : 420 ;
	CMD : MDP_XRT_QT_PROG_SET 10 ; 
}

DEFSEQ(OG) : XRT_FOCUS_POSITION_421_OG {
	NUMBER : 421 ;
	CMD : XRT_FOCUS_POSITION fe 97 00 ; 
}

DEFSEQ(OG) : XRT_ARS_DIS_422_OG {
	NUMBER : 422 ;
	CMD : MDP_XRT_ARS_DIS ;
}

DEFSEQ(OG) : XRT_QT_PROG_SET_423_OG { 	NUMBER : 423 ;
	CMD : MDP_XRT_QT_PROG_SET 11 ; 
}

DEFSEQ(OG) : XRT_QT_PROG_SET_424_OG {
	NUMBER : 424 ;
	CMD : MDP_XRT_QT_PROG_SET 12 ; 
}

DEFSEQ(OG) : XRT_QT_PROG_SET_425_OG {
	NUMBER : 425 ;
	CMD : MDP_XRT_QT_PROG_SET 03 ; 
}

DEFSEQ(OG) : XRT_CTRL_MANU_426_OG {
	NUMBER : 426 ;
	CMD : MDP_XRT_CTRL_MANU ;
}

DEFSEQ(OG) : XRT_CTRL_MANU_427_OG {
	NUMBER : 427 ;
	CMD : MDP_XRT_CTRL_MANU ;
}

DEFSEQ(OG) : XRT_CTRL_MANU_428_OG {
	NUMBER : 428 ;
	CMD : MDP_XRT_CTRL_MANU ;
}

DEFSEQ(OG) : XRT_QT_PROG_SET_429_OG {
	NUMBER : 429 ;
	CMD : MDP_XRT_QT_PROG_SET 0c ; 
}

DEFSEQ(OG) : XRT_CTRL_MANU_430_OG {
	NUMBER : 430 ;
	CMD : MDP_XRT_CTRL_MANU ;
}

DEFSEQ(OG) : XRT_QT_PROG_SET_431_OG {
	NUMBER : 431 ;
	CMD : MDP_XRT_QT_PROG_SET 06 ; 
}

DEFSEQ(OG) : XRT_CTRL_AUTO_432_OG {
	NUMBER : 432 ;
	CMD : MDP_XRT_CTRL_AUTO ;
}

DEFSEQ(OG) : XRT_CTRL_MANU_433_OG {
	NUMBER : 433 ;
	CMD : MDP_XRT_CTRL_MANU ;
}

DEFSEQ(OG) : XRT_CTRL_MANU_434_OG {
	NUMBER : 434 ;
	CMD : MDP_XRT_CTRL_MANU ;
}

DEFSEQ(OG) : XRT_CTRL_MANU_435_OG {
	NUMBER : 435 ;
	CMD : MDP_XRT_CTRL_MANU ;
}

DEFSEQ(OG) : XRT_QT_PROG_SET_436_OG {
	NUMBER : 436 ;
	CMD : MDP_XRT_QT_PROG_SET 0d ; 
}

DEFSEQ(OG) : XRT_FL_PROG_SET_437_OG {
	NUMBER : 437 ;
	CMD : MDP_XRT_FL_PROG_SET 01 ; 
}

DEFSEQ(OG) : XRT_QT_PROG_SET_438_OG {
	NUMBER : 438 ;
	CMD : MDP_XRT_QT_PROG_SET 13 ; 
}

DEFSEQ(OG) : XRT_FOCUS_RECALIBRATE_439_OG {
	NUMBER : 439 ;
	CMD : XRT_FOCUS_RECAL ;
}

DEFSEQ(OG) : XRT_QT_PROG_SET_440_OG { 	NUMBER : 440 ;
	CMD : MDP_XRT_QT_PROG_SET 14 ; 
}

DEFSEQ(OG) : XRT_FOCUS_POSITION_441_OG {
	NUMBER : 441 ;
	CMD : XRT_FOCUS_POSITION fe 97 00 ; 
}

DEFSEQ(OG) : XRT_FOCUS_POSITION_442_OG {
	NUMBER : 442 ;
	CMD : XRT_FOCUS_POSITION ff aa 00 ; 
}

DEFSEQ(OG) : XRT_QT_PROG_SET_443_OG {
	NUMBER : 443 ;
	CMD : MDP_XRT_QT_PROG_SET 05 ; 
}

DEFSEQ(OG) : XRT_CTRL_MANU_444_OG {
	NUMBER : 444 ;
	CMD : MDP_XRT_CTRL_MANU ;
}

DEFSEQ(OG) : XRT_FLD_DIS_445_OG {
	NUMBER : 445 ;
	CMD : MDP_XRT_FLD_DIS ;
}

DEFSEQ(OG) : XRT_QT_PROG_SET_446_OG {
	NUMBER : 446 ;
	CMD : MDP_XRT_QT_PROG_SET 04 ; 
}

DEFSEQ(OG) : XRT_FLRCTRL_DIS_447_OG {
	NUMBER : 447 ;
	CMD : MDP_XRT_FLRCTRL_DIS ;
}

DEFSEQ(OG) : XRT_CTRL_MANU_448_OG {
	NUMBER : 448 ;
	CMD : MDP_XRT_CTRL_MANU ;
}

DEFSEQ(OG) : XRT_QT_PROG_SET_449_OG {
	NUMBER : 449 ;
	CMD : MDP_XRT_QT_PROG_SET 0a ; 
}