IMPACT IDPU TABLES		
Revision:	X	2005-Nov-17

Table	Length	Description
1		System
2		MAG
3		SWEA
4		STE
5		Burst
6		
7		
8		PLASTIC
		
		
16		STELUTGen
17		SWEAEnergyLUTGen
18		STEU LUT Dump							
19		SWEA/STED LUT Dump							
20		SWEA Moment Energy Coefficients							
21		SWEA Moment Angle Coefficients							
									
32-63		Command Sequnce							
									
									
									

IMPACT IDPU TABLES									

System Table (ID=1)									
Offset	Length	Name	Conversion	Default	Description				
0	1	BootSelect		0	"0-3=EEPROM images, else PROM"				
1	1	HKPPacketRate		2	"Housekeeping packet rate, seconds, 60=max."				
2	1	DumpPacketRate		2	"Memory Dump packet rate, seconds, 60=max"				
3	1	Drv1553Timeout		60	"1553 timout until IDPU reset, seconds, 0=forever"				
4	2	Seq30Interval		0	"Set the time interval on which to run command sequence 30. Hours*4096+minutes*64+seconds.  Only one field (H,M,S) non-zero.  0=never"				
6	2	Seq31Interval		4096	"Set the time interval on which to run command sequence 31. Hours*4096+minutes*64+seconds.  Only one field (H,M,S) non-zero.  0=never"				
8	1	IMPACT_SSR_Limit		95	Set the maximum SSR level that non-system IMPACT data will be queued				
9	1	PLASTIC_SSR_Limit		95	Set the maximum SSR level that non-system PLASTIC data will be queued				
10	1	SWVersion		21	Software version				
11	4	Spare							
15	1	Checksum							
									
MAG Table (ID=2)		=System Table +10h							
Offset	Length	Name	Conversion	Default	Description				
0	2	MagRangeLower		190	Autoranging lower threshold (Max<Lower -> low field range)				
2	2	MagRangeUpper		28656	Autoranging upper threshold (Max>Upper -> high field range)				
4	1	MagTlmAvg		4	Number of samples to average in telemetry packets (32Hz/4 = 8Hz)				
5	1	MagSensorMode		1	"Sensor mode.  7=Range (0=low fields, high sensitivity, 1=high fields, low sensitivity), 6=IFC, 5=ADCCal, 0=Autorange"				
6	2	MagZeroX		32768	"X-axis zero value, nominally 8000h, used for SWEA PAD"				
8	2	MagZeroY		32768	"Y-axis zero value, nominally 8000h"				
10	2	MagZeroZ		32768	"Z-axis zero value, nominally 8000h"				
12	3	Spare							
15	1	Checksum							
									
