PROC L_FL_SAFELASCO ;Version 3 GOTO BEGIN ; ;#************************************************************************** ;# ****PROCEDURE HEADER**** ;# ;# 1.0 Introduction ;# ;# 1.1 FOT Name: L_FL_SAFELASCO ;# MMS-F Name: SAFE_LASCO ;# SUM Issue: ;# Simulator Validation Status: ;# ;# 1.2 Date Created: 02/3/95 ;# Revision: 1. 03/16/95 ;# 2. 04/13/95 ;# 3. 10/24/95 ;# ;# 1.3 Change Description: ;# ;# 1. Rename procedure L_TS_SAFE to L_TS_SAFELASCO, and added ;# section V preliminary verification. ;# Corrected LAS_INST_CTL = 0 to LSIAR = "ON", and LKM1DPOS ;# != "CLOS" to LKM1DPOS != 2. ;# Replaced with commands LBMCMD, and LBMPOS. ;# 2. Changed H '5A64' and H '5A65' to H'5A64' and H'5A65' by ;# omitted space. Also, corrected $SIDE to D'$SIDE'. ;# Corrected != sign to <> sign, and added step 1 for the do ;# loop. ;# 3. 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 may be used to place the LASCO/EIT experiments ;# into a safe condition. In the event that the EMERGENCY shut- ;# down procedure is used, the experiments may have been left in ;# an unsafe condiion requiring that this procedure should be in- ;# voked at the earliest possible time. This prcedure should be ;# used prior to any spacecraf movements. ;# ;# 2.2 Intended Use: ;# ;# To place the LASCO/EIT experiments into a safe condition ;# ;# 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 LEB must be powered on. If it is off then the LEBPWRON ;# procedure must be run first. ;# ;#************************************************************************** ;# 4.0 STEPS: BEGIN: IF (P@CMD_STATE#TELECOMMAND = "AVAILABLE") THEN ELSE /CLEAR ;Clearing the Command Buffer. ENDIF ;******************** PRELIMINARY VERIFICATION ******************* IF ((P@LSPWAN = "OFF")AND(P@LSPWBN = "OFF")) THEN S L_TS_LEBPWRON ELSE ENDIF ;***************************************************************** LOCAL SIDE,I /LBSFLUSH ;FLUSH OBSERVATION QUEUE WAIT ;Verify contents of command buffer /SEND IF (P@LSIAR = "ON") THEN LET SIDE = H'5A64' ELSE LET SIDE = H'5A65' ENDIF IF (P@LKM1DPOS <> 2) THEN ;If the door is not closed WRITE "Display 'CLOSING C1 DOOR'" /LBMCMD,D'$SIDE',0800,0201,6410,FA00,0A00 ;C1 door close /LBMCMD,D'$SIDE',0800,0201,6410,FA00,0A00 ;C1 door close WAIT ;VERIFY COMMAND BUFFER CONTENTS /SEND WAIT 120 ;Wait for 120 seconds FOR I = 1 TO 3 STEP 1 DO /LBMCMD,D'$SIDE',0800,0003,6410,FA00,0A00 ;C1 door close 250 STEPS /LBMCMD,D'$SIDE',0800,0003,6410,FA00,0A00 ;C1 door close 250 STEPS WAIT ;VERIFY COMMAND BUFFER CONTENTS /SEND WAIT 15 ;Wait for 15 seconds ENDDO /LBMPOS,D'$SIDE',0800 ;ICE mech current position read WAIT ;VERIFY COMMAND BUFFER CONTENTS /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM1DPOS = 2) ;C1 door Mtr encoder pos ENDIF IF (P@LKM2DPOS <> 2) THEN ;If the door is not closed WRITE "DISPLAY 'CLOSING C2 DOOR'" /LBMCMD,D'$SIDE',1000,0201,6410,FA00,0A00 ;C2 door close /LBMCMD,D'$SIDE',1000,0201,6410,FA00,0A00 ;C2 door close WAIT ;VERIFY COMMAND BUFFER CONTENTS /SEND WAIT 120 ;Wait for 120 seconds FOR I = 1 TO 3 STEP 1 DO /LBMCMD,D'$SIDE',1000,0003,6410,FA00,0A00 ;C2 door close 250 STEPS /LBMCMD,D'$SIDE',1000,0003,6410,FA00,0A00 ;C2 door close 250 STEPS WAIT ;VERIFY COMMAND BUFFER CONTENTS /SEND WAIT 15 ;Wait for 15 seconds ENDDO /LBMPOS,D'$SIDE',1000 ;ICE mech current position read WAIT ;VERIFY COMMAND BUFFER CONTENTS /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM2DPOS = 2) ;C2 door Mtr encoder pos ENDIF WRITE "CLOSING C3 DOOR " IF (P@LKM3DPOS <> 2) THEN ;If the door is not closed /LBMCMD,D'$SIDE',1800,0201,6410,FA00,0A00 ;C3 door close /LBMCMD,D'$SIDE',1800,0201,6410,FA00,0A00 ;C3 door close WAIT ;VERIFY COMMAND BUFFER CONTENTS /SEND WAIT 120 ;Wait for 120 seconds FOR I = 1 TO 3 STEP 1 DO /LBMCMD,D'$SIDE',1800,0003,6410,FA00,0A00 ;C1 door close 250 STEPS /LBMCMD,D'$SIDE',1800,0003,6410,FA00,0A00 ;C1 door close 250 STEPS WAIT ;VERIFY COMMAND BUFFER CONTENTS /SEND WAIT 15 ;Wait for 15 seconds ENDDO /LBMPOS,D'$SIDE',1800 ;ICE mech current position read WAIT ;VERIFY COMMAND BUFFER CONTENTS /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM3DPOS = 2) ;C3 door Mtr encoder pos ENDIF ;#************************************************************************** ;# 5.0 Final Constraints ;# ;# TBD ;# ;#************************************************************************** ENDPROC