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