SWEA Table (ID = 3)		=System Table +20h							
Offset	Length	Name	Conversion	Default	Description				
0	1	SWEAMCPDACSet		0	SWEA MCP setting				
1	1	SWEAMCPHeater		0	"SWEA MCP Heater setting, 0=off, 10=100%"				
2	1	SWEADistInterval		30	"SWEA 3D distribution time interval, sec"				
3	1	SWEABurstInterval		2	"SWEA Burst 3D distribution time interval, sec (SWEADistInterval must be a multiple of SWEABurstInterval)"				
4	1	SWEAPADInterval		10	"SWEA PAD distribution time interval, sec"				
5	1	SWEARot			"SWEA Anode Rotation to spacecraft coordinates, degrees*256/360, 310 degrees (220) for Ahead, 130 degrees (92) for Behind"				
6	1	SWEAModeID		0	"SWEA Mode ID (from parameter table).  Set by ground command to identify LUT, etc."				
7	1	SWEAManualV0		0	SWEA V0 setting when SWEAV0 is manual and SWEALUT is Auto				
8	2	SWEASweepMax		41448	"SWEA Sweep generator, A(0), sqrt(max analyzer), 2keV default.  For Auto LUT generator"				
10	2	SWEASweepRate		5090	"SWEA Sweep generator, A(n+1) = A(n)*(1-Rate)"				
12	2	SWEASweepOffset		0	SWEA Sweep generator offset: DAC(n)=A(n)+Offset				
14	2	SWEASweepDelfStep		5698	"SWEA Sweep generator, deflector step (11.5 steps to full scale)"				
16	1	SWEAMomInterval		2	"SWEA Moments interval, sec, 2, 10, 30, 60 (applies to MOM packet as well as computation interval)"				
17	1	SWEASpecInterval		2	"SWEA Spectra interval, sec, no faster than moment interval"				
18	1	SWEAEnergyCoefN0		22	SWEA Moment energy coefficient normalization term (1/v)				
19	1	SWEAEnergyCoefN1		10	SWEA Moment energy coefficient normalization term (1)				
20	1	SWEAEnergyCoefN2		-4	SWEA Moment energy coefficient normalization term (v)				
21	1	SWEAEnergyCoefN3		-19	SWEA Moment energy coefficient normalization term (v*v)				
22	1	SWEAMCPRampRate		1	SWEA MCP DAC steps/second when ramping up				
23	8	spare							
31	1	Checksum							
									
									
STE Table (ID = 4)		=System Table +40h							
Offset	Length	Name	Conversion	Default	Description				
0	1	STEUTHR0		12	"STE-U Detector 0 Thershold DAC setting, 0-63, 0.144keV/step"				
1	1	STEUTHR1		12	"STE-U Detector 1 Thershold DAC setting, 0-63, 0.144keV/step"				
2	1	STEUTHR2		12	"STE-U Detector 2 Thershold DAC setting, 0-63, 0.144keV/step"				
3	1	STEUTHR3		12	"STE-U Detector 3 Thershold DAC setting, 0-63, 0.144keV/step"				
4	1	STEDTHR0		12	"STE-D Detector 0 Thershold DAC setting, 0-63, 0.144keV/step"				
5	1	STEDTHR1		12	"STE-D Detector 1 Thershold DAC setting, 0-63, 0.144keV/step"				
6	1	STEDTHR2		12	"STE-D Detector 2 Thershold DAC setting, 0-63, 0.144keV/step"				
7	1	STEDTHR3		12	"STE-D Detector 3 Thershold DAC setting, 0-63, 0.144keV/step"				
8	2	STEUControl		28912	STE-U control register (see packet ApID 220 for bit defeinitions)				
10	2	STEDControl		61684	SWEA/STE-D control register (see packet ApID 220 for bit defeinitions)				
12	1	STEUDoorTimeout		5	STE-U door Timeout = (1+n)/8 seconds; set to 15 for infinite time				
13	1	STEDDoorTimeout		5	STE-D door Timeout = (1+n)/8 seconds; set to 15 for infinite time				
14	1	STEUMemQuad		0	STE-U memory quadrant				
15	1	STEDMemQuad		0	SWEA/STE-D memory quadrant				
16	1	STERatesInterval		10	"STE Monitor Rates Telemetry Averaging Interval, sec (2,10,30,60)"				
17	1	STESpecInterval		10	"STE Spectra Telemetry Averaging Interval, sec (2,10,30,60)"				
18	1	STESpecNumEngy		32	"STE Spectra Number of Energies (16, 32, 64)"				
19	6	BeaconEnergtIntervals			"Beacon energy sampling intervals, 0,8,8,8,4,4"				
25	1	STEUSunwardDet		4	Beacon STE-U sunward detector				
26	1	BeaconScale		3	Shift beacon data right this many times (to avoid saturating telemetry)				
27	1	STEModeID		0	"STE Operation Mode (8), Arbitrary value set by command, reported in STE telemetry packets, to identify op mode (e.g LUT)"				
28	2	STELUTLoadFirst		0	STE Diagnostic linear bin starting point (first bin includes everything up to this point plus delta)				
30	1	STELUTLoadDelta		0	"Diagnostic Linear bin spacing (0 -> non-linear, use STE LUT Generator Table)"				
31	1	STEUBias		20	"STE-U bias supply DAC; 0.82V/step, default=16V"				
32	1	STEDBias		20	"STE-D bias supply DAC; 0.82V/step, default=16V"				
33	1	STEUDoorLockout		120	STE-U door minimum time between actuations (sec)				
34	1	STEDDoorLockout		120	STE-D door minimum time between actuations (sec)				
35	1	spare		0					
36	2	STEUDoorMaxTemp		1767	"STE-U door max temperature for actuation, in ISTEUTEMP ADC codes (-35C)"				
38	2	STEDDoorMaxTemp		1767	"STE-D door max temperature for actuation, in ISTEDTEMP ADC codes (-35C)"				
40	7	spare							
47	1	Checksum							
									
									
Burst Table (ID=5)		=System Table + 70h							
Offset	Length	Name	Conversion	Default	Description				
0	2	BurstBitrate		546	Bits per second allocated to Burst telemetry				
2	1	PagePre1Start		128	Start of first burst preamble buffer (in 16kbyte pages)				
3	1	PagePre2Start		153	Start of second burst preamble buffer				
4	1	PagePre3Start		178	Start of third burst preamble buffer				
5	1	PagePost1Start		203	Start of first burst post buffer				
6	1	PagePost2Start		229	Start of second burst post buffer				
7	1	PagePost2End		255	End of second burst post buffer (Max = 255)				
8	1	WeightNTDS		128	"Trigger weight for SWAVES ""Number of TDS in last 60 seconds"""				
9	1	ShiftNTDS		7	"Trigger shift for SWAVES ""Number of TDS in last 60 seconds"""				
10	1	WeightPlasmaPwr		128	"Trigger weight for SWAVES ""Plasma Power"""				
11	1	ShiftPlasmaPwr		7	"Trigger shift for SWAVES ""Plasma Power"""				
12	1	WeighHFR1Pwr		128	"Trigger weight for SWAVES ""HFR1 Power"""
13	1	ShiftHFR1Pwr		7	"Trigger shift for SWAVES ""HFR1 Power"""
14	1	WeighHFR2Pwr		128	"Trigger weight for SWAVES ""HFR2 Power"""
15	1	ShiftHFR2Pwr		7	"Trigger shift for SWAVES ""HFR2 Power"""
16	1	WeightSWEA		128	Trigger weight for SWEA count rate
17	1	ShiftSWEA		7	Trigger shift for SWEA count rate
18	1	WeightSTE		128	Trigger Weight for STE LLD
19	1	ShiftSTE		7	Trigger shift for STE LLD
20	1	WeightMAG		128	Trigger weight for MAG field delta
21	1	ShiftMAG		7	Trigger shift for MAG field delta
22	1	WeightPLASTIC		128	Trigger weight for PLASTIC Velocity delta
23	1	ShiftPLASTIC		7	Trigger shift for PLASTIC Velocity delta
24	2	OffsetPlasmaPwr		0	"Trigger offset for SWAVES ""Plasma Power"""
26	2	OffsetHFR1Pwr		0	"Trigger offset for SWAVES ""HFR1 Power"""
28	2	OffsetHFR2Pwr		0	"Trigger offset for SWAVES ""HFR2 Power"""
30	1	OffsetSWEA		0	Trigger offset for SWEA count rate
31	1	OffsetSTE		0	Trigger offset for STE LLD				
32	1	OffsetMAG		0	Trigger offset for MAG delta field				
33	1	OffsetPLASTIC		0	Trigger Offset for PLASTIC delta V				
34	1	FilterSWEA		8	SWEA count rate baseline filter (FX = A*X/256 + (1-A/256)*FX)				
35	1	SWEATrigFirstE		9	"SWEA count rate sum first energy (0-48, 0=high E)"				
36	1	SWEATrigLastE		11	"SWEA count rate sum last energy (0-48, 0=high E)"				
37	1	STELLDMask		255	"STE trigger LLD Mask, 1=enabled, Bit 0 = STE-U Det 0,   bit 7 = STE-D Det 3"				
38	1	BurstTableID		0	ID for burst table (in SOH telemetry)				
39	1	PLASTICMomOffset		29	"PLASTIC Moment buffer offset to NVx (s-channel), MSB"				
40	23	Spare			Spare space				
63	1	Checksum							
					Burst Trigger Criterion = sum {((Criterion-Offset)*Weight)>>Shift}				
									
									
