Source Code
These source-code files are part of a reconstructed copy of Luminary 98, a
development version of the Apollo 11 Lunar Module (LM) Apollo Guidance Computer
(AGC) software.
The reconstruction began with source code of Luminary 99 revision 1 previously transcribed from a digitized copy of that program. The code was then updated by undoing changes described in original Luminary memo 85, using asterisks indicating changed lines in the listing as a guide. While no listing of this version is known to exist, nor are the memory-bank checksums available, the reconstruction is believed to be correct because it was an an intermediate step in reconstructing Luminary 97 whose reconstruction was verified by matching memory-bank checksums to those listed in drawing 2021152G. Note that page numbers in the reconstructed code match those on the Luminary 099 revision 001 printout, although the added code would likely have changed page numbers for a real Luminary 98 listing. Comments from 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. |
059536,000002: ## Copyright: Public domain.
059537,000003: ## Filename: P-AXIS_RCS_AUTOPILOT.agc
059538,000004: ## Purpose: A section of Luminary revision 98.
059539,000005: ## It is part of the reconstructed source code for the a
059540,000006: ## development version of the flight software for the Lunar
059541,000007: ## Module's (LM) Apollo Guidance Computer (AGC) for Apollo 11.
059542,000008: ## The code has been recreated from a copy of Luminary 99
059543,000009: ## revision 001, using asterisks indicating changed lines in
059544,000010: ## the listing and Luminary Memo #85, which lists changes between
059545,000011: ## Luminary 98 and 99.
059546,000012: ## Reference: pp. 1421-1441
059547,000013: ## Assembler: yaYUL
059548,000014: ## Contact: Ron Burkey <info@sandroid.org>.
059549,000015: ## Website: www.ibiblio.org/apollo/index.html
059550,000016: ## Mod history: 2019-07-28 MAS Created from Luminary 99.
059551,000017:
Page 1421 |
059553,000019: 16,2213 BANK 16
059554,000020: 16,2000 SETLOC DAPS1
059555,000021: 16,2000 BANK
059556,000022:
059557,000023: 16,2213 E6,1464 EBANK= PERROR
059558,000024: 16,2213 COUNT* $$/DAPP
059559,000025:
059560,000026: # THE FOLLOWING T5RUPT ENTRY BEGINS THE PROGRAM WHICH CONTROLS THE P-AXIS ACTION OF THE LEM USING THE RCS JETS.
059561,000027: # THE NOMINAL TIME BETWEEN THE P-AXIS RUPTS IS 100 MS IN ALL NON-IDLING MODES OF THE DAP.
059562,000028:
059563,000029: 16,2213 37727 PAXIS CA MS100
059564,000030: 16,2214 26030 ADS TIME5 # *** NECESSARY IN ORDER TO ALLOW SYN-
059565,000031: # CHRONIZATION WITH OTHER INTERRUPTS ***
059566,000032:
059567,000033: 16,2215 22016 LXCH BANKRUPT # INTERRUPT LEAD IN (CONTINUED)
059568,000034: 16,2216 00006 EXTEND
059569,000035: 16,2217 22012 QXCH QRUPT
059570,000036:
059571,000037: # CHECK IF DAP PASS IS PERMISSIBLE
059572,000038:
059573,000039: 16,2220 11757 CCS DAPZRUPT # IF DAPZRUPT POSITIVE, DAP (JASK) IS
059574,000040: 16,2221 05634 TC BAILOUT # STILL IN PROGRESS AND A RESTART IS
059575,000041: 16,2222 02000 OCT 02000 # CALLED FOR. IT IS NEVER ZERO.
059576,000042:
059577,000043: 16,2223 02000 TC CHEKBITS # RETURN IS TO I+1 IF DAP SHOULD STAY ON.
059578,000044:
059579,000045: 16,2224 30032 CA CDUX # READ AND STORE CDU'S
059580,000046: 16,2225 55750 TS DAPTREG4
059581,000047: 16,2226 30033 CA CDUY
059582,000048: 16,2227 55751 TS DAPTREG5
059583,000049: 16,2230 30034 CA CDUZ
059584,000050: 16,2231 55752 TS DAPTREG6
059585,000051:
059586,000052: # ***** KALCMANU-DAP AND "RATE-HOLD"-DAP INTERFACE *****
059587,000053:
059588,000054: # THE FOLLOWING SECTION IS EXECUTED EVERY 100 MS (10 TIMES A SECOND) WITHIN THE P-AXIS REACTION CONTROL SYSTEM
059589,000055: # AUTOPILOT (WHENEVER THE DAP IS IN OPERATION).
059590,000056:
059591,000057: 16,2232 31635 CA CDUXD
059592,000058: 16,2233 00006 EXTEND
059593,000059: 16,2234 21640 MSU DELCDUX
059594,000060: 16,2235 02256 TC 1STOTWOS
059595,000061: 16,2236 55635 TS CDUXD
059596,000062: 16,2237 31636 CA CDUYD
059597,000063: 16,2240 00006 EXTEND
059598,000064: 16,2241 21641 MSU DELCDUY
059599,000065: 16,2242 02256 TC 1STOTWOS
059600,000066: 16,2243 55636 TS CDUYD
059601,000067: 16,2244 31637 CA CDUZD
059602,000068: 16,2245 00006 EXTEND
059603,000069: 16,2246 21642 MSU DELCDUZ
Page 1422 |
059605,000071: 16,2247 02256 TC 1STOTWOS
059606,000072: 16,2250 55637 TS CDUZD
059607,000073: 16,2251 00006 EXTEND # DIMINISH MANUAL CONTROL DIRECT RATE
059608,000074: 16,2252 27445 DIM TCP # TIME COUNTERS.
059609,000075: 16,2253 00006 EXTEND
059610,000076: 16,2254 27457 DIM TCQR
059611,000077:
059612,000078: # RATELOOP COMPUTES JETRATEQ, JETRATER, AND 1JACC*NO. PJETS IN ITEMP1.
059613,000079: # RETURNS TO BACKP.
059614,000080:
059615,000081: # JETRATE = 1JACC*NO.PJETS*TJP (NOTE TJ IS THE TIME FIRED DURING CSP)
059616,000082: # JETRATEQ = 1JACCQ(TJU*NO.UJETS - TJV*NO.VJETS)
059617,000083: # JETRATER = 1JACCR(TJU*NO.UJETS + TJV*NO.VJETS)
059618,000084:
059619,000085: 16,2255 12647 TCF PAXFILT # PROCEEDS TO RATELOOP AFTER SUPERJOB
059620,000086: 16,2256 10000 1STOTWOS CCS A
059621,000087: 16,2257 64753 AD ONE
059622,000088: 16,2260 00002 TC Q
059623,000089: 16,2261 40000 CS A
059624,000090: 16,2262 00002 TC Q
059625,000091: 16,2263 00006 SUBDIVDE EXTEND # OVERFLOW PROCTION ROUTINE TO GIVE
059626,000092: 16,2264 71741 MP DAPTEMP3 # POSMAX OR NEGMAX IF THE DIVIDE WOULD
059627,000093: 16,2265 21427 DAS OMEGAU # OVERFLOW
059628,000094:
059629,000095: 16,2266 00006 +3 EXTEND
059630,000096: 16,2267 31427 DCA OMEGAU
059631,000097: 16,2270 53744 DXCH DAPTEMP5
059632,000098: 16,2271 11426 CCS OMEGAU
059633,000099: 16,2272 12274 TCF +2
059634,000100: 16,2273 12304 TCF DIVIDER
059635,000101: 16,2274 62315 AD -OCT630
059636,000102: 16,2275 00006 EXTEND
059637,000103: 16,2276 62304 BZMF DIVIDER
059638,000104:
059639,000105: 16,2277 11426 CCS OMEGAU
059640,000106: 16,2300 34733 CA POSMAX # 45 DEG/SEC
059641,000107: 16,2301 00002 TC Q
059642,000108: 16,2302 44733 CS POSMAX
059643,000109: 16,2303 00002 TC Q
059644,000110:
059645,000111: 16,2304 53427 DIVIDER DXCH OMEGAU
059646,000112: 16,2305 00006 EXTEND
059647,000113: 16,2306 11750 DV DAPTREG4
059648,000114: 16,2307 00002 TC Q
059649,000115:
059650,000116: 16,2310 54007 OVERSUB TS 7 # RETURNS A UNCHANGED OR LIMITED TO
059651,000117: 16,2311 00002 TC Q # POSMAX OR NEGMAX IF A HAS OVERFLOW
059652,000118: 16,2312 50000 INDEX A
059653,000119: 16,2313 44734 CS BIT15 -1
Page 1423 |
059655,000121: 16,2314 00002 TC Q
059656,000122:
059657,000123: 16,2315 77147 -OCT630 OCT 77147
059658,000124:
059659,000125: 16,2316 31737 BACKP CA DAPTEMP1
059660,000126: 16,2317 00006 EXTEND
059661,000127: 16,2320 71530 MP 1JACC
059662,000128: 16,2321 55745 TS JETRATE
059663,000129:
059664,000130: # BEGINNING OF THE RATE DERIVATION
059665,000131: # OMEGAP,Q,R BODY RATES SCALED AT PI/4
059666,000132: # TRAPER,Q,R BODY ANGLE ERRORS FROM PREDICTED ANGLE (PI/40)
059667,000133: # NP(QR)TRAPS NUMBER OF TIMES ANGLE ERROR HAS BEEN ACCUMULATED
059668,000134: # AOSQ(R)TERM CHANGE IN RATE DUE TO OFFSET ACCELLERATION. (PI/4)
059669,000135: # JETRATE,Q,R CHANGE IN RATE DUE TO JET ACCELLERATION. (PI/4)
059670,000136: # TRAPSIZE NEGATIVE LIMIT OF MAGNITUDE OF TRAPEDP, ECT.
059671,000137: # OMEGAU DP-TEMPORARY STORAGE
059672,000138: # OMEGA = OMEGA + JETRATE + AOSTERM (+TRAPED/NTRAPS IF TRAPED BIG)
059673,000139:
059674,000140: 16,2322 31750 CAE DAPTREG4 # CDUX IS STORED HERE
059675,000141: 16,2323 54001 TS L
059676,000142: 16,2324 00006 EXTEND
059677,000143: 16,2325 21440 MSU OLDXFORP # SCALED AT PI
059678,000144: 16,2326 23440 LXCH OLDXFORP
059679,000145: 16,2327 55737 TS DAPTEMP1
059680,000146: 16,2330 33620 CA 1/40
059681,000147: 16,2331 55750 TS DAPTREG4
059682,000148: 16,2332 41745 CS JETRATE
059683,000149: 16,2333 00006 EXTEND
059684,000150: 16,2334 74736 MP BIT14
059685,000151: 16,2335 27430 ADS TRAPEDP
059686,000152: 16,2336 31746 CA JETRATEQ
059687,000153: 16,2337 61545 AD AOSQTERM
059688,000154: 16,2340 00006 EXTEND
059689,000155: 16,2341 77736 MP -BIT14
059690,000156: 16,2342 27431 ADS TRAPEDQ
059691,000157: 16,2343 31747 CA JETRATER
059692,000158: 16,2344 61546 AD AOSRTERM
059693,000159: 16,2345 00006 EXTEND
059694,000160: 16,2346 77736 MP -BIT14
059695,000161: 16,2347 27432 ADS TRAPEDR
059696,000162:
059697,000163: 16,2350 31751 CA DAPTREG5 # CDUY IS STORED HERE
059698,000164: 16,2351 54001 TS L
059699,000165: 16,2352 00006 EXTEND
059700,000166: 16,2353 21441 MSU OLDYFORP # SCALED AT PI
059701,000167: 16,2354 23441 LXCH OLDYFORP
059702,000168: 16,2355 55740 TS DAPTEMP2
059703,000169: 16,2356 00006 EXTEND
059704,000170: 16,2357 71414 MP M11 # M11 SCALED AT 1
Page 1424 |
059706,000172: 16,2360 61737 AD DAPTEMP1
059707,000173: 16,2361 53427 DXCH OMEGAU
059708,000174:
059709,000175: 16,2362 02266 TC SUBDIVDE +3 # RETURNS WITH CDU-RATE AT PI/4
059710,000176:
059711,000177: 16,2363 00006 EXTEND
059712,000178: 16,2364 61421 SU OMEGAP
059713,000179: 16,2365 27430 ADS TRAPEDP
059714,000180: 16,2366 02310 TC OVERSUB
059715,000181: 16,2367 55430 TS TRAPEDP
059716,000182: 16,2370 00006 EXTEND
059717,000183: 16,2371 31744 DCA DAPTEMP5
059718,000184: 16,2372 21447 DAS DXERROR
059719,000185: 16,2373 41454 CS PLAST
059720,000186: 16,2374 00006 EXTEND
059721,000187: 16,2375 73620 MP 1/40
059722,000188: 16,2376 21447 DAS DXERROR # MANUAL MODE X-ATTITUDE ERROR (DP)
059723,000189: 16,2377 31752 CA DAPTREG6 # CDUZ IS STORED HERE
059724,000190: 16,2400 54001 TS L
059725,000191: 16,2401 00006 EXTEND
059726,000192: 16,2402 21442 MSU OLDZFORQ
059727,000193: 16,2403 55741 TS DAPTEMP3
059728,000194: 16,2404 23442 LXCH OLDZFORQ
059729,000195: 16,2405 31415 CA M21
059730,000196: 16,2406 00006 EXTEND
059731,000197: 16,2407 71740 MP DAPTEMP2
059732,000198: 16,2410 53427 DXCH OMEGAU
059733,000199: 16,2411 31417 CA M22
059734,000200: 16,2412 02263 TC SUBDIVDE
059735,000201:
059736,000202: 16,2413 00006 EXTEND
059737,000203: 16,2414 61422 SU OMEGAQ
059738,000204: 16,2415 27431 ADS TRAPEDQ
059739,000205: 16,2416 02310 TC OVERSUB
059740,000206: 16,2417 55431 TS TRAPEDQ
059741,000207: 16,2420 00006 EXTEND
059742,000208: 16,2421 31744 DCA DAPTEMP5
059743,000209: 16,2422 21451 DAS DYERROR
059744,000210: 16,2423 41455 CS QLAST
059745,000211: 16,2424 00006 EXTEND
059746,000212: 16,2425 73620 MP 1/40
059747,000213: 16,2426 21451 DAS DYERROR # MANUAL MODE Y-ATTITUDE ERROR (DP)
059748,000214: 16,2427 31416 CA M31
059749,000215: 16,2430 00006 EXTEND
059750,000216: 16,2431 71740 MP DAPTEMP2
059751,000217: 16,2432 53427 DXCH OMEGAU
059752,000218: 16,2433 31420 CA M32
059753,000219:
059754,000220: 16,2434 02263 TC SUBDIVDE
Page 1425 |
059756,000222: 16,2435 00006 EXTEND
059757,000223: 16,2436 61423 SU OMEGAR
059758,000224: 16,2437 27432 ADS TRAPEDR
059759,000225: 16,2440 02310 TC OVERSUB
059760,000226: 16,2441 55432 TS TRAPEDR # TRAPEDS HAVE ALL BEEN COMPUTED
059761,000227:
059762,000228: 16,2442 00006 EXTEND
059763,000229: 16,2443 31744 DCA DAPTEMP5
059764,000230: 16,2444 21453 DAS DZERROR
059765,000231: 16,2445 41456 CS RLAST
059766,000232: 16,2446 00006 EXTEND
059767,000233: 16,2447 73620 MP 1/40
059768,000234: 16,2450 21453 DAS DZERROR # MANUAL MODE Z-ATTITUDE ERROR (DP)
059769,000235: 16,2451 30111 CA DAPBOOLS # PICK UP PAD LOADED STATE ESTIMATOR GAINS
059770,000236: 16,2452 74737 MASK CSMDOCKD
059771,000237: 16,2453 00006 EXTEND
059772,000238: 16,2454 12462 BZF LMONLY
059773,000239: 16,2455 00006 EXTEND # DOCKED
059774,000240: 16,2456 31405 DCA DKOMEGAN
059775,000241: 16,2457 53751 DXCH DAPTREG4
059776,000242: 16,2460 31403 CA DKTRAP
059777,000243: 16,2461 12466 TCF +5
059778,000244: 16,2462 00006 LMONLY EXTEND # UNDOCKED
059779,000245: 16,2463 31410 DCA LMOMEGAN
059780,000246: 16,2464 53751 DXCH DAPTREG4
059781,000247: 16,2465 31406 CA LMTRAP
059782,000248: 16,2466 55752 +5 TS DAPTREG6
059783,000249: 16,2467 11430 CCS TRAPEDP
059784,000250: 16,2470 12472 TCF +2
059785,000251: 16,2471 12507 TCF SMALPDIF
059786,000252: 16,2472 61752 AD DAPTREG6 # TRAPSIZE > ABOUT 77001 %-1.4DEG/SEC"
059787,000253: 16,2473 00006 EXTEND
059788,000254: 16,2474 62507 BZMF SMALPDIF
059789,000255: 16,2475 22007 ZL
059790,000256: 16,2476 23430 LXCH TRAPEDP
059791,000257: 16,2477 34755 CA ZERO
059792,000258: 16,2500 00006 EXTEND
059793,000259: 16,2501 11433 DV NPTRAPS
059794,000260: 16,2502 27421 ADS OMEGAP
059795,000261: 16,2503 02310 TC OVERSUB
059796,000262: 16,2504 55421 TS OMEGAP
059797,000263: 16,2505 31750 CA DAPTREG4 # ABOUT 10 OR 0 FOR DOCKED OR UNDOCKED
059798,000264: 16,2506 55433 TS NPTRAPS
059799,000265: 16,2507 25433 SMALPDIF INCR NPTRAPS
059800,000266: 16,2510 31745 P-RATE CA JETRATE
059801,000267: 16,2511 27421 ADS OMEGAP
059802,000268: 16,2512 02310 TC OVERSUB
059803,000269: 16,2513 55421 TS OMEGAP
059804,000270:
059805,000271: 16,2514 11431 CCS TRAPEDQ
Page 1426 |
059807,000273: 16,2515 12517 TCF +2
059808,000274: 16,2516 12544 TCF Q-RATE
059809,000275: 16,2517 61752 AD DAPTREG6 # TRAPSIZE > ABOUT 77001 %-1.4DEG/SEC"
059810,000276: 16,2520 00006 EXTEND
059811,000277: 16,2521 62544 BZMF Q-RATE
059812,000278: 16,2522 22007 ZL
059813,000279: 16,2523 23431 LXCH TRAPEDQ
059814,000280: 16,2524 34755 CA ZERO
059815,000281: 16,2525 00006 EXTEND
059816,000282: 16,2526 11434 DV NQTRAPS
059817,000283: 16,2527 55737 TS DAPTEMP1 # SAVE FOR OFFSET ESTIMATE
059818,000284: 16,2530 27422 ADS OMEGAQ
059819,000285: 16,2531 02310 TC OVERSUB
059820,000286: 16,2532 55422 TS OMEGAQ
059821,000287: 16,2533 31750 CA DAPTREG4 # ABOUT 10 OR 0 FOR DOCKED OR UNDOCKED
059822,000288: 16,2534 57434 XCH NQTRAPS
059823,000289: 16,2535 61751 AD DAPTREG5 # KAOS > ABOUT 60D %N/N_60"
059824,000290: 16,2536 57737 XCH DAPTEMP1
059825,000291: 16,2537 00006 EXTEND
059826,000292: 16,2540 74756 MP FIVE
059827,000293: 16,2541 00006 EXTEND
059828,000294: 16,2542 11737 DV DAPTEMP1
059829,000295: 16,2543 27537 ADS AOSQ
059830,000296: 16,2544 25434 Q-RATE INCR NQTRAPS
059831,000297: 16,2545 31746 CA JETRATEQ
059832,000298: 16,2546 61545 AD AOSQTERM
059833,000299: 16,2547 27422 ADS OMEGAQ
059834,000300: 16,2550 02310 TC OVERSUB
059835,000301: 16,2551 55422 TS OMEGAQ
059836,000302:
059837,000303: 16,2552 11432 CCS TRAPEDR
059838,000304: 16,2553 12555 TCF +2
059839,000305: 16,2554 12602 TCF R-RATE
059840,000306: 16,2555 61752 AD DAPTREG6 # TRAPSIZE > ABOUT 77001 %-1.4DEG/SEC"
059841,000307: 16,2556 00006 EXTEND
059842,000308: 16,2557 62602 BZMF R-RATE
059843,000309: 16,2560 22007 ZL
059844,000310: 16,2561 23432 LXCH TRAPEDR
059845,000311: 16,2562 34755 CA ZERO
059846,000312: 16,2563 00006 EXTEND
059847,000313: 16,2564 11435 DV NRTRAPS
059848,000314: 16,2565 55740 TS DAPTEMP2 # SAVE FOR OFFSET ESTIMATE
059849,000315: 16,2566 27423 ADS OMEGAR
059850,000316: 16,2567 02310 TC OVERSUB
059851,000317: 16,2570 55423 TS OMEGAR
059852,000318: 16,2571 31750 CA DAPTREG4 # ABOUT 10 OR 0 FOR DOCKED OR UNDOCKED
059853,000319: 16,2572 57435 XCH NRTRAPS
059854,000320: 16,2573 61751 AD DAPTREG5 # KAOS > ABOUT 60D %N/N_60"
059855,000321: 16,2574 57740 XCH DAPTEMP2
059856,000322: 16,2575 00006 EXTEND
Page 1427 |
059858,000324: 16,2576 74756 MP FIVE
059859,000325: 16,2577 00006 EXTEND
059860,000326: 16,2600 11740 DV DAPTEMP2
059861,000327: 16,2601 27541 ADS AOSR
059862,000328: 16,2602 25435 R-RATE INCR NRTRAPS
059863,000329: 16,2603 31747 CA JETRATER
059864,000330: 16,2604 61546 AD AOSRTERM
059865,000331: 16,2605 27423 ADS OMEGAR
059866,000332: 16,2606 02310 TC OVERSUB
059867,000333: 16,2607 55423 TS OMEGAR
059868,000334:
059869,000335: # END OF RATE DERIVATION
059870,000336: # BEGIN OFFSET ESTIMATER
059871,000337: # IN POWERED FLIGHT, AOSTASK WILL BE CALLED EVERY 2 SECONDS.
059872,000338: # AOS = AOS + K*SUMRATE
059873,000339:
059874,000340: 16,2610 40111 CS DAPBOOLS
059875,000341: 16,2611 74744 MASK DRIFTBIT
059876,000342: 16,2612 10000 CCS A
059877,000343: 16,2613 12624 TCF WORKTIME
059878,000344: 16,2614 55424 TS ALPHAQ # ZERO THE OFFSET ACCELERATION VALUES.
059879,000345: 16,2615 55425 TS ALPHAR
059880,000346: 16,2616 55545 TS AOSQTERM
059881,000347: 16,2617 55546 TS AOSRTERM
059882,000348: 16,2620 55537 TS AOSQ
059883,000349: 16,2621 55541 TS AOSR
059884,000350: 16,2622 12667 TCF PRETIMCK
059885,000351: 16,2623 00074 KAOS DEC 60 B-14
059886,000352: 16,2624 31510 WORKTIME CA QACCDOT
059887,000353: 16,2625 00006 EXTEND
059888,000354: 16,2626 74766 MP CALLCODE # OCTAL 00032 IS DECIMAL .1 AT 2(6).
059889,000355: 16,2627 21540 DAS AOSQ
059890,000356: 16,2630 31537 CA AOSQ
059891,000357: 16,2631 55424 TS ALPHAQ
059892,000358: 16,2632 00006 EXTEND
059893,000359: 16,2633 73616 MP 200MS # .2 AT 1
059894,000360: 16,2634 55545 TS AOSQTERM
059895,000361: 16,2635 31512 CA RACCDOT
059896,000362: 16,2636 00006 EXTEND
059897,000363: 16,2637 74766 MP CALLCODE # OCTAL 00032 IS DECIMAL .1 AT 2(6).
059898,000364: 16,2640 21542 DAS AOSR
059899,000365: 16,2641 31541 CA AOSR
059900,000366: 16,2642 55425 TS ALPHAR
059901,000367: 16,2643 00006 EXTEND
059902,000368: 16,2644 73616 MP 200MS # .2 AT 1
059903,000369: 16,2645 55546 TS AOSRTERM
059904,000370: 16,2646 12667 TCF PRETIMCK
059905,000371:
Page 1428 |
059907,000373: 16,2647 34747 PAXFILT CA CALLGMBL # EXECUTE ACDT+C12, IF NEEDED.
059908,000374: 16,2650 71273 MASK RCSFLAGS
059909,000375: 16,2651 10000 CCS A # CALLGMBL IS NOT BIT15, SO THIS TEST IS
059910,000376: 16,2652 03736 TC ACDT+C12 # VALID.
059911,000377:
059912,000378: 16,2653 52011 DXCH ARUPT
059913,000379: 16,2654 53754 DXCH DAPARUPT
059914,000380: 16,2655 32666 CA SUPERJOB # SETTING UP THE SUPERJOB
059915,000381: 16,2656 56017 XCH BRUPT
059916,000382: 16,2657 22012 LXCH QRUPT
059917,000383: 16,2660 53756 DXCH DAPBQRPT
059918,000384: 16,2661 32665 CA SUPERADR
059919,000385: 16,2662 52016 DXCH ZRUPT
059920,000386: 16,2663 53760 DXCH DAPZRUPT
059921,000387: 16,2664 15275 TCF NOQBRSM +1 # RELINT (JUST IN CASE) AND RESUME, IN THE
059922,000388: # FORM OF A JASK, AT SUPERJOB.
059923,000389:
059924,000390: 16,2665 02667 SUPERADR GENADR SUPERJOB +1
059925,000391:
059926,000392: # COUNT DOWN GIMBAL DRIVE TIMERS AND TURN OFF DRIVES IF REQUIRED.
059927,000393:
059928,000394: 16,2666 13641 SUPERJOB TCF RATELOOP
059929,000395: 16,2667 11632 PRETIMCK CCS QGIMTIMR
059930,000396: 16,2670 12710 TCF DECQTIMR # POSITIVE - COUNTING DOWN
059931,000397: 16,2671 12714 TCF TURNOFFQ # NEGATIVE - DRIVE SHOULD BE ENDED
059932,000398: 16,2672 11634 CHKRTIMR CCS RGIMTIMR # NEGATIVE - INACTIVE
059933,000399: 16,2673 12712 TCF DECRTIMR # (NEG ZERO - IMPOSSIBLE)
059934,000400: 16,2674 12724 TCF TURNOFFR # REPEATED (ABOVE) FOR R AXIS.
059935,000401:
059936,000402: 16,2675 00006 EXTEND # DECREMENT DOCKED JET INHIBITION COUNTERS
059937,000403: 16,2676 27767 DIM PJETCTR
059938,000404: 16,2677 00006 EXTEND
059939,000405: 16,2700 27770 DIM UJETCTR
059940,000406: 16,2701 00006 EXTEND
059941,000407: 16,2702 27771 DIM VJETCTR
059942,000408: 16,2703 34740 CA BIT12
059943,000409: 16,2704 71273 MASK RCSFLAGS
059944,000410: 16,2705 00006 EXTEND
059945,000411: 16,2706 12734 BZF SKIPPAXS
059946,000412: 16,2707 02740 TC CHKVISFZ
059947,000413: 16,2710 55632 DECQTIMR TS QGIMTIMR # COUNT TIMERS DOWN TO POS ZERO.
059948,000414: 16,2711 12672 TCF CHKRTIMR
059949,000415: 16,2712 55634 DECRTIMR TS RGIMTIMR
059950,000416: 16,2713 12675 TCF CHKRTIMR +3
059951,000417:
059952,000418: 16,2714 55501 TURNOFFQ TS NEGUQ # HALT DRIVES.
059953,000419: 16,2715 55510 TS QACCDOT
059954,000420: 16,2716 45007 CS QGIMBITS
059955,000421: 16,2717 00006 EXTEND
Page 1429 |
059957,000423: 16,2720 03012 WAND CHAN12
059958,000424: 16,2721 34735 CAF NEGMAX
059959,000425: 16,2722 55632 TS QGIMTIMR
059960,000426: 16,2723 12672 TCF CHKRTIMR
059961,000427: 16,2724 55503 TURNOFFR TS NEGUR
059962,000428: 16,2725 55512 TS RACCDOT
059963,000429: 16,2726 45020 CS RGIMBITS
059964,000430: 16,2727 00006 EXTEND
059965,000431: 16,2730 03012 WAND CHAN12
059966,000432: 16,2731 34735 CAF NEGMAX
059967,000433: 16,2732 55634 TS RGIMTIMR
059968,000434: 16,2733 12675 TCF CHKRTIMR +3
059969,000435: 16,2734 5007 QGIMBITS EQUALS OCT1400 # BITS 9 AND 10 (OF CHANNEL 12).
059970,000436: 16,2734 5020 RGIMBITS EQUALS PRIO6 # BITS 11 AND 12 (OF CHANNEL 12).
059971,000437:
059972,000438: 16,2734 41273 SKIPPAXS CS RCSFLAGS
059973,000439: 16,2735 74740 MASK BIT12
059974,000440: 16,2736 27273 ADS RCSFLAGS # BIT 12 SET TO 1.
059975,000441: 16,2737 13624 TCF QRAXIS # GO TO QRAXIS OR TO GTS.
059976,000442:
059977,000443: # Y-Z TRANSLATION
059978,000444:
059979,000445: # INPUT: BITS 9-12 OF CH31 (FROM TRANSLATION CONTROLER)
059980,000446:
059981,000447: # OUTPUT: NEXTP
059982,000448:
059983,000449: # NEXTP IS THE CHANNEL 6 CODE OF JETS FOR THE DESIRED TRANSLATION.
059984,000450: # IF THERE ARE FAILURES IN THE DESIRED POLICY, THEN
059985,000451: # (1) FOR DIAGONAL TRANS: UNFAILED PAIR
059986,000452: # ALARM (IF NO PAIR)
059987,000453: # (2) FOR PRINCIPAL TRANS: TRY TO TACK WITH DIAGONAL PAIRS
059988,000454: # ALARM (IF DIAGONAL PAIRS ARE FAILED)
059989,000455:
059990,000456: 16,2740 00006 CHKVISFZ EXTEND
059991,000457: 16,2741 00031 READ CHAN31
059992,000458: 16,2742 40000 CS A
059993,000459: 16,2743 73613 MASK 07400OCT
059994,000460: 16,2744 00006 EXTEND
059995,000461: 16,2745 13014 BZF TSNEXTP
059996,000462: 16,2746 00006 EXTEND
059997,000463: 16,2747 74745 MP BIT7
059998,000464: 16,2750 50000 INDEX A
059999,000465: 16,2751 33572 CA INDXYZ
060000,000466: 16,2752 55744 TS ROTINDEX
060001,000467: 16,2753 36242 TRYUORV CA SIX
060002,000468: 16,2754 03551 TC SELECTYZ
060003,000469: 16,2755 46242 CS SIX
060004,000470: 16,2756 61743 AD NUMBERT
060005,000471: 16,2757 00006 EXTEND
Page 1430 |
060007,000473: 16,2760 13013 BZF TSNEXTP -1
060008,000474: 16,2761 44756 CS FIVE
060009,000475: 16,2762 61744 AD ROTINDEX
060010,000476: 16,2763 00006 EXTEND
060011,000477: 16,2764 63002 BZMF ALTERYZ
060012,000478: 16,2765 41743 CS NUMBERT
060013,000479: 16,2766 64751 AD FOUR
060014,000480: 16,2767 00006 EXTEND
060015,000481: 16,2770 63013 BZMF TSNEXTP -1
060016,000482: 16,2771 05567 ABORTYZ TC ALARM
060017,000483: 16,2772 02001 OCT 02001
060018,000484: 16,2773 34753 CA BIT1 # INVERT BIT 1 OF RCSFLAGS.
060019,000485: 16,2774 23273 LXCH RCSFLAGS
060020,000486: 16,2775 00006 EXTEND
060021,000487: 16,2776 06001 RXOR 1
060022,000488: 16,2777 55273 TS RCSFLAGS
060023,000489: 16,3000 34755 CA ZERO
060024,000490: 16,3001 13014 TCF TSNEXTP
060025,000491: 16,3002 34753 ALTERYZ CA BIT1 # INVERT BIT 1 OF RCSFLAGS.
060026,000492: 16,3003 23273 LXCH RCSFLAGS
060027,000493: 16,3004 00006 EXTEND
060028,000494: 16,3005 06001 RXOR 1
060029,000495: 16,3006 55273 TS RCSFLAGS
060030,000496: 16,3007 74753 MASK BIT1
060031,000497: 16,3010 64751 AD FOUR
060032,000498: 16,3011 27744 ADS ROTINDEX
060033,000499: 16,3012 12753 TCF TRYUORV
060034,000500: 16,3013 31741 CA POLYTEMP
060035,000501: 16,3014 55472 TSNEXTP TS NEXTP
060036,000502:
060037,000503: # STATE LOGIC
060038,000504: # CHECK IN ORDER: IF ON
060039,000505: # LPDPHASE GO TO PURGENCY
060040,000506: # PULSES MINIMUM PULSE LOGIC
060041,000507: # DETENT(BIT15 CH31) RATE COMMAND
060042,000508: # GO TO PURGENCY
060043,000509:
060044,000510: 16,3015 34737 CA BIT13 # CHECK STICK IF IN ATT. HOLD.
060045,000511: 16,3016 00006 EXTEND
060046,000512: 16,3017 02031 RAND CHAN31
060047,000513: 16,3020 00006 EXTEND
060048,000514: 16,3021 13027 BZF MANMODE
060049,000515:
060050,000516: 16,3022 30111 CA DAPBOOLS
060051,000517: 16,3023 74743 MASK XOVINHIB
060052,000518: 16,3024 10000 CCS A
060053,000519: 16,3025 13463 TCF PURGENCY # ATTITUDE STEER DURING VISIBILITY PHASE
060054,000520:
060055,000521: 16,3026 13071 TCF DETENTCK
060056,000522: 16,3027 34735 MANMODE CA PULSES # PULSES IS ONE FOR PULSE MODE
060057,000523: 16,3030 70111 MASK DAPBOOLS
Page 1431 |
060059,000525: 16,3031 00006 EXTEND
060060,000526: 16,3032 13071 BZF DETENTCK # BRANCH FOR RATE COMMAND
060061,000527:
060062,000528: 16,3033 34755 CA ZERO
060063,000529: 16,3034 55464 TS PERROR
060064,000530:
060065,000531: # MINIMUM IMPULSE MODE
060066,000532:
060067,000533: 16,3035 30032 CA CDUX
060068,000534: 16,3036 55635 TS CDUXD
060069,000535:
060070,000536: 16,3037 11460 CCS OLDPMIN
060071,000537: 16,3040 13054 TCF CHECKP
060072,000538:
060073,000539: 16,3041 34751 FIREP CA BIT3
060074,000540: 16,3042 00006 EXTEND
060075,000541: 16,3043 02031 RAND CHAN31
060076,000542: 16,3044 00006 EXTEND
060077,000543: 16,3045 13064 BZF +XMIN
060078,000544:
060079,000545: 16,3046 34750 CA BIT4
060080,000546: 16,3047 00006 EXTEND
060081,000547: 16,3050 02031 RAND CHAN31
060082,000548: 16,3051 00006 EXTEND
060083,000549: 16,3052 13062 BZF -XMIN
060084,000550:
060085,000551: 16,3053 13442 TCF JETSOFF
060086,000552:
060087,000553: 16,3054 00006 CHECKP EXTEND
060088,000554: 16,3055 00031 READ CHAN31
060089,000555: 16,3056 40000 CS A
060090,000556: 16,3057 75751 MASK OCT14
060091,000557: 16,3060 55460 TS OLDPMIN
060092,000558: 16,3061 13442 TCF JETSOFF
060093,000559:
060094,000560: 16,3062 44363 -XMIN CS TEN # ANYTHING LESS THAN 14MS. CORRECTED
060095,000561: 16,3063 13065 TCF +2 # IN JET SELECTION ROUTINE
060096,000562: 16,3064 34363 +XMIN CA TEN
060097,000563: 16,3065 55524 TS TJP
060098,000564: 16,3066 34753 CA ONE
060099,000565: 16,3067 55460 TS OLDPMIN
060100,000566: 16,3070 13350 TCF PJETSLEC -6
060101,000567:
060102,000568: # MANUAL RATE COMMAND MODE
060103,000569: # ========================
060104,000570: # BY ROBERT F. STENGEL
060105,000571:
060106,000572: # THIS MODE PROVIDES RCAH MANUAL CONTROL THRU 2 CONTROL LAWS: 1) DIRECT RATE AND 2) PSEUDO-AUTO.
060107,000573: # THE DIRECT RATE MODE AFFORDS IMMEDIATE CONTROL WITHOUT OVERSHOOT. THE PSEUDO-AUTO MODE PROVIDES PRECISE
060108,000574: # RATE CONTROL AND ATTITUDE HOLD.
060109,000575:
Page 1432 |
060111,000577: # IN DIRECT RATE, JETS ARE FIRED WHEN STICK POSITION CHANGES BY A FIXED NUMBER OF INCREMENTS IN ONE DAP CYCLE.
060112,000578: # THE 'BREAKOUT LEVEL' IS .6 D/S FOR LM-ONLY AND .3 D/S FOR CSM-DOCKED. THIS LAW NULLS THE RATE ERROR TO WITHIN
060113,000579: # THE 'TARGET DEADBAND', WHICH EQUALS THE BREAKOUT LEVEL.
060114,000580:
060115,000581: # IN PSEUDO-AUTO, BODY-FIXED RATE AND ATTITUDE ERRORS ARE SUPPLIED TO TJETLAW, WHICH EXERCISES CONTROL.
060116,000582: # CONTROL SWITCHES FROM DIRECT RATE TO PSEUDO-AUTO IF THE TARGET DB IS ACHIEVED OR IF TIME IN (1) EXCEEDS 4 SEC.
060117,000583: # IF THE INITIAL COMMAND DOES NOT EXCEED THE BREAKOUT LEVEL, CONTROL GOES TO PSEUDO-AUTO IMMEDIATELY.
060118,000584:
060119,000585: # SINCE P-AXIS CONTROL IS SEPARATE FROM Q,R AXES CONTROL, IT IS POSSIBLE TO USE (1) IN P-AXIS AND (2) IN Q,R AXES,
060120,000586: # OR VICE VERSA. THIS ALLOWS A DEGREE OF ATTITUDE HOLD IN UNCONTROLLED AXES. DUE TO U,V CONTROL, HOWEVER, Q AND
060121,000587: # R AXES ARE COUPLED AND MUST USE THE SAME CONTROL LAW.
060122,000588:
060123,000589: # HAND CONTROLLER COMMANDS ARE SCALED BY A LINEAR/QUADRATIC LAW. FOR THE LM-ALONE, MAXIMUM COMMANDED RATES ARE 20
060124,000590: # AND 4 D/S IN NORMAL AND FINE SCALING; HOWEVER, STICK SENSITIVITY AT ZERO COUNTS (OBTAINED AT A STICK DEFLECTION
060125,000591: # OF 2 DEGREES FROM THE CENTERED POSITION) IS .5 OR .1 D/S PER DEGREE. NORMAL AND FINE SCALINGS FOR THE CSM-DOCKED
060126,000592: # CASE IS AUTOMATICALLY SET TO 1/10 THE ABOVE VALUES. SCALING IS DETERMINED IN ROUTINE 3.
060127,000593:
060128,000594: # ZEROENBL ENABLES COUNTERS SO THEY CAN BE READ NEXT TIME
060129,000595: # JUSTOUT FIRST DETECTION OF OUT OF DETENT (BY OURRCBIT)
060130,000596:
060131,000597: 16,3071 00006 DETENTCK EXTEND
060132,000598: 16,3072 00031 READ CHAN31
060133,000599: 16,3073 55443 TS CH31TEMP
060134,000600: 16,3074 74735 MASK BIT15 # CHECK OUT-OF-DETENT BIT.
060135,000601: 16,3075 00006 EXTEND
060136,000602: 16,3076 13223 BZF RHCMOVED # BRANCH IF OUT OF DETENT.
060137,000603: 16,3077 34740 CAF OURRCBIT # IN DETENT. CHECK THE RATE COMMAND BIT.
060138,000604: 16,3100 70111 MASK DAPBOOLS
060139,000605: 16,3101 00006 EXTEND
060140,000606: 16,3102 13463 BZF PURGENCY # BRANCH IF NOT IN RATE COMMAND LAST PASS.
060141,000607:
060142,000608: # ........................................................................
060143,000609:
060144,000610: 16,3103 34743 CA BIT9 # JUST IN DETENT??
060145,000611: 16,3104 71273 MASK RCSFLAGS
060146,000612: 16,3105 00006 EXTEND
060147,000613: 16,3106 13120 BZF RUTH
060148,000614: 16,3107 34737 CAF BIT13 # CHECK FOR ATTITUDE HOLD.
060149,000615: 16,3110 00006 EXTEND
060150,000616: 16,3111 02031 RAND CHAN31
060151,000617: 16,3112 00006 EXTEND
060152,000618: 16,3113 13220 BZF RATEDAMP # BRANCH IF IN ATTITUDE HOLD.
060153,000619:
060154,000620: 16,3114 45014 CS BITS9,11 # IN AUTO.
060155,000621: 16,3115 71273 MASK RCSFLAGS # (X-AXIS OVERRIDE)
060156,000622: 16,3116 55273 TS RCSFLAGS # ZERO ORBIT (BIT 11) AND JUST-IN BIT (9).
060157,000623: 16,3117 13220 TCF RATEDAMP
060158,000624:
060159,000625: 16,3120 31273 RUTH CA RCSFLAGS
060160,000626: 16,3121 74742 MASK PBIT # IN ATTITUDE HOLD.
060161,000627: 16,3122 00006 EXTEND
060162,000628: 16,3123 13125 BZF +2 # BRANCH IF P-RATE DAMPING IS FINISHED.
060163,000629: 16,3124 13220 TCF RATEDAMP
060164,000630:
Page 1433 |
060166,000632: 16,3125 31273 CA RCSFLAGS
060167,000633: 16,3126 74741 MASK QRBIT
060168,000634: 16,3127 00006 EXTEND
060169,000635: 16,3130 13136 BZF RATEDONE # BRANCH IF Q,R RATE DAMPING IS FINISHED.
060170,000636: 16,3131 13220 TCF RATEDAMP
060171,000637:
060172,000638: # ============================================
060173,000639:
060174,000640: 16,3132 00001 1/10SEC OCT 1
060175,000641: 16,3133 00050 40CYC OCT 50
060176,000642: 16,3134 74777 PQRBIT OCT 74777
060177,000643: 16,3135 5014 BITS9,11 EQUALS EBANK5
060178,000644: 16,3135 00056 LINRATP DEC 46 B-14
060179,000645:
060180,000646: # ============================================
060181,000647:
060182,000648: 16,3136 44740 RATEDONE CS OURRCBIT # MANUAL COMMAND AND DAMPING COMPLETED IN
060183,000649: 16,3137 00004 INHINT # ALL AXES.
060184,000650: 16,3140 70111 MASK DAPBOOLS
060185,000651: 16,3141 54111 TS DAPBOOLS
060186,000652:
060187,000653: # READ CDUS INTO CDU DESIRED REGISTERS
060188,000654:
060189,000655: 16,3142 34737 CAF BIT13
060190,000656: 16,3143 00006 EXTEND
060191,000657: 16,3144 02031 RAND CHAN31
060192,000658: 16,3145 00006 EXTEND
060193,000659: 16,3146 13152 BZF +4
060194,000660: 16,3147 30032 CA CDUX # (X-AXIS OVERRIDE)
060195,000661: 16,3150 55635 TS CDUXD
060196,000662: 16,3151 03154 TC +3
060197,000663: 16,3152 04674 TC IBNKCALL
060198,000664: 16,3153 40153 FCADR ZATTEROR
060199,000665: 16,3154 00003 RELINT
060200,000666: 16,3155 13463 TCF PURGENCY
060201,000667:
060202,000668: 16,3156 55464 TS PERROR
060203,000669: 16,3157 34740 JUSTOUT CA OURRCBIT # INITIALIZATION - FIRST MANUAL PASS.
060204,000670: 16,3160 26111 ADS DAPBOOLS
060205,000671: 16,3161 34755 CA ZERO
060206,000672: 16,3162 55446 TS DXERROR
060207,000673: 16,3163 55447 TS DXERROR +1
060208,000674: 16,3164 55450 TS DYERROR
060209,000675: 16,3165 55451 TS DYERROR +1
060210,000676: 16,3166 55452 TS DZERROR
060211,000677: 16,3167 55453 TS DZERROR +1
060212,000678: 16,3170 55454 TS PLAST
060213,000679: 16,3171 55455 TS QLAST
060214,000680: 16,3172 55456 TS RLAST
060215,000681: 16,3173 54042 TS Q-RHCCTR
060216,000682: 16,3174 54044 TS R-RHCCTR
060217,000683: 16,3175 33134 CA PQRBIT
060218,000684: 16,3176 71273 MASK RCSFLAGS
060219,000685: 16,3177 55273 TS RCSFLAGS # BITS 10 AND 11 OF RCSFLAGS ARE 0.
Page 1434 |
060221,000687: 16,3200 41273 CS RCSFLAGS # SET 'JUST-IN' BIT TO 1.
060222,000688: 16,3201 74743 MASK BIT9
060223,000689: 16,3202 27273 ADS RCSFLAGS
060224,000690: 16,3203 03205 TC ZEROENBL
060225,000691: 16,3204 13442 TCF JETSOFF
060226,000692: 16,3205 22044 ZEROENBL LXCH R-RHCCTR
060227,000693: 16,3206 30042 CA Q-RHCCTR
060228,000694: 16,3207 53463 DXCH SAVEHAND
060229,000695: 16,3210 34755 CA ZERO
060230,000696: 16,3211 54043 TS P-RHCCTR
060231,000697: 16,3212 54042 TS Q-RHCCTR
060232,000698: 16,3213 54044 TS R-RHCCTR
060233,000699: 16,3214 33617 CA BITS8,9
060234,000700: 16,3215 00006 EXTEND
060235,000701: 16,3216 05013 WOR CHAN13 # COUNTERS ZEROED AND ENABLED
060236,000702: 16,3217 00002 TC Q
060237,000703: 16,3220 34755 RATEDAMP CA ZERO
060238,000704: 16,3221 54043 TS P-RHCCTR
060239,000705: 16,3222 13227 TCF RATERROR
060240,000706:
060241,000707: 16,3223 34740 RHCMOVED CA OURRCBIT # P CONTROL
060242,000708: 16,3224 70111 MASK DAPBOOLS
060243,000709: 16,3225 00006 EXTEND
060244,000710: 16,3226 13156 BZF JUSTOUT -1
060245,000711: 16,3227 30032 RATERROR CA CDUX # FINDCDUW REQUIRES THAT CDUXD=CDUX DURING
060246,000712: 16,3230 55635 TS CDUXD # X-AXIS OVERRIDE
060247,000713: 16,3231 10043 CCS P-RHCCTR
060248,000714: 16,3232 13235 TCF +3
060249,000715: 16,3233 13235 TCF +2
060250,000716: 16,3234 13235 TCF +1
060251,000717: 16,3235 60000 DOUBLE # LINEAR/QUADRATIC CONTROLLER SCALING
060252,000718: 16,3236 60000 DOUBLE # (SEE EXPLANATION IN Q,R-AXES RCS
060253,000719: 16,3237 63135 AD LINRATP # AUTOPILOT)
060254,000720: 16,3240 00006 EXTEND
060255,000721: 16,3241 70043 MP P-RHCCTR
060256,000722: 16,3242 30001 CA L
060257,000723: 16,3243 00006 EXTEND
060258,000724: 16,3244 71444 MP STIKSENS
060259,000725: 16,3245 57454 XCH PLAST
060260,000726: 16,3246 40000 COM
060261,000727: 16,3247 61454 AD PLAST
060262,000728: 16,3250 55737 TS DAPTEMP1
060263,000729: 16,3251 03205 TC ZEROENBL # INTERVAL. ZERO AND ENABLE ACA COUNTERS.
060264,000730: 16,3252 41454 CS PLAST
060265,000731: 16,3253 61421 AD OMEGAP
060266,000732: 16,3254 55427 TS EDOTP
060267,000733: 16,3255 11737 CCS DAPTEMP1 # IF P COMMAND CHANGE EXCEEDS BREAKOUT
060268,000734: 16,3256 13261 TCF +3 # LEVEL, GO TO DIRECT RATE CONTROL. IF NOT
060269,000735: 16,3257 13267 TCF +8D # CHECK FOR DIRECT RATE CONTROL LAST TIME.
060270,000736: 16,3260 13261 TCF +1
Page 1435 |
060272,000738: 16,3261 61476 AD -RATEDB
060273,000739: 16,3262 00006 EXTEND
060274,000740: 16,3263 63267 BZMF +4
060275,000741: 16,3264 33133 CA 40CYC
060276,000742: 16,3265 55445 TS TCP
060277,000743: 16,3266 03300 TC PEGI
060278,000744: 16,3267 31273 CA RCSFLAGS # CHECK FOR DIRECT RATE COMMAND LAST TIME.
060279,000745: 16,3270 74742 MASK PBIT
060280,000746: 16,3271 00006 EXTEND
060281,000747: 16,3272 13274 BZF +2
060282,000748: 16,3273 03300 TC PEGI # TO PURE RATE COMMAND
060283,000749: 16,3274 31446 CA DXERROR # PSEUDO-AUTO CONTROL.
060284,000750: 16,3275 55752 TS E # X-ATTITUDE ERROR (SP)
060285,000751: 16,3276 55464 TS PERROR # LOAD P-AXIS ERROR FOR MODE1 FDAI DISPLAY
060286,000752: 16,3277 03467 TC PURGENCY +4
060287,000753: 16,3300 30032 PEGI CA CDUX # DIRECT RATE CONTROL.
060288,000754: 16,3301 55635 TS CDUXD
060289,000755: 16,3302 34755 CA ZERO
060290,000756: 16,3303 55446 TS DXERROR
060291,000757: 16,3304 55447 TS DXERROR +1
060292,000758: 16,3305 55464 TS PERROR # ZERO P-AXIS ERROR FOR MODE1 FDAI DISPLAY
060293,000759: 16,3306 11427 CCS EDOTP
060294,000760: 16,3307 03312 TC +3
060295,000761: 16,3310 03312 TC +2
060296,000762: 16,3311 03312 TC +1
060297,000763: 16,3312 55737 TS ABSEDOTP
060298,000764: 16,3313 61476 AD TARGETDB
060299,000765: 16,3314 00006 EXTEND # IF RATE ERROR IS LESS THAN DEADBAND,
060300,000766: 16,3315 63325 BZMF LAST # FIRE, AND SWITCH TO PSEUDO-AUTO.
060301,000767: 16,3316 31445 CA TCP
060302,000768: 16,3317 00006 EXTEND # IF TIME IN RATE COMMAND EXCEEDS 4 SEC.,
060303,000769: 16,3320 63325 BZMF LAST
060304,000770: 16,3321 41273 CS RCSFLAGS
060305,000771: 16,3322 74742 MASK PBIT
060306,000772: 16,3323 27273 ADS RCSFLAGS # BIT 10 IS 1.
060307,000773: 16,3324 13330 TCF +4
060308,000774: 16,3325 44742 LAST CS PBIT
060309,000775: 16,3326 71273 MASK RCSFLAGS
060310,000776: 16,3327 55273 TS RCSFLAGS # BIT 10 IS 0.
060311,000777: 16,3330 41427 CS EDOTP
060312,000778: 16,3331 00006 EXTEND
060313,000779: 16,3332 71551 MP 1/ANETP # 1/2JTACC SCALED AT 2EXP(7)/PI
060314,000780: 16,3333 20001 DAS A
060315,000781: 16,3334 02310 TC OVERSUB
060316,000782: 16,3335 00006 EXTEND
060317,000783: 16,3336 77716 MP 25/32 # A CONTAINS TJET SCALED AT 2EXP(4)(16/25)
060318,000784: 16,3337 55524 TS TJP # 4.JET TIME
060319,000785: 16,3340 31737 CA ABSEDOTP
060320,000786: 16,3341 61475 AD -2JETLIM # COMPARING DELTA RATE WITH 2 JET LIMIT
060321,000787: 16,3342 00006 EXTEND
Page 1436 |
060323,000789: 16,3343 63346 BZMF +3
060324,000790:
060325,000791: 16,3344 36242 CA SIX
060326,000792: 16,3345 13355 TCF +8D
060327,000793: 16,3346 31524 CA TJP
060328,000794: 16,3347 27524 ADS TJP
060329,000795:
060330,000796: # GOES TO PJETSLEC FOR TWO JETS
060331,000797: # P-JET-SELECTION-ROUTINE (ROTATION)
060332,000798:
060333,000799: # INPUT: NUMBERT 4,5,6 FOR WHICH PAIR OR 4 JETS
060334,000800: # TJP + FOR +P ROTATION
060335,000801:
060336,000802: # OUTPUT: CHANNEL 6
060337,000803: # PJUMPADR FOR P-AXIS SKIP
060338,000804: # (JTLST CALL) (SMALL TJP)
060339,000805:
060340,000806: # ORDER OF POLICIES TRIED IN CASE OF FAILURE.
060341,000807: # +P -P
060342,000808: # 7,15 8,16
060343,000809: # 4,12 3,11
060344,000810: # 4,7 8,11
060345,000811: # 7,12 11,16
060346,000812: # 12,15 3,16
060347,000813: # 4,15 3,8
060348,000814: # ALARM ALARM
060349,000815:
060350,000816: 16,3350 34747 CA AORBSYST
060351,000817: 16,3351 70111 MASK DAPBOOLS
060352,000818: 16,3352 10000 CCS A
060353,000819: 16,3353 34753 CA ONE
060354,000820: 16,3354 64751 AD FOUR
060355,000821: 16,3355 55743 TS NUMBERT
060356,000822: 16,3356 34753 PJETSLEC CA ONE
060357,000823: 16,3357 54001 TS L
060358,000824: 16,3360 11524 CCS TJP
060359,000825: 16,3361 13366 TCF +5
060360,000826: 16,3362 13442 TCF JETSOFF
060361,000827: 16,3363 13365 TCF +2
060362,000828: 16,3364 13442 TCF JETSOFF
060363,000829: 16,3365 22007 ZL
060364,000830: 16,3366 64753 AD ONE
060365,000831: 16,3367 55737 TS ABSTJ
060366,000832: 16,3370 23744 LXCH ROTINDEX
060367,000833: 16,3371 03531 TC SELECTP
060368,000834: 16,3372 46242 CS SIX
060369,000835: 16,3373 61743 AD NUMBERT
060370,000836: 16,3374 00006 EXTEND
060371,000837: 16,3375 13377 BZF +2
060372,000838:
060373,000839: 16,3376 44752 CS TWO
060374,000840:
Page 1437 |
060376,000842: 16,3377 64751 AD FOUR
060377,000843: 16,3400 55521 TS NO.PJETS
060378,000844: 16,3401 31741 CA POLYTEMP
060379,000845: 16,3402 05754 TC WRITEP
060380,000846: 16,3403 41737 CS ABSTJ
060381,000847: 16,3404 63612 AD +150MST6
060382,000848: 16,3405 00006 EXTEND
060383,000849: 16,3406 63624 BZMF QRAXIS # GO TO QRAXIS OR TO GTS.
060384,000850:
060385,000851: 16,3407 63572 AD -136MST6
060386,000852: 16,3410 00006 EXTEND
060387,000853: 16,3411 63416 BZMF +5
060388,000854:
060389,000855: 16,3412 27737 ADS ABSTJ
060390,000856: 16,3413 51744 INDEX ROTINDEX
060391,000857: 16,3414 33621 CA MINTIMES
060392,000858: 16,3415 55524 TS TJP
060393,000859:
060394,000860: 16,3416 31737 CA ABSTJ
060395,000861: 16,3417 22007 ZL
060396,000862: 16,3420 00004 INHINT
060397,000863: 16,3421 53471 DXCH T6FURTHA
060398,000864: 16,3422 04674 TC IBNKCALL
060399,000865: 16,3423 37114 CADR JTLST
060400,000866: 16,3424 44740 CS BIT12
060401,000867: 16,3425 71273 MASK RCSFLAGS
060402,000868: 16,3426 55273 TS RCSFLAGS # BIT 12 SET TO 0.
060403,000869: 16,3427 03431 TC ALTSYST
060404,000870: 16,3430 13624 TCF QRAXIS
060405,000871:
060406,000872: 16,3431 30111 ALTSYST CA DAPBOOLS # ALTERNATE P-AXIS JETS
060407,000873: 16,3432 54001 TS L
060408,000874: 16,3433 34747 CA AORBSYST
060409,000875: 16,3434 00006 EXTEND
060410,000876: 16,3435 06001 RXOR LCHAN
060411,000877: 16,3436 54111 TS DAPBOOLS
060412,000878: 16,3437 00003 RELINT
060413,000879: 16,3440 00002 TC Q
060414,000880:
060415,000881: 16,3441 03431 DKALT TC ALTSYST
060416,000882:
060417,000883: 16,3442 05753 JETSOFF TC WRITEP -1
060418,000884: 16,3443 34755 CA ZERO
060419,000885: 16,3444 55524 TS TJP
060420,000886: 16,3445 13624 TCF QRAXIS
060421,000887:
060422,000888: # (NOTE -- M13 = 1 IDENTICALLY IMPLIES NULL MULTIPLICATION.)
060423,000889:
060424,000890: 16,3446 30033 CALCPERR CA CDUY # P-ERROR CALCULATION.
060425,000891: 16,3447 00006 EXTEND
060426,000892: 16,3450 21636 MSU CDUYD # CDU VALUE - ANGLE DESIRED (Y-AXIS)
Page 1438 |
060428,000894: 16,3451 00006 EXTEND
060429,000895: 16,3452 71414 MP M11 # (CDUY-CDUYD)M11 SCALED AT PI RADIANS
060430,000896: 16,3453 57752 XCH E # SAVE FIRST TERM (OF TWO)
060431,000897: 16,3454 30032 CA CDUX # THIRD COMPONENT
060432,000898: 16,3455 00006 EXTEND
060433,000899: 16,3456 21635 MSU CDUXD # CDU VALUE - ANGLE DESIRED (X-AXIS)
060434,000900: # EXTEND
060435,000901: # MP M13
060436,000902: 16,3457 61277 AD DELPEROR # KALCMANU INERFACE ERROR
060437,000903: 16,3460 27752 ADS E # SAVE SUM OF TERMS. COULD BE OVERFLOW.
060438,000904: 16,3461 57464 XCH PERROR # SAVE P-ERROR FOR EIGHT-BALL DISPLAY.
060439,000905: 16,3462 00002 TC Q # RETURN TO CALLER
060440,000906:
060441,000907: # P-AXIS URGENCY FUNCTION CALCULATION.
060442,000908:
060443,000909: 16,3463 03446 PURGENCY TC CALCPERR # CALCULATE P-AXIS ERRORS.
060444,000910: 16,3464 41643 CS OMEGAPD # THIS CODING IS COMMON TO BOTH LM DAP AND
060445,000911: 16,3465 61421 AD OMEGAP # SPS-BACKUP MODE.
060446,000912: 16,3466 55427 TS EDOTP # EDOTP = OMEGAP - OMEGAPD AT PI/4 RAD/SEC
060447,000913:
060448,000914: 16,3467 44753 CS ONE
060449,000915: 16,3470 55505 TS AXISCTR
060450,000916: 16,3471 30111 CA DAPBOOLS
060451,000917: 16,3472 74737 MASK CSMDOCKD
060452,000918: 16,3473 00006 EXTEND
060453,000919: 16,3474 13505 BZF HEADTJET
060454,000920: 16,3475 00004 INHINT # IF CSMDOCKD = 1, GO TO DOCKED RCS LOGIC
060455,000921: 16,3476 04674 TC IBNKCALL
060456,000922: 16,3477 43727 CADR SPSRCS
060457,000923:
060458,000924: 16,3500 31524 CA TJP
060459,000925: 16,3501 00006 EXTEND
060460,000926: 16,3502 13441 BZF DKALT # IF TJP = ZERO, CHANGE AORBSYST.
060461,000927: 16,3503 00003 RELINT
060462,000928: 16,3504 13350 TCF PJETSLEC -6 # SELECT AORBSYST AND USE TWO JETS
060463,000929: 16,3505 34755 HEADTJET CA ZERO
060464,000930: 16,3506 55500 TS SENSETYP
060465,000931: 16,3507 00004 INHINT
060466,000932: 16,3510 04674 TC IBNKCALL
060467,000933: 16,3511 37252 CADR TJETLAW
060468,000934: 16,3512 00003 RELINT
060469,000935:
060470,000936: 16,3513 41741 CS FIREFCT
060471,000937: 16,3514 63530 AD -FOURDEG
060472,000938: 16,3515 00006 EXTEND
060473,000939: 16,3516 63350 BZMF PJETSLEC -6
060474,000940: 16,3517 11524 CCS TJP
060475,000941: 16,3520 13522 TCF +2
060476,000942: 16,3521 13442 TCF JETSOFF
Page 1439 |
060478,000944: 16,3522 63527 AD -160MST6
060479,000945: 16,3523 00006 EXTEND
060480,000946: 16,3524 63350 BZMF PJETSLEC -6
060481,000947: 16,3525 36242 CA SIX
060482,000948: 16,3526 13355 TCF PJETSLEC -1
060483,000949: 16,3527 77377 -160MST6 DEC -256 B-14
060484,000950: 16,3530 75117 -FOURDEG DEC -.08888
060485,000951:
Page 1440 |
060487,000953: # JET POLICY CONSTRUCTION SUBROUTINE
060488,000954:
060489,000955: # INPUT: ROTINDEX, NUMBERT
060490,000956:
060491,000957: # OUTPUT: POLYTEMP (JET POLICY)
060492,000958:
060493,000959: # THIS SUBROUTINE SELECT A SUBSET OF THE DESIRED JETS WHICH HAS NO FAILURE
060494,000960:
060495,000961: 16,3531 36242 SELECTP CA SIX
060496,000962: 16,3532 55742 TS TEMPNUM
060497,000963: 16,3533 51743 INDEX NUMBERT
060498,000964: 16,3534 33563 CA TYPEP
060499,000965: 16,3535 51744 INDEX ROTINDEX
060500,000966: 16,3536 73554 MASK JETSALL
060501,000967: 16,3537 55741 TS POLYTEMP
060502,000968: 16,3540 71263 MASK CH6MASK
060503,000969: 16,3541 10000 CCS A
060504,000970: 16,3542 13544 TCF +2
060505,000971: 16,3543 00002 TC Q
060506,000972: 16,3544 11742 CCS TEMPNUM
060507,000973: 16,3545 13551 TCF +4
060508,000974: 16,3546 05567 TC ALARM
060509,000975: 16,3547 02003 OCT 02003
060510,000976: 16,3550 13442 TCF JETSOFF # *****TCF ALARMJET *********************
060511,000977: 16,3551 55743 SELECTYZ TS NUMBERT
060512,000978: 16,3552 13532 TCF SELECTP +1
060513,000979: 16,3553 12773 -1 TCF ABORTYZ +2
060514,000980: 16,3554 00252 JETSALL OCT 00252
060515,000981: 16,3555 00125 OCT 00125 # +P
060516,000982: 16,3556 00140 OCT 00140 # -Y
060517,000983: 16,3557 00006 OCT 00006 # -Z
060518,000984: 16,3560 00220 OCT 00220 # +Y
060519,000985: 16,3561 00011 OCT 00011 # +Z
060520,000986: 16,3562 00151 OCT 00151 # +V
060521,000987: 16,3563 00146 TYPEP OCT 00146 # -U
060522,000988: 16,3564 00226 OCT 00226 # -V
060523,000989: 16,3565 00231 OCT 00231 # +U
060524,000990: 16,3566 00151 OCT 00151 # +V
060525,000991: 16,3567 00132 OCT 00132 # 1-3
060526,000992: 16,3570 00245 OCT 00245 # 2-4
060527,000993: 16,3571 00377 OCT 00377 # ALL
060528,000994: 16,3572 16,3572 INDXYZ = -136MST6
060529,000995: 16,3572 77445 -136MST6 DEC -218 B-14
060530,000996: 16,3573 00004 DEC 4 B-14
060531,000997: 16,3574 00002 DEC 2 B-14
060532,000998: 16,3575 07776 OCT 07776
060533,000999: 16,3576 00005 DEC 5 B-14
060534,001000: 16,3577 00011 DEC 9 B-14
060535,001001: 16,3600 00012 DEC 10 B-14
060536,001002: 16,3601 07776 OCT 07776
060537,001003: 16,3602 00003 DEC 3 B-14
Page 1441 |
060539,001005: 16,3603 00010 DEC 8 B-14
060540,001006: 16,3604 00007 DEC 7 B-14
060541,001007: 16,3605 07776 OCT 07776 # THESE INDEXES OF MASK JETSALL WILL
060542,001008: 16,3606 07776 OCT 07776 # CHANGE THE INSTRUCTION AT SELECTP +4
060543,001009: 16,3607 07776 OCT 07776 # TO BE TC JETSALL -1
060544,001010: 16,3610 07776 OCT 07776 # ONLY USED FOR TRANSLATION FAILURE
060545,001011: 16,3611 07776 OCT 07776
060546,001012: 16,3612 00360 +150MST6 DEC 240 B-14
060547,001013: 16,3613 07400 07400OCT OCT 07400
060548,001014:
060549,001015: # T-JET LAW FIXED CONSTANTS
060550,001016:
060551,001017: 16,3614 00266 NORMSCL OCT 266
060552,001018: 16,3615 74631 -100MS DEC -.1
060553,001019: 16,3616 06315 200MS DEC .2
060554,001020: 16,3617 7716 25/32 = PRIO31 # (DEC .78125)
060555,001021: 16,3617 00600 BITS8,9 OCTAL 00600
060556,001022: 16,3620 00632 1/40 DEC .02500
060557,001023: 16,3621 77751 MINTIMES DEC -22 B-14
060558,001024: 16,3622 00026 DEC 22 B-14
060559,001025: 16,3623 02734 PSKIPADR GENADR SKIPPAXS
060560,001026:
060561,001027: # GOES TO Q,R-AXES RCS AUTOPILOT
060562,001028:
060563,001029: 16,3624 41645 QRAXIS CS OMEGARD
060564,001030: 16,3625 61423 AD OMEGAR
060565,001031: 16,3626 02310 TC OVERSUB
060566,001032: 16,3627 55437 TS EDOTR
060567,001033: 16,3630 41644 CS OMEGAQD
060568,001034: 16,3631 61422 AD OMEGAQ
060569,001035: 16,3632 02310 TC OVERSUB
060570,001036: 16,3633 55436 TS EDOTQ
060571,001037: 16,3634 00006 EXTEND
060572,001038: 16,3635 33640 DCA QERRCALL
060573,001039: 16,3636 52006 DTCB
060574,001040:
060575,001041: 16,3637 E6,1537 EBANK= AOSQ
060576,001042: 16,3637 02072 36106 QERRCALL 2CADR CALLQERR
End of include-file P-AXIS_RCS_AUTOPILOT.agc. Parent file is MAIN.agc