Source Code
These source-code files are part of a reconstructed copy of Comanche 44, the
initial release (though not the final mission release) of the Apollo 10
Command Module (CM) Apollo Guidance Computer (AGC) software. Subsequent releases
were Comanche 45 and Comanche 45/2 (the flown release on Apollo 10). The reconstruction
is believed to be exactly accurate, but in the absence of an actual Apollo-era
listing of Comanche 44, some explanation of the reconstruction process is needed
to insure confidence in that accuracy.
The starting point was the source code of Comanche 51 (separately previously reconstructed from an Apollo-era listing of Comanche 55, flown on Apollo 11). Comanche 51 source code was then modified by undoing changes known to have been made between revisions 44 and 51. The now-reconstructed Comanche 44 source code was verified by assembling it and checking that the assembled code had the expected known-correct memory-bank checksums. Note that page numbers in the reconstructed code match those on the Comanche 55 printout, although the source code would likely have different page numbers in a contemporary Comanche 44 listing. Annotations that were not present in the contemporary source code have been added to the reconstructed code to justify each change relative to Comanche 51. Here's a guide to the Apollo documentation referenced in those annotations:
Comments expected to have been present in the original source code are prefixed with a single '#' symbol, whereas comments added later are prefixed by "##" or "###". Report any errors noted by creating an issue report at the Virtual AGC Project's GitHub repository. |
005525,000002: ## Copyright: Public domain.
005526,000003: ## Filename: T4RUPT_PROGRAM.agc
005527,000004: ## Purpose: A section of Comanche revision 044.
005528,000005: ## It is part of the reconstructed source code for the
005529,000006: ## original release of the flight software for the Command
005530,000007: ## Module's (CM) Apollo Guidance Computer (AGC) for Apollo 10.
005531,000008: ## The code has been recreated from a copy of Comanche 055. It
005532,000009: ## has been adapted such that the resulting bugger words
005533,000010: ## exactly match those specified for Comanche 44 in NASA drawing
005534,000011: ## 2021153D, which gives relatively high confidence that the
005535,000012: ## reconstruction is correct.
005536,000013: ## Assembler: yaYUL
005537,000014: ## Contact: Ron Burkey <info@sandroid.org>.
005538,000015: ## Website: www.ibiblio.org/apollo/index.html
005539,000016: ## Mod history: 2020-12-03 MAS Created from Comanche 51.
005540,000017: ## 2021-05-30 ABS $$/T4RUPT -> $$/T4RPT
005541,000018:
Page 133 |
005543,000020: 12,2000 BANK 12
005544,000021: 06,2000 SETLOC T4RUP
005545,000022: 06,2000 BANK
005546,000023:
005547,000024: 06,2000 COUNT 06/T4RPT
005548,000025:
005549,000026: 06,2000 54016 T4RUPT TS BANKRUPT
005550,000027: 06,2001 00006 EXTEND
005551,000028: 06,2002 22012 QXCH QRUPT
005552,000029:
005553,000030: 06,2003 11302 CCS DSRUPTSW # GOES 7(-1)0 AROUND AND AROUND
005554,000031: 06,2004 12010 TCF NORMT4 +1
005555,000032: 06,2005 12007 TCF NORMT4
005556,000033:
005557,000034: 06,2006 12136 TCF QUIKDSP
005558,000035:
005559,000036: 06,2007 35023 NORMT4 CAF SEVEN
005560,000037: 06,2010 54070 TS RUPTREG1
005561,000038: 06,2011 55302 TS DSRUPTSW
005562,000039:
005563,000040: 06,2012 COUNT 02/T4RPT
005564,000041:
005565,000042: 06,2012 7711 74K = HIGH4
005566,000043:
005567,000044: # RELTAB IS A PACKED TABLE. RELAYWORD CODE IN UPPER 4 BITS, RELAY CODE
005568,000045: # IN LOWER 5 BITS.
005569,000046:
005570,000047: 4072 BLOCK 02
005571,000048: 4000 SETLOC FFTAG12
005572,000049: 4000 BANK
005573,000050:
005574,000051: 4072 04025 RELTAB OCT 04025
005575,000052: 4073 10003 OCT 10003
005576,000053: 4074 14031 OCT 14031
005577,000054: 4075 20033 OCT 20033
005578,000055: 4076 24017 OCT 24017
005579,000056: 4077 30036 OCT 30036
005580,000057: 4100 34034 OCT 34034
005581,000058: 4101 40023 OCT 40023
005582,000059: 4102 44035 OCT 44035
005583,000060: 4103 50037 OCT 50037
005584,000061: 4104 54000 OCT 54000
005585,000062: 4105 60000 RELTAB11 OCT 60000
005586,000063:
Page 134 |
005588,000065: # SWITCHED-BANK PORTION.
005589,000066:
005590,000067: 12,2000 BANK 12
005591,000068: 06,2000 SETLOC T4RUP
005592,000069: 06,2000 BANK
005593,000070:
005594,000071: 06,2012 COUNT 06/T4RPT
005595,000072:
005596,000073: 06,2012 11036 CDRVE CCS DSPTAB +11D
005597,000074: 06,2013 02063 TC DSPOUT
005598,000075: 06,2014 02063 TC DSPOUT
005599,000076:
005600,000077: 06,2015 57036 XCH DSPTAB +11D
005601,000078: 06,2016 74372 MASK LOW11
005602,000079: 06,2017 55036 TS DSPTAB +11D
005603,000080: 06,2020 64105 AD RELTAB11
005604,000081: 06,2021 00006 EXTEND
005605,000082: 06,2022 01010 WRITE OUT0
005606,000083: 06,2023 02071 TC HANG20
005607,000084:
Page 135 |
005609,000086: # DSPOUT PROGRAM. PUTS OUT DISPLAYS.
005610,000087:
005611,000088: 06,2024 55016 DSPOUTSB TS NOUT
005612,000089: 06,2025 45021 CS ZERO
005613,000090: 06,2026 54073 TS DSRUPTEM # SET TO -0 FOR 1ST PASS THRU DSPTAB
005614,000091: 06,2027 56776 XCH DSPCNT
005615,000092: 06,2030 65020 AD NEG0 # TO PREVENT +0
005616,000093: 06,2031 54776 TS DSPCNT
005617,000094: 06,2032 50776 DSPSCAN INDEX DSPCNT
005618,000095: 06,2033 11023 CCS DSPTAB
005619,000096: 06,2034 10776 CCS DSPCNT # IF DSPTAB ENTRY +, SKIP
005620,000097: 06,2035 12030 TCF DSPSCAN -2 # IF DSPCNT +, AGAIN
005621,000098: 06,2036 12047 TCF DSPLAY # IF DSPTAB ENTRY -, DISPLAY
005622,000099: 06,2037 00012 TABLNTH OCT 12 # DEC 10 LENGTH OF DSPTAB
005623,000100: 06,2040 10073 CCS DSRUPTEM # IF DSRUPTEM=+0, 2ND PASS THRU DSPTAB
005624,000101: 06,2041 37764 120MRUPT DEC 16372 B-14 # (DSPCNT = 0). +0 INTO NOUT.
005625,000102: 06,2042 55016 TS NOUT
005626,000103: 06,2043 00002 TC Q
005627,000104: 06,2044 54073 TS DSRUPTEM # IF DSRUPTEM=-0, 1ST PASS THRU DSPTAB
005628,000105: 06,2045 32037 CAF TABLNTH # (DSPCNT=0).+0 INTO DSRUPTEM. PASS AGAIN
005629,000106: 06,2046 12031 TCF DSPSCAN -1
005630,000107:
005631,000108: 06,2047 65017 DSPLAY AD ONE
005632,000109: 06,2050 50776 INDEX DSPCNT
005633,000110: 06,2051 55023 TS DSPTAB # REPLACE POSITIVELY
005634,000111: 06,2052 74372 MASK LOW11 # REMOVE BITS 12 TO 15
005635,000112: 06,2053 54073 TS DSRUPTEM
005636,000113: 06,2054 34364 CAF HI5
005637,000114: 06,2055 50776 INDEX DSPCNT
005638,000115: 06,2056 74072 MASK RELTAB # PICK UP BITS 12 TO 15 OF RELTAB ENTRY
005639,000116: 06,2057 60073 AD DSRUPTEM
005640,000117: 06,2060 00006 EXTEND
005641,000118: 06,2061 01010 WRITE OUT0 # WRITE CHANNEL 10
005642,000119: 06,2062 16706 TCF Q+1 # *** NORMAL RETURN SKIPS ONE
005643,000120:
005644,000121: 06,2063 10101 DSPOUT CCS FLAGWRD5 # DONT DISPLAY UNLESS DSKY FLAG ON
005645,000122: 06,2064 35021 CAF ZERO
005646,000123: 06,2065 12132 TCF NODSPOUT
005647,000124: 06,2066 11016 CCS NOUT
005648,000125: 06,2067 02024 TC DSPOUTSB
005649,000126: 06,2070 12132 TCF NODSPOUT # NO DISPLAY REQUESTS
005650,000127:
005651,000128: 06,2071 42173 HANG20 CS 11,14,9
005652,000129: 06,2072 27302 ADS DSRUPTSW
005653,000130:
005654,000131: 06,2073 37700 CAF 20MRUPT
005655,000132:
005656,000133: 06,2074 54027 SETTIME4 TS TIME4
005657,000134:
Page 136 |
005659,000136: # THE STATUS OF THE PROCEED PUSHBUTTON IS MONITORED EVERY 120 MILLISECONDS VIA THE CHANNEL 32 BIT 14 INBIT.
005660,000137: # THE STATE OF THIS INBIT IS COMPARED WITH ITS STATE DURING THE PREVIOUS T4RUPT AND IS PROCESSED AS FOLLOWS.
005661,000138: # IF PREV ON AND NOW ON - BYPASS
005662,000139: # IF PREV ON AND NOW OFF - UPDATE IMODES33
005663,000140: # IF PREV OFF AND NOW ON - UPDATE IMODES33 AND PROCESS VIA PINBALL
005664,000141: # IF PREV OFF AND NOW OFF - BYPASS
005665,000142: # THE LOGIC EMPLOYED REQUIRES ONLY 9 MCT (APPROX. 108 MICROSECONDS) OF COMPUTER TIME WHEN NO CHANGES OCCUR.
005666,000143:
005667,000144: 06,2075 31321 PROCEEDE CA IMODES33 # MONITIOR FOR PROCEED BUTTON
005668,000145: 06,2076 00006 EXTEND
005669,000146: 06,2077 06032 RXOR CHAN32 # CHECK IF BIT 14 DIFFERENT
005670,000147: 06,2100 75002 MASK BIT14
005671,000148: 06,2101 00006 EXTEND
005672,000149: 06,2102 12116 BZF T4JUMP # NO CHANGE
005673,000150:
005674,000151: 06,2103 23321 LXCH IMODES33
005675,000152: 06,2104 00006 EXTEND
005676,000153: 06,2105 06001 RXOR LCHAN
005677,000154: 06,2106 55321 TS IMODES33 # UPDATE IMODES33
005678,000155: 06,2107 75002 MASK BIT14
005679,000156: 06,2110 10000 CCS A
005680,000157: 06,2111 12116 TCF T4JUMP # WAS ON - NOW OFF
005681,000158:
005682,000159: 06,2112 34371 CAF CHRPRIO # WAS OFF - NOW ON
005683,000160: 06,2113 05134 TC NOVAC
005684,000161: 06,2114 0777 EBANK= DSPCOUNT
005685,000162: 06,2114 03357 60101 2CADR PROCKEY
005686,000163:
Page 137 |
005688,000165: # JUMP TO APPROPRIATE ONCE-PER SECOND (.96 SEC ACTUALLY) ACTIVITY
005689,000166:
005690,000167: 06,2116 50070 T4JUMP INDEX RUPTREG1
005691,000168: 06,2117 12120 TCF +1
005692,000169:
005693,000170: 06,2120 12130 TCF OPTTEST
005694,000171: 06,2121 12765 TCF OPTMON
005695,000172: 06,2122 12174 TCF IMUMON
005696,000173: 06,2123 15333 TCF RESUME
005697,000174: 06,2124 12130 TCF OPTTEST
005698,000175: 06,2125 12765 TCF OPTMON
005699,000176: 06,2126 12174 TCF IMUMON
005700,000177: 06,2127 15333 TCF RESUME
005701,000178:
005702,000179: 06,2130 04740 OPTTEST TC IBNKCALL
005703,000180: 06,2131 20000 CADR OPTDRIVE
005704,000181:
005705,000182: 06,2132 7700 20MRUPT = OCT37776 # (DEC 16382)
005706,000183:
005707,000184: 06,2132 00006 NODSPOUT EXTEND # TURN OFF RELAYS
005708,000185: 06,2133 01010 WRITE OUT0
005709,000186:
005710,000187: 06,2134 32041 CAF 120MRUPT # SET FOR NEXT CDRVE
005711,000188: 06,2135 12074 TCF SETTIME4
005712,000189:
005713,000190: 06,2136 35002 QUIKDSP CAF BIT14
005714,000191: 06,2137 71302 MASK DSRUPTSW
005715,000192: 06,2140 00006 EXTEND
005716,000193: 06,2141 12167 BZF QUIKOFF # WROTE LAST TIME, NOW TURN OFF RELAYS.
005717,000194:
005718,000195: 06,2142 11016 CCS NOUT
005719,000196: 06,2143 02024 TC DSPOUTSB
005720,000197: 06,2144 12154 TCF NODSPY # NOUT=0 OR BAD RETURN FROM DSPOUTSB
005721,000198: 06,2145 45002 CS BIT14 # GOOD RETURN (WE DISPLAYED SOMETHING)
005722,000199: 06,2146 27302 QUIKRUPT ADS DSRUPTSW
005723,000200:
005724,000201: 06,2147 37700 CAF 20MRUPT
005725,000202: 06,2150 54027 TS TIME4
005726,000203:
005727,000204: 06,2151 35007 CAF BIT9
005728,000205: 06,2152 27302 ADS DSRUPTSW
005729,000206:
005730,000207: 06,2153 05333 TC RESUME
005731,000208:
005732,000209: 06,2154 00006 NODSPY EXTEND
005733,000210: 06,2155 01010 WRITE OUT0
005734,000211:
005735,000212: 06,2156 37700 SYNCT4 CAF 20MRUPT
005736,000213: 06,2157 26027 ADS TIME4
005737,000214:
005738,000215: 06,2160 35007 CAF BIT9
Page 138 |
005740,000217: 06,2161 27302 ADS DSRUPTSW
005741,000218: 06,2162 11302 CCS DSRUPTSW
005742,000219: 06,2163 05333 TC RESUME
005743,000220: 06,2164 37737 OCT37737 OCT 37737
005744,000221: 06,2165 02156 TC SYNCT4
005745,000222: 06,2166 05333 TC RESUME
005746,000223:
005747,000224: 06,2167 00006 QUIKOFF EXTEND
005748,000225: 06,2170 01010 WRITE OUT0
005749,000226: 06,2171 35002 CAF BIT14 # RESET DSRUPTSW TO SEND DISPLAY NEXT PASS
005750,000227: 06,2172 12146 TCF QUIKRUPT
005751,000228:
005752,000229: 06,2173 22400 11,14,9 OCT 22400
005753,000230:
Page 139 |
005755,000232: # PROGRAM NAME: IMUMON
005756,000233:
005757,000234: # FUNCTIONAL DESCRIPTION: THIS PROGRAM IS ENTERED EVERY 480 MS. IT DETECTS CHANGES OF THE IMU STATUS BITS IN
005758,000235: # CHANNEL 30 AND CALLS THE APPROPRIATE SUBROUTINES. THE BITS PROCESSED AND THEIR RELEVANT SUBROUTINES ARE:
005759,000236:
005760,000237: # FUNCTION BIT SUBROUTINE CALLED
005761,000238: # -------- --- -----------------
005762,000239: # TEMP IN LIMITS 15 TLIM
005763,000240: # ISS TURN-ON REQUEST 14 ITURNON
005764,000241: # IMU FAIL 13 IMUFAIL (SETISSW)
005765,000242: # IMU CDU FAIL 12 ICDUFAIL (SETISSW)
005766,000243: # IMU CAGE 11 IMUCAGE
005767,000244: # IMU OPERATE 9 IMUOP
005768,000245:
005769,000246: # THE LAST SAMPLED STATE OF THESE BITS IS LEFT IN IMODES30. ALSO, EACH SUBROUTINE CALLED FINDS THE NEW
005770,000247: # VALUE OF THE BIT IN A, WITH Q SET TO THE PROPER RETURN LOCATION, NXTIFAIL.
005771,000248:
005772,000249: # CALLING SEQUENCE: T4RUPT EVERY 480 MILLISECONDS.
005773,000250:
005774,000251: # JOBS OR TASKS INITIATED: NONE.
005775,000252:
005776,000253: # SUBROUTINES CALLED: TLIM, ITURNON, SETISSW, IMUCAGE, IMUOP.
005777,000254:
005778,000255: # ERASABLE INITIALIZATION:
005779,000256: # FRESH START OR RESTART WITH NO GROUPS ACTIVE: C(IMODES30) = OCT 37411.
005780,000257: # RESTART WITH ACTIVE GROUPS: C(IMODES30) = (B(IMODES30)AND(OCT 00035)) PLUS OCT 37400.
005781,000258: # THIS LEAVES IMU FAIL BITS INTACT.
005782,000259:
005783,000260: # ALARMS: NONE.
005784,000261:
005785,000262: # EXIT: TNONTEST.
005786,000263:
005787,000264: # OUTPUT: UPDATED IMODES30 WITH CHANGES PROCESSED BY APPROPRIATE SUBROUTINE.
005788,000265:
005789,000266: 06,2174 31320 IMUMON CA IMODES30 # SEE IF THERE HAS BEEN A CHANGE IN THE
005790,000267: 06,2175 00006 EXTEND # RELEVANT BITS OF CHAN 30.
005791,000268: 06,2176 06030 RXOR CHAN30 # CHECK IF BITS 9,11-15 CHANGED
005792,000269: 06,2177 72743 MASK 30RDMSK
005793,000270: 06,2200 00006 EXTEND
005794,000271: 06,2201 12231 BZF TNONTEST # NO CHANGE IN STATUS.
005795,000272:
005796,000273: 06,2202 54070 TS RUPTREG1 # SAVE BITS WHICH HAVE CHANGED.
005797,000274: 06,2203 23320 LXCH IMODES30 # UPDATE IMODES30.
005798,000275: 06,2204 00006 EXTEND
005799,000276: 06,2205 06001 RXOR LCHAN
005800,000277: 06,2206 55320 TS IMODES30
005801,000278:
005802,000279: 06,2207 45017 CS ONE
005803,000280: 06,2210 56070 XCH RUPTREG1
005804,000281: 06,2211 00006 EXTEND
Page 140 |
005806,000283: 06,2212 62507 BZMF TLIM # CHANGE IN IMU TEMP.
005807,000284: 06,2213 12215 TCF NXTIFBIT # BEGIN BIT SCAN.
005808,000285:
005809,000286: 06,2214 65017 -1 AD ONE # (RE-ENTERS HERE FROM NXTIFAIL.)
005810,000287: 06,2215 24070 NXTIFBIT INCR RUPTREG1 # ADVANCE BIT POSITION NUMBER.
005811,000288: 06,2216 60000 +1 DOUBLE
005812,000289: 06,2217 54000 TS A # SKIP IF OVERFLOW.
005813,000290: 06,2220 12215 TCF NXTIFBIT # LOOK FOR BIT.
005814,000291:
005815,000292: 06,2221 56071 XCH RUPTREG2 # SAVE OVERFLOW-CORRECTED DATA.
005816,000293: 06,2222 50070 INDEX RUPTREG1 # SELECT NEW VALUE OF THIS BIT.
005817,000294: 06,2223 35002 CAF BIT14
005818,000295: 06,2224 71320 MASK IMODES30
005819,000296: 06,2225 50070 INDEX RUPTREG1
005820,000297: 06,2226 02737 TC IFAILJMP
005821,000298:
005822,000299: 06,2227 10071 NXTIFAIL CCS RUPTREG2 # PROCESS ANY ADDITIONAL CHANGES.
005823,000300: 06,2230 12214 TCF NXTIFBIT -1
005824,000301:
Page 141 |
005826,000303: # PROGRAM NAME: TNONTEST.
005827,000304:
005828,000305: # FUNCTIONAL DESCRIPTION: THIS PROGRAM HONORS REQUESTS FOR ISS INITIALIZATION. ISS TURN-ON (CHANNEL 30 BIT 14)
005829,000306: # AND ISS OPERATE (CHANNEL 30 BIT 9) REQUESTS ARE TREATED AS A PAIR AND PROCESSING TAKES PLACE .480 SECONDS
005830,000307: # AFTER EITHER ONE APPEARS. THIS INITIALIZATION TAKES ON ONE OF THE FOLLOWING THREE FORMS:
005831,000308:
005832,000309: # 1) ISS TURN-ON: IN THIS SITUATION THE COMPUTER IS OPERATING WHEN THE ISS IS TURNED ON. NOMINALLY,
005833,000310: # BOTH ISS TURN-ON AND ISS OPERATE APPEAR. THE PLATFORM IS CAGED FOR 90 SECONDS AND THE ICDU'S ZEROED
005834,000311: # SO THAT AT THE END OF THE PROCESS THE GIMBAL LOCK MONITOR WILL FUNCTION PROPERLY.
005835,000312:
005836,000313: # 2) ICDU INITIALIZATION: IN THIS CASE THE COMPUTER WAS PROBABLY TURNED ON WITH THE ISS IN OPERATE OR
005837,000314: # A FRESH START WAS DONE WITH THE ISS IN OPERATE. IN THIS CASE ONLY ISS OPERATE IS ON. THE ICDU'S ARE
005838,000315: # ZEROED SO THE GIMBAL LOCK MONITOR WILL FUNCTION. AN EXCEPTION IS IF THE ISS IS IN GIMBAL LOCK AFTER
005839,000316: # A RESTART, THE ICDU'S WILL NOT BE ZEROED.
005840,000317:
005841,000318: # 3) RESTART WITH RESTARTABLE PROGRAM USING THE IMU: IN THIS CASE, NO INITIALIZATION TAKES PLACE SINCE
005842,000319: # IT IS ASSUMED THAT THE USING PROGRAM DID THE INITIALIZATION AND THEREFORE T4RUPT SHOULD NOT INTERFERE.
005843,000320:
005844,000321: # IMODES30 BIT 7 IS SET = 1 BY THE FIRST BIT (CHANNEL 30 BIT 14 OR 9) WHICH ARRIVES. FOLLOWING THIS. TNONTEST IS
005845,000322: # ENTERED, FINDS BIT 7 = 1 BUT BIT 8 = 0, SO IT SETS BIT 8 = 1 AND EXITS. THE NEXT TIME IT FINDS BIT 8 = 1 AND
005846,000323: # PROCEEDS, SETTING BITS 8 AND 7 = 0. AT PROCTNON, IF ISS TURN-ON REQUEST IS PRESENT, THE ISS IS CAGED (ZERO +
005847,000324: # COARSE). IF ISS OPERATE IS NOT PRESENT PROGRAM ALARM 00213 IS ISSUED. AT THE END OF A 90 SECOND CAGE, BIT 2
005848,000325: # OF IMODES30 IS TESTED. IF IT IS = 1, ISS TURN-ON WAS NOT PRESENT FOR THE ENTIRE 90 SECONDS. IN THAT CASE, IF
005849,000326: # THE ISS TURN-ON REQUEST IS PRESENT THE 90 SECOND WAIT IS REPEATED, OTHERWISE NO ACTION OCCURS UNLESS A PROGRAM
005850,000327: # WAS WAITING FOR THE INITIALIZATION IN WHICH CASE THE PROGRAM IS GIVEN AN IMUSTALL ERROR RETURN. IF THE DELAY
005851,000328: # WENT PROPERLY, THE ISS DELAY OUTBIT IS SENT AND THE ICDU'S ZEROED. A TASK IS INITIATED TO REMOVE THE PIPA FAIL
005852,000329: # INHIBIT BIT IN 10.24 SECONDS. IF A MISSION PROGRAM WAS WAITING IT IS INFORMED VIA ENDIMU.
005853,000330:
005854,000331: # AT PROCTNON, IF ONLY ISS OPERATE IS PRESENT (OPONLY), THE CDU'S ARE ZEROED UNLESS THE PLATFORM IS IN COARSE
005855,000332: # ALIGN (= GIMBAL LOCK HERE) OR A MISSION PROGRAM IS USING THE IMU (IMUSEFLG = 1).
005856,000333:
005857,000334: # CALLING SEQUENCE: T4RUPT EVERY 480 MILLISECONDS AFTER IMUMON.
005858,000335:
005859,000336: # JOBS OR TASKS INITIATED: 1) ENDTNON, 90 SECONDS AFTER CAGING STARTED. 2) ISSUP, 4 SECONDS AFTER CAGING DONE.
005860,000337: # 3) PFAILOK, 10.24 SECONDS AFTER INITIALIZATION COMPLETED. 4) UNZ2, 320 MILLISECONDS AFTER ZEROING
005861,000338: # STARTED.
005862,000339:
005863,000340: # SUBROUTINES CALLED: CAGESUB, CAGESUB2, ZEROICDU, ENDIMU, IMUBAD, NOATTOFF, SETISSW, VARDELAY.
005864,000341:
005865,000342: # ERASABLE INITIALIZATION: SEE IMUMON.
005866,000343:
005867,000344: # ALARMS: PROGRAM ALARM 00213 IF ISS TURN-ON REQUESTED WITHOUT ISS OPERATE.
005868,000345:
005869,000346: # EXIT: ENDTNON EXITS TO C33TEST. TASKS HAVING TO DO WITH INITIALIZATION EXIT AS FOLLOWS: MISSION PROGRAM
005870,000347: # WAITING AND INITIALIZATION COMPLETE, EXIT TO ENDIMU, MISSION PROGRAM WAITING AND INITIALIZATION FAILED, EXIT TO
005871,000348: # IMUBAD, IMU NOT IN USE, EXIT TO TASKOVER.
005872,000349:
005873,000350: # OUTPUT: ISS INITIALIZED.
005874,000351:
005875,000352: 06,2231 41320 TNONTEST CS IMODES30 # AFTER PROCESSING ALL CHANGES, SEE IF IT
Page 142 |
005877,000354: 06,2232 75011 MASK BIT7 # IS TIME TO ACT ON A TURN-ON SEQUENCE.
005878,000355: 06,2233 10000 CCS A
005879,000356: 06,2234 12367 TCF C33TEST # NO - EXAMINE CHANNEL 33.
005880,000357:
005881,000358: 06,2235 35010 CAF BIT8 # SEE IF FIRST SAMPLE OR SECOND.
005882,000359: 06,2236 71320 MASK IMODES30
005883,000360: 06,2237 10000 CCS A
005884,000361: 06,2240 12244 TCF PROCTNON # REACT AFTER SECOND SAMPLE.
005885,000362:
005886,000363: 06,2241 35010 CAF BIT8 # IF FIRST SAMPLE, SET BIT TO REACT NEXT
005887,000364: 06,2242 27320 ADS IMODES30 # TIME.
005888,000365: 06,2243 12367 TCF C33TEST
005889,000366:
005890,000367: # PROCESS IMU TURN-ON REQUESTS AFTER WAITING 1 SAMPLE FOR ALL SIGNALS TO ARRIVE.
005891,000368:
005892,000369: 06,2244 42757 PROCTNON CS BITS7&8
005893,000370: 06,2245 71320 MASK IMODES30
005894,000371: 06,2246 55320 TS IMODES30
005895,000372: 06,2247 75002 MASK BIT14 # SEE IF TURN-ON REQUEST.
005896,000373: 06,2250 10000 CCS A
005897,000374: 06,2251 12342 TCF OPONLY # OPERATE ON ONLY.
005898,000375:
005899,000376: 06,2252 41320 CS IMODES30 # IF TURN-ON REQUEST, WE SHOULD HAVE IMU
005900,000377: 06,2253 75007 MASK BIT9 # OPERATE.
005901,000378: 06,2254 10000 CCS A
005902,000379: 06,2255 12260 TCF +3
005903,000380:
005904,000381: 06,2256 05650 TC ALARM # ALARM IF NOT.
005905,000382: 06,2257 00213 OCT 213
005906,000383:
005907,000384: 06,2260 02717 +3 TC CAGESUB
005908,000385:
005909,000386: 06,2261 32764 CAF 90SECS
005910,000387: 06,2262 05245 TC WAITLIST
005911,000388: 06,2263 E3,1474 EBANK= CDUIND
005912,000389: 06,2263 02270 14063 2CADR ENDTNON
005913,000390:
005914,000391: 06,2265 12367 TCF C33TEST
005915,000392:
005916,000393: 06,2266 32764 RETNON CAF 90SECS
005917,000394: 06,2267 05272 TC VARDELAY
005918,000395:
005919,000396: 06,2270 45016 ENDTNON CS BIT2 # RESET TURN-ON REQUEST FAIL BIT.
005920,000397: 06,2271 71320 MASK IMODES30
005921,000398: 06,2272 57320 XCH IMODES30
005922,000399: 06,2273 75016 MASK BIT2 # IF IT WAS OFF, SEND ISS DELAY COMPLETE.
005923,000400: 06,2274 00006 EXTEND
005924,000401: 06,2275 12310 BZF ENDTNON2
Page 143 |
005926,000403: 06,2276 35002 CAF BIT14 # IF IT WAS ON AND TURN-ON REQUEST NOW
005927,000404: 06,2277 71320 MASK IMODES30 # PRESENT, RE-ENTER 90 SEC DELAY IN WL.
005928,000405: 06,2300 00006 EXTEND
005929,000406: 06,2301 12266 BZF RETNON
005930,000407:
005931,000408: 06,2302 40074 CS STATE # IF IT IS NOT ON NOW, SEE IF A PROG WAS
005932,000409: 06,2303 75010 MASK IMUSEFLG # WAITING.
005933,000410: 06,2304 10000 CCS A
005934,000411: 06,2305 15324 TCF TASKOVER
005935,000412: 06,2306 04701 TC POSTJUMP
005936,000413: 06,2307 17522 CADR IMUBAD # UNSUCCESSFUL TURN-ON.
005937,000414:
005938,000415: 06,2310 35001 ENDTNON2 CAF BIT15 # SEND ISS DELAY COMPLETE.
005939,000416: 06,2311 00006 EXTEND
005940,000417: 06,2312 05012 WOR CHAN12 # TURN OFF ISS DELAY COUNTER
005941,000418: 06,2313 04740 TC IBNKCALL # TURN OFF NO ATT LAMP.
005942,000419: 06,2314 17151 CADR NOATTOFF
005943,000420:
005944,000421: 06,2315 05521 UNZ2 TC ZEROICDU
005945,000422:
005946,000423: 06,2316 45027 CS BITS4&5 # REMOVE ZERO AND COARSE.
005947,000424: 06,2317 00006 EXTEND
005948,000425: 06,2320 03012 WAND CHAN12
005949,000426:
005950,000427: 06,2321 35005 CAF BIT11 # WAIT 10 SECS FOR CTRS TO FIND GIMBALS
005951,000428: 06,2322 05272 TC VARDELAY
005952,000429:
005953,000430: 06,2323 42754 ISSUP CS OCT54 # REMOVE CAGING, IMU FAIL INHIBIT, AND
005954,000431: 06,2324 71320 MASK IMODES30 # ICDUFAIL INHIBIT FLAGS.
005955,000432: 06,2325 55320 TS IMODES30
005956,000433:
005957,000434: 06,2326 45012 CS BIT6 # ENABLE DAP
005958,000435: 06,2327 71321 MASK IMODES33
005959,000436: 06,2330 55321 TS IMODES33
005960,000437:
005961,000438: 06,2331 02665 TC SETISSW # ISS WARNING MIGHT HAVE BEEN INHIBITED.
005962,000439:
005963,000440: 06,2332 45001 CS BIT15 # REMOVE IMU DELAY COMPLETE DISCRETE.
005964,000441: 06,2333 00006 EXTEND
005965,000442: 06,2334 03012 WAND CHAN12
005966,000443:
005967,000444: 06,2335 35045 CAF 4SECS # DONT ENABLE PROG ALARM ON PIP FAIL FOR
005968,000445: 06,2336 05245 TC WAITLIST # ANOTHER 4 SECS.
005969,000446: 06,2337 E3,1474 EBANK= CDUIND
005970,000447: 06,2337 03137 16063 2CADR PFAILOK
005971,000448:
005972,000449: 06,2341 15324 TCF TASKOVER
005973,000450:
005974,000451: 06,2342 35014 OPONLY CAF BIT4
Page 144 |
005976,000453: 06,2343 00006 EXTEND # IF OPERATE ON ONLY AND WE ARE IN COARSE
005977,000454: 06,2344 02012 RAND CHAN12 # ALIGN, DONT ZERO THE CDUS BECAUSE WE
005978,000455: 06,2345 10000 CCS A # MIGHT BE IN GIMBAL LOCK. USE V41N20 TO
005979,000456: 06,2346 12367 TCF C33TEST # RECOVER.
005980,000457:
005981,000458: 06,2347 35010 CAF IMUSEFLG # OTHERWISE, ZERO THE COUNTERS
005982,000459: 06,2350 70074 MASK STATE # UNLESS SOMEONE IS USING THE IMU.
005983,000460: 06,2351 10000 CCS A
005984,000461: 06,2352 12367 TCF C33TEST
005985,000462:
005986,000463: 06,2353 02730 TC CAGESUB2 # SET TURNON FLAGS.
005987,000464:
005988,000465: 06,2354 04740 ISSZERO TC IBNKCALL # TURN OFF NO ATT LAMP
005989,000466: 06,2355 17151 CADR NOATTOFF # IMU CAGE OFF ENTRY
005990,000467:
005991,000468: 06,2356 35013 CAF BIT5 # ISS CDU ZERO
005992,000469: 06,2357 00006 EXTEND
005993,000470: 06,2360 05012 WOR CHAN12
005994,000471:
005995,000472: 06,2361 05521 TC ZEROICDU
005996,000473: 06,2362 35012 CAF BIT6 # WAIT 300 MS FOR AGS TO RECEIVE SIGNAL.
005997,000474: 06,2363 05245 TC WAITLIST
005998,000475: 06,2364 1331 EBANK= OPTMODES
005999,000476: 06,2364 02315 14062 2CADR UNZ2
006000,000477:
006001,000478: 06,2366 12367 TCF C33TEST
006002,000479:
Page 145 |
006004,000481: # PROGRAM NAME: C33TEST
006005,000482:
006006,000483: # FUNCTIONAL DESCRIPTION: THIS PROGRAM MONITORS THREE FLIP-FLOP INBITS OF CHANNEL 33 AND CALLS THE APPROPRIATE
006007,000484: # SUBROUTINE TO PROCESS A CHANGE. IT IS ANALOGOUS TO IMUMON, WHICH MONITORS CHANNEL 30, EXCEPT THAT IT READS
006008,000485: # CHANNEL 33 WITH A WAND INSTRUCTION BECAUSE A 'WRITE' PULSE IS REQUIRED TO RESET THE FLIP-FLOPS. THE BITS
006009,000486: # PROCESSED AND THE SUBROUTINES CALLED ARE:
006010,000487: # BIT FUNCTION SUBROUTINE
006011,000488: # --- -------- ----------
006012,000489: # 13 PIPA FAIL PIPFAIL
006013,000490: # 12 DOWNLINK TOO FAST DNTMFAST
006014,000491: # 11 UPLINK TOO FAST UPTMFAST
006015,000492:
006016,000493: # UPON ENTRY TO THE SUBROUTINE, THE NEW BIT STATE IS IN A.
006017,000494:
006018,000495: # CALLING SEQUENCE: EVERY 480 MILLISECONDS AFTER TNONTEST.
006019,000496:
006020,000497: # JOBS OR TASKS INITIATED: NONE.
006021,000498:
006022,000499: # SUBROUTINES CALLED: PIPFAIL, DNTMFAST AND UPTMFAST ON BIT CHANGES.
006023,000500:
006024,000501: # ERASABLE INITIALIZATION: C(IMODES33) = OCT 16000 ON A FRESH START OR RESTART, THEREFORE, THESE ALARMS WILL
006025,000502: # REAPPEAR IF THE CONDITIONS PERSIST.
006026,000503:
006027,000504: # ALARMS: NONE.
006028,000505:
006029,000506: # EXIT: GLOCKMON.
006030,000507:
006031,000508: # OUTPUT: UPDATED BITS 13, 12 AND 11 OF IMODES33 WITH CHANGES PROCESSED.
006032,000509:
006033,000510: 06,2367 31321 C33TEST CA IMODES33 # SEE IF RELEVANT CHAN33 BITS HAVE
006034,000511: 06,2370 75070 MASK 33RDMSK
006035,000512: 06,2371 54001 TS L # CHANGED.
006036,000513: 06,2372 35070 CAF 33RDMSK
006037,000514: 06,2373 00006 EXTEND
006038,000515: 06,2374 03033 WAND CHAN33 # RESETS FLIP-FLOP INPUTS.
006039,000516: 06,2375 00006 EXTEND
006040,000517: 06,2376 06001 RXOR LCHAN
006041,000518: 06,2377 00006 EXTEND
006042,000519: 06,2400 12427 BZF GLOCKMON # ON NO CHANGE.
006043,000520:
006044,000521: 06,2401 54070 TS RUPTREG1 # SAVE BITS WHICH HAVE CHANGED.
006045,000522: 06,2402 23321 LXCH IMODES33
006046,000523: 06,2403 00006 EXTEND
006047,000524: 06,2404 06001 RXOR LCHAN
006048,000525: 06,2405 55321 TS IMODES33 # UPDATED IMODES33.
006049,000526:
006050,000527: 06,2406 35021 CAF ZERO
006051,000528: 06,2407 56070 XCH RUPTREG1
006052,000529: 06,2410 60000 DOUBLE
Page 146 |
006054,000531: 06,2411 12414 TCF NXTIBT +1 # SCAN FOR BIT CHANGES.
006055,000532:
006056,000533: 06,2412 65017 -1 AD ONE
006057,000534: 06,2413 24070 NXTIBT INCR RUPTREG1
006058,000535: 06,2414 60000 +1 DOUBLE
006059,000536: 06,2415 54000 TS A # (CODING IDENTICAL TO CHAN 30).
006060,000537: 06,2416 12413 TCF NXTIBT
006061,000538:
006062,000539: 06,2417 56071 XCH RUPTREG2
006063,000540: 06,2420 50070 INDEX RUPTREG1 # GET NEW VALUE OF BIT WHICH CHANGED.
006064,000541: 06,2421 35003 CAF BIT13
006065,000542: 06,2422 71321 MASK IMODES33
006066,000543: 06,2423 50070 INDEX RUPTREG1
006067,000544: 06,2424 02745 TC C33JMP
006068,000545:
006069,000546: 06,2425 10071 NXTFL33 CCS RUPTREG2 # PROCESS POSSIBLE ADDITIONAL CHANGES.
006070,000547: 06,2426 12412 TCF NXTIBT -1
006071,000548:
Page 147 |
006073,000550: # PROGRAM NAME: GLOCKMON
006074,000551:
006075,000552: # FUNCTIONAL DESCRIPTION: THIS PROGRAM MONITORS THE CDUZ COUNTER TO DETERMINE WHETHER THE ISS IS IN GIMBAL LOCK
006076,000553: # AND TAKES ACTION IF IT IS. THREE REGIONS OF MIDDLE GIMBAL ANGLE (MGA) ARE USED:
006077,000554:
006078,000555: # 1) ABS(MGA) LESS THAN OR EQUAL TO 70 DEGREES - NORMAL MODE.
006079,000556: # 2) ABS(MGA) GREATER THAN 70 DEGREES AND LESS THAN OR EQUAL TO 85 DEGREES - GIMBAL LOCK LAMP TURNED ON.
006080,000557: # 3) ABS(MGA) GREATER THAN 85 DEGREES - ISS PUT IN COARSE ALIGN AND NO ATT LAMP TURNED ON.
006081,000558:
006082,000559: # CALLING SEQUENCE: EVERY 480 MILLISECONDS AFTER C33TEST.
006083,000560:
006084,000561: # JOBS OR TASKS INITIATED: NONE.
006085,000562:
006086,000563: # SUBROUTINES CALLED: 1) SETCOARS WHEN ABS(MGA) GREATER THAN 85 DEGREES AND ISS NOT IN COARSE ALIGN.
006087,000564: # 2) LAMPTEST BEFORE TURNING OFF GIMBAL LOCK LAMP.
006088,000565:
006089,000566: # ERASABLE INITIALIZATION:
006090,000567: # 1) FRESH START OR RESTART WITH NO GROUPS ACTIVE: C(CDUZ) = 0, IMODES30 BIT 6 = 0, IMODES33 BIT 1 = 0.
006091,000568: # 2) RESTART WITH GROUPS ACTIVE: SAME AS FRESH START EXCEPT C(CDUZ) NOT CHANGED SO GIMBAL MONITOR
006092,000569: # PROCEEDS AS BEFORE.
006093,000570:
006094,000571: # ALARMS: 1) MGA REGION (2) CAUSES GIMBAL LOCK LAMP TO BE LIT.
006095,000572: # 2) MGA REGION (3) CAUSES THE ISS TO BE PUT IN COARSE ALIGN AND THE NO ATT LAMP TO BE LIT IF EITHER NOT
006096,000573: # SO ALREADY.
006097,000574:
006098,000575: 06,2427 10034 GLOCKMON CCS CDUZ
006099,000576: 06,2430 12434 TCF GLOCKCHK # SEE IF MAGNITUDE OF MGA IS GREATER THAN
006100,000577: 06,2431 12460 TCF SETGLOCK # 70 DEGREES.
006101,000578: 06,2432 12434 TCF GLOCKCHK
006102,000579: 06,2433 12460 TCF SETGLOCK
006103,000580:
006104,000581: 06,2434 62505 GLOCKCHK AD -70DEGS
006105,000582: 06,2435 00006 EXTEND
006106,000583: 06,2436 62457 BZMF SETGLOCK -1 # NO LOCK.
006107,000584:
006108,000585: 06,2437 62506 AD -15DEGS # SEE IF ABS(MGA) GREATER THAN 85 DEGS.
006109,000586: 06,2440 00006 EXTEND
006110,000587: 06,2441 62455 BZMF NOGIMRUN
006111,000588:
006112,000589: 06,2442 35014 CAF BIT4 # IF SO, SYSTEM SHOULD BE IN COARSE ALIGN
006113,000590: 06,2443 00006 EXTEND # TO PREVENT GIMBAL RUN-AWAY.
006114,000591: 06,2444 02012 RAND CHAN12
006115,000592: 06,2445 10000 CCS A
006116,000593: 06,2446 12455 TCF NOGIMRUN
006117,000594:
006118,000595: 06,2447 04740 TC IBNKCALL # GO INTO COARSE ALIGN.
006119,000596: 06,2450 17027 CADR SETCOARS
006120,000597:
006121,000598: 06,2451 36211 CAF SIX # ENABLE ISS ERROR COUNTERS IN 60 MS
006122,000599: 06,2452 05245 TC WAITLIST
Page 148 |
006124,000601: 06,2453 E3,1474 EBANK= CDUIND
006125,000602: 06,2453 03023 16063 2CADR CA+ECE
006126,000603:
006127,000604: 06,2455 35012 NOGIMRUN CAF BIT6 # TURN ON GIMBAL LOCK LAMP.
006128,000605: 06,2456 12460 TCF SETGLOCK
006129,000606:
006130,000607: 06,2457 35021 -1 CAF ZERO
006131,000608: 06,2460 61036 SETGLOCK AD DSPTAB +11D # SEE IF PRESENT STATE OF GIMBAL LOCK LAMP
006132,000609: 06,2461 75012 MASK BIT6 # AGREES WITH DESIRED STATE BY HALF ADDING
006133,000610: 06,2462 00006 EXTEND # THE TWO.
006134,000611: 06,2463 15333 BZF GLOCKOK # OK AS IS.
006135,000612:
006136,000613: 06,2464 71036 MASK DSPTAB +11D # IF OFF, DONT TURN ON IF IMU BEING CAGED.
006137,000614: 06,2465 10000 CCS A
006138,000615: 06,2466 12502 TCF GLAMPTST # TURN OFF UNLESS LAMP TEST IN PROGRESS.
006139,000616:
006140,000617: 06,2467 35012 CAF BIT6
006141,000618: 06,2470 71320 MASK IMODES30
006142,000619: 06,2471 10000 CCS A
006143,000620: 06,2472 15333 TCF GLOCKOK
006144,000621:
006145,000622: 06,2473 41036 GLINVERT CS DSPTAB +11D # INVERT GIMBAL LOCK LAMP.
006146,000623: 06,2474 75012 MASK BIT6
006147,000624: 06,2475 65001 AD BIT15 # TO INDICATE CHANGE IN DSPTAB +11D.
006148,000625: 06,2476 57036 XCH DSPTAB +11D
006149,000626: 06,2477 72164 MASK OCT37737
006150,000627: 06,2500 27036 ADS DSPTAB +11D
006151,000628: 06,2501 15333 TCF GLOCKOK
006152,000629:
006153,000630: 06,2502 02750 GLAMPTST TC LAMPTEST # TURN OFF UNLESS LAMP TEST IN PROGRESS.
006154,000631: 06,2503 15333 TCF GLOCKOK
006155,000632: 06,2504 12473 TCF GLINVERT
006156,000633:
006157,000634: 06,2505 63434 -70DEGS DEC -.38888 # -70 DEGREES SCALED IN HALF-REVOLUTIONS.
006158,000635: 06,2506 75252 -15DEGS DEC -.08333
006159,000636:
Page 149 |
006161,000638: # PROGRAM NAME: TLIM.
006162,000639:
006163,000640: # FUNCTIONAL DESCRIPTION: THIS PROGRAM MAINTAINS THE TEMP LAMP (BIT 4 OF CHANNEL 11) ON THE DSKY TO AGREE WITH
006164,000641: # THE TEMP SIGNAL FROM THE ISS (BIT 15 OF CHANNEL 30). HOWEVER, THE LIGHT WILL NOT BE TURNED OFF IF A LAMP TEST
006165,000642: # IS IN PROGRESS.
006166,000643:
006167,000644: # CALLING SEQUENCE: CALLED BY IMUMON ON A CHANGE OF BIT 15 OF CHANNEL 30.
006168,000645:
006169,000646: # JOBS OR TASKS INITIATED: NONE.
006170,000647:
006171,000648: # SUBROUTINES CALLED: LAMPTEST.
006172,000649:
006173,000650: # ERASABLE INITIALIZATION: FRESH START AND RESTART TURN THE TEMP LAMP OFF.
006174,000651:
006175,000652: # ALARMS: TEMP LAMP TURNED ON WHEN IMU TEMP GOES OUT OF LIMITS.
006176,000653:
006177,000654: # EXIT: NXTIFAIL.
006178,000655:
006179,000656: # OUTPUT: SERVICE OF TEMP LAMP. IN A, EXCEPT FOR TLIM.
006180,000657:
006181,000658: 06,2507 74777 TLIM MASK POSMAX # REMOVE BIT FROM WORD OF CHANGES AND SET
006182,000659: 06,2510 54071 TS RUPTREG2 # DSKY TEMP LAMP ACCORDINGLY.
006183,000660:
006184,000661: 06,2511 11320 CCS IMODES30
006185,000662: 06,2512 12520 TCF TEMPOK
006186,000663: 06,2513 12520 TCF TEMPOK
006187,000664:
006188,000665: 06,2514 35014 CAF BIT4 # TURN ON LAMP.
006189,000666: 06,2515 00006 EXTEND
006190,000667: 06,2516 05011 WOR DSALMOUT
006191,000668: 06,2517 12227 TCF NXTIFAIL
006192,000669:
006193,000670: 06,2520 02750 TEMPOK TC LAMPTEST # IF TEMP NOW OK, DONT TURN OFF LAMP IF
006194,000671: 06,2521 12227 TCF NXTIFAIL # LAMP TEST IN PROGRESS.
006195,000672:
006196,000673: 06,2522 45014 CS BIT4
006197,000674: 06,2523 00006 EXTEND
006198,000675: 06,2524 03011 WAND DSALMOUT # TURN OFF TEMP CAUTION
006199,000676: 06,2525 12227 TCF NXTIFAIL
006200,000677:
Page 150 |
006202,000679: # PROGRAM NAME: ITURNON.
006203,000680:
006204,000681: # FUNCTIONAL DESCRIPTION: THIS PROGRAM IS CALLED BY IMUMON WHEN A CHANGE OF BIT 14 OF CHANNEL 30 (ISS TURN-ON
006205,000682: # REQUEST) IS DETECTED. UPON ENTRY, ITURNON CHECKS IF A TURN-ON DELAY SEQUENCE HAS FAILED, AND IF SO, IT EXITS.
006206,000683: # IF NOT, IT CHECKS WHETHER THE TURN-ON REQUEST CHANGE IS TO ON OR OFF. IF ON, IT SETS BIT 7 OF IMODES30 TO 1 SO
006207,000684: # THAT TNONTEST WILL INITIATE THE ISS INITIALIZATION SEQUENCE. IF OFF, THE TURN-ON DELAY SIGNAL, CHANNEL 12 BIT
006208,000685: # 15, IS CHECKED AND IF IT IS ON, ITURNON EXITS. IF THE DELAY SIGNAL IS OFF, PROGRAM ALARM 00207 IS ISSUED, BIT 2
006209,000686: # OF IMODES30 IS SET TO 1 AND THE PROGRAM EXITS.
006210,000687:
006211,000688: # THE SETTING OF BIT 2 OF IMODES30 (ISS DELAY SEQUENCE FAIL) INHIBITS THIS ROUTINE AND IMUOP FROM
006212,000689: # PROCESSING ANY CHANGES. THIS BIT WILL BE RESET BY THE ENDTNON ROUTINE WHEN THE CURRENT 90 SECOND DELAY PERIOD
006213,000690: # ENDS.
006214,000691:
006215,000692: # CALLING SEQUENCE: FROM IMUMOM WHEN ISS TURN-ON REQUEST CHANGES STATE.
006216,000693:
006217,000694: # JOBS OR TASKS INITIATED: NONE.
006218,000695:
006219,000696: # SUBROUTINES CALLED: ALARM, IF THE ISS TURN-ON REQUEST IS NOT PRESENT FOR 90 SECONDS.
006220,000697:
006221,000698: # ERASABLE INITIALIZATION: FRESH START AND RESTART SET BIT 15 OF CHANNEL 12 AND BITS 2 AND 7 OF IMODES30 TO 0,
006222,000699: # AND BIT 14 OF IMODES30 TO 1.
006223,000700:
006224,000701: # ALARMS: PROGRAM ALARM 00207 IS ISSUED IF THE ISS TURN-ON REQUEST SIGNAL IS NOT PRESENT FOR 90 SECONDS.
006225,000702:
006226,000703: # EXIT: NXTIFAIL.
006227,000704:
006228,000705: # OUTPUT: BIT 7 OF IMODES30 TO START ISS INITIALIZATION, OR BIT 2 OF IMODES30 AND PROGRAM ALARM 00207 TO INDICATE
006229,000706: # A FAILED TURN-ON SEQUENCE.
006230,000707:
006231,000708: 06,2526 35016 ITURNON CAF BIT2 # IF DELAY REQUEST HAS GONE OFF
006232,000709: 06,2527 71320 MASK IMODES30 # PREMATURELY, DO NOT PROCESS ANY CHANGES
006233,000710: 06,2530 10000 CCS A # UNTIL THE CURRENT 90 SEC WAIT EXPIRES.
006234,000711: 06,2531 12227 TCF NXTIFAIL
006235,000712:
006236,000713: 06,2532 35002 CAF BIT14 # SEE IF JUST ON OR OFF.
006237,000714: 06,2533 71320 MASK IMODES30
006238,000715: 06,2534 00006 EXTEND
006239,000716: 06,2535 12551 BZF ITURNON2 # IF JUST ON.
006240,000717:
006241,000718: 06,2536 35001 CAF BIT15
006242,000719: 06,2537 00006 EXTEND # SEE IF DELAY PRESENT DISCRETE HAS BEEN
006243,000720: 06,2540 02012 RAND CHAN12 # SENT. IF SO, ACTION COMPLETE.
006244,000721: 06,2541 00006 EXTEND
006245,000722: 06,2542 12544 BZF +2
006246,000723: 06,2543 12227 TCF NXTIFAIL
006247,000724:
006248,000725: 06,2544 35016 CAF BIT2 # IF NOT, SET BIT TO INDICATE REQUEST NOT
006249,000726: 06,2545 27320 ADS IMODES30 # PRESENT FOR FULL DURATION.
006250,000727: 06,2546 05650 TC ALARM
006251,000728: 06,2547 00207 OCT 207
006252,000729: 06,2550 12227 TCF NXTIFAIL
006253,000730:
Page 151 |
006255,000732: 06,2551 41320 ITURNON2 CS IMODES30 # SET BIT7 TO INDICATE WAIT OF 1 SAMPLE
006256,000733: 06,2552 75011 MASK BIT7
006257,000734: 06,2553 27320 ADS IMODES30
006258,000735: 06,2554 12227 TCF NXTIFAIL
006259,000736:
Page 152 |
006261,000738: # PROGRAM NAME: IMUCAGE.
006262,000739:
006263,000740: # FUNCTIONAL DESCRIPTION: THIS PROGRAM PROCESSES CHANGES OF THE IMUCAGE INBIT, CHANNEL 30 BIT 11. IF THE BIT
006264,000741: # CHANGES TO 0 (CAGE BUTTON PRESSED), THE ISS IS CAGED (ICDU ZERO + COARSE ALIGN + NO ATT LAMP) UNTIL THE
006265,000742: # ASTRONAUT SELECTS ANOTHER PROGRAM TO ALIGN THE ISS. ANY PULSE TRAINS TO THE ICDU'S AND GYRO'S ARE TERMINATED,
006266,000743: # THE ASSOCIATED OUTCOUNTERS ARE ZEROED AND THE GYRO'S ARE DE-SELECTED. NO ACTION OCCURS WHEN THE BUTTON IS
006267,000744: # RELEASED (INBIT CHANGES TO 1).
006268,000745:
006269,000746: # CALLING SEQUENCE: BY IMUMON WHEN IMU CAGE BIT CHANGES.
006270,000747:
006271,000748: # JOBS OR TASKS INITIATED: NONE.
006272,000749:
006273,000750: # SUBROUTINES CALLED: CAGESUB.
006274,000751:
006275,000752: # ERASABLE INITIALIZATION: FRESH START AND RESTART SET BIT 11 OF IMODES30 TO 1.
006276,000753:
006277,000754: # ALARMS: NONE.
006278,000755:
006279,000756: # EXIT: NXTIFAIL.
006280,000757:
006281,000758: # OUTPUT: ISS CAGED, COUNTERS ZEROED, PULSE TRAINS TERMINATED AND NO ATT LAMP LIT.
006282,000759:
006283,000760: 06,2555 10000 IMUCAGE CCS A # NO ACTION IF GOING OFF.
006284,000761: 06,2556 12354 TCF ISSZERO
006285,000762: 06,2557 42762 CS OCT77000 # TERMINATE ICDU, OPTICS, GYRO PULSE TRAINS
006286,000763: 06,2560 00006 EXTEND
006287,000764: 06,2561 03014 WAND CHAN14
006288,000765:
006289,000766: 06,2562 42756 CS OCT272 # KNOCK DOWN TVC ENABLE, IMU ERROR COUNTER
006290,000767: 06,2563 00006 EXTEND # ENABLE, ZERO ICDU, COARSE ALIGN
006291,000768: 06,2564 03012 WAND CHAN12 # ENABLE, OPTICS ERR CNTR ENABLE
006292,000769:
006293,000770: 06,2565 45003 CS BIT13 # TURN OFF ENGINE
006294,000771: 06,2566 00006 EXTEND
006295,000772: 06,2567 03011 WAND DSALMOUT
006296,000773:
006297,000774: 06,2570 02725 TC CAGESUB1
006298,000775:
006299,000776: 06,2571 04740 TC IBNKCALL # KNOCK DOWN TRACK, REFSMMAT, DRIFT FLAGS
006300,000777: 06,2572 17060 CADR RNDREFDR
006301,000778:
006302,000779: 06,2573 45021 CS ZERO # ZERO COMMAND OUT-COUNTERS
006303,000780: 06,2574 54050 TS CDUXCMD
006304,000781: 06,2575 54051 TS CDUYCMD
006305,000782: 06,2576 54052 TS CDUZCMD
006306,000783: 06,2577 54047 TS GYROCMD
006307,000784:
006308,000785: 06,2600 42761 CS OCT740 # HAVING WAITED AT LEAST 27 MCT FROM
006309,000786: 06,2601 00006 EXTEND # GYRO PULSE TRAIN TERMINATION, WE CAN
006310,000787: 06,2602 03014 WAND CHAN14 # DE-SELECT THE GYROS.
Page 153 |
006312,000789: 06,2603 12227 TCF NXTIFAIL
006313,000790:
Page 154 |
006315,000792: # PROGRAM NAME: IMUOP.
006316,000793:
006317,000794: # FUNCTIONAL DESCRIPTION: THIS PROGRAM PROCESSES CHANGES IN THE ISS OPERATE DISCRETE, BIT 9 OF CHANNEL 30.
006318,000795: # IF THE INBIT CHANGES TO 0, INDICATING ISS ON, IMUOP GENERALLY SETS BIT 7 OF IMODES30 TO 1 TO REQUEST ISS
006319,000796: # INITIALIZATION VIA TNONTEST. AN EXCEPTION IS DURING A FAILED ISS DELAY DURING WHICH BIT 2 OF IMODES30 IS SET
006320,000797: # TO 1 AND NO FURTHER INITIALIZATION IS REQUIRED. WHEN THE INBIT CHANGES TO 1, INDICATING ISS OFF, IMUSEFLG IS
006321,000798: # TESTED TO SEE IF ANY PROGRAM WAS USING THE ISS. IF SO, PROGRAM ALARM 00214 IS ISSUED.
006322,000799:
006323,000800: # CALLING SEQUENCE: BY IMUMON WHEN BIT 9 OF CHANNEL 30 CHANGES.
006324,000801:
006325,000802: # JOBS OR TASKS INITIATED: NONE.
006326,000803:
006327,000804: # SUBROUTINES CALLED: ALARM, IF ISS IS TURNED OFF WHILE IN USE.
006328,000805:
006329,000806: # ERASABLE INITIALIZATION: ON FRESH START AND RESTART, BIT 9 OF IMODES30 IS SET TO 1 EXCEPT WHEN THE GIMBAL LOCK
006330,000807: # LAMP IS ON, IN WHICH CASE IT IS SET TO 0. THIS PREVENTS ICDU ZERO BY TNONTEST WITH THE ISS IN GIMBAL LOCK.
006331,000808:
006332,000809: # ALARMS: PROGRAM ALARM 00214 IF THE ISS IS TURNED OFF WHILE IN USE.
006333,000810:
006334,000811: # EXIT: NXTIFAIL.
006335,000812:
006336,000813: # OUTPUT: ISS INITIALIZATION REQUEST (IMODES30 BIT 7) OR PROGRAM ALARM 00214.
006337,000814:
006338,000815: 06,2604 00006 IMUOP EXTEND # IF OPERATE JUST ON, WAIT 1 SAMPLE.
006339,000816: 06,2605 12625 BZF IMUOP2
006340,000817:
006341,000818: 06,2606 41321 CS IMODES33 # DISABLE DAP
006342,000819: 06,2607 75012 MASK BIT6
006343,000820: 06,2610 27321 ADS IMODES33
006344,000821:
006345,000822: 06,2611 04740 TC IBNKCALL # KNOCK DOWN TRACK, REFSMMAT, DRIFT FLAGS
006346,000823: 06,2612 17060 CADR RNDREFDR
006347,000824:
006348,000825: 06,2613 42757 CS BITS7&8 # KNOCK DOWN RENDEVOUS, IMUUSE FLAGS
006349,000826: 06,2614 70074 MASK STATE
006350,000827: 06,2615 56074 XCH STATE # IF GOING OFF, ALARM IF PROG USING IMU
006351,000828: 06,2616 40000 COM
006352,000829: 06,2617 75010 MASK IMUSEFLG
006353,000830: 06,2620 10000 CCS A
006354,000831: 06,2621 12227 TCF NXTIFAIL
006355,000832:
006356,000833: 06,2622 05650 TC ALARM
006357,000834: 06,2623 00214 OCT 214
006358,000835: 06,2624 12227 TCF NXTIFAIL
006359,000836:
006360,000837: 06,2625 35016 IMUOP2 CAF BIT2 # SEE IF FAILED ISS TURN-ON SEQ IN PROG.
006361,000838: 06,2626 71320 MASK IMODES30
006362,000839: 06,2627 10000 CCS A
006363,000840: 06,2630 12227 TCF NXTIFAIL # IF SO, DONT PROCESS UNTIL PRESENT 90
006364,000841: 06,2631 12551 TCF ITURNON2 # SECONDS EXPIRES.
006365,000842:
Page 155 |
006367,000844: # PROGRAM NAME: PIPFAIL
006368,000845:
006369,000846: # FUNCTIONAL DESCRIPTION: THIS PROGRAM PROCESSES CHANGES OF BIT 13 OF CHANNEL 33, PIPA FAIL. IT SETS BIT 10 OF
006370,000847: # IMODES30 TO AGREE. IT CALLS SETISSW IN CASE A PIPA FAIL NECESSITATES AN ISS WARNING. IF NOT, I.E., IMODES30
006371,000848: # BIT 1 = 1, AND A PIPA FAIL IS PRESENT AND THE ISS IS NOT BEING INITIALIZED, PROGRAM ALARM 00212 IS ISSUED.
006372,000849:
006373,000850: # CALLING SEQUENCE: BY C33TEST ON CHANGES OF CHANNEL 33 BIT 13.
006374,000851:
006375,000852: # JOBS OR TASKS INITIATED: NONE.
006376,000853:
006377,000854: # SUBROUTINES CALLED: 1) SETISSW, AND 2) ALARM (SEE FUNCTIONAL DESCRIPTION).
006378,000855:
006379,000856: # ERASABLE INITIALIZATION: SEE IMUMON FOR INITIALIZATION OF IMODES30. THE RELAVANT BITS ARE 5, 7, 8, 9, AND 10.
006380,000857:
006381,000858: # ALARMS: PROGRAM ALARM 00212 IF PIPA FAIL IS PRESENT BUT NEITHER ISS WARNING IS TO BE ISSUED NOR THE ISS IS
006382,000859: # BEING INITIALIZED.
006383,000860:
006384,000861: # EXIT: NXTFL33.
006385,000862:
006386,000863: # OUTPUT: PROGRAM ALARM 00212 AND ISS WARNING MAINTENANCE.
006387,000864:
006388,000865: 06,2632 10000 PIPFAIL CCS A # SET BIT10 IN IMODES30 SO ALL ISS WARNING
006389,000866: 06,2633 35006 CAF BIT10 # INFO IS IN ONE REGISTER.
006390,000867: 06,2634 57320 XCH IMODES30
006391,000868: 06,2635 72763 MASK -BIT10
006392,000869: 06,2636 27320 ADS IMODES30
006393,000870:
006394,000871: 06,2637 02665 TC SETISSW
006395,000872:
006396,000873: 06,2640 41320 CS IMODES30 # IF PIP FAIL DOESNT LIGHT ISS WARNING, DO
006397,000874: 06,2641 75017 MASK BIT1 # A PROGRAM ALARM IF IMU OPERATING BUT NOT
006398,000875: 06,2642 10000 CCS A # CAGED OR BEING TURNED ON.
006399,000876: 06,2643 12425 TCF NXTFL33
006400,000877:
006401,000878: 06,2644 31320 CA IMODES30
006402,000879: 06,2645 72760 MASK OCT1720
006403,000880: 06,2646 10000 CCS A
006404,000881: 06,2647 12425 TCF NXTFL33 # ABOVE CONDITION NOT MET.
006405,000882:
006406,000883: 06,2650 05650 TC ALARM
006407,000884: 06,2651 00212 OCT 212
006408,000885: 06,2652 12425 TCF NXTFL33
006409,000886:
Page 156 |
006411,000888: # PROGRAM NAMES: DNTMFAST, UPTMFAST
006412,000889:
006413,000890: # FUNCTIONAL DESCRIPTION: THESE PROGRAMS PROCESS CHANGES OF BITS 12 AND 11 OF CHANNEL 33. IF A BIT CHANGES TO A
006414,000891: # 0, A PROGRAM ALARM IS ISSUED. THE ALARMS ARE:
006415,000892:
006416,000893: # BIT ALARM CAUSE
006417,000894: # --- ----- -----
006418,000895: # 12 01105 DOWNLINK TOO FAST
006419,000896: # 11 01106 UPLINK TOO FAST
006420,000897:
006421,000898: # CALLING SEQUENCE: BY C33TEST ON A BIT CHANGE.
006422,000899:
006423,000900: # SUBROUTINES CALLED: ALARM, IF A BIT CHANGES TO A 0.
006424,000901:
006425,000902: # ERASABLE INITIALIZATION: FRESH START OR RESTART, BITS 12 AND 11 OF IMODES33 ARE SET TO 1.
006426,000903:
006427,000904: # ALARMS: SEE FUNCTIONAL DESCRIPTION.
006428,000905:
006429,000906: # EXIT: NXTFL33.
006430,000907:
006431,000908: # OUTPUT: PROGRAM ALARM ON A BIT CHANGE TO 0.
006432,000909:
006433,000910: 06,2653 10000 DNTMFAST CCS A # DO PROG ALARM IF TM TOO FAST.
006434,000911: 06,2654 12425 TCF NXTFL33
006435,000912:
006436,000913: 06,2655 05650 TC ALARM
006437,000914: 06,2656 01105 OCT 1105
006438,000915: 06,2657 12425 TCF NXTFL33
006439,000916:
006440,000917: 06,2660 10000 UPTMFAST CCS A # SAME AS DNLINK TOO FAST WITH DIFFERENT
006441,000918: 06,2661 12425 TCF NXTFL33 # ALARM CODE.
006442,000919:
006443,000920: 06,2662 05650 TC ALARM
006444,000921: 06,2663 01106 OCT 1106
006445,000922: 06,2664 12425 TCF NXTFL33
006446,000923:
Page 157 |
006448,000925: # PROGRAM NAME: SETISSW
006449,000926:
006450,000927: # FUNCTIONAL DESCRIPTION: THIS PROGRAM TURNS THE ISS WARNING LAMP ON AND OFF (CHANNEL 11 BIT 1 = 1 FOR ON,
006451,000928: # 0 FOR OFF) DEPENDING ON THE STATUS OF IMODES30 BITS 13 (IMU FAIL) AND 4 (INHIBIT IMU FAIL), 12 (ICDU FAIL) AND
006452,000929: # 3 (INHIBIT ICDU FAIL), AND 10 (PIPA FAIL) AND 1 (INHIBIT PIPA FAIL). THE LAMP IS LEFT ON IF A LAMP TEST IS IN
006453,000930: # PROGRESS.
006454,000931:
006455,000932: # CALLING SEQUENCE: CALLED BY IMUMON ON CHANGES TO IMU FAIL AND ICDU FAIL. CALLED BY IFAILOK AND PFAILOK UPON
006456,000933: # REMOVAL OF THE FAIL INHIBITS. CALLED BY PIPFAIL WHEN THE PIPA FAIL DISCRETE CHANGES. IT IS CALLED BY PIPUSE
006457,000934: # SINCE THE PIPA FAIL PROGRAM ALARM MAY NECESSITATE AN ISS WARNING, AND LIKEWISE BY PIPFREE WHEN THE ALARM DEPARTS
006458,000935: # AND IT IS CALLED BY IMUZERO3 AND ISSUP AFTER THE FAIL INHIBITS HAVE BEEN REMOVED.
006459,000936:
006460,000937: # JOBS OR TASKS INITIATED: NONE.
006461,000938:
006462,000939: # SUBROUTINES CALLED: NONE.
006463,000940:
006464,000941: # ERASABLE INITIALIZATION:
006465,000942:
006466,000943: # 1) IMODES30 - SEE IMUMON.
006467,000944: # 2) IMODES33 BIT 1 = 0 (LAMP TEST NOT IN PROGRESS).
006468,000945:
006469,000946: # ALARMS: ISS WARNING.
006470,000947:
006471,000948: # EXIT: VIA Q.
006472,000949:
006473,000950: # OUTPUT: ISS WARNING LAMP SET PROPERLY.
006474,000951:
006475,000952: 06,2665 35025 SETISSW CAF OCT15 # SET ISS WARNING USING THE FAIL BITS IN
006476,000953: 06,2666 71320 MASK IMODES30 # BITS 13, 12, AND 10 OF IMODES30 AND THE
006477,000954: 06,2667 00006 EXTEND # FAILURE INHIBIT BITS IN POSITIONS
006478,000955: 06,2670 75006 MP BIT10 # 4, 3, AND 1.
006479,000956: 06,2671 31320 CA IMODES30
006480,000957: 06,2672 00006 EXTEND
006481,000958: 06,2673 04001 ROR LCHAN # 0 INDICATES FAILURE.
006482,000959: 06,2674 40000 COM
006483,000960: 06,2675 75067 MASK OCT15000
006484,000961: 06,2676 10000 CCS A
006485,000962: 06,2677 12710 TCF ISSWON # FAILURE.
006486,000963:
006487,000964: 06,2700 35017 ISSWOFF CAF BIT1 # DONT TURN OFF ISS WARNING IF LAMP TEST
006488,000965: 06,2701 71321 MASK IMODES33 # IN PROGRESS.
006489,000966: 06,2702 10000 CCS A
006490,000967: 06,2703 00002 TC Q
006491,000968:
006492,000969: 06,2704 45017 CS BIT1
006493,000970: 06,2705 00006 EXTEND
006494,000971: 06,2706 03011 WAND DSALMOUT # TURN OFF ISS WARNING
006495,000972: 06,2707 00002 TC Q
006496,000973:
006497,000974: 06,2710 00006 ISSWON EXTEND
Page 158 |
006499,000976: 06,2711 22066 QXCH ITEMP6
006500,000977: 06,2712 05756 TC VARALARM # TELL EVERYONE WHAT CAUSED THE ISS WARNING
006501,000978: 06,2713 35017 CAF BIT1
006502,000979: 06,2714 00006 EXTEND
006503,000980: 06,2715 05011 WOR DSALMOUT # TURN ON ISS WARNING
006504,000981: 06,2716 00066 TC ITEMP6
006505,000982:
006506,000983: 06,2717 47703 CAGESUB CS BIT15+6 # SET OUTBITS + INTERNAL FLAGS FOR
006507,000984: 06,2720 00006 EXTEND # SYSTEM TURN-ON OR CAGE. DISABLE THE
006508,000985: 06,2721 03012 WAND CHAN12 # ERROR COUNTER AND REMOVE IMU DELAY COMP.
006509,000986: 06,2722 35027 CAF BITS4&5 # SEND ZERO AND COARSE.
006510,000987: 06,2723 00006 EXTEND
006511,000988: 06,2724 05012 WOR CHAN12
006512,000989:
006513,000990: 06,2725 41036 CAGESUB1 CS DSPTAB +11D # TURN ON NO ATT LAMP
006514,000991: 06,2726 72753 MASK OC40010
006515,000992: 06,2727 27036 ADS DSPTAB +11D
006516,000993:
006517,000994: 06,2730 41320 CAGESUB2 CS IMODES30 # SET FLAGS TO INDICATE CAGING OR TURN-ON
006518,000995: 06,2731 72755 MASK OCT75 # AND INHIBIT ALL ISS WARNING INFO
006519,000996: 06,2732 27320 ADS IMODES30
006520,000997:
006521,000998: 06,2733 41321 CS IMODES33 # DISABLE DAP AUTO AND HOLD MODES
006522,000999: 06,2734 75012 MASK BIT6
006523,001000: 06,2735 27321 ADS IMODES33
006524,001001:
006525,001002: 06,2736 00002 TC Q
006526,001003:
006527,001004: 06,2737 06,2665 IMUFAIL EQUALS SETISSW
006528,001005: 06,2737 06,2665 ICDUFAIL EQUALS SETISSW
006529,001006:
Page 159 |
006531,001008: # JUMP TABLES AND CONSTANTS.
006532,001009:
006533,001010: 06,2737 12526 IFAILJMP TCF ITURNON # CHANNEL 30 DISPATCH.
006534,001011: 06,2740 12665 TCF IMUFAIL
006535,001012: 06,2741 12665 TCF ICDUFAIL
006536,001013: 06,2742 12555 TCF IMUCAGE
006537,001014: 06,2743 76400 30RDMSK OCT 76400 # (BIT 10 NOT SAMPLED HERE).
006538,001015: 06,2744 12604 TCF IMUOP
006539,001016:
006540,001017: 06,2745 12632 C33JMP TCF PIPFAIL # CHANNEL 33 DISPATCH.
006541,001018: 06,2746 12653 TCF DNTMFAST
006542,001019: 06,2747 12660 TCF UPTMFAST
006543,001020:
006544,001021: # SUBROUTINE TO SKIP IF LAMP TEST NOT IN PROGRESS.
006545,001022:
006546,001023: 06,2750 41321 LAMPTEST CS IMODES33 # BIT 1 OF IMODES33 = 1 IF LAMP TEST IN
006547,001024: 06,2751 75017 MASK BIT1 # PROGRESS.
006548,001025: 06,2752 13065 TCF ZOPFIN3
006549,001026:
006550,001027: 06,2753 5070 33RDMSK EQUALS PRIO16
006551,001028: 06,2753 40010 OC40010 OCT 40010
006552,001029: 06,2754 00054 OCT54 OCT 54
006553,001030: 06,2755 00075 OCT75 OCT 75
006554,001031: 06,2756 00272 OCT272 OCT 00272
006555,001032: 06,2757 00300 BITS7&8 OCT 300
006556,001033: 06,2760 01720 OCT1720 OCT 1720
006557,001034: 06,2761 00740 OCT740 OCT 00740
006558,001035: 06,2762 5067 OCT15000 EQUALS PRIO15
006559,001036: 06,2762 77000 OCT77000 OCT 77000
006560,001037: 06,2763 76777 -BIT10 OCT -1000
006561,001038:
006562,001039: 06,2764 21450 90SECS DEC 9000 B-14
006563,001040: 06,2765 5763 120MS = OCT14 # (DEC12)
006564,001041: 06,2765 5333 GLOCKOK EQUALS RESUME
006565,001042:
Page 160 |
006567,001044: # OPTICS MONITORING AND ZERO ROUTINES
006568,001045: 06,2765 31331 OPTMON CA OPTMODES # MONITOR OPTICS INBITS IN CHAN 30 AND 33
006569,001046: 06,2766 00006 EXTEND
006570,001047: 06,2767 06030 RXOR CHAN30 # LOOK FOR OCDU FAIL BIT CHANGE
006571,001048: 06,2770 75011 MASK BIT7
006572,001049: 06,2771 54070 TS RUPTREG1 # STORE CHANGE BIT
006573,001050: 06,2772 10000 CCS A
006574,001051: 06,2773 03224 TC OCDUFTST # PROCESS OCDUFAIL BIT CHANGE
006575,001052:
006576,001053: 06,2774 11303 33OPTMON CCS OPTIND # BYPASS IF TVC TAKEOVER
006577,001054: 06,2775 13001 TCF +4
006578,001055: 06,2776 13001 TCF +3
006579,001056: 06,2777 13001 TCF +2
006580,001057: 06,3000 15333 TCF RESUME
006581,001058:
006582,001059: 06,3001 31331 CA OPTMODES # LOOK FOR OPTICS MODE SWITCH CHANGE
006583,001060: 06,3002 00006 EXTEND
006584,001061: 06,3003 06033 RXOR CHAN33
006585,001062: 06,3004 75027 MASK OCTHIRTY
006586,001063: 06,3005 26070 ADS RUPTREG1 # STORE INBIT CHANGES
006587,001064: 06,3006 23331 LXCH OPTMODES
006588,001065: 06,3007 00006 EXTEND
006589,001066: 06,3010 06001 RXOR LCHAN
006590,001067: 06,3011 55331 TS OPTMODES # UPDATE OPTMODES TO SHOW BIT CHANGES
006591,001068:
006592,001069: 06,3012 40000 COM # SAMPLE CURRENT SWITCH SETTING
006593,001070: 06,3013 75027 MASK OCTHIRTY
006594,001071: 06,3014 00006 EXTEND
006595,001072: 06,3015 13022 BZF SETSAMP # MANUAL-SET ZERO IN SWSAMPLE
006596,001073:
006597,001074: 06,3016 75013 MASK BIT5 # SEE IF CSC
006598,001075: 06,3017 10000 CCS A
006599,001076: 06,3020 03022 TC +2 # CSC-SET SWSAMPLE POS
006600,001077: 06,3021 37716 CAF NEGONE # ZOPTICS-SET SWSAMPLE (-1)
006601,001078: 06,3022 55314 SETSAMP TS SWSAMPLE # CURRENT OPTICS SWITCH SETTING
006602,001079:
006603,001080: 06,3023 11315 PROCESSW CCS DESOPMOD # BRANCH ON PREVIOUS SETTING
006604,001081: 06,3024 03125 TC CSCDES # CSC
006605,001082: 06,3025 03077 TC MANUDES # MANUAL
006606,001083: 06,3026 03027 TC ZOPTDES # ZERO OPTICS
Page 161 |
006608,001085: 06,3027 11314 ZOPTDES CCS SWSAMPLE # IS SWITCH STILL AT ZOPTICS
006609,001086: 06,3030 03047 TC ZTOCSC # NOW AT CSC
006610,001087: 06,3031 03037 TC ZTOMAN # MANUAL
006611,001088: 06,3032 03057 TC ZOPFINI # ZOPTICS-SEE IF ZOPT PROCESSING
006612,001089: 06,3033 03154 TC SETDESMD # ZOPT NOT PROCESSING-NO ACTION
006613,001090:
006614,001091: 06,3034 11317 CCS ZOPTCNT # ZOPT PROCESSING-CHECK COUNTER
006615,001092: 06,3035 03153 TC SETCNT # 32 SAMPLE NOT FINISHED-SET COUNTER
006616,001093: 06,3036 03157 TC SETZOEND # 32 SAMPLE WAIT COMPLETED-SET UP ZOP END
006617,001094:
006618,001095: 06,3037 03057 ZTOMAN TC ZOPFINI # ZOP TO MANUAL-IS ZOPT DONE
006619,001096: 06,3040 03154 TC SETDESMD # YES-NORMAL EXIT
006620,001097:
006621,001098: 06,3041 05650 ZOPALARM TC ALARM # ALARM-SWITCHED ALTERED WHILE ZOPTICS
006622,001099: 06,3042 00116 OCT 00116
006623,001100: 06,3043 35024 CAF OCT13 # PROCESSING-SET RETURN OPTION
006624,001101: 06,3044 55316 TS WTOPTION
006625,001102:
006626,001103: 06,3045 03070 TC CANZOPT # CANCEL ZOPT
006627,001104:
006628,001105: 06,3046 03154 TC SETDESMD
006629,001106:
006630,001107: 06,3047 03057 ZTOCSC TC ZOPFINI # SEE IF ZOPT PROCESSING
006631,001108: 06,3050 03115 TC MANTOCSC +3 # NO-CHECK RETURN TO COARS OPT
006632,001109: 06,3051 05650 TC ALARM # ZOPT PROCESSING-ALARM
006633,001110: 06,3052 00116 OCT 00116
006634,001111: 06,3053 03070 TC CANZOPT # CANCEL ZOPT
006635,001112: 06,3054 03112 TC MANTOCSC # ZERO CNT-LOOK FOR COARS OPT RETURN
006636,001113:
006637,001114: 06,3055 35007 COARSLOK CAF BIT9 # IF COARS OPT SINCE FSTART GO TO L+2
006638,001115: 06,3056 13064 TCF ZOPFIN2 # IF NOT GO TO L+1
006639,001116: 06,3057 35017 ZOPFINI CAF BIT1 # SEE IF END ZOPT TASK WORKING
006640,001117: 06,3060 71331 MASK OPTMODES
006641,001118: 06,3061 10000 CCS A
006642,001119: 06,3062 05333 TC RESUME # ZOPT TASK WORKING-WAIT ONE SAMPLE PERIOD
006643,001120:
006644,001121: 06,3063 35015 CAF BIT3 # TEST IF ZOPTICS PROCESSING
006645,001122: 06,3064 71331 ZOPFIN2 MASK OPTMODES # RETURNS TO L+1 PROCESSING AND
006646,001123: 06,3065 10000 ZOPFIN3 CCS A
006647,001124: 06,3066 24002 INCR Q # L+2 IF NOT
006648,001125: 06,3067 00002 TC Q
006649,001126:
006650,001127: 06,3070 46211 CANZOPT CS SIX # CANCEL ZERO OPTICS
006651,001128: 06,3071 71331 MASK OPTMODES # ZERO ZOPT PROCESSING BIT-ENABLE OCDUFAIL
006652,001129: 06,3072 55331 TS OPTMODES
006653,001130: 06,3073 45017 CS BIT1 # MAKE SURE ZERO OCDU IS OFF
006654,001131: 06,3074 00006 EXTEND
006655,001132: 06,3075 03012 WAND CHAN12
006656,001133: 06,3076 00002 TC Q
006657,001134:
Page 162 |
006659,001136: 06,3077 11314 MANUDES CCS SWSAMPLE # SEE IF SWITCH STILL IN MANUAL MODE
006660,001137: 06,3100 03112 TC MANTOCSC # NOW AT CSC
006661,001138: 06,3101 03107 TC MANTOMAN # STILL MANUAL
006662,001139: 06,3102 11316 CCS WTOPTION # ZOPTICS-LOOK AT ZOPTICS RETURN OPTION
006663,001140: 06,3103 03105 TC +2 # 5 SEC RETURN GOOD-CONTINUE ZOPTICS
006664,001141: 06,3104 03151 TC OPTZERO # ZOPTICS MUST START ANEW
006665,001142:
006666,001143: 06,3105 03216 TC INITZOPT # SHOW ZERO OPTICS PROCESSING
006667,001144: 06,3106 03154 TC SETDESMD # NORMAL EXIT
006668,001145:
006669,001146: 06,3107 11316 MANTOMAN CCS WTOPTION # DECREMENT RETURN OPTION TIME
006670,001147: 06,3110 55316 TS WTOPTION
006671,001148: 06,3111 03154 TC SETDESMD
006672,001149:
006673,001150: 06,3112 35021 MANTOCSC CAF ZERO # CANCEL ZOPT RETURN OPTION IF SET
006674,001151: 06,3113 55316 TS WTOPTION
006675,001152: 06,3114 55317 TS ZOPTCNT
006676,001153:
006677,001154: 06,3115 03055 TC COARSLOK # CHECK FOR COARS OPT RETURN
006678,001155: 06,3116 03154 TC SETDESMD # NO COARS TASK-NO ACTION
006679,001156:
006680,001157: 06,3117 35017 CAF ONE # SET COARS OPT WORKING
006681,001158: 06,3120 55303 TS OPTIND
006682,001159: 06,3121 35016 CAF BIT2 # ENABLE OPTICS CDU ERROR CNTS
006683,001160: 06,3122 00006 EXTEND
006684,001161: 06,3123 05012 WOR CHAN12
006685,001162:
006686,001163: 06,3124 03154 TC SETDESMD
006687,001164:
006688,001165: 06,3125 11314 CSCDES CCS SWSAMPLE # SEE IF SWITCH STILL AT CSC
006689,001166: 06,3126 03154 TC SETDESMD # STILL AT CSC
006690,001167: 06,3127 03133 TC CSCTOMAN # MANUAL
006691,001168: 06,3130 35012 CSCTOZOP CAF OCT40 # ZOPTICS-INITIALIZE FOR ZOPT
006692,001169: 06,3131 55317 TS ZOPTCNT
006693,001170: 06,3132 03216 TC INITZOPT
006694,001171:
006695,001172: 06,3133 11303 CSCTOMAN CCS OPTIND # SEE IF COARS WORKING
006696,001173: 06,3134 03140 TC CANCOARS # COARS WORKING-SWITCH NOT CSC-KILL COARS
006697,001174: 06,3135 03140 TC CANCOARS
006698,001175: 06,3136 03137 TC +1 # NO COARS-NORMAL EXIT
006699,001176: 06,3137 03154 TC SETDESMD
Page 163 |
006701,001178: 06,3140 37716 CANCOARS CA NEGONE
006702,001179: 06,3141 55303 TS OPTIND # SET OPTIND (-1) TO SHOW NOT WORKING
006703,001180: 06,3142 45016 CS BIT2 # DISABLE OCDU ERR CNTS
006704,001181: 06,3143 00006 EXTEND
006705,001182: 06,3144 03012 WAND CHAN12
006706,001183: 06,3145 41331 CS OPTMODES # SET RETURN-TO-COARS BIT
006707,001184: 06,3146 75007 MASK BIT9
006708,001185: 06,3147 27331 ADS OPTMODES
006709,001186:
006710,001187: 06,3150 03154 TC SETDESMD
006711,001188: 06,3151 03216 OPTZERO TC INITZOPT # INITIALIZE ZERO OPTICS
006712,001189:
006713,001190: 06,3152 35012 CA OCT40 # SET UP 32 SAMPLE WAIT
006714,001191: 06,3153 55317 SETCNT TS ZOPTCNT
006715,001192: 06,3154 31314 SETDESMD CA SWSAMPLE # SET CURRENT SWITCH INDICATION-RESUME
006716,001193: 06,3155 55315 TS DESOPMOD
006717,001194: 06,3156 05333 TC RESUME
006718,001195:
006719,001196: 06,3157 35017 SETZOEND CAF BIT1 # SEND ZERO OPTICS CDU
006720,001197: 06,3160 00006 EXTEND
006721,001198: 06,3161 05012 WOR CHAN12
006722,001199: 06,3162 34112 CA 200MS # HOLD ZERO CDU FOR 200 MS
006723,001200: 06,3163 05245 TC WAITLIST
006724,001201: 06,3164 1331 EBANK= OPTMODES
006725,001202: 06,3164 03172 14062 2CADR ENDZOPT
006726,001203:
006727,001204: 06,3166 41331 CS OPTMODES # SHOW ZOPTICS TASK WORKING
006728,001205: 06,3167 75017 MASK BIT1
006729,001206: 06,3170 27331 ADS OPTMODES
006730,001207:
006731,001208: 06,3171 03154 TC SETDESMD
006732,001209:
006733,001210: 06,3172 03210 ENDZOPT TC ZEROPCDU # ZERO OCDU COUNTERS
006734,001211: 06,3173 45017 CS BIT1 # TURN OFF ZERO OCDU
006735,001212: 06,3174 00006 EXTEND
006736,001213: 06,3175 03012 WAND CHAN12
006737,001214: 06,3176 34112 CAF 200MS # DELAY 200MS FOR CDUS TO RESYNCHRONIZE
006738,001215: 06,3177 05272 TC VARDELAY
006739,001216:
006740,001217: 06,3200 41331 CS OPTMODES # SHOW ZOPTICS SINCE LAST FRESH START
006741,001218: 06,3201 75006 MASK BIT10 # OR RESTART
006742,001219: 06,3202 27331 ADS OPTMODES
006743,001220:
006744,001221: 06,3203 45023 CS SEVEN # ENABLE OCDUFAIL-SHOW OPTICS COMPLETE
006745,001222: 06,3204 71331 MASK OPTMODES
006746,001223: 06,3205 55331 TS OPTMODES
006747,001224:
006748,001225: 06,3206 03224 TC OCDUFTST # CHECK OCDU FAIL BIT AFTER ENABLE
Page 164 |
006750,001227: 06,3207 05324 TC TASKOVER
006751,001228:
006752,001229: 06,3210 35021 ZEROPCDU CAF ZERO
006753,001230: 06,3211 54036 TS CDUS # ZERO IN CDUS,-20 IN CDUT
006754,001231: 06,3212 55307 TS ZONE # INITIALIZE SHAFT MONITOR ZONE
006755,001232: 06,3213 43261 CS 20DEGS
006756,001233: 06,3214 54035 TS CDUT
006757,001234: 06,3215 00002 TC Q
006758,001235:
006759,001236: 06,3216 35021 INITZOPT CAF ZERO # INITIALIZE ZOPTICS-INHIBIT OCDUFAIL
006760,001237: 06,3217 55316 TS WTOPTION # AND SHOW OPTICS PROCESSING
006761,001238: 06,3220 41331 CS OPTMODES # SET ZERO OPTICS PROCESSING
006762,001239: 06,3221 76211 MASK SIX # OPTICS CDU FAIL INHIBITED
006763,001240: 06,3222 27331 ADS OPTMODES
006764,001241: 06,3223 00002 TC Q
006765,001242:
Page 165 |
006767,001244: 06,3224 35011 OCDUFTST CAF BIT7 # SEE IF OCDUFAIL ON OR OFF
006768,001245: 06,3225 00006 EXTEND
006769,001246: 06,3226 02030 RAND CHAN30
006770,001247: 06,3227 10000 CCS A
006771,001248: 06,3230 13252 TCF OPFAILOF # OCDUFAIL LIGHT OFF
006772,001249:
006773,001250: 06,3231 35016 CAF BIT2 # OCDUFAIL LIGHT ON UNLESS INHIBITED
006774,001251: 06,3232 71331 MASK OPTMODES
006775,001252: 06,3233 10000 CCS A
006776,001253: 06,3234 00002 TC Q # OCDUFAIL INHIBITED
006777,001254:
006778,001255: 06,3235 35010 OPFAILON CAF BIT8 # ON BIT
006779,001256: 06,3236 61036 AD DSPTAB +11D
006780,001257: 06,3237 75010 MASK BIT8
006781,001258: 06,3240 00006 SETOFF EXTEND
006782,001259: 06,3241 16711 BZF TCQ # NO CHANGE
006783,001260:
006784,001261: 06,3242 54001 TS L
006785,001262: 06,3243 31036 CA DSPTAB +11D
006786,001263: 06,3244 00006 EXTEND
006787,001264: 06,3245 06001 RXOR LCHAN
006788,001265: 06,3246 74777 MASK POSMAX
006789,001266: 06,3247 65001 AD BIT15 # SHOW ACTION WANTED
006790,001267: 06,3250 55036 TS DSPTAB +11D
006791,001268: 06,3251 00002 TC Q
006792,001269:
006793,001270: 06,3252 35017 OPFAILOF CAF BIT1 # DONT TURN OFF IF LAMP TEST
006794,001271: 06,3253 71321 MASK IMODES33
006795,001272: 06,3254 10000 CCS A
006796,001273: 06,3255 00002 TC Q # LAMP TEST IN PROGRESS
006797,001274:
006798,001275: 06,3256 35010 CAF BIT8 # TURN OFF OCDUFAIL LIGHT
006799,001276: 06,3257 71036 MASK DSPTAB +11D
006800,001277: 06,3260 13240 TCF SETOFF
006801,001278:
006802,001279: 06,3261 5024 OCT13 = ELEVEN
006803,001280: 06,3261 5027 OCTHIRTY EQUALS BITS4&5
006804,001281: 06,3261 16037 20DEGS DEC 7199 B-14
006805,001282: 06,3262 5012 OCT40 EQUALS BIT6
006806,001283: 06,3262 4112 200MS EQUALS OCT24
006807,001284:
Page 166 |
006809,001286: # OPTICS CDU DRIVING PROGRAM
006810,001287:
006811,001288: 10,2000 BANK 10
006812,001289: 10,2000 SETLOC OPTDRV
006813,001290: 10,2000 BANK
006814,001291: 10,2000 COUNT* $$/SXT
006815,001292:
006816,001293: # SHAFT STOP MONITOR-ZONE UPDATE
006817,001294:
006818,001295: 10,2000 30036 OPTDRIVE CA CDUS # GRAB OPTIC SHAFT CDU
006819,001296: 10,2001 54001 TS L
006820,001297: 10,2002 10000 CCS A # GET ABS(CDUS)
006821,001298: 10,2003 67707 AD 13,14,15
006822,001299: 10,2004 12006 TCF +2 # ABS(CDUS) - 45 DEG
006823,001300: 10,2005 12003 TCF -2
006824,001301: 10,2006 00006 EXTEND
006825,001302: 10,2007 62016 BZMF OZONE # LESS THAN 45 DEG-SET ZONE 0
006826,001303: 10,2010 31307 CA ZONE # IF ZONE ZERO, CHANGE TO + OR - OTHERWISE
006827,001304: 10,2011 00006 EXTEND # DONT MESS WITH ZONE
006828,001305: 10,2012 12014 BZF +2
006829,001306: 10,2013 12020 TCF CONTDRVE # JUST CONTINUE
006830,001307: 10,2014 56001 XCH L # GREATER THAN 45 DEG-SET ZONE TO SIGN CDU
006831,001308: 10,2015 12017 TCF OZONE +1
006832,001309: 10,2016 35021 OZONE CAF ZERO # ABS(CDUS) LESS THEN 90 DEG-ZONE ZERO
006833,001310: 10,2017 55307 TS ZONE
006834,001311: 10,2020 COUNT* $$/T4RPT
006835,001312: 10,2020 11303 CONTDRVE CCS OPTIND
006836,001313: 10,2021 02025 TC +4 # WORK COARS OPTICS
006837,001314: 10,2022 02025 TC +3 # WORK COARS OPTICS
006838,001315: 10,2023 05333 TC RESUME # NO OPT
006839,001316: 10,2024 05333 TC RESUME # NO OPT
006840,001317:
006841,001318: 10,2025 31314 CA SWSAMPLE # SEE IF SWITCH AT CMC
006842,001319: 10,2026 00006 EXTEND
006843,001320: 10,2027 65333 BZMF RESUME # ZERO (-1) MANUAL (+0)
006844,001321:
006845,001322: 10,2030 35006 CAF BIT10 # SEE IF OCDUS ZEROED SINCE LAST FSTART
006846,001323: 10,2031 71331 MASK OPTMODES
006847,001324: 10,2032 10000 CCS A
006848,001325: 10,2033 02036 TC +3
006849,001326: 10,2034 05650 TC ALARM # OPTICS NOT ZEROED
006850,001327: 10,2035 00120 OCT 00120
006851,001328:
006852,001329: 10,2036 35016 CA BIT2 # SEE IF ERR CNTS ENABLED
006853,001330: 10,2037 00006 EXTEND
006854,001331: 10,2040 02012 RAND CHAN12
006855,001332: 10,2041 00006 EXTEND
006856,001333: 10,2042 12175 BZF SETBIT # CNTS NOT ENABLED-DO IT AND RESUME
006857,001334:
006858,001335: 10,2043 35017 CAF ONE # INITIALIZE OPTIND
Page 167 |
006860,001337: 10,2044 55303 OPT2 TS OPTIND
006861,001338: 10,2045 00006 EXTEND
006862,001339: 10,2046 12132 BZF TRUNCMD # CHECK TRUNION COMMAND
006863,001340:
006864,001341: 10,2047 51303 GETOPCMD INDEX OPTIND
006865,001342: 10,2050 31160 CA DESOPTT # PICK UP DESIRED OPT ANGLE
006866,001343: 10,2051 00006 EXTEND
006867,001344: 10,2052 51303 INDEX OPTIND
006868,001345: 10,2053 20035 MSU CDUT # GET DIFFERENCE
006869,001346: 10,2054 00006 EXTEND
006870,001347: 10,2055 75003 MP BIT13
006871,001348: 10,2056 56001 XCH L
006872,001349: 10,2057 60000 DOUBLE
006873,001350: 10,2060 54061 TS ITEMP1
006874,001351: 10,2061 12063 TCF +2 # NO OVFL
006875,001352:
006876,001353: 10,2062 26001 ADS L # WITH OVFL
006877,001354: 10,2063 51303 STORCMD INDEX OPTIND
006878,001355: 10,2064 23305 LXCH COMMANDO # STORE COMMAND
006879,001356: 10,2065 11303 CCS OPTIND
006880,001357: 10,2066 12044 TCF OPT2 # GET NEXT COMMAND
006881,001358:
006882,001359: 10,2067 54061 TS ITEMP1 # INITIALIZE SEND INDICATOR TO ZERO
006883,001360: 10,2070 COUNT* $$/SXT
006884,001361:
006885,001362: # SHAFT STOP AVOIDANCE
006886,001363:
006887,001364: 10,2070 10036 CCS CDUS # IF CDUS GREATER THAN + OR - 90 DEG CHECK
006888,001365: 10,2071 65000 AD NEG1/2 # FOR POSSIBLE STOP PROBLEM
006889,001366: 10,2072 12074 TCF +2
006890,001367: 10,2073 12071 TCF -2
006891,001368: 10,2074 00006 EXTEND
006892,001369: 10,2075 62122 BZMF CMDSETUP # CDUS LESS THAN 90 DEG, NO PROBLEMS
006893,001370:
006894,001371: 10,2076 31307 CA ZONE
006895,001372: 10,2077 00006 EXTEND
006896,001373: 10,2100 12122 BZF CMDSETUP # ZONE=3, NORMAL COMMAND
006897,001374: 10,2101 75001 MASK BIT15 # GRAB SIGN OF ZONE
006898,001375: 10,2102 54001 TS L
006899,001376: 10,2103 31306 CA COMMANDO +1
006900,001377: 10,2104 75001 MASK BIT15 # GRAB SIGN OF SHAFT COMMAND
006901,001378: 10,2105 00006 EXTEND
006902,001379: 10,2106 06001 RXOR LCHAN
006903,001380: 10,2107 10000 CCS A
006904,001381: 10,2110 12122 TCF CMDSETUP # SIGN ZONE NOT EQUAL TO SIGN COMMAND
006905,001382: 10,2111 11161 CCS DESOPTS # SEE IF DESOPTS BETWEEN -90 AND +90
006906,001383: 10,2112 65000 AD NEG1/2
006907,001384: 10,2113 12115 TCF +2 # ABS(DESOPTS) - 90 DEG
006908,001385: 10,2114 12112 TCF -2
006909,001386: 10,2115 00006 EXTEND
Page 168 |
006911,001388: 10,2116 62120 BZMF +2 # DESOPTS IN FIRST OR FOURTH QUAD
006912,001389: 10,2117 12122 TCF CMDSETUP
006913,001390: 10,2120 41306 CS COMMANDO +1 # REVERSE REGULAR COMMAND
006914,001391: 10,2121 55306 TS COMMANDO +1
006915,001392:
006916,001393: 10,2122 COUNT* $$/T4RPT
006917,001394:
006918,001395: 10,2122 35017 CMDSETUP CAF ONE # SET OPTIND
006919,001396: 10,2123 55303 TS OPTIND
006920,001397: 10,2124 50000 INDEX A
006921,001398: 10,2125 11305 CCS COMMANDO # GET SIGN OF COMMAND
006922,001399: 10,2126 02144 TC POSOPCMD
006923,001400: 10,2127 02151 TC NEXTOPT +1 # ZERO COMMAND-SKIP SEND INDICATOR
006924,001401: 10,2130 02161 TC NEGOPCMD
006925,001402: 10,2131 02151 TC NEXTOPT +1 # ZERO COMMAND
006926,001403:
006927,001404: 10,2132 40035 TRUNCMD CS CDUT # IF COMMAND GREATER THAN 45 DEG-COMMAND
006928,001405: 10,2133 61160 AD DESOPTT # 45 DEG
006929,001406: 10,2134 54002 TS Q
006930,001407: 10,2135 02047 TC GETOPCMD # LESS THAN 45 DEG-NORMAL OPERATION
006931,001408:
006932,001409: 10,2136 10000 CCS A # GREATER THAN 45 DEG-USE OPSMAX WITH
006933,001410: 10,2137 34777 CA POSMAX # CORRECT SIGN
006934,001411: 10,2140 02142 TC +2
006935,001412: 10,2141 44777 CS POSMAX
006936,001413: 10,2142 54001 TS L
006937,001414: 10,2143 02063 TC STORCMD
006938,001415: 10,2144 62202 POSOPCMD AD MAXPLS1
006939,001416: 10,2145 00006 EXTEND
006940,001417: 10,2146 62166 BZMF DELOPCMD # COMMAND LESS THAN MAX PULSE
006941,001418: 10,2147 42201 CS MAXPLS # GREATER THAN MAX PULSE-USE MAX PULSE
006942,001419:
006943,001420: 10,2150 24061 NEXTOPT INCR ITEMP1 # SET SEND INDICATOR
006944,001421: 10,2151 65020 AD NEG0 # MAKE SURE ZERO COMMAND IS -ZERO
006945,001422: 10,2152 51303 INDEX OPTIND
006946,001423: 10,2153 54053 TS CDUTCMD # STORE PULSE IN SEND REG
006947,001424:
006948,001425: 10,2154 11303 CCS OPTIND
006949,001426: 10,2155 02123 TC CMDSETUP +1 # GET NEXT OPT
006950,001427:
006951,001428: 10,2156 10061 CCS ITEMP1 # ARE ANY PULSES TO GO
006952,001429: 10,2157 12171 TCF SENDOCMD # YES-SEND EM
006953,001430: 10,2160 05333 TC RESUME # NO
006954,001431:
006955,001432: 10,2161 62202 NEGOPCMD AD MAXPLS1
006956,001433: 10,2162 00006 EXTEND
006957,001434: 10,2163 62166 BZMF DELOPCMD # LESS THAN MAX PULSE
006958,001435: 10,2164 32201 CA MAXPLS # MAX PULSES
006959,001436: 10,2165 12150 TCF NEXTOPT
Page 169 |
006961,001438: 10,2166 51303 DELOPCMD INDEX OPTIND
006962,001439: 10,2167 57305 XCH COMMANDO # SET UP SMALL COMMAND
006963,001440: 10,2170 12150 TCF NEXTOPT
006964,001441:
006965,001442: 10,2171 35062 SENDOCMD CAF 11,12 # SEND OCDU DRIVE COMMANDS
006966,001443: 10,2172 00006 EXTEND
006967,001444: 10,2173 05014 WOR CHAN14
006968,001445: 10,2174 05333 TC RESUME
006969,001446:
006970,001447: 10,2175 35016 SETBIT CAF BIT2 # ENABLE OCDU ERR CNTS
006971,001448: 10,2176 00006 EXTEND
006972,001449: 10,2177 05012 WOR CHAN12
006973,001450: 10,2200 05333 TC RESUME # START COARS NEXT TIME AROUND
006974,001451:
006975,001452: 10,2201 77532 MAXPLS DEC -165 B-14 # WAS -80
006976,001453: 10,2202 77533 MAXPLS1 DEC -164 B-14 # WAS -79
006977,001454: 10,2203 5062 11,12 EQUALS PRIO6
006978,001455:
End of include-file T4RUPT_PROGRAM.agc. Parent file is MAIN.agc