PLASTIC Table (ID = 8)		=System Table +B0h							
Offset	Length	Name	Conversion	Default	Description				
0	1	MCPDACSet		0	PLASTIC MCP DAC setting				
1	1	MomentsEmin		39	PLASTIC Moments minimum energy step				
2	1	MomentsEmax		127	PLASTIC Moments maximum energy step				
3	1	MomentsSource		0	"PLASTIC Moments Source; 0=SW_All, 1=SW_H"				
4	1	ProtonSearch		0	"Proton peak search source; 0=SW_All, else SW_H"				
5	1	AlphaSearch		0	"Alpha peak search source; 0=doubles, else tripples"				
6	2	SChFactor		1000	S-channel scale factor				
8	1	LenCseqConflictTable		17	Number of entries in PLASTIC Command Sequence conflict table				
					Each conflict entry consists of 3 bytes				
					Bytes 0 & 1 contain the command sequences to check to see if confict				
					and bits to determine action to be performed on these sequences (B7=1 =>abort)				
					Byte 2 contains command sequence number of a 3rd sequence affected				
					"B7=1=> abort, B6=1 => run it"				
9	3	Conflict#1		"94h,18h,0"	Abort cseq 20 if both 20 and 24 scheduled				
12	3	Conflict#2		"94h,1dh,0"	Abort Cseq 20 if both 20 and 29 scheduled				
15	3	Conflict#3		"14h,9bh,0"	Abort Cseq 27 if both 20 and 27 scheduled				
18	3	Conflict#4		"96h,18h,0"	Abort Cseq 22 if both 22 and 24 scheduled				
21	3	Conflict#5		"96h,1dh,0"	Abort Cseq 22 if both 22 and 29  scheduled				
24	3	Conflict#6		"96h,9Ah,58h"	Abort Cseq 22 and 26 if both running and start Cseq 24				
27	3	Conflict#7		"96h,97h,58h"	Abort Cseq 22 and 23 if both running and start Cseq 24				
30	3	Conflict#8		"98h,1dh,0"	Abort Cseq 24 if both 24 and 29 scheduled				
33	3	Conflict#9		"18h,9ah,0"	Abort Cseq 26 if both 24 and 26 scheduled				
36	3	Conflict#10		"1dh,9ah,0"	Abort Cseq 26 if both 29 and 26 scheduled				
39	3	Conflict#11		"18h,97h,0"	Abort Cseq 23 if both 24 and 23 scheduled				
42	3	Conflict#12		"1dh,97h,0"	Abort Cseq 23 if both 29 and 23 scheduled				
45	3	Conflict#13		"1dh,9bh,0"	Abort Cseq 27 if both 29 and 27 schedukled				
48	3	Conflict#14		"1ah,9bh,0"	Abort Cseq 27 if both 26 and 27 scheduled				
51	3	Conflict#15		"17h,9b,0"	Abort Cseq 27 if both 23 and 27 scheduled				
54	3	Conflict#16		"18h,9b,0"	Abort Cseq 27 if both 24 and 27 scheduler				
57	3	Conflict#17		"0,0,0"	spare				
									
									
PLASTIC Command Macro Table (ID=9)									
1024 bytes (400H)  - Note that the number of command macros allowed is modifiable..  That implies that the number of entries									
	"defining the ""offsets"" is variable based upon MAXCmdMacros.  The following is the structure as compiled."								
	"The table is composed of an ""index"" table that contains pointers to the actual command macro subtable"								
	"Each command macro subtable has a 2 byte header, followed by n - 3 byte commands"								
		Byte 0 = number of actual commands in the macro (M)							
		Byte 1  = number of commands allowed in macro (based upon space allocated) (l)							
		Bytes 2 -> 2+3M  actual 3 byte commands to be sent of plastic serial bus							
		Bytes 3+3m-> 2+3L Spare for additional commands							
									
