Source Code
These source-code files are part of a reconstructed copy of Sundial E, the
final release of the Block II Command Module (CM) Apollo Guidance Computer
(AGC) system test software.
They have been created via disassembly of binary dumps of original core rope memory modules, part numbers 2003053-121, 2003053-151, and 2003972-211, belonging to the MIT Museum. Since only binary dumps (rather than listings) of Sundial are available as source material, all comments and labels are approximate. They have been taken from other AGC programs where possible, or, in some places, written from scratch to match what we believe would have been in the original listing. |
014378,000002: ## Copyright: Public domain.
014379,000003: ## Filename: CSM_AND_SATURN_INTEGRATED_TESTS.agc
014380,000004: ## Purpose: A section of Sundial E.
014381,000005: ## It is part of the reconstructed source code for the final
014382,000006: ## release of the Block II Command Module system test software. No
014383,000007: ## original listings of this program are available; instead, this
014384,000008: ## file was created via disassembly of dumps of Sundial core rope
014385,000009: ## modules and comparison with other AGC programs.
014386,000010: ## Assembler: yaYUL
014387,000011: ## Contact: Ron Burkey <info@sandroid.org>.
014388,000012: ## Website: www.ibiblio.org/apollo/index.html
014389,000013: ## Mod history: 2023-06-22 MAS Created from Aurora 12.
014390,000014: ## 2023-06-30 MAS Updated for Sundial E.
014391,000015:
014392,000016:
014393,000017:
014394,000018: 07,2720 SETLOC ENDINFSS
014395,000019: 07,2720 E4,1407 EBANK= JETSTEP
014396,000020:
014397,000021: # CSM & SATURN TESTS ENTRY AND INITIALIZATION JOB.
014398,000022:
014399,000023: # THIS JOB INITIALIZES THE ERASABLE TABLES FOR THE CSM AND SATURN TESTS AND PUTS THE
014400,000024: # FOLLOWING PROGRAMS UNDER WAITLIST CONTROL.
014401,000025: # (1) RCS JET SET TASK
014402,000026: # (2) ENGINE ON - OFF TASK
014403,000027: # (3) SPS ENGINE GIMBAL TRIM TASK
014404,000028: # (4) SATURN STEERING TASK
014405,000029: # (5) INTERFACE CHANNEL LOOK TASK
014406,000030:
014407,000031:
014408,000032: 07,2720 05550 CSISTART TC GRABWAIT # SO NOTHING DISRUPTS THE LOAD.
014409,000033: 07,2721 33155 CAF JSTEPADR # THE START OF THE LIST.
014410,000034: 07,2722 54003 TS EBANK
014411,000035: 07,2723 10000 CSI3 CCS A
014412,000036: 07,2724 54142 TS MPAC +2
014413,000037: 07,2725 33163 CSI2 CAF V04N01K # DISPLAY PRESENT CONTENTS IN R2.
014414,000038: 07,2726 05563 TC NVSBWAIT
014415,000039: 07,2727 24142 INCR MPAC +2
014416,000040: 07,2730 33156 CAF V21N02K
014417,000041: 07,2731 05563 TC NVSBWAIT # IN CASE IT,S BUSY BUT IT SHOULDN,T BE.
014418,000042: 07,2732 04724 TC ENDIDLE # WHILE LOADING.
014419,000043: 07,2733 02736 TC +3 # V34E. TERMINATE LOAD OF THIS LIST
014420,000044: # SECTION, GO TO NEW SECTION OR TO TEST.
014421,000045: 07,2734 02735 TC +1 # V33E. PRESENT CONTENTS OK, PROCEED TO
014422,000046: # NEXT LOCATION IN LIST.
014423,000047: 07,2735 02725 TC CSI2
014424,000048: 07,2736 33157 CAF V21N30K
014425,000049: 07,2737 05563 TC NVSBWAIT
014426,000050: 07,2740 04724 TC ENDIDLE
014427,000051: 07,2741 04352 TC EJFREE
014428,000052: 07,2742 02745 TC CSI4
014429,000053: 07,2743 30333 CAE DSPTEM1 # NEW ADDRESS.
014430,000054: 07,2744 02723 TC CSI3
014431,000055: 07,2745 47651 CSI4 CS TWO
014432,000056: 07,2746 61547 AD TESTIDX
014433,000057: 07,2747 00006 EXTEND
014434,000058: 07,2750 62752 BZMF +2
014435,000059: 07,2751 03152 TC TIDXALRM
014436,000060:
014437,000061: 07,2752 51547 INDEX TESTIDX
014438,000062: 07,2753 02754 TC +1
014439,000063: 07,2754 03114 TC CSITEST0
014440,000064: 07,2755 02757 TC CSITEST1
014441,000065: 07,2756 03054 TC CSITEST2
014442,000066:
014443,000067: 07,2757 37650 CSITEST1 CAF BIT3
014444,000068: 07,2760 00006 EXTEND
014445,000069: 07,2761 02030 RAND 30
014446,000070: 07,2762 10000 CCS A
014447,000071: 07,2763 02765 TC +2
014448,000072: 07,2764 02770 TC CMCCHECK
014449,000073:
014450,000074: 07,2765 33162 CAF OCT400
014451,000075: 07,2766 03032 TC PERFORM
014452,000076: 07,2767 02770 TC CMCCHECK
014453,000077:
014454,000078: 07,2770 00006 CMCCHECK EXTEND
014455,000079: 07,2771 00031 READ 31
014456,000080: 07,2772 10000 CCS A
014457,000081: 07,2773 03002 TC NOOPTCHK
014458,000082: 07,2774 03002 TC NOOPTCHK
014459,000083: 07,2775 02776 TC +1
014460,000084: 07,2776 33163 CAF OCT401
014461,000085: 07,2777 03032 TC PERFORM
014462,000086: 07,3000 02770 TC CMCCHECK
014463,000087: 07,3001 03050 TC PERFFAIL
014464,000088:
014465,000089: 07,3002 37646 NOOPTCHK CAF BIT5
014466,000090: 07,3003 00006 EXTEND
014467,000091: 07,3004 02033 RAND 33
014468,000092: 07,3005 10000 CCS A
014469,000093: 07,3006 03013 TC CSI1STRT
014470,000094: 07,3007 33165 CAF OCT403
014471,000095: 07,3010 03032 TC PERFORM
014472,000096: 07,3011 03002 TC NOOPTCHK
014473,000097: 07,3012 03050 TC PERFFAIL
014474,000098:
014475,000099: 07,3013 37660 CSI1STRT CAF NEG0
014476,000100: 07,3014 54350 TS OPTIND
014477,000101:
014478,000102: 07,3015 47651 CS BIT2
014479,000103: 07,3016 00006 EXTEND
014480,000104: 07,3017 03012 WAND 12
014481,000105:
014482,000106: 07,3020 37657 CAF ZERO
014483,000107: 07,3021 54053 TS OPTYCMD
014484,000108: 07,3022 54054 TS OPTXCMD
014485,000109:
014486,000110: 07,3023 00004 INHINT
014487,000111: 07,3024 37652 CAF ONE
014488,000112: 07,3025 04451 TC WAITLIST
014489,000113: 07,3026 03363 16004 2CADR TRIMTOP
014490,000114:
014491,000115: 07,3030 00003 RELINT
014492,000116: 07,3031 03114 TC CSITEST0
014493,000117:
014494,000118:
014495,000119: 07,3032 54333 PERFORM TS DSPTEM1
014496,000120: 07,3033 00006 EXTEND
014497,000121: 07,3034 23400 QXCH QCSI
014498,000122: 07,3035 33161 CAF V01N25K
014499,000123: 07,3036 05563 TC NVSBWAIT
014500,000124: 07,3037 34420 CAF VB50 # PLEASE PERFORM.
014501,000125: 07,3040 05563 TC NVSBWAIT
014502,000126: 07,3041 05525 TC FLASHON # ANY RESPONSE TURNS IT OFF.
014503,000127: 07,3042 04724 TC ENDIDLE # WAIT FOR SOMEONE TO DO SOMETHING.
014504,000128: 07,3043 04352 TC EJFREE # V34E. TERMINATE THE TASK.
014505,000129: 07,3044 03046 TC +2 # V33E. RETURN TO Q +1.
014506,000130: 07,3045 01400 TC QCSI # ENTER. RETURN TO Q.
014507,000131: 07,3046 51400 INDEX QCSI
014508,000132: 07,3047 00001 TC 1
014509,000133:
014510,000134: 07,3050 05644 PERFFAIL TC ALARM
014511,000135: 07,3051 01404 OCT 01404
014512,000136: 07,3052 05474 TC FALTON
014513,000137: 07,3053 04352 TC EJFREE
014514,000138:
014515,000139:
014516,000140:
014517,000141: 07,3054 03136 CSITEST2 TC ICDUCHK
014518,000142: 07,3055 03057 TC +2
014519,000143: 07,3056 04352 TC EJFREE
014520,000144:
014521,000145: 07,3057 37641 CAF BIT10
014522,000146: 07,3060 00006 EXTEND
014523,000147: 07,3061 02030 RAND 30
014524,000148: 07,3062 10000 CCS A
014525,000149: 07,3063 03065 TC +2
014526,000150: 07,3064 03071 TC CSI2STRT
014527,000151:
014528,000152: 07,3065 33164 CAF OCT402
014529,000153: 07,3066 03032 TC PERFORM
014530,000154: 07,3067 03054 TC CSITEST2
014531,000155: 07,3070 03050 TC PERFFAIL
014532,000156:
014533,000157: 07,3071 11561 CSI2STRT CCS NOSIVBNJ
014534,000158: 07,3072 03076 TC +4
014535,000159: 07,3073 37636 CAF BIT13
014536,000160: 07,3074 00006 EXTEND
014537,000161: 07,3075 05012 WOR 12
014538,000162:
014539,000163: 07,3076 47645 CS BIT6
014540,000164: 07,3077 00006 EXTEND
014541,000165: 07,3100 03012 WAND 12
014542,000166:
014543,000167: 07,3101 00004 INHINT
014544,000168: 07,3102 33166 CAF .5SEC
014545,000169: 07,3103 04451 TC WAITLIST
014546,000170: 07,3104 03522 16004 2CADR SATSTART
014547,000171:
014548,000172: 07,3106 00003 RELINT
014549,000173:
014550,000174: 07,3107 37657 CAF ZERO
014551,000175: 07,3110 54050 TS CDUXCMD
014552,000176: 07,3111 54051 TS CDUYCMD
014553,000177: 07,3112 54052 TS CDUZCMD
014554,000178:
014555,000179: 07,3113 03126 TC CSITEST3
014556,000180:
014557,000181: 07,3114 00004 CSITEST0 INHINT
014558,000182: 07,3115 37651 CAF TWO
014559,000183: 07,3116 04451 TC WAITLIST
014560,000184: 07,3117 03213 16004 2CADR JETSTART
014561,000185:
014562,000186: 07,3121 37652 CAF ONE
014563,000187: 07,3122 04451 TC WAITLIST
014564,000188: 07,3123 03272 16004 2CADR ENGSTART
014565,000189:
014566,000190: 07,3125 00003 RELINT
014567,000191:
014568,000192: 07,3126 37227 CSITEST3 CAF FIVE
014569,000193: 07,3127 00004 INHINT
014570,000194: 07,3130 04451 TC WAITLIST
014571,000195: 07,3131 03755 16004 2CADR LOOKTOP
014572,000196:
014573,000197: 07,3133 33160 CAF V47K
014574,000198: 07,3134 05563 TC NVSBWAIT
014575,000199: 07,3135 04352 TC EJFREE
014576,000200:
014577,000201: 07,3136 00006 ICDUCHK EXTEND
014578,000202: 07,3137 23400 QXCH QCSI
014579,000203: 07,3140 37666 CAF OCTHIRTY
014580,000204: 07,3141 00006 EXTEND
014581,000205: 07,3142 02012 RAND 12
014582,000206: 07,3143 10000 CCS A
014583,000207: 07,3144 03146 TC +2
014584,000208: 07,3145 01400 TC QCSI
014585,000209:
014586,000210: 07,3146 05644 TC ALARM
014587,000211: 07,3147 01405 OCT 01405
014588,000212: 07,3150 51400 INDEX QCSI
014589,000213: 07,3151 00001 TC 1
014590,000214:
014591,000215: 07,3152 05644 TIDXALRM TC ALARM
014592,000216: 07,3153 01401 OCT 01401
014593,000217: 07,3154 04352 TC EJFREE
014594,000218:
014595,000219: 07,3155 02007 JSTEPADR ECADR JETSTEP
014596,000220: 07,3156 02102 V21N02K OCT 02102
014597,000221: 07,3157 02130 V21N30K OCT 02130
014598,000222: 07,3160 04700 V47K OCT 04700
014599,000223: 07,3161 00125 V01N25K OCT 00125
014600,000224: 07,3162 00400 OCT400 OCT 400
014601,000225: 07,3163 00401 OCT401 OCT 401
014602,000226: 07,3164 07,3163 V04N01K = OCT401
014603,000227: 07,3164 00402 OCT402 OCT 402
014604,000228: 07,3165 00403 OCT403 OCT 403
014605,000229: 07,3166 00062 .5SEC DEC 50 B-14
014606,000230: 07,3167 70000 SATMASK OCT 70000
014607,000231:
014608,000232: # CSM & SATURN TESTS RCS JETSET TASK
014609,000233: # THIS JOB ISSUES A PROFILE OF JET ON-OFF SIGNALS AS DETERMINED BY THE CONSTANTS IN A SET OF SIX REGISTERS.
014610,000234: # THE SIX REGISTERS ARE, (1) NTIMES, THE NUMBER OF TIMES A PARTICULAR STEP WILL BE PERFORMED. (2) NEXTTIME, THE
014611,000235: # TIME BETWEEN STEPS, A MAXIMUM OF 2 MINUTES, (3) JETONTM, THE TIME TO TURN THE JETS ON, SCALED FOR T3, (4) JET-
014612,000236: # OFFTM, THE TIME AFTER ONTM TO TURN THE JETS OFF, (5) XJETS, THE PARTICULAR X JETS TO BE TURNED ON AND OFF
014613,000237: # DURING EACH REPEAT OF A STEP, AND (6) YZJETS,, THE Y AND Z JETS TO BE TURNED ON AND OFF DURING EACH REPEAT OF A
014614,000238: # STEP. XJETS AND YZJETS MUST BE IN THE SAME FORMAT AS CHANNELS 5 AND6 RESPECTIVELY. THERE ARE EIGHT SETS OF
014615,000239: # THESE SIX REGISTERS.
014616,000240: # THE REGISTER JETSTEP IS USED TO INDEX THE 8 SETS OF REGISTERS, THE ALLOWABLE VALUES OF JETSTEP ARE +0 THRU 7
014617,000241: # THIS JOB WILL BE ENTERED BUT IMMEDIATELY ENDED IF THE INITIAL VALUES OF JETSTEP AND NTIMES ARE +0.
014618,000242:
014619,000243: 07,3170 00006 JTENGCHK EXTEND
014620,000244: 07,3171 63173 BZMF JTENGALM
014621,000245: 07,3172 00002 TC Q
014622,000246: 07,3173 05644 JTENGALM TC ALARM
014623,000247: 07,3174 01402 OCT 1402
014624,000248: 07,3175 04505 TC TASKOVER
014625,000249:
014626,000250: 07,3176 00006 STEERCHK EXTEND
014627,000251: 07,3177 63201 BZMF STEERALM
014628,000252: 07,3200 00002 TC Q
014629,000253: 07,3201 05644 STEERALM TC ALARM
014630,000254: 07,3202 01403 OCT 1403
014631,000255: 07,3203 51547 INDEX TESTIDX
014632,000256: 07,3204 00000 TC 0
014633,000257: 07,3205 03466 TC TRIMSTOP
014634,000258: 07,3206 03667 TC SATSTOP
014635,000259:
014636,000260: 07,3207 11407 NEXTSET CCS JETSTEP # IT MAY BE ZERO.
014637,000261: 07,3210 03212 TC +2 # NOPE
014638,000262: 07,3211 04505 TC TASKOVER # IT IS SO WE ARE DONE WITH THIS TASK.
014639,000263: 07,3212 55407 TS JETSTEP
014640,000264:
014641,000265: 07,3213 47656 JETSTART CS SEVEN
014642,000266: 07,3214 61407 AD JETSTEP
014643,000267: 07,3215 00006 EXTEND
014644,000268: 07,3216 63220 BZMF +2
014645,000269: 07,3217 03173 TC JTENGALM
014646,000270:
014647,000271: 07,3220 51407 NDX JETSTEP # ENTER HERE.
014648,000272: 07,3221 11410 CCS NTIMES # SEE IF THIS STEP IS FINISHED.
014649,000273: 07,3222 03224 TC +2 # NO
014650,000274: 07,3223 03207 TC NEXTSET # YES
014651,000275: 07,3224 51407 NDX JETSTEP
014652,000276: 07,3225 31420 CAE NEXTTIME # MUST BE SCALED FOR T3. REMEMBER TO BIAS
014653,000277: # THIS FOR ON TIME.
014654,000278: 07,3226 03170 TC JTENGCHK
014655,000279: 07,3227 04472 TC VARDELAY
014656,000280:
014657,000281: 07,3230 51407 JTOP NDX JETSTEP
014658,000282: 07,3231 11410 CCS NTIMES # FOR LOOPING.
014659,000283: 07,3232 03234 TC +2
014660,000284: 07,3233 03207 TC NEXTSET
014661,000285: 07,3234 51407 NDX JETSTEP
014662,000286: 07,3235 31430 CAE JETONTM # SCALED FOR T3. TIME FOR JETS ON.
014663,000287: 07,3236 03170 TC JTENGCHK
014664,000288: 07,3237 04472 TC VARDELAY
014665,000289:
014666,000290: 07,3240 51407 JETON NDX JETSTEP
014667,000291: 07,3241 31440 CAE XJETS # MUST BE IN CHANNEL 5 FORMAT.
014668,000292: 07,3242 00006 EXTEND
014669,000293: 07,3243 01005 WRITE 5
014670,000294: 07,3244 51407 NDX JETSTEP
014671,000295: 07,3245 31450 CAE YZJETS # MUST BE IN CHANNEL 6 FORMAT.
014672,000296: 07,3246 00006 EXTEND
014673,000297: 07,3247 01006 WRITE 6
014674,000298: 07,3250 51407 NDX JETSTEP
014675,000299: 07,3251 31460 CAE JETOFFTM
014676,000300: 07,3252 03170 TC JTENGCHK
014677,000301: 07,3253 04472 TC VARDELAY
014678,000302:
014679,000303: 07,3254 37657 JETOFF CAF ZERO
014680,000304: 07,3255 00006 EXTEND
014681,000305: 07,3256 01005 WRITE 5
014682,000306: 07,3257 00006 EXTEND
014683,000307: 07,3260 01006 WRITE 6
014684,000308: 07,3261 51407 NDX JETSTEP
014685,000309: 07,3262 11410 CCS NTIMES
014686,000310: 07,3263 51407 NDX JETSTEP
014687,000311: 07,3264 55410 TS NTIMES # ONE LESS TIME.
014688,000312: 07,3265 03230 TC JTOP
014689,000313:
014690,000314: # CSM & SATURN TESTS ENGINE ON - OFF TASK
014691,000315: # THIS TASK TURNS THE CSM SPS ENGINE ON AND OFF ACCORDING TO THE CONSTANTS STORED IN THE FIVE SETS OF
014692,000316: # REGISTERS, (1) CYLTIMES, WHICH CONTAINS THE NUMBER OF TIMES A PARTICULARSTEP WILL BE REPEATED, (2) NEXTCYLT,
014693,000317: # WHICH CONTAINS THE TIME BETWEEN STEPS SCALED FOR T3, (3) ONTIME, WHICH CONTAINS THE TIME TO TURN THE ENGINE ON
014694,000318: # WHICH ALSO DETERMINES THE LENGTH OF TIME THE ENGIME WILL BE OFF WITHIN A SERIES OF ON:OFF CYCLES, (4) OFFTIME,
014695,000319: # WHICH CONTAINS THE NUMBER OF 2 MINUTES BEFORE THE ENGINE WILL BE TURNED OFF, AND (5) OFFTIMER, WHICH
014696,000320: # CONTAINS THE RESIDUAL TIME BEFORE THE ENGINE WILL BE TURNED OFF. OFFTIME AND OFFTIMER DETERMINE THE LENGTH
014697,000321: # OF TIME THE ENGINE WILL BE ON IN ANY ONE CYCLE. THERE ARE THREE SETS OF THESE REGISTERS.
014698,000322: # THE ENGSTEP REGISTER IS USED AS AN INDEX TO PICK UP A PARTICULAR SET OF THE ABOVE 5 REGISTERS. THIS TASK
014699,000323: # WILL BE ENTERED BUT IMMEDIATELY ENDED IF ENGSTEP AND CYLTIMES = +0. THE ALLOWABLE VALUES OF ENGSTEP ARE +0,
014700,000324: # 1 AND 2.
014701,000325:
014702,000326: 07,3266 11470 NXTONOFF CCS ENGSTEP
014703,000327: 07,3267 03271 TC +2
014704,000328: 07,3270 04505 TC TASKOVER # EXIT HERE WHEN STEP AND CYL ARE +0.
014705,000329: 07,3271 55470 TS ENGSTEP # ONE LESS.
014706,000330:
014707,000331: 07,3272 37662 ENGSTART CAF NEG2
014708,000332: 07,3273 61470 AD ENGSTEP
014709,000333: 07,3274 00006 EXTEND
014710,000334: 07,3275 63277 BZMF +2
014711,000335: 07,3276 03173 TC JTENGALM
014712,000336:
014713,000337: 07,3277 51470 NDX ENGSTEP # ENTER HERE.
014714,000338: 07,3300 11471 CCS CYLTIMES # NUM OF EACH ON/OFF SET
014715,000339: 07,3301 03303 TC +2
014716,000340: 07,3302 03266 TC NXTONOFF # NO MORE OF THIS SET
014717,000341: 07,3303 51470 NDX ENGSTEP
014718,000342: 07,3304 31474 CAE NEXTCYLT # START OF NEXT CYCLE.
014719,000343: 07,3305 03170 TC JTENGCHK
014720,000344: 07,3306 04472 TC VARDELAY
014721,000345:
014722,000346: 07,3307 51470 ENGONTM NDX ENGSTEP
014723,000347: 07,3310 31502 CAE OFFTIME
014724,000348: 07,3311 55406 TS OFFTMBUF
014725,000349: 07,3312 51470 NDX ENGSTEP
014726,000350: 07,3313 31477 CAE ONTIME
014727,000351: 07,3314 03170 TC JTENGCHK
014728,000352: 07,3315 04472 TC VARDELAY
014729,000353:
014730,000354: 07,3316 44441 ENGSET CS PRIO30
014731,000355: 07,3317 00006 EXTEND
014732,000356: 07,3320 02011 RAND 11
014733,000357: 07,3321 67636 AD BIT13
014734,000358: 07,3322 00006 EXTEND
014735,000359: 07,3323 01011 WRITE 11 # ENG ON = 1, ENG OFF = 0.
014736,000360: 07,3324 11406 ENGRST CCS OFFTMBUF
014737,000361: 07,3325 03351 TC LTIMEON # AT LEAST 2MIN. BEFORE ENGINE OFF.
014738,000362: 07,3326 51470 NDX ENGSTEP
014739,000363: 07,3327 31505 CAE OFFTIMER # LESS THAN 2MIN. TO ENGINE OFF.
014740,000364: 07,3330 03170 TC JTENGCHK
014741,000365: 07,3331 04472 TC VARDELAY
014742,000366:
014743,000367: 07,3332 44441 ENGRESET CS PRIO30 # BITS 13 AND 14.
014744,000368: 07,3333 00006 EXTEND
014745,000369: 07,3334 02011 RAND 11
014746,000370: 07,3335 67635 AD BIT14
014747,000371: 07,3336 00006 EXTEND
014748,000372: 07,3337 01011 WRITE 11 # ENG ON = 0, ENG OFF = 1.
014749,000373: 07,3340 51470 NDX ENGSTEP
014750,000374: 07,3341 11471 CCS CYLTIMES
014751,000375: 07,3342 10000 CCS A
014752,000376: 07,3343 03345 TC +2
014753,000377: 07,3344 03266 TC NXTONOFF # WAS ONE.
014754,000378: 07,3345 67652 AD ONE # WAS MORE THAN ONE.
014755,000379: 07,3346 51470 NDX ENGSTEP
014756,000380: 07,3347 55471 TS CYLTIMES
014757,000381: 07,3350 03307 TC ENGONTM
014758,000382:
014759,000383: 07,3351 11406 LTIMEON CCS OFFTMBUF # IS THERE ANY MORE.
014760,000384: 07,3352 03354 TC +2 # YES.
014761,000385: 07,3353 03324 TC ENGRST # NO.
014762,000386: 07,3354 55406 TS OFFTMBUF
014763,000387: 07,3355 33362 CAF 2MIN
014764,000388: 07,3356 04451 TC WAITLIST
014765,000389: 07,3357 E4,1470 EBANK= ENGSTEP
014766,000390: 07,3357 03351 16004 2CADR LTIMEON
014767,000391:
014768,000392: 07,3361 04505 TC TASKOVER
014769,000393:
014770,000394: 07,3362 27340 2MIN DEC 12000 B-14
014771,000395:
014772,000396: # CSM & SATURN TESTS TRIM TASK
014773,000397: # THIS PROGRAM ISSUES A PROFILE OF PITCH AND ROLL TRIM COMMANDS TO THE SPS ENGINE GIMBAL IN ACCORDANCEWITH
014774,000398: # THE VALUE S IN THE TRIMSTEP REGISTER AND THE 12 SETS OF 5 REGISTERS CALLED NUMTIMES, STEPDLYT, TRIMONT, TRIMOFFT
014775,000399: # AND TRIMIND. TRIMSTEP IS USED TO PICK UP A PARTICULAR SET OF THE 5 REGISTERS AND HAS ALLOWABLE VALUES FROM +0
014776,000400: # THROUGH +11 DECIMAL. THE 5 REGISTERS IN EACH SET ARE DEFINED AS FOLLOWS
014777,000401: # (1) NUMTIMES DETERMINES THE NUMBER OF TIMES THE COMMAND IN TRIMIND WILL BE ISSUED. VALUES FROM +0 TO
014778,000402: # OCT 37777 ARE PERMITTED.
014779,000403: # (2) STEPDLYT DETERMINES THE TIME BETWEEN THE START OF A STEP AND THE BEGINNING OF TRIMONT. STEPDLYT MUST BE
014780,000404: # FORMATTED FOR T3, ITS MAXIMUM VALUE IS 2 MINUTES.
014781,000405: # (3) TRIMONT DETERMINES THE TIME BETWEEN THE END OF STEPDLYT OR TRIMOFFT AND THE TIME THE TRIM COMMANDS ARE
014782,000406: # ISSUED. IT MUST BE FORMATTED FOR T3.
014783,000407: # (4) TRIMOFFT DETERMINES THE LENGTH OF TIME THE TRIM COMMAND WILL BE ON, FORMATTED FOR T3.
014784,000408: # (5) TRIMIND DETERMINES THE PITCH AND ROLL COMMAND TO BE ISSUED. THE FORMAT IS, BIT9=1=+ PITCH COMMAND,
014785,000409: # BIT10=1=-PITCH, BIT11=1= +ROLL, BIT12=1= -ROLL. A BIT=0 INDICATES NO COMMAND. ANY COMBINATION OF COMMANDS IS
014786,000410: # PERMITTED.
014787,000411: # THIS TASK WILL BE ENTERED BUT IMMEDIATELY ENDED IF TRIMSTEP AND NUMTIMES = +0.
014788,000412:
014789,000413: 07,3363 37643 TRIMTOP CAF BIT8 # ENTER HERE.
014790,000414: 07,3364 00006 EXTEND
014791,000415: 07,3365 05012 WOR 12
014792,000416: 07,3366 37227 CAF FIVE
014793,000417: 07,3367 04472 TC VARDELAY
014794,000418:
014795,000419: 07,3370 37651 CAF BIT2
014796,000420: 07,3371 00006 EXTEND
014797,000421: 07,3372 05012 WOR 12
014798,000422:
014799,000423: 07,3373 33166 CAF .5SEC
014800,000424: 07,3374 04472 TC VARDELAY
014801,000425:
014802,000426: 07,3375 47227 TRIMTOP1 CS FIVE
014803,000427: 07,3376 61510 AD TRIMSTEP
014804,000428: 07,3377 00006 EXTEND
014805,000429: 07,3400 63402 BZMF +2
014806,000430: 07,3401 03201 TC STEERALM
014807,000431:
014808,000432: 07,3402 51510 NDX TRIMSTEP
014809,000433: 07,3403 11511 CCS NUMTIMES
014810,000434: 07,3404 03406 TC +2
014811,000435: 07,3405 03515 TC NEXTTRIM
014812,000436: 07,3406 51510 NDX TRIMSTEP
014813,000437: 07,3407 31517 CAE STEPDLYT
014814,000438: 07,3410 03176 TC STEERCHK
014815,000439: 07,3411 04472 TC VARDELAY
014816,000440:
014817,000441: 07,3412 51510 TRIMSET NDX TRIMSTEP
014818,000442: 07,3413 31525 CAE TRIMONT
014819,000443: 07,3414 03176 TC STEERCHK
014820,000444: 07,3415 04472 TC VARDELAY
014821,000445:
014822,000446: 07,3416 51510 TRIMON NDX TRIMSTEP
014823,000447: 07,3417 31533 CAE TRIMPTCH
014824,000448: 07,3420 54054 TS OPTXCMD
014825,000449: 07,3421 51510 NDX TRIMSTEP
014826,000450: 07,3422 31541 CAE TRIMYAW
014827,000451: 07,3423 54053 TS OPTYCMD
014828,000452:
014829,000453: 07,3424 00006 EXTEND
014830,000454: 07,3425 63427 BZMF +2
014831,000455: 07,3426 03430 TC +2
014832,000456: 07,3427 40000 COM
014833,000457: 07,3430 55405 TS TRIMYBUF
014834,000458:
014835,000459: 07,3431 40054 CS OPTXCMD
014836,000460: 07,3432 00006 EXTEND
014837,000461: 07,3433 63435 BZMF +2
014838,000462: 07,3434 03436 TC +2
014839,000463: 07,3435 40000 COM
014840,000464: 07,3436 00006 EXTEND
014841,000465: 07,3437 61405 SU TRIMYBUF
014842,000466: 07,3440 10000 CCS A
014843,000467: 07,3441 03445 TC +4
014844,000468: 07,3442 03453 TC TRIMUSEY
014845,000469: 07,3443 03453 TC TRIMUSEY
014846,000470: 07,3444 03453 TC TRIMUSEY
014847,000471:
014848,000472: 07,3445 40054 CS OPTXCMD
014849,000473: 07,3446 00006 EXTEND
014850,000474: 07,3447 63451 BZMF +2
014851,000475: 07,3450 03454 TC TRIMUSEP
014852,000476: 07,3451 40000 COM
014853,000477: 07,3452 03454 TC TRIMUSEP
014854,000478:
014855,000479: 07,3453 31405 TRIMUSEY CA TRIMYBUF
014856,000480:
014857,000481: 07,3454 00006 TRIMUSEP EXTEND
014858,000482: 07,3455 77641 MP BIT10
014859,000483: 07,3456 63166 AD .5SEC
014860,000484: 07,3457 04451 TC WAITLIST
014861,000485: 07,3460 03504 16004 2CADR NUMSTEP
014862,000486:
014863,000487: 07,3462 34421 CAF 11,12
014864,000488: 07,3463 00006 EXTEND
014865,000489: 07,3464 05014 WOR 14 # TRIM STARTS.
014866,000490:
014867,000491: 07,3465 04505 TC TASKOVER
014868,000492:
014869,000493: 07,3466 47643 TRIMSTOP CS BIT8 # TRIM GOES OFF.
014870,000494: 07,3467 00006 EXTEND
014871,000495: 07,3470 03012 WAND 12
014872,000496:
014873,000497: 07,3471 37227 CAF FIVE
014874,000498: 07,3472 04472 TC VARDELAY
014875,000499:
014876,000500: 07,3473 47651 CS BIT2
014877,000501: 07,3474 00006 EXTEND
014878,000502: 07,3475 03012 WAND 12
014879,000503:
014880,000504: 07,3476 37657 CAF ZERO
014881,000505: 07,3477 54054 TS OPTXCMD
014882,000506: 07,3500 54053 TS OPTYCMD
014883,000507:
014884,000508: 07,3501 37661 CAF NEGONE
014885,000509: 07,3502 54350 TS OPTIND
014886,000510: 07,3503 04505 TC TASKOVER
014887,000511:
014888,000512: 07,3504 51510 NUMSTEP NDX TRIMSTEP
014889,000513: 07,3505 11511 CCS NUMTIMES
014890,000514: 07,3506 10000 CCS A
014891,000515: 07,3507 03511 TC +2
014892,000516: 07,3510 03515 TC NEXTTRIM # WAS ONE.
014893,000517: 07,3511 67652 AD ONE
014894,000518: 07,3512 51510 NDX TRIMSTEP
014895,000519: 07,3513 55511 TS NUMTIMES
014896,000520: 07,3514 03412 TC TRIMSET
014897,000521:
014898,000522: 07,3515 11510 NEXTTRIM CCS TRIMSTEP
014899,000523: 07,3516 03520 TC +2
014900,000524: 07,3517 03466 TC TRIMSTOP # EXIT HERE.
014901,000525: 07,3520 55510 TS TRIMSTEP # LESS ONE.
014902,000526: 07,3521 03375 TC TRIMTOP1
014903,000527:
014904,000528: 07,3522 37642 SATSTART CAF BIT9
014905,000529: 07,3523 00006 EXTEND
014906,000530: 07,3524 05012 WOR 12
014907,000531:
014908,000532: 07,3525 47636 CS BIT13
014909,000533: 07,3526 00006 EXTEND
014910,000534: 07,3527 03012 WAND 12
014911,000535:
014912,000536: 07,3530 37227 CAF FIVE
014913,000537: 07,3531 04472 TC VARDELAY
014914,000538:
014915,000539: 07,3532 37645 CAF BIT6
014916,000540: 07,3533 00006 EXTEND
014917,000541: 07,3534 05012 WOR 12
014918,000542:
014919,000543: 07,3535 33166 CAF .5SEC
014920,000544: 07,3536 04472 TC VARDELAY
014921,000545:
014922,000546: 07,3537 47655 SATSTRT1 CS NINE
014923,000547: 07,3540 61562 AD SATSTEP
014924,000548: 07,3541 00006 EXTEND
014925,000549: 07,3542 63544 BZMF +2
014926,000550: 07,3543 03201 TC STEERALM
014927,000551:
014928,000552: 07,3544 51562 NDX SATSTEP
014929,000553: 07,3545 11563 CCS SATTIMES
014930,000554: 07,3546 03550 TC +2
014931,000555: 07,3547 03725 TC NEXTSAT
014932,000556: 07,3550 51562 NDX SATSTEP
014933,000557: 07,3551 31575 CAE SATDELAY
014934,000558: 07,3552 03176 TC STEERCHK
014935,000559: 07,3553 04472 TC VARDELAY
014936,000560:
014937,000561: 07,3554 51562 SATSET NDX SATSTEP
014938,000562: 07,3555 31607 CAE SATONT
014939,000563: 07,3556 03176 TC STEERCHK
014940,000564: 07,3557 04472 TC VARDELAY
014941,000565:
014942,000566: 07,3560 03136 TC ICDUCHK
014943,000567: 07,3561 03563 TC +2
014944,000568: 07,3562 03667 TC SATSTOP
014945,000569: 07,3563 51562 NDX SATSTEP
014946,000570: 07,3564 31621 CAE SATPITCH
014947,000571: 07,3565 54051 TS CDUYCMD
014948,000572: 07,3566 51562 NDX SATSTEP
014949,000573: 07,3567 31633 CAE SATYAW
014950,000574: 07,3570 54052 TS CDUZCMD
014951,000575: 07,3571 51562 NDX SATSTEP
014952,000576: 07,3572 31645 CAE SATROLL
014953,000577: 07,3573 54050 TS CDUXCMD
014954,000578:
014955,000579: 07,3574 00006 EXTEND
014956,000580: 07,3575 63577 BZMF +2
014957,000581: 07,3576 03600 TC +2
014958,000582: 07,3577 40000 COM
014959,000583: 07,3600 55403 TS SATRBUF
014960,000584:
014961,000585: 07,3601 30051 CA CDUYCMD
014962,000586: 07,3602 00006 EXTEND
014963,000587: 07,3603 63605 BZMF +2
014964,000588: 07,3604 03606 TC +2
014965,000589: 07,3605 40000 COM
014966,000590: 07,3606 55401 TS SATPBUF
014967,000591: 07,3607 00006 EXTEND
014968,000592: 07,3610 61403 SU SATRBUF
014969,000593: 07,3611 10000 CCS A
014970,000594: 07,3612 03616 TC +4
014971,000595: 07,3613 03633 TC SATCHKRY
014972,000596: 07,3614 03633 TC SATCHKRY
014973,000597: 07,3615 03633 TC SATCHKRY
014974,000598:
014975,000599: 07,3616 30052 CA CDUZCMD
014976,000600: 07,3617 00006 EXTEND
014977,000601: 07,3620 63622 BZMF +2
014978,000602: 07,3621 03623 TC +2
014979,000603: 07,3622 40000 COM
014980,000604: 07,3623 55402 TS SATYBUF
014981,000605:
014982,000606: 07,3624 00006 EXTEND
014983,000607: 07,3625 61401 SU SATPBUF
014984,000608: 07,3626 10000 CCS A
014985,000609: 07,3627 03654 TC SATUSEY
014986,000610: 07,3630 03650 TC SATUSEP
014987,000611: 07,3631 03650 TC SATUSEP
014988,000612: 07,3632 03650 TC SATUSEP
014989,000613:
014990,000614: 07,3633 30052 SATCHKRY CA CDUZCMD
014991,000615: 07,3634 00006 EXTEND
014992,000616: 07,3635 63637 BZMF +2
014993,000617: 07,3636 03640 TC +2
014994,000618: 07,3637 40000 COM
014995,000619: 07,3640 55402 TS SATYBUF
014996,000620:
014997,000621: 07,3641 00006 EXTEND
014998,000622: 07,3642 61403 SU SATRBUF
014999,000623: 07,3643 10000 CCS A
015000,000624: 07,3644 03654 TC SATUSEY
015001,000625: 07,3645 03652 TC SATUSER
015002,000626: 07,3646 03652 TC SATUSER
015003,000627: 07,3647 03652 TC SATUSER
015004,000628:
015005,000629: 07,3650 31401 SATUSEP CA SATPBUF
015006,000630: 07,3651 03655 TC SATSTEER
015007,000631:
015008,000632: 07,3652 31403 SATUSER CA SATRBUF
015009,000633: 07,3653 03655 TC SATSTEER
015010,000634:
015011,000635: 07,3654 31402 SATUSEY CA SATYBUF
015012,000636:
015013,000637: 07,3655 00006 SATSTEER EXTEND
015014,000638: 07,3656 77641 MP BIT10
015015,000639: 07,3657 63166 AD .5SEC
015016,000640: 07,3660 04451 TC WAITLIST
015017,000641: 07,3661 03714 16004 2CADR STEERSTP
015018,000642:
015019,000643: 07,3663 33167 CAF SATMASK
015020,000644: 07,3664 00006 EXTEND
015021,000645: 07,3665 05014 WOR 14
015022,000646: 07,3666 04505 TC TASKOVER
015023,000647:
015024,000648: 07,3667 47642 SATSTOP CS BIT9
015025,000649: 07,3670 00006 EXTEND
015026,000650: 07,3671 03012 WAND 12
015027,000651:
015028,000652: 07,3672 37227 CAF FIVE
015029,000653: 07,3673 04472 TC VARDELAY
015030,000654:
015031,000655: 07,3674 47645 CS BIT6
015032,000656: 07,3675 00006 EXTEND
015033,000657: 07,3676 03012 WAND 12
015034,000658:
015035,000659: 07,3677 37657 CAF ZERO
015036,000660: 07,3700 54050 TS CDUXCMD
015037,000661: 07,3701 54051 TS CDUYCMD
015038,000662: 07,3702 54052 TS CDUZCMD
015039,000663:
015040,000664: 07,3703 37635 CAF BIT14
015041,000665: 07,3704 00006 EXTEND
015042,000666: 07,3705 05012 WOR 12
015043,000667:
015044,000668: 07,3706 33166 CAF .5SEC
015045,000669: 07,3707 04472 TC VARDELAY
015046,000670:
015047,000671: 07,3710 47635 CS BIT14
015048,000672: 07,3711 00006 EXTEND
015049,000673: 07,3712 03012 WAND 12
015050,000674:
015051,000675: 07,3713 04505 TC TASKOVER
015052,000676:
015053,000677: 07,3714 51562 STEERSTP NDX SATSTEP
015054,000678: 07,3715 11563 CCS SATTIMES
015055,000679: 07,3716 10000 CCS A
015056,000680: 07,3717 03721 TC +2
015057,000681: 07,3720 03725 TC NEXTSAT
015058,000682: 07,3721 67652 AD ONE
015059,000683: 07,3722 51562 NDX SATSTEP
015060,000684: 07,3723 55563 TS SATTIMES
015061,000685: 07,3724 03554 TC SATSET
015062,000686:
015063,000687: 07,3725 11562 NEXTSAT CCS SATSTEP
015064,000688: 07,3726 03730 TC +2
015065,000689: 07,3727 03667 TC SATSTOP
015066,000690: 07,3730 55562 TS SATSTEP
015067,000691: 07,3731 03537 TC SATSTRT1
015068,000692:
015069,000693:
015070,000694: # CSM & SATURN TESTS INTERFACE LOOK TASK.
015071,000695:
015072,000696: # THIS PROGRAM KEEPS A RUNNING HISTORY OF THE STATE OF ALL THE BITS IN INPUT CHANNELS 30, 31, 32 AND 33.
015073,000697: # IT DOES THIS BY DETECTING A CHANGE OF AN INPUT BIT FROM AN INITIAL ONE STATE TO A ZERO STATE OR FROM AN INITIAL
015074,000698: # ZERO TO A ONE. THE HISTORY IS MAINTAINED IN TWO BUFFER REGISTERS FOR EACH CHANNEL, ONE FOR STORING ONE TO ZERO
015075,000699: # CHANGES (30BUF1, +1, +2, AND +3) AND ONE FOR ZERO TO ONE CHANGES (30BUF0, +1 +2 AND +3). THE OPERATOR MUST
015076,000700: # LOAD THE INITIAL STATES OF THE INPUT CHANNELS INTO THEIR RESPECTIVE BUFFER REGISTERS BEFORE THIS PROGRAM IS IN-
015077,000701: # ITIATED.
015078,000702: # TO ALLOW THIS PROGRAM TO RUN C(QUITLOOK) MUST BE SET GREATER THAN +0 BEFORE IT IS STARTED. IF THE OPERATOR
015079,000703: # DOES NOT DESIRE THIS PROGRAM TO RUN HE SHOULD SET C(QUITLOOK)=+0 BEFORE STARTING THE FCS TEST. AFTER THIS TASK
015080,000704: # IS RUNNING THE OPERATOR CAN STOP IT BY SETTING C(QUITLOOK) = +0.
015081,000705: # NO DISPLAYS OF EITHER THE BUFFER REGISTERS OR CHANNELS ARE INCORPORATED INTO THIS PROGRAM. THIS WAS DONE TO
015082,000706: # ALLOW THE TEST OPERATOR MONITORING FLEXIBILITY. FOR REAL TIME MONITORING IT IS SUGGESTED THAT THE BUFFER
015083,000707: # REGISTERS BE DISPLAYED WITH THE MONITOR VERBS (11 THROUGH 15). ON THE OTHER HAND, THE OPERATOR MAY ELECT TO
015084,000708: # PERFORM NO REAL TIME MONITORING UNTIL THE TEST IS COMPLETED, WHEN THE BUFFER REGISTERS WOULD BE CALLED FOR
015085,000709: # DISPLAY (VERB 01) AND RECORDED.
015086,000710:
015087,000711: 07,3732 55404 LOOKLOOP TS CHCNTR # 3, 2, 1, 0.
015088,000712: 07,3733 51404 NDX CHCNTR
015089,000713: 07,3734 31550 CAE 30BUF1
015090,000714: 07,3735 00006 EXTEND
015091,000715: 07,3736 51404 NDX CHCNTR
015092,000716: 07,3737 02030 RAND 30 # DETECTS CHANGES FROM 1 TO 0.
015093,000717: 07,3740 51404 NDX CHCNTR
015094,000718: 07,3741 57550 XCH 30BUF1 # STORE NEW ZEROS.
015095,000719: 07,3742 51404 NDX CHCNTR
015096,000720: 07,3743 31554 CAE 30BUF0
015097,000721: 07,3744 00006 EXTEND
015098,000722: 07,3745 51404 NDX CHCNTR
015099,000723: 07,3746 04030 ROR 30 # DETECTS CHANGES FROM 0 TO 1.
015100,000724: 07,3747 51404 NDX CHCNTR
015101,000725: 07,3750 57554 XCH 30BUF0 # STORE NEW ONES.
015102,000726: 07,3751 11404 CCS CHCNTR # IS THIS SCAN DONE.
015103,000727: 07,3752 03732 TC LOOKLOOP # NO.
015104,000728: 07,3753 37654 CAF TEN # YES. 100MS RECALL.
015105,000729: 07,3754 04472 TC VARDELAY
015106,000730:
015107,000731: 07,3755 11560 LOOKTOP CCS QUITLOOK # IS THIS TASK WANTED.
015108,000732: 07,3756 03760 TC +2 # YES.
015109,000733: 07,3757 04505 TC TASKOVER # NO.
015110,000734: 07,3760 36165 CAF THREE # START SCAN OF CHANNELS.
015111,000735: 07,3761 03732 TC LOOKLOOP
015112,000736:
015113,000737: 07,3762 ENDCSITS =
End of include-file CSM_AND_SATURN_INTEGRATED_TESTS.agc. Parent file is MAIN.agc