Description for Canopus 3 tbd. STOL for Canopus 3 Calibration: ------------------------------------------------------------------------- # File name: canopus3.txt # # Version 0.1 Created 970709 AS Posner # Version 0.2 Modified 970710 TJ Mulich, Jr. # Version 0.3 Modified 970723 TJ Mulich, Jr. (added latest DS's) # Version 0.4 Modified 970724 TJ Mulich, Jr. (added P/B last seg. macro # # # Post-DSM Canopus calibration test # # Uses CTP time-tagged bins 31-38 OUTPUT CANOPUS3 DATABASE /home/epoch/near/database/reports/near/near_960808_01.lis SET CTP1_SEQ_NUM 0 SET BYPASS_FLAG 0 CTP 1 # # MSI---CTP/DPU Macro # This macro loads all the CTP/DPU macros for the activity. # Macro MSI_ON to power on the MSI and configure for Canoupus3 # MACROLOAD MSI_ON 0xB100 ABS CT_MACT_LD 0 0 PG2 0X6000 # MSI_ON starts at MET = 46244793, 97:218:02:29:52 # ~5 hours prior to slewing to Dark Space CMDLOAD CT_AUT_RULE_LD DIS A_OR_B 104 10 \ AND T_GT_A 0xFF HSK 32 191 0 \ AND T_GT_A 0xFF HSK 32 191 0 \ {MS_OFF} CMD CT_PAUSE NOR 1 CMD CT_AUT_EN ENA 104 0 # Enable MSI over-current rule, # defined above. CMD CT_PAUSE NOR 2 CMD MS_ON # Power MSI on CMD CT_PAUSE NOR 60 # This pause of 60s is required CMD CT_AUT_EN ENA 132 0 # Load MSI disaster rule CMD CT_PAUSE NOR 60 CMDLOAD SS_DATA_LOAD 1 MSI # VC2 MSI Full Images CMD MS_CONFIG_TLM VC2 NONE END CMDLOAD SS_DATA_LOAD 1 MSI # Send MSI HSK subcom to VC3 CMD MS_HSK_SUBCOM SSR END END # # Macro Scan_Def to load the Image-Sequence Definition DPU MACRO # (note: MSI command buffer only holds 12 commands) # MACROLOAD Scan_Def 0xBA02 REL CT_MACT_LD 0 0 PG2 0X6000 # Sequence 1 Dark Space CMDLOAD SS_DATA_LOAD 30 MSI CMD MS_DIA_SEQ 1 2 NONE 1 NONE ON FAST 16 MAN \ 10 999 0 0 0 0 0 0 7 7 0 0 0 0 0 0 END # Sequence 2 Canopus and 1 deg Offset CMDLOAD SS_DATA_LOAD 30 MSI CMD MS_DIA_SEQ 2 8 NONE 3 NONE ON FAST 16 MAN \ 15 92 229 174 478 262 974 999 0 1 2 3 4 5 6 7 END # Sequence 3 Scan Diagonally at 1600 microrad/sec CMDLOAD SS_DATA_LOAD 31 MSI CMD MS_DIA_SEQ 3 7 NONE 3 NONE ON FAST 16 MAN \ 999 999 999 999 999 999 999 0 1 2 3 4 5 6 7 0 END END # # Macro Config_Drkspc to configure for Canopus3 and slew to Dark Space # MACROLOAD Config_DrkSpc 0XBA03 REL CT_MACT_LD 0 0 PG2 0X6000 CMD CT_AUT_EN ENA 143 0 # Start recording on next available # segment CMDLOAD SS_DATA_LOAD 1 MSI # VC2 MSI Full CMD MS_CONFIG_TLM VC2 NONE # Images END CMDLOAD SS_DATA_LOAD 5 MSI CMD MS_DUMP_CMD_LOG # Dump MSI Command Log END CMDLOAD SS_DATA_LOAD 5 MSI CMD MS_DUMP_PRB_LOG # Dump MSI Problem Log END CMD CT_VC0_HSKR 30 # CTP hskpg at 30/sec CMDLOAD ss_data_load 0 AIU1 CMD AU_SEL_TLM_OUT VC3 0x1 1 # VC3 @ 1Hz: AIU format 0 END CMDLOAD ss_data_load 0 AIU1 CMDLOAD au_trn_msg_act # VC3 @ 1Hz: FC format 9 CMD fc_rt_tlm_mode VC3 0x40 0x0 0x0 0x1 0x1 END END CMDLOAD SS_DATA_LOAD 2 AIU1 # override SKI = 50 deg for 95 min. CMD AU_OVRD_SUN_KIA 0.6428 5700 END CMDLOAD ss_data_load 0 AIU1 CMDLOAD au_trn_msg_act # reset delta v CMD fc_reset_deltav END END #*** Load all FC commands twice. CMDLOAD SS_DATA_LOAD 5 AIU1 # Pt_0: x-prime at Dark Space CMDLOAD AU_TRN_MSG_ACT CMD FC_DS40_URAM_LD \ 0 \ # Use J2000 (-0.076327) \ # Aimpoint_Vector_X 0.577813 \ # Aimpoint_Vector_Y (-0.812592) \ # Aimpoint_Vector_Z 0.000000000E+00 \ # Roll_Vector_X 0.000000000E+00 \ # Roll_Vector_Y 0.100000000E+01 \ # Roll_Vector_Z 0 \ # Use Aimpoint 1.0000000E+00 \ # Roll_Ref_Vector_X 0.0000000E+00 \ # Roll_Ref_Vector_Y 0.0000000E+00 \ # Roll_Ref_Vector_Z 0.9999988 \ # Boresight_Vector_X (-0.0004855) \ # Boresight_Vector_Y 0.0014384 \ # Boresight_Vector_Z 1 # Roll_Alg_Selection END END CMDLOAD SS_DATA_LOAD 5 AIU1 # Pt_0: x-prime at Dark Space CMDLOAD AU_TRN_MSG_ACT CMD FC_DS40_URAM_LD \ 0 \ # Use J2000 (-0.076327) \ # Aimpoint_Vector_X 0.577813 \ # Aimpoint_Vector_Y (-0.812592) \ # Aimpoint_Vector_Z 0.000000000E+00 \ # Roll_Vector_X 0.000000000E+00 \ # Roll_Vector_Y 0.100000000E+01 \ # Roll_Vector_Z 0 \ # Use Aimpoint 1.0000000E+00 \ # Roll_Ref_Vector_X 0.0000000E+00 \ # Roll_Ref_Vector_Y 0.0000000E+00 \ # Roll_Ref_Vector_Z 0.9999988 \ # Boresight_Vector_X (-0.0004855) \ # Boresight_Vector_Y 0.0014384 \ # Boresight_Vector_Z 1 # Roll_Alg_Selection END END CMDLOAD SS_DATA_LOAD 5 AIU1 # use latest DS40 CMDLOAD AU_TRN_MSG_ACT CMD FC_STRT_GUI_SCN 1 END END CMDLOAD SS_DATA_LOAD 0 AIU1 # use latest DS40 CMDLOAD AU_TRN_MSG_ACT CMD FC_STRT_GUI_SCN 1 END END CMDLOAD SS_DATA_LOAD 0 MSI # Execute Sequence 1 CMD MS_EXIA_SEQ 1 46263701 END END # # Macro Canopus to slew to Canopus # MACROLOAD Canopus 0xBC01 REL CT_MACT_LD 0 0 PG2 0X6000 CMDLOAD SS_DATA_LOAD 5 AIU1 CMDLOAD AU_TRN_MSG_ACT CMD FC_DS40_URAM_LD \ 0 \ # Use J2000 (-0.063080) \ # Aimpoint_Vector_X 0.602696 \ # Aimpoint_Vector_Y (-0.795473) \ # Aimpoint_Vector_Z 0.000000000E+00 \ # Roll_Vector_X 0.000000000E+00 \ # Roll_Vector_Y 0.100000000E+01 \ # Roll_Vector_Z 0 \ # Use Aimpoint 1.0000000E+00 \ # Roll_Ref_Vector_X 0.0000000E+00 \ # Roll_Ref_Vector_Y 0.0000000E+00 \ # Roll_Ref_Vector_Z 0.9999988 \ # Boresight_Vector_X (-0.0004855) \ # Boresight_Vector_Y 0.0014384 \ # Boresight_Vector_Z 1 # Roll_Alg_Selection END END CMDLOAD SS_DATA_LOAD 5 AIU1 CMDLOAD AU_TRN_MSG_ACT CMD FC_DS40_URAM_LD \ 0 \ # Use J2000 (-0.063080) \ # Aimpoint_Vector_X 0.602696 \ # Aimpoint_Vector_Y (-0.795473) \ # Aimpoint_Vector_Z 0.000000000E+00 \ # Roll_Vector_X 0.000000000E+00 \ # Roll_Vector_Y 0.100000000E+01 \ # Roll_Vector_Z 0 \ # Use Aimpoint 1.0000000E+00 \ # Roll_Ref_Vector_X 0.0000000E+00 \ # Roll_Ref_Vector_Y 0.0000000E+00 \ # Roll_Ref_Vector_Z 0.9999988 \ # Boresight_Vector_X (-0.0004855) \ # Boresight_Vector_Y 0.0014384 \ # Boresight_Vector_Z 1 # Roll_Alg_Selection END END CMDLOAD SS_DATA_LOAD 1 AIU1 # use latest DS40 CMDLOAD AU_TRN_MSG_ACT CMD FC_STRT_GUI_SCN 1 END END CMDLOAD SS_DATA_LOAD 0 AIU1 # use latest DS40 CMDLOAD AU_TRN_MSG_ACT CMD FC_STRT_GUI_SCN 1 END END CMDLOAD SS_DATA_LOAD 0 MSI CMD MS_EXIA_SEQ 2 46264491 END END # # Macro Canopus_Offset to slew to 1 deg. offset [-0.7, 0.7] # MACROLOAD Canopus_Offset 0xBC02 REL CT_MACT_LD 0 0 PG2 0X6000 CMDLOAD SS_DATA_LOAD 5 AIU1 CMDLOAD AU_TRN_MSG_ACT CMD FC_DS40_URAM_LD \ 0 \ # Use J2000 (-0.063080) \ # Aimpoint_Vector_X 0.602696 \ # Aimpoint_Vector_Y (-0.7954735) \ # Aimpoint_Vector_Z 0.000000000E+00 \ # Roll_Vector_X 0.000000000E+00 \ # Roll_Vector_Y 0.100000000E+01 \ # Roll_Vector_Z 0 \ # Use Aimpoint 1.0000000E+00 \ # Roll_Ref_Vector_X 0.0000000E+00 \ # Roll_Ref_Vector_Y 0.0000000E+00 \ # Roll_Ref_Vector_Z 0.999851 \ # Boresight_Vector_X (-0.012215) \ # Boresight_Vector_Y 0.012215 \ # Boresight_Vector_Z 1 # Roll_Alg_Selection END END CMDLOAD SS_DATA_LOAD 5 AIU1 CMDLOAD AU_TRN_MSG_ACT CMD FC_DS40_URAM_LD \ 0 \ # Use J2000 (-0.063080) \ # Aimpoint_Vector_X 0.602696 \ # Aimpoint_Vector_Y (-0.7954735) \ # Aimpoint_Vector_Z 0.000000000E+00 \ # Roll_Vector_X 0.000000000E+00 \ # Roll_Vector_Y 0.100000000E+01 \ # Roll_Vector_Z 0 \ # Use Aimpoint 1.0000000E+00 \ # Roll_Ref_Vector_X 0.0000000E+00 \ # Roll_Ref_Vector_Y 0.0000000E+00 \ # Roll_Ref_Vector_Z 0.999851 \ # Boresight_Vector_X (-0.012215) \ # Boresight_Vector_Y 0.012215 \ # Boresight_Vector_Z 1 # Roll_Alg_Selection END END CMDLOAD SS_DATA_LOAD 1 AIU1 # use latest DS40 CMDLOAD AU_TRN_MSG_ACT CMD FC_STRT_GUI_SCN 1 END END CMDLOAD SS_DATA_LOAD 0 AIU1 # use latest DS40 CMDLOAD AU_TRN_MSG_ACT CMD FC_STRT_GUI_SCN 1 END END CMDLOAD SS_DATA_LOAD 0 MSI CMD MS_EXIA_SEQ 2 46265041 END END # # Macro Att_Offset to configure for attitude offset for geometric scan # MACROLOAD Att_Offset 0xB0BB REL CT_MACT_LD 0 0 PG2 0X6000 CMDLOAD SS_DATA_LOAD 5 AIU1 CMDLOAD AU_TRN_MSG_ACT CMD FC_DS40_URAM_LD \ 0 \ # Use J2000 (-0.063080) \ # Aimpoint_Vector_X 0.602696 \ # Aimpoint_Vector_Y (-0.7954735) \ # Aimpoint_Vector_Z 0.000000000E+00 \ # Roll_Vector_X 0.000000000E+00 \ # Roll_Vector_Y 0.100000000E+01 \ # Roll_Vector_Z 0 \ # Use Aimpoint 1.0000000E+00 \ # Roll_Ref_Vector_X 0.0000000E+00 \ # Roll_Ref_Vector_Y 0.0000000E+00 \ # Roll_Ref_Vector_Z 0.99815 \ # Boresight_Vector_X (-0.03727) \ # Boresight_Vector_Y 0.04804 \ # Boresight_Vector_Z 1 # Roll_Alg_Selection END END CMDLOAD SS_DATA_LOAD 5 AIU1 CMDLOAD AU_TRN_MSG_ACT CMD FC_DS40_URAM_LD \ 0 \ # Use J2000 (-0.063080) \ # Aimpoint_Vector_X 0.602696 \ # Aimpoint_Vector_Y (-0.7954735) \ # Aimpoint_Vector_Z 0.000000000E+00 \ # Roll_Vector_X 0.000000000E+00 \ # Roll_Vector_Y 0.100000000E+01 \ # Roll_Vector_Z 0 \ # Use Aimpoint 1.0000000E+00 \ # Roll_Ref_Vector_X 0.0000000E+00 \ # Roll_Ref_Vector_Y 0.0000000E+00 \ # Roll_Ref_Vector_Z 0.99815 \ # Boresight_Vector_X (-0.03727) \ # Boresight_Vector_Y 0.04804 \ # Boresight_Vector_Z 1 # Roll_Alg_Selection END END CMDLOAD SS_DATA_LOAD 1 AIU1 # use latest DS40 CMDLOAD AU_TRN_MSG_ACT CMD FC_STRT_GUI_SCN 1 END END CMDLOAD SS_DATA_LOAD 0 AIU1 # use latest DS40 CMDLOAD AU_TRN_MSG_ACT CMD FC_STRT_GUI_SCN 1 END END END # # Macro Geo_Scan to conduct geometric scan # MACROLOAD Geo_Scan 0xB201 REL CT_MACT_LD 0 0 PG2 0X6000 CMDLOAD SS_DATA_LOAD 5 AIU1 CMDLOAD AU_TRN_MSG_ACT CMD FC_DS56_URAM_LD \ 0 \ # Closed_Loop_Flag 0 \ # Coordinate_System 1 \ # Reverse_Direction_X_axis 1 \ # Reverse_Direction_Y_axis 1 \ # Reverse_Direction_Z_axis 1 \ # Scan_Hold_Placement_X_axis 1 \ # Scan_Hold_Placement_Y_axis 1 \ # Scan_Hold_Placement_Z_axis 76.0 \ # Rate_Duration_X_axis 76.0 \ # Rate_Duration_Y_axis 76.0 \ # Rate_Duration_Z_axis 0.035129 \ # Rate_X_axis 0.0688092 \ # Rate_Y_axis 0.0493481 \ # Rate_Z_axis 224.0 \ # Pause_Duration_X_axis 224.0 \ # Pause_Duration_Y_axis 224.0 # Pause_Duration_Z_axis END END CMDLOAD SS_DATA_LOAD 5 AIU1 CMDLOAD AU_TRN_MSG_ACT CMD FC_DS56_URAM_LD \ 0 \ # Closed_Loop_Flag 0 \ # Coordinate_System 1 \ # Reverse_Direction_X_axis 1 \ # Reverse_Direction_Y_axis 1 \ # Reverse_Direction_Z_axis 1 \ # Scan_Hold_Placement_X_axis 1 \ # Scan_Hold_Placement_Y_axis 1 \ # Scan_Hold_Placement_Z_axis 76.0 \ # Rate_Duration_X_axis 76.0 \ # Rate_Duration_Y_axis 76.0 \ # Rate_Duration_Z_axis 0.035129 \ # Rate_X_axis 0.0688092 \ # Rate_Y_axis 0.0493481 \ # Rate_Z_axis 224.0 \ # Pause_Duration_X_axis 224.0 \ # Pause_Duration_Y_axis 224.0 # Pause_Duration_Z_axis END END CMDLOAD SS_DATA_LOAD 1 AIU1 # Enable scan CMDLOAD AU_TRN_MSG_ACT CMD FC_SCAN ENA END END CMDLOAD SS_DATA_LOAD 0 AIU1 # Enable scan CMDLOAD AU_TRN_MSG_ACT CMD FC_SCAN ENA END END CMDLOAD SS_DATA_LOAD 0 MSI CMD MS_EXIA_SEQ 3 46265646 END CMDLOAD SS_DATA_LOAD 0 MSI CMD MS_EXIA_SEQ 3 46265946 END CMD CT_PAUSE NOR 245 CMDLOAD SS_DATA_LOAD 1 AIU1 # Disable scan CMDLOAD AU_TRN_MSG_ACT CMD FC_SCAN DIS END END CMDLOAD SS_DATA_LOAD 0 AIU1 # Disable scan CMDLOAD AU_TRN_MSG_ACT CMD FC_SCAN DIS END END END # # Macro MSI_OFF to power off the MSI # MACROLOAD MSI_OFF 0xB202 REL CT_MACT_LD 0 0 PG2 0X6000 CMDLOAD SS_DATA_LOAD 5 MSI CMD MS_DUMP_CMD_LOG # Dump MSI Command Log END CMDLOAD SS_DATA_LOAD 5 MSI CMD MS_DUMP_PRB_LOG # Dump MSI Problem Log END CMDLOAD SS_DATA_LOAD 0 MSI CMD MS_FLW_POS 0 END CMD CT_PAUSE NOR 20 CMD MS_OFF # MSI Off CMD CT_PAUSE NOR 1 CMD CT_AUT_EN DIS_NOEM 104 0 CMD CT_AUT_EN DIS_NOEM 132 0 END # # Macro P_Back to playback last recorded segment # MACROLOAD P_Back 0xB203 REL CT_MACT_LD 0 0 PG2 0X6000 CMD CT_AUT_EN ENA 144 1 END #********************** # TIME TAG COMMAND LOAD #********************** # MACRO with 9 time tag commands # Times were computed using SCLK005 MACROLOAD Canopus3_Load 0XB0A0 REL CT_MACT_LD 0 0 PG2 0X6000 # Time Tags # Clear time tag bins CMD CT_CLEAR TTAG 31 9 # Turn on MSI CMDLOAD CT_TIMTG_LD DIS 31 46245688 {CT_MACT_EX PG2 MCID (MSI_ON) 0xB100} # Load Scan Definitions CMDLOAD CT_TIMTG_LD DIS 32 46245823 {CT_MACT_EX PG2 MCID (Scan_Def) 0xBA02} # Configure for Canopus3 and Dark Space CMDLOAD CT_TIMTG_LD DIS 33 46262777 {CT_MACT_EX PG2 MCID (Config_DrkSpc) 0xBA03} # Canopus CMDLOAD CT_TIMTG_LD DIS 34 46263821 {CT_MACT_EX PG2 MCID (Canopus) 0xBC01} # Canopus Offset CMDLOAD CT_TIMTG_LD DIS 35 46264611 {CT_MACT_EX PG2 MCID (Canopus_Offset) 0xBC02} # Attitude Offset for Geometric Scan CMDLOAD CT_TIMTG_LD DIS 36 46265161 {CT_MACT_EX PG2 MCID (Att_Offset) 0xB0BB} # Geometric Scan CMDLOAD CT_TIMTG_LD DIS 37 46265591 {CT_MACT_EX PG2 MCID (Geo_Scan) 0xB201} # Turn off MSI CMDLOAD CT_TIMTG_LD DIS 38 46266197 {CT_MACT_EX PG2 MCID (MSI_OFF) 0xB202} # Playback last segment CMDLOAD CT_TIMTG_LD DIS 39 46271801 {CT_MACT_EX PG2 MCID (P_Back) 0xB203} END END # End of file