0	2	CmdMacroTableState		0	"Command macro table state 0=>OK, otherwise being modified"				
2	2	MaxCmdMacros		15	Maximum number of command macros allowed (modifiable)				
4	2	OffsetToNextFreeSlot		033bh	Byte offset from beginning of table to next available slot for  a command macro				
6	2	OffsetToMaco1		24h	Byte offset from beginning of table to the 1st byte of the cmd macro 1 subtable (-1=>none)				
8	2	OffsetToMacro2		5ch	Byte offset from beginning of table to the 1st byte of the cmd macro 2 subtable (-1=>none)				
10	2	OffsetToMacro3		94h	Byte offset from beginning of table to the 1st byte of the cmd macro 3 subtable (-1=>none)				
12	2	OffsetToMacro4		aeh	Byte offset from beginning of table to the 1st byte of the cmd macro 4 subtable (-1=>none)				
14	2	OffsetToMacro5		c8h	Byte offset from beginning of table to the 1st byte of the cmd macro 5 subtable (-1=>none)				
16	2	OffsetToMacro6		e2h	Byte offset from beginning of table to the 1st byte of the cmd macro 6 subtable (-1=>none)				
18	2	OffsetToMacro7		11ah	Byte offset from beginning of table to the 1st byte of the cmd macro 7 subtable (-1=>none)				
20	2	OffsetToMacro8		131h	Byte offset from beginning of table to the 1st byte of the cmd macro 8 subtable (-1=>none)				
22	2	OffsetToMacro9		1a8h	Byte offset from beginning of table to the 1st byte of the cmd macro 9 subtable (-1=>none)				
24	2	OffsetToMacro10		021fh	Byte offset from beginning of table to the 1st byte of the cmd macro 10 subtable (-1=>none)				
26	2	OffsetToMacro11		-1	Byte offset from beginning of table to the 1st byte of the cmd macro 11 subtable (-1=>none)				
28	2	OffsetToMacro12		-1	Byte offset from beginning of table to the 1st byte of the cmd macro 12 subtable (-1=>none)				
30	2	OffsetToMacro13		-1	Byte offset from beginning of table to the 1st byte of the cmd macro 13 subtable (-1=>none)				
32	2	OffsetToMacro14		-1	Byte offset from beginning of table to the 1st byte of the cmd macro 14 subtable (-1=>none)				
34	2	OffsetToMacro15		-1	Byte offset from beginning of table to the 1st byte of the cmd macro 15 subtable (-1=>none)				
36	1	NCmdsMacro1		10					
37	1	MaxCmdsMacro1		18					
38	30	Macro1cmds			3 byte commands - Disable Entrance System				
68	24	Sparemacro1			Spare space for additional commands				
92	1	NCmdsMacro2		10					
93	1	MaxCmdsMacro2		18					
94	30	Macro2Cmds			Enable entrance System				
124	24	SpareMacro2							
148	1	NCmdsMacro3		4					
149	1	MaxCmdsMacro3		8					
150	12	Macro3Cmds			Clear MCP Set points				
162	12	SpareMacro3							
174	1	NCmdsMacro4		4					
175	1	MaxCmdsMacro4		8					
176	12	Macro4Cmds			Clear SSD Set points				
188	12	SpareMacro4							
200	1	NCmdsMacro5		4					
201	1	MaxCmdsMacro5		8					
202	12	Macro5Cmds			Clear PAC set points				
214	12	SpareMacro5							
226	1	NCmdsMacro6		10	
227	1	MaxCmdsMacro6		18	
228	30	Macro6Cmds			Zero and disable TOF HV supplies
258	24	SpareMacro6			
282	1	NCmdsMacro7		3	
283	1	MaxCmdsMacro7		7	
284	9	Macro7Cmds			Disable TOF HV Supplies
293	12	SpareMacro7			
305	1	NCmdsMacro8		35	
306	1	MaxCmdsMacro8		39	
307	105	Macro8Cmds			PLASTICSTART Part 1
412	12	SpareMacro8			
424	1	NcmdsMacro9		35	
425	1	MaxCmdsMacro9		39	
426	105	Macro9Cmds			PLASTICSTART Part 2
531	12	SpareMacro9			
543	1	NCmdsMacro10		90	
544	1	MaxCmdsMacro10		94	
545	270	Macro10Cmds			PLASTIC SSD ASIC INIT
815	12	SpareMacro10			
827	197	SpareSpace			
					
