PROC TI_cc_patch130 # File: pat130.src # # # This procedure patches the TRACE instrument CC flight software ver 1.26 base. # Part 1 adds a delay to the pointing state machine before re-closing the ISS loop. # The delay is in 50 msec ticks, the low byte of the word at 0x40:0x4C7C. # Delay period begins after the ACS signals wedge move ok. # Delay is currently set to 0x3C = 60, for 3 seconds. 0 would be 0 msec. # Change delay with /ICDPML1 seg=0x40,offset=0x4C7C,word=0xE9nn # where nn is the new delay in hexadecimal ticks. # Part 2 changes the order and phasing of ISS loop closing and gain dipping. # The theory is that the X and Z gain should remain high most of the time. # The gains are lowered just before re-closing the ISS loop, and raised after. # Inserts ver:pat = 1:30 in telemetry rev c Author: R Rehse 980417 # program "@(#) MODULE: pat130.src RELEASE: 0.1 CREATED: 16/04/98 12:00:00" source "/tracesw/cfl/sim/src/pat130.src" descr " ISS close delay and gain patch " # Part 1: /ICDPMLM seg=0x40,offset=0x3DFC,numbytes=6,word1=0x81E9,word2=0xA30E,word3=0x5FB0 /ICDPMLM seg=0x40,offset=0x4C78,numbytes=6,word1=0x6C6,word2=0xC8A,word3=0xE93C /ICDPMLM seg=0x40,offset=0x4C7E,numbytes=6,word1=0xF344,word2=0x8AA0,word3=0x80C /ICDPMLM seg=0x40,offset=0x4C84,numbytes=6,word1=0x77C0,word2=0x3105,word3=0xE9C0 /ICDPMLM seg=0x40,offset=0x4C8A,numbytes=6,word1=0xF173,word2=0xC8FE,word3=0x8AA2 /ICDPMLM seg=0x40,offset=0x4C90,numbytes=4,word1=0xE90C,word2=0xF39D /ICDPMLM seg=0x40,offset=0x4044,numbytes=2,word1=0x4C78 # Part 2: /ICDPMLM seg=0x40,offset=0x3DB0,numbytes=4,word1=0x3D56,word2=0x3D9D /ICDPMLM seg=0x40,offset=0x3DB4,numbytes=2,word1=0x3D46 /ICDPMLM seg=0x40,offset=0x3E06,numbytes=2,word1=0x7402 /ICDPMLM seg=0x40,offset=0x56A0,numbytes=2,word1=3 /ICDPMLM seg=0x1000,offset=0x0282,numbytes=2,word1=0x0130 Thats the whole thing.