PROC L_FL_CKC2MECH ;Version 3 GOTO BEGIN ; ;#************************************************************************** ;# ****PROCEDURE HEADER**** ;# ;# 1.0 Introduction ;# ;# 1.1 FOT Name: L_FL_CKC2MECH ;# MMS-F Name: CkC2Mech ;# SUM Issue: ;# Simulator Validation Status: ;# ;# 1.2 Date Created: 03/17/95 ;# Revision: 1.04/12/95 ;# 2.04/18/95 ;# 3.10/24/95 ;# ;# 1.3 Change Description: ;# ;# 1. Corrected for every variable ($SIDE) to D'$SIDE'. ;# 2. Spelling Check. ;# 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 check the C2 mechanisms status and then proceeds ;# to move all C1 mechanisms to check their proper functioning. ;# ;# 2.2 Intended Use: ;# ;# Check C2 Mechanisms ;# ;# 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 ;# ;# ;# ;#************************************************************************** ;# 4.0 STEPS: BEGIN: IF (P@CMD_STATE#TELECOMMAND = "AVAILABLE") THEN ELSE /CLEAR ;Clearing the Command Buffer. ENDIF LOCAL SIDE IF (P@LSIAR = "ON") THEN LET SIDE = H'5A64' ELSE LET SIDE = H'5A65' ENDIF /LB2WF,D'$SIDE',0000 ;Move C2 filter wheel to pos 1 WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM2WPOS = 0) ;C2 Filter mtr encoder pos /LB2WF,D'$SIDE',0100 ;Move C2 filter wheel to pos 2 WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM2WPOS = 1) ;C2 Filter mtr encoder pos /LB2WF,D'$SIDE',0200 ;Move C2 filter wheel to pos 3 WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM2WPOS = 2) ;C2 Filter mtr encoder pos /LB2WF,D'$SIDE',0300 ;Move C2 filter wheel to pos 4 WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM2WPOS = 3) ;C2 Filter mtr encoder pos /LB2WF,D'$SIDE',0400 ;Move C2 filter wheel to pos 5 WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM2WPOS = 4) ;C2 Filter mtr encoder pos /LB2WF,D'$SIDE',0000 ;Move C2 Filt wheel to pos 1 WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM2WPOS = 0) ;C2 Filt mtr encoder pos /LB2WP,D'$SIDE',0000 ;Move C2 POL wheel to pos 1 WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM2ZPOS = 0) ;C2 POL mtr encoder pos /LB2WP,D'$SIDE',0100 ;Move C2 POL wheel to pos 2 WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM2ZPOS = 1) ;C2 POL mtr encoder pos /LB2WP,D'$SIDE',0200 ;Move C2 POL wheel to pos 3 WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM2ZPOS = 2) ;C2 POL mtr encoder pos /LB2WP,D'$SIDE',0300 ;Move C2 POL wheel to pos 4 WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM2ZPOS = 3) ;C2 POL mtr encoder pos /LB2WP,D'$SIDE',0400 ;Move C2 POL wheel to pos 5 WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM2ZPOS = 4) ;C2 POL mtr encoder pos /LB2WP,D'$SIDE',0000 ;Move C2 POL wheel to pos 1 WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM2ZPOS = 0) ;C2 POL mtr encoder pos /LBMCMD,D'$SIDE',1300,0002,0E10,0200,3200 ;C2 shutter open WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM2SPOS = 0) ;C2 shutter mtr encoder pos /LBMCMD,D'$SIDE',1300,0202,0E10,0200,3200 ;C2 shutter close WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LKM2SPOS = 2) ;C2 shutter mtr encoder pos /LB2LON,D'$SIDE' ;C2 door cal lamp on WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LS2LDON = "ON") ;C2 Door cal lamp /LB2LOF,D'$SIDE' ;C2 door cal lamp off WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LS2LDON = "OFF") ;C1 Door cal lamp /LB2LSON,D'$SIDE' ;C2 shutter cal lamp on WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LS2LSON = "ON") ;C2 shutter cal lamp /LB2LSOF,D'$SIDE' ;C2 shutter cal lamp off WAIT ;Verify contents of command buffer /SEND WAIT 30 ;Wait for 30 seconds WAIT UNTIL (P@LS2LSON = "OFF") ;C1 shutter cal lamp ;#************************************************************************** ;# 5.0 Final Constraints ;# ;# TBD ;# ;#************************************************************************** ENDPROC