PLASTIC LIMIT TABLES (ID = 10)					
This table contains the PAC discharge limit tables and the Analog Limits table					
0	1	PAC_DIS_STATE		0	State of discharge checker (Disabled)
1	1	PAC_DIS_CONSECLIM		32h	2 consecutive discharges before safing - 3 consecutive safes before quiting
2	2	PAC_DIS_LIMIT		1bfah	Value below which PAC discharge is declared
4	2	PAC_DIS_PROD_THRESHOLD		1fc0h	If CS*FS >Threshold - check PAC VM
6	1	PAC_DIS_SAFESEQ		24	Command Sequence number to run to safe PAC
7	1	PAC_DIS_RESTSeq		26	Command Sequence number of 1st PAC restore sequence
8	1	PAC_DIS_RestseqpT2		23	Command Sequence number of 2nd half PAC Restore
9	1	PAC_Dis_MAX_SafeAttempts		3	"Max number of ""safing attempts"" allowed - see documentation"
10	1	PAC_Dis_Detected_Ntimes		0	Number of times a discharge has been detected
11	1	PAC_DisConsec_Cntrs		0	Bits 7-4 = numbe of consec times safing seq run 
					Bits 3-0 = number of consec times discharge has been detected
12	1	PAC_Dis_Actual		0	Number of safing attempts (number of times Normal -> discharge with safing)
13	1	PAC_DIS_Spare			
14	1	ANALOG_LIM_GLB_STATE		0	Global state variable of analog limit checker - default = disabled
15	1	ANALOG_LIM_MAX_POINTS		15	Maximum number of analog points that can be limit checked
16	1	ANALOG_Status_Pt1			Limit checking state for data point 1
17	1	ANALOG_ID_PT1		20h	Hkaddr OF PAC_VM  16 BIT DATA ITEM 
18	2	ANALOG_RL_LIM_PT1		0	Red Low Limit for data point 1
20	2	ANALOG_YL_LIM_PT1		0	Yellow Low limit for data point 1
22	2	ANALOG_YH_LIM_PT1		ffffh	Yellow High limit for data point 1
24	2	ANALOG_RH_LIM_PT1		ffffh	Red High limit for data point 1
26	1	ANALOG_DELAY_PT1			Number of minutes to wait before checking data after a safing sequence starts
27	1	ANALOG_ConsecLim_PT1			Bits 7-4 number of consecutive safings allowed
					Bits 3-0 number of cosecutyive DOL red before initiating safing
