# FILE:
#	ops_sim4.tim
# PURPOSE:
#	TRACE Operations Simulation Plan File (used for Barker and
#	Early Ops Tests)
# HISTORY:
#	Created 9-Apr-97 by M.Morrison
#	22-Apr-97 (MDM) - Removed jitter run
#			- Added stop at the end
#			- Added running speed1024s twice
#	23-Apr-97 (MDM) - Really removed jitter
#			- Changed calls to DPM.ift_speed1024s
#			- Put in comments of when to do downlinks
#			- Changed start time to 01:00
#	30-Apr-97 (MDM) - Removed DPM.ift_speed1024s and added
#			  DPM.ift_Fill_SmallBuf1, 2, 3 and 4
#	 2-May-97 (MDM) - Changed to have start time of 6:00
#	23-Jul-97 (MDM) - Added documentation header info (COMMENTS)
#
# COMMENTS:
#	Real GMT = 14-May 16:00  ==> S/C Time 15-Dec-97 04:21
#	All start times listed below were moved up 1hr30min
#	So the first line was "ABS 04:30:00"
#
ABS	 06:00:00	Start DPM.ift_wlscan prio=0		# Start 3 sequences
REL	PREV_DONE       Start DPM.ift_cmmodes
REL	PREV_DONE       Start DPM.ift_timavg			# done in 4+4+2 min

ABS	 06:30:01	CMD  icsqreg (reg=$g0, val=6)
REL	+00:00:01	CMD  icsqreg (reg=$g1, val=9)
REL	+00:00:01	CMD  icsqreg (reg=$g2, val=7)
REL	+00:00:01	CMD  icsqreg (reg=$g3, val=12)
REL	+00:00:01	Start DPM.ift_Fill_SmallBuf1 prio=0	# fills all buff in
REL	PREV_DONE	Start DPM.ift_Fill_SmallBuf2		# about 70 min
REL	PREV_DONE	Start DPM.ift_Fill_SmallBuf3
REL	PREV_DONE	Start DPM.ift_Fill_SmallBuf4
REL	PREV_DONE	Start DPM.ift_speed1024

ABS	 08:00:00	Start DPM.ift_speed64 prio=0		# prio0 interrupt 0
REL     +00:10:00	CMD  icsqreg (reg=$saa,val=1)   	# set SAA
REL	+00:01:30	CMD  icsqreg (reg=$saa,val=0)   	# clear SAA


ABS	 08:20:01	Start DPM.ift_speed1024 prio=1		# interrupt speed64
								# prio1 interrupt 0

ABS	 09:00:01	Start DPM.ift_mosaic prio=1		# prio1 interrupt 1

ABS	 09:50:00	CMD  icdpmd (seg=0x1000, offset=0xf600, length=0x100)

ABS	 10:00:00	PNT named.pos24  -425.5 688		# update pointing table
REL	+00:00:10	Start DPM.ift_mosaic prio=1		# mosaic with new pntg
REL     PREV_DONE       Start DPM.ift_speed64
ABS	 10:40:00	Stop

ABS	 11:00:01	CMD  icsqreg (reg=$g0, val=4)
ABS	 11:00:02	CMD  icsqreg (reg=$g1, val=2)
ABS	 11:00:03	CMD  icsqreg (reg=$g2, val=6)
ABS	 11:00:04	CMD  icsqreg (reg=$g3, val=23)
ABS	 11:00:05	Start DPM.ift_Fill_SmallBuf1 prio=0	# start writing
REL	PREV_DONE	Start DPM.ift_Fill_SmallBuf2		# to small buffers
REL	PREV_DONE	Start DPM.ift_Fill_SmallBuf3
REL	PREV_DONE	Start DPM.ift_Fill_SmallBuf4

ABS	 11:20:00	Start DPM.ift_mosaic prio=0		# start 12 seq
REL	PREV_DONE	Start DPM.ift_wlscan			# prio0 interrupt 0
REL	PREV_DONE	Start DPM.ift_mosaic			# total run ~3 hrs
REL	PREV_DONE	Start DPM.ift_wlscan
REL	PREV_DONE	Start DPM.ift_mosaic
REL	PREV_DONE	Start DPM.ift_wlscan
REL	PREV_DONE	Start DPM.ift_mosaic
REL	PREV_DONE	Start DPM.ift_wlscan
REL	PREV_DONE	Start DPM.ift_mosaic
REL	PREV_DONE	Start DPM.ift_wlscan
REL	PREV_DONE	Start DPM.ift_mosaic
REL	PREV_DONE	Start DPM.ift_wlscan

ABS	 12:50:00	CMD  icdpmd (seg=0x1000, offset=0xf600, length=0x100)

ABS	 13:00:00	Stop