**************************************************************************************************** ** LNG product: ELISA source **************************************************************************************************** ** Type: Sequence ** ** FOP Name & Version: None ** ** Description: This sequence execute the Short Functional Test (SFT) of the Solar Orbiter ** SWA instrument as described in the SWA test procedure referenced below. ** The sequence powers up the SWA and executes basic configuration of the ** instrument. A connection test is done before executing the SWA complete ** internal test. The SWA is then powered down. ** ** Input Arguments: None ** ** Output Values: None ** ** CSW Version: V2.1.3 P4 or higher ** ** FOPs used: None ** ** HK TM packets used: AB.TM.YIA58602, AB.TM.YIA58700, AB.TM.YIA58701, AB.TM.YIA58702, AB.TM.YIA58703, ** AB.TM.YIA58704, AB.TM.YIA58705, AB.TM.YIA58711, AB.TM.YIA58713AB.TM.YIA58727, ** AB.TM.YIA58729 ** ** Test Procedure & Reference: SWA FM Short Functional Test Procedure ** SO-SWA-MSSL-TP-055 Iss 2 ** ** Restrictions and Limitations:* All HIS, EAS 1&2 and PAS HV Disable or Airsafe plugs must be installed ** in the correct configuration for the appropriate, following test. ** * FFT not implemented. SSMM hardware required to be ON before SFT/FFT starts. ** * The SWA must have SWA DPU software (vers 3.3.4) including ** ASW (vers 3.0.5) and ExOS (vers 3.1.3), or above. ** * SRDB version must include SWA IDB 5.0.1 or above. ** **************************************************************************************************** ** History **-------------------------------------------------------------------------------------------------- ** Edited Version Date Author Comment **-------------------------------------------------------------------------------------------------- ** 1.0 10/05/2016 E. Bouland Initial creation ** 1.1 17/08/2016 C. Shirran First Authorization ** 1.2 18/08/2016 C. Shirran In accordance with SWA SFT IRR, Some HIS TM checks have been commented out. They are now printed for reference instead. See OBS 1 of ACS-OTB-130 ** 1.3 Fixed some tyos in stop report flows before SFT end. ** 1.4 SWA A checks had the B LCL value. Changed the limits of NPWD3267 to ">=0.150","<=0.250". Moved the first time sync to 6 seconds after boot as it should be. oved other TM checks accordingly. Removed the 220s wait time. ** 1.5 Removed all TM check of NIA00700 parameter as it is shared between all HK packets. Checking for reception of packet instead. ** 1.6 Changed NIA00786 to NO as it increments. ** 1.7 NIAG2100 and 2103 have been commented out on request of SWA. ** 1.8 Raised wait time of final power off checks to 30s as OTB PCDU/RIU models TM updates slower than ETB and PFM. ** 1.9 Redundant spw switchover has been commented out based on Observation 4 (NCR to be raised) ** 1.10 Added S20 disable FCP ** 1.11 Made changes to SU_SEND parameters. ** 1.12 Replaced all SU_SEND commands with ACK_EXEC instead of AUTO as a test. ** 1.13 Wrong TC sent to turn on PAS. Updated. For the HIS on command Changed to SKIP so that paramteres can be checked during boot. ** All checks for science reports have been commented out as they can't be checked since all science data is being directed straight to the TMTC scoe ** NIA00532 check has been changed to equal to 16032. Misunderstqanding with procedure. ** 1.14 fixed a numeration error on an su_seqphase routine. Added 20s after EAS 1 and EAS 2 voltage ramp down to allow time for the voltage to ramp down ** 1.15 The SpW switch to the redundant side has been uncommented in preperation for the SFT run on the unit B side. ** 1.16 Fixed some TM checks on B side power on. ** 1.17 Fixed the packet checks that look for the repetition of a packet over a certain time frame. Fixed the method to check the TM value of NIA00532. PTR action 4. ** 1.18 15/03/2018 J.Cane Replaced by FM SFT case. ** 1.19 27/03/2018 J.Cane Updated applicable instrument software and IDB in line with SO-SWA-MSSL-TP-055 Iss 2 ** 1.20 01/05/2018 E.Boulet update HV safety plug argument and abort if flight configuration is chosen ** 1.21 01/05/2018 E.Boulet EM branch removed + proto associated ** 1.22 01/05/2018 E.Boulet Remove dialog and correct the airsafe part for PAS ** 1.23 01/05/2018 E.Boulet correct typo in report flow ** 1.24 01/05/2018 E.Boulet add calltree ** 1.25 16/10/2018 J Silverthorn Changed monitoring to on-board FDIR. ** 1.26 VDIC 3 permanently enabled by procedure for this test *************************************************************************************************** ** SEQUENCE TIET_SWA_SFT SEQUENCE TIET_SWA_SFT ** Definition of Input parameters proto string $sUnit_Side := "A" upper ["A","B"] string $sPAS_HVSafety ["AIRSAFE","DISABLED","FLIGHT"] end proto ** Definition of Constants const string $s_Trace := "TRACE" string $sTitle := "TITLE" ** Definition of Variables var string $sBufArg := "" string $sNumPha string $sPlatform date $dCurDate string $sAnswer(2) int $Count int $i_reportflowID int $i_reportflowID_1 int $i_reportflowID_2 int $i_reportflowID_3 int $i_RptRefNb string $sChoice ************************************************************************************************ ** Main body of the sequence ************************************************************************************************ main **----------------------------------------------------------------------------------------- ** Opens the execution window. **----------------------------------------------------------------------------------------- window $sBufArg := ARG($sBufArg, $sUnit_Side, "Choice of Unit Side") @su_seqstart($sBufArg, *$dCurDate, "TRACE") ********************************************************************************************* ** Get the call tree for the sequence ********************************************************************************************* call TSZA_CALLTREE, SEQ_NAME := "TIET_SWA_SFT" $sPlatform := AB.USR.PLATFORM IF ($sPAS_HVSafety = "FLIGHT") raise NOK, "There is no HV safety plug connected to PAS - switch on not allowed" abort ENDIF @su_seqphase2(1, "Starting SWA SFT on side "+$sUnit_Side, *$sNumPha,"", $sTitle) @su_seqphase2(2, "Prerequisite: Switch On SWA side "+$sUnit_Side, *$sNumPha,"", $sTitle) CALL TISC_SWA_ON , SUNIT := $sUnit_Side, STARGETMODE := "DPUOPS" , SMONITOR := "FMON" call TISS_HIS_ON, $sUnit_Side call TISS_PAS_ON, $sPAS_HVSafety call TISS_EAS_ON, "1" call TISS_EAS_ON, "2" -- DO -- @SU_CHOICE("Confirm with other instrument teams that it is OK to enable VCID3","OK|NOK",*$sChoice) -- EXIT IF ($sChoice = "OK") -- END DO -- @SU_SEQPHASE2(1,"Enable VC3 (science data) forwarding from TMTC SCOE to OpenCenter", *$sNumPha, "", $sTitle) -- @SU_SEND ({ AB.FEE.ZWT00093, KEYWORD := "REMSETTMVCFILTER", PWT00029 := "0-7 Port=0"}, $s_trace) --;; HIS @su_seqphase2(2, "Section 8.1 - HIS", *$sNumPha,"", $sTitle) @su_seqphase2(3, "Step 8.1.1 - Put HIS into science mode", *$sNumPha,"", $sTitle) --; Put HIS into science mode --TC, ZIA58917, PIA59011, EQUAL, NORMAL_SCI $i_reportflowID := startreportflow("AB.TM.YIA58602") --TC, ZIA58917, PIA59011, EQUAL, NORMAL_SCI @su_send({ AB.TC.ZIA58917 , \ SHF:OBV := 0 , \ SID:OBV := 120 , \ PIA59011_ := "NORMAL_SCI"}, $s_Trace) --; Reception of: --TM,YIA58602 ; (5,1) SID=43802 SWA_E_HIS_MODE_CHANGE @RPZA_CATCHTMPCKT($i_reportFlowID, "AB.TM.YIA58602", *$i_RptRefNb) stopreportflow $i_reportflowID @su_seqphase2(3, "Step 8.1.2 - Wait 00:05:00", *$sNumPha,"", $sTitle) --; Wait 00:05:00 (5 minute) @SU_WAIT(5 * 60) @su_seqphase2(3, "Step 8.1.3 - Put HIS into standby mode", *$sNumPha,"", $sTitle) $i_reportflowID := startreportflow("AB.TM.YIA58602") --; Put HIS into standby mode --TC, ZIA58917, PIA59011, EQUAL, HVSTDBY @su_send({ AB.TC.ZIA58917 , \ SHF:OBV := 0 , \ SID:OBV := 120 , \ PIA59011_ := "HVSTDBY"}, $s_Trace) --; Reception of: --TM,YIA58602 ; (5,1) SID=43802 SWA_E_HIS_MODE_CHANGE @RPZA_CATCHTMPCKT($i_reportFlowID, "AB.TM.YIA58602", *$i_RptRefNb) stopreportflow $i_reportflowID --;; PAS @su_seqphase2(2, "Section 8.2 - PAS", *$sNumPha,"", $sTitle) IF ($sPAS_HVSafety = "AIRSAFE") @su_seqphase2(3, "Step 8.2.1 - Put PAS into normal mode via the mailbox", *$sNumPha,"", $sTitle) $i_reportflowID := startreportflow("AB.TM.YIA58729") $i_reportflowID_1 := startreportflow("AB.TM.YIA58700") $i_reportflowID_2 := startreportflow("AB.TM.YIA58705") --; Put PAS into normal mode via the mailbox --TC,ZIA58873,PIA60347,EQUAL,0x1 @su_send({ AB.TC.ZIA58873 , \ SHF:OBV := 0 , \ SID:OBV := 120 , \ PIA60347_ := 0x1}, $s_Trace) --; Reception of --TM,YIA58729 ; (21,3) SSID=215 SWA_TM_SCI_PAS_MOMENTS_RAW_DATA --TM,YIA58700 ; (21,3) SSID=192 SWA_TM_SCI_PAS_FULL3D_RAW_HEAD --TM,YIA58705 ; (21,6) SSID=193 SWA_TM_SCI_PAS_FULL3D_RAW_DATA @RPZA_CATCHTMPCKT($i_reportFlowID, "AB.TM.YIA58729", *$i_RptRefNb) @RPZA_CATCHTMPCKT($i_reportFlowID_1, "AB.TM.YIA58700", *$i_RptRefNb) @RPZA_CATCHTMPCKT($i_reportFlowID_2, "AB.TM.YIA58705", *$i_RptRefNb) stopreportflow $i_reportflowID stopreportflow $i_reportflowID_1 stopreportflow $i_reportflowID_2 @su_seqphase2(3, "Step 8.2.2 - Upload the PAS pulse table #5", *$sNumPha,"", $sTitle) --; Upload the PAS pulse table #5 @su_send({ AB.TC.ZIA58878 , \ SHF:OBV := 0 , \ SID:OBV := 120 , \ PIA60719_ := 0x0F1A6E , \ FI1_:OBV := 0 , \ FI2_:OBV := 0 , \ PIA60433_ := 0x28 , \ PIA60672_ := 0x04 , \ PIA60717_ := 0x05 , \ PIA60718_ := 0x14}, $s_Trace) @su_seqphase2(3, "Step 8.2.3 - Wait 00:05:00 (5 minute)", *$sNumPha,"", $sTitle) --; Wait 00:05:00 (5 minute) @SU_WAIT(5 * 60) @su_seqphase2(3, "Step 8.2.4 - Put PAS into no science mode", *$sNumPha,"", $sTitle) --; Put PAS into no science mode --TC,ZIA58944 @su_send({ AB.TC.ZIA58944 , \ SHF:OBV := 0 , \ SID:OBV := 120}, $s_Trace) ENDIF ******************************************* --;; EAS 1 @su_seqphase2(2, "Section 8.3 - EAS 1", *$sNumPha,"", $sTitle) @su_seqphase2(3, "Step 8.3.1 - Start Normal Mode on EAS1", *$sNumPha,"", $sTitle) $i_reportflowID := startreportflow("AB.TM.YIA58727") $i_reportflowID_1 := startreportflow("AB.TM.YIA58703") $i_reportflowID_2 := startreportflow("AB.TM.YIA58704") $i_reportflowID_3 := startreportflow("AB.TM.YIA58713") --Start Normal Mode on EAS1 --TC,ZIA58771,PIA60031,EQUAL, MBOX1 --TC,,PIA60446,EQUAL, 0 --TC,,PIA60447,EQUAL, 0 --TC,,PIA60448,EQUAL, 0xC2 @su_send({ AB.TC.ZIA58771 , \ SHF:OBV := 0 , \ SID:OBV := 120 , \ PIA60031_ := "MBOX1" , \ PIA60446_ := 0 , \ PIA60447_ := 0 , \ PIA60448_ := 0xC2}, $s_Trace) --; Reception of --TM,YIA58727; TM(21,3) SSID=20 SWA_TM_SCI_EAS_PARTIAL_MOMENTS_RAW_DATA --TM,YIA58703 ; TM(21,3) SSID=0 SWA_TM_SCI_EAS1_FULL3D_RAW_HEAD --TM,YIA58704 ; TM(21,6) SSID=1 SWA_TM_SCI_EAS1_FULL3D_RAW_DATA --TM,YIA58713 ; TM(21,6) SSID=9 SWA_TM_SCI_EAS1_STRAHL_RAW_DATA @RPZA_CATCHTMPCKT($i_reportFlowID, "AB.TM.YIA58727", *$i_RptRefNb) @RPZA_CATCHTMPCKT($i_reportFlowID_1, "AB.TM.YIA58703", *$i_RptRefNb) @RPZA_CATCHTMPCKT($i_reportFlowID_2, "AB.TM.YIA58704", *$i_RptRefNb) @RPZA_CATCHTMPCKT($i_reportFlowID_3, "AB.TM.YIA58713", *$i_RptRefNb) stopreportflow $i_reportflowID stopreportflow $i_reportflowID_1 stopreportflow $i_reportflowID_2 stopreportflow $i_reportflowID_3 @su_seqphase2(3, "Step 8.3.2 - Wait 00:05:00 (5 minute)", *$sNumPha,"", $sTitle) --; Wait 00:05:00 (5 minute) @SU_WAIT(5 * 60) @su_seqphase2(3, "Step 8.3.3 - Stop normal mode on EAS1", *$sNumPha,"", $sTitle) --; Stop normal mode on EAS1 --TC, ZIA58771, PIA60031, EQUAL, MBOX1 --TC,, PIA60446, EQUAL, 0 --TC,, PIA60447, EQUAL, 0 --TC,, PIA60448, EQUAL, 0 @su_send({ AB.TC.ZIA58771 , \ SHF:OBV := 0 , \ SID:OBV := 120 , \ PIA60031_ := "MBOX1" , \ PIA60446_ := 0 , \ PIA60447_ := 0 , \ PIA60448_ := 0}, $s_Trace) --;; EAS 2 @su_seqphase2(2, "Section 8.4 - EAS 2", *$sNumPha,"", $sTitle) @su_seqphase2(3, "Step 8.4.1 - Start Normal Mode on EAS2", *$sNumPha,"", $sTitle) $i_reportflowID := startreportflow("AB.TM.YIA58727") $i_reportflowID_1 := startreportflow("AB.TM.YIA58701") $i_reportflowID_2 := startreportflow("AB.TM.YIA58702") $i_reportflowID_3 := startreportflow("AB.TM.YIA58711") --; Start normal mode on EAS2 --TC, ZIA58819, PIA60031, EQUAL, MBOX1 --TC,, PIA60446, EQUAL, 0 --TC,, PIA60447, EQUAL, 0 --TC,, PIA60448, EQUAL, 0xC2 @su_send({ AB.TC.ZIA58819 , \ SHF:OBV := 0 , \ SID:OBV := 120 , \ PIA60031_ := "MBOX1" , \ PIA60446_ := 0 , \ PIA60447_ := 0 , \ PIA60448_ := 0xC2}, $s_Trace) --; Reception of --TM,YIA58727; TM(21,3) SSID=20 SWA_TM_SCI_EAS_PARTIAL_MOMENTS_RAW_DATA --TM,YIA58701 ; TM(21,3) SSID=30 SWA_TM_SCI_EAS2_FULL3D_RAW_HEAD --TM,YIA58702 ; TM(21,6) SSID=31 SWA_TM_SCI_EAS2_FULL3D_RAW_DATA --TM,YIA58711 ; TM(21,6) SSID=39 SWA_TM_SCI_EAS2_STRAHL_RAW_DATA @RPZA_CATCHTMPCKT($i_reportFlowID, "AB.TM.YIA58727", *$i_RptRefNb) @RPZA_CATCHTMPCKT($i_reportFlowID_1, "AB.TM.YIA58701", *$i_RptRefNb) @RPZA_CATCHTMPCKT($i_reportFlowID_2, "AB.TM.YIA58702", *$i_RptRefNb) @RPZA_CATCHTMPCKT($i_reportFlowID_3, "AB.TM.YIA58711", *$i_RptRefNb) stopreportflow $i_reportflowID stopreportflow $i_reportflowID_1 stopreportflow $i_reportflowID_2 stopreportflow $i_reportflowID_3 @su_seqphase2(3, "Step 8.4.2 - Wait 00:05:00 (5 minute)", *$sNumPha,"", $sTitle) --; Wait 00:05:00 (5 minute) @SU_WAIT(5 * 60) @su_seqphase2(3, "Step 8.4.3 - Stop normal mode on EAS2", *$sNumPha,"", $sTitle) --; Stop normal mode on EAS2 --TC, ZIA58819, PIA60031, EQUAL, MBOX1 --TC,, PIA60446, EQUAL, 0 --TC,, PIA60447, EQUAL, 0 --TC,, PIA60448, EQUAL, 0 @su_send({ AB.TC.ZIA58819 , \ SHF:OBV := 0 , \ SID:OBV := 120 , \ PIA60031_ := "MBOX1" , \ PIA60446_ := 0 , \ PIA60447_ := 0 , \ PIA60448_ := 0}, $s_Trace) -- DO -- @SU_CHOICE("Confirm with other instrument teams that it is OK to disable VCID3","OK|NOK",*$sChoice) -- EXIT IF ($sChoice = "OK") -- END DO -- @SU_SEQPHASE2(1,"Disable VC3 (science data) forwarding from TMTC SCOE to OpenCenter", *$sNumPha, "", $sTitle) -- @SU_SEND ({ AB.FEE.ZWT00093, KEYWORD := "REMSETTMVCFILTER", PWT00029 := "0-2,4-7 Port=0"}, $s_trace) @su_seqphase2(2, "Final: Switch Off SWA side "+$sUnit_Side, *$sNumPha,"", $sTitle) call TISS_HIS_OFF call TISS_PAS_OFF, $sPAS_HVSafety call TISS_EAS_OFF, "1" call TISS_EAS_OFF, "2" CALL TISC_SWA_OFF END SEQUENCE