28	1	ANALOG_LOWSEQ_PT1			Cmd sequence number to execute on RED LOW (255 => none)
29	1	ANALOG_HIGHSEQ_PT1			Cmd sequence nuber to execute on RED HIGH (255=>NONE)
30	1	ANALOG_YelCnt_PT1			Number of times point failed yellow limit
31	1	ANALOG_RedCnt_PT1			Number of times point failed RED limit
32	1	ANALOG_MinElapse_PT1			Number of minutes since last safing when waiting to limit check again
33	1	ANALOG_Cntrs_PT1			Bits7-4 number of consecutive times safing run
					Bits 3-0 Number of consecutive times DOL RED
34	2	ANALOG_SAMPLETIME_PT1			IDPU SAMPLETIME of last RED limit Failure
36	1	ANALOG_STATE_PT1			"Current DOL state of data point 0=normal 1=YL,2=YH,3=RL,4=RH"
37	1	ANALOG_SPARE_PT1			
38	1	ANALOG_Status_Pt2			Limit checking state for data point 1
39	1	ANALOG_ID_PT2		20h	Hkaddr OF PAC_VM  16 BIT DATA ITEM 
40	2	ANALOG_RL_LIM_PT2		0	Red Low Limit for data point 
42	2	ANALOG_YL_LIM_PT2		0	Yellow Low limit for data point 
44	2	ANALOG_YH_LIM_PT2		ffffh	Yellow High limit for data point 
46	2	ANALOG_RH_LIM_PT2		ffffh	Red High limit for data point 
48	1	ANALOG_DELAY_PT2			Number of minutes to wait before checking data after a safing sequence starts
49	1	ANALOG_ConsecLim_PT2			Bits 7-4 number of consecutive safings allowed
					Bits 3-0 number of cosecutyive DOL red before initiating safing
