PROC L_FL_CONTBOOT ;Version 6 GOTO BEGIN ; ;#************************************************************************** ;# ****PROCEDURE HEADER**** ;# ;# 1.0 Introduction ;# ;# 1.1 FOT Name: L_FL_CONTBOOT ;# MMS-F Name: CONTBOOT ;# SUM Issue: ;# Simulator Validation Status: ;# ;# 1.2 Date Created: 03/16/95 ;# Revision: 1.04/12/95 ;# 2.04/18/95 ;# 3.05/01/95 ;# 4.06/01/95 ;# 5.06/08/95 ;# 6.10/24/95 ;# ;# 1.3 Change Description: ;# ;# 1. Corrected line 84 by omitted the space from H 'A5A1' to ;# H'A5A1', and deleted the p@ sign. ;# Commented out the command LBPSTAT, and TMs LSIASRT, LSIBSRT, ;# at this moment, because those are not available on both ;# string as well as on the new DB FM6. ;# 2. Added wait statement for tm check LKOSCRAT, and corrected ;# command LBPSTAT to LBSPCSR. ;# 3. Added a wait statement and tm check. ;# 4. Corrected data word for KNK12000 to 0140 vice 0180.Fix fot name. ;# 5. Corrected data word for KNK12000 to 0040 to updated LOBT for ;# LASCO side only. ;# 6. Changed proc's name from TS to FL, there is no TSTOL changes ;# and no further input from PI since GSCT#3. ;# ;# 1.4 Point of Contact: CCazeau ;# ;# FOT Author: C.Q ATSC/SOHO 286-4799 ;# ;#************************************************************************** ;# 2.0 Description ;# ;# 2.1 Narrative Description ;# ;# This procedure completes the initialization of the LASCO/EIT ;# experiment, by continuing with the booting of the LEB and then ;# the COB and EIT telescopes. ;# ;# 2.2 Intended Use: ;# ;# Initialization of the LASCO/EIT experiments ;# ;# 2.3 Duration: TBD ;# ;# 2.4 References: LASCO/EIT EXPERIMENT GUIDE ;# ;#************************************************************************** ;# 3.0 Instructions for Use: ;# ;# 3.1 Parameters Required ;# ;# None ;# ;# 3.2 Critical Activities ;# ;# None ;# ;# 3.3 Special Constraints or Activities ;# ;# The experiment power and +31V should not be on. ;# ;#************************************************************************** ;# 4.0 STEPS: BEGIN: IF (P@CMD_STATE#TELECOMMAND = "AVAILABLE") THEN ELSE /CLEAR ;Clearing the Command Buffer. ENDIF ;******************** PRELIMINARY VERIFICATION ******************** SV P@LSIEXPRC ;Check experiment power LSIEXPRC = OFF SV P@LSI31VRC ;Check +31V LS31VRC = OFF ;****************************************************************** /LBSPCSR ;Request PCE status WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds /LBSBOOT ,2033,2032 ;Boot OBE from EEPROM (critical command) WAIT ;Verify contents of command buffer /SEND WRITE "WAITING FOR LEB TO BOOT OBE" WAIT 480 ;Wait for 480 seconds WAIT UNTIL (LKHK1SYN = H'A5A1') ;HK TM VALID WAIT UNTIL (P@LKOSCRAT = "1") ;TLM RATE NORMAL /KNK12000,0040 ;Command send to update LOBT /LBTXNF ;Turn exp pwr on, 31V off WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LSIEXPRC = "ON") ;Experiment Power ASK "IS INPUT PARAMETER CPU-A? (Y/N)" ANSWER = %UPPER(ANSWER) IF (ANSWER .EQ. "Y") THEN /LBIASEL ;Instrument controller A CMD WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LSIUART = "A") ;Instrument contol uart select WAIT UNTIL (P@LSIARST = "RST") ;IC A RESET /LBIARST ;Instrument controller A Reset WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LSIARST = "ENB") ;IC A RESET /LBSBOOT,2032,2032 ;Boot instrument controller from EEPROM WAIT ;Verify contents of command buffer /SEND ENDIF ASK "IS INPUT PARAMETER CPU-B? (Y/N)" ANSWER = %UPPER(ANSWER) IF (ANSWER .EQ. "Y") THEN /LBIBSEL ;Instrument controller B CMD WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LSIUART = "B") ;Instrument contol uart select WAIT UNTIL (P@LSIARST = "RST") ;IC B RESET /LBIBRST ;Instrument controller B Reset WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LSIARST = "ENB") ;IC B RESET /LBSBOOT,2039,2032 ;Boot Instrument controller from EEPROM WAIT ;Verify contents of command buffer /SEND ELSE WRITE "WAITING FOR LEB TO BOOT ICE" WAIT 120 ;Wait for 120 seconds /LBTXNN ;Turn exp pwr on, 31V on WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LSI31VRC = "ON") ;(+31V) STATUS ENDIF ASK "IS INPUT PARAMETER CPU-A? (Y/N)" ANSWER = %UPPER(ANSWER) IF (ANSWER .EQ. "Y") THEN /LBSSIDEA ;Select side A WAIT ;Verify contents of command buffer /SEND ELSE /LBSSIDEB ;Select side B WAIT ;Verify contents of command buffer /SEND WAIT 120 ;Wait for 120 seconds ENDIF S L_TS_THZONEOF WRITE "WAITING FOR CAMERA CODE BOOT" /LBSPRST,0200 ;Boot camera code to OBE WAIT ;Verify contents of command buffer /SEND WAIT 120 ;Wait for 120 seconds WAIT UNTIL (LKHK1SYN = H'A5A1') ;HK TM VALID WRITE "LOADING CAMERA C1" /LBSPRST,0300 ;Reset camera 1 WAIT ;Verify contents of command buffer /SEND WAIT 15 ;Wait for 30 seconds WAIT UNTIL (LK1CVLD = 2) ;Camera CCD status valid /LBSPRST,0400 ;Load camera 1 from OBE WAIT ;Verify contents of command buffer /SEND WAIT 60 ;Wait for 120 seconds WAIT UNTIL (LK1CVLD = 4) ;Camera CCD status valid WRITE "LOADING CAMERA C2" /LBSPRST,0301 ;Reset camera 2 WAIT ;Verify contents of command buffer /SEND WAIT 15 ;Wait for 30 seconds WAIT UNTIL (LK2CVLD = 2) ;Camera CCD status valid /LBSPRST,0401 ;Load camera 2 from OBE WAIT ;Verify contents of command buffer /SEND WAIT 60 ;Wait for 120 seconds WAIT UNTIL (LK2CVLD = 4) ;Camera CCD status valid WRITE "LOADING CAMERA C3" /LBSPRST,0302 ;Reset camera 3 WAIT ;Verify contents of command buffer /SEND WAIT 15 ;Wait for 30 seconds WAIT UNTIL (LK3CVLD = 2) ;Camera CCD status valid /LBSPRST,0402 ;Load camera 3 from OBE WAIT ;Verify contents of command buffer /SEND WAIT 60 ;Wait for 120 seconds WAIT UNTIL (LK3CVLD = 4) ;Camera CCD status valid WRITE "LOADING CAMERA EIT" /LBSPRST,0303 ;Reset camera EIT WAIT ;Verify contents of command buffer /SEND WAIT 15 ;Wait for 30 seconds WAIT UNTIL (EKECVLD = 2) ;Camera CCD status valid /LBSPRST,0403 ;Load camera EIT from OBE WAIT ;Verify contents of command buffer /SEND WAIT 120 ;Wait for 120 seconds WAIT UNTIL (EKECVLD = 4) ;Camera CCD status valid WRITE "WAITING FOR FP CODE BOOT" /LBSPRST,0204 ;Boot FP code to OBE WAIT ;Verify contents of command buffer /SEND WAIT 195 ;Wait for 195 seconds WAIT UNTIL (LKHK1SYN = H'A5A1') ;HK TM VALID WRITE "LOADING FABRY-PEROT" /LBSPRST,0304 ;Reset FP WAIT ;Verify contents of command buffer /SEND WAIT 15 ;Wait for 30 seconds WAIT UNTIL (LK1FVLD = 2) ;FP STATUS VALID FLAG /LBSPRST,0404 ;Load FP from OBE WAIT ;Verify contents of command buffer /SEND WAIT 500 ;Wait for 540 seconds WAIT UNTIL (LK1FVLD = 4) ;FP STATUS VALID FLAG ;#************************************************************************** ;# 5.0 Final Constraints ;# ;# TBD ;# ;#************************************************************************** ENDPROC