50	1	ANALOG_LOWSEQ_PT2			Cmd sequence number to execute on RED LOW (255 => none)
51	1	ANALOG_HIGHSEQ_PT2			Cmd sequence nuber to execute on RED HIGH (255=>NONE)
52	1	ANALOG_YelCnt_PT2			Number of times point failed yellow limit
53	1	ANALOG_RedCnt_PT2			Number of times point failed RED limit
54	1	ANALOG_MinElapse_PT2			Number of minutes since last safing when waiting to limit check again
55	1	ANALOG_Cntrs_PT2			Bits7-4 number of consecutive times safing run
					Bits 3-0 Number of consecutive times DOL RED
56	2	ANALOG_SAMPLETIME_PT2			IDPU SAMPLETIME of last RED limit Failure
58	1	ANALOG_STATE_PT2			"Current DOL state of data point 0=normal 1=YL,2=YH,3=RL,4=RH"
59	1	ANALOG_SPARE_PT2			
.					
.					
.					
324	1	ANALOG_Status_PT15			Limit checking state for data point 1
325	1	ANALOG_ID_PT15		20h	Hkaddr OF PAC_VM  16 BIT DATA ITEM 
326	2	ANALOG_RL_LIM_PT15		0	Red Low Limit for data point 
328	2	ANALOG_YL_LIM_PT15		0	Yellow Low limit for data point 
330	2	ANALOG_YH_LIM_PT15		ffffh	Yellow High limit for data point 
332	2	ANALOG_RH_LIM_PT15		ffffh	Red High limit for data point 
334	1	ANALOG_DELAY_PT15			Number of minutes to wait before checking data after a safing sequence starts
335	1	ANALOG_ConsecLim_PT15			Bits 7-4 number of consecutive safings allowed
					Bits 3-0 number of cosecutyive DOL red before initiating safing
336	1	ANALOG_LOWSEQ_PT15			Cmd sequence number to execute on RED LOW (255 => none)
337	1	ANALOG_HIGHSEQ_PT15			Cmd sequence nuber to execute on RED HIGH (255=>NONE)
338	1	ANALOG_YelCnt_PT15			Number of times point failed yellow limit
339	1	ANALOG_RedCnt_PT15			Number of times point failed RED limit
340	1	ANALOG_MinElapse_PT15			Number of minutes since last safing when waiting to limit check again
341	1	ANALOG_Cntrs_PT15			Bits7-4 number of consecutive times safing run
					Bits 3-0 Number of consecutive times DOL RED
342	2	ANALOG_SAMPLETIME_PT15			IDPU SAMPLETIME of last RED limit Failure					
344	1	ANALOG_STATE_PT15			"Current DOL state of data point 0=normal 1=YL,2=YH,3=RL,4=RH"					
345	1	ANALOG_SPARE_PT15								
.										
										
STE LUT Generator Table (ID=16)										
"1024 bytes, (256 words for STE-U followed by 256 words for STE-D)"										
This table generates the LUT that converts the event address into the bin number to accumulate										
 - the IDPU expands this table into the two 16Kbyte LUTs which are used in the instruments										
The LUT in the instrument takes the 14 bit event word and returns the accumulator to increment										
 - the event word consists of the measuremed energy (12 LSB) and detector number (2 MSB)										
Each word is the number of consecutive Event bins to allocate to the STE counter corresponding to the table address										
"Each detector is binned into N counters, where N can be 16, 32, or 64 typically (default=32)"										
 - The sum of the LUT words for those N locations should be 4096.										
" - If N is less than 64, then end of the table for each STE will be unused"										
"This table is only used when ""STEAutoLUT"" is enabled.  When enabled it reloads the LUT once a minute"										
Default table values correspond to the following energy bin boundaries:									
	"2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6, 6.5, 7, 7.5, 8.077, 8.723, 9.450, 10.271"								
	"11.205, 12.272, 13.499, 14.919, 16.576, 18.526, 20.841, 23.618, 26.989, 31.138, 36.323, 42.918, 51.489, 62.908, 78.595, 100"								
									
									
									
SWEA Energy LUT Table (ID=17)									
"98 bytes (48 bytes for SWEA distribution fiollowed by 48 bytes for PAD distribution, followed by 2 bytes defining Beacon PAD energies)"									
"These tables convert the SWEA 48 energy samples into bin numbers (0-15 for distrbution, 0-5 for PAD)"									
"Low bin numbers correspond to high energy, early in the sweep."									
Table entries with MSB set mean that the associated energy is not included in any bin									
"Dist. Default = 0,0,0,1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15"									
"PAD Default = 80h,80h,80h,80h,80h,80h,0,0,0,0,0,0,1,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5"									
"BeaconPad Default = 0,3"			(Beacon includes these PAD energy bins)						
									
									
"SWEA/STE LUT Dump (STE-U ID = 18, SWEA/STED ID=19)"									
Direct dump from instrument LUT									
"Mapped to IDPU memory space, pages 16-23 = STE-U, pages 24-31 = SWEA/STE-D (between PROM and EEPROM)"									
									
									

SWEA Moment Energy Coefficients (ID=20)									
"3 bytes per coefficient; 16 bits unsigned mantissa followed by 1 byte of exponent (shift right after product, before sum)"									
"48 entries per moment, one per energy"									
"4 moment types: 1/v, 1, v, v*v"									
									

SWEA Moment Angle Coefficients (ID=21)									
Elevation angle coefficients									
   6 Elevations * 10 dM (dM index fastest)									
"   2 bytes each, 13 bits plus sign - int(F(theta)*8192)."									
"   Nominally: 1, Cos, Cos, Sin, Cos2, Cos2, Sin2, Cos2, CosSin, CosSin"
     but need to add a Cos factor for polar oversampling
     and any elevation efficiency factor
"   Elevation angles numbered 0-5, starting at 0 for high elevations (anti-sunward)"
"   Computed in spreadsheet MomentWeight.xls, 2003-10-03"

Azimuth Angle Coefficients
   16 Anodes * 6 Si
"   2 bytes each, 14 bits puls sign - int(F(phi)*16384)."
"   Nominally 1, Cos, Sin, Cos2, CosSin, Sin2"
    but add the Cos term for polar angle over-sampling
    plus and anode efficiency factor
"   Computed in spreadsheet MomentWeight.xls, 2003-10-03"



									

Command Sequence Dump (ID=Command Sequence number (0-31)+32)									
See CmdSeq									















									
