PET responds to three four-byte command words: the first word mostly enables or sets levels on various discriminators, and has never been changed; the second word modifies the coincidence equation, and has seen a lot of action; and the third word enables event buffers, pulse-height analyzers, and calibration and other global modes, and has only been changed once, at the beginning of the mission (plus routine changes once a month to enable and disable calibration). The three main tables below show the meaning of the command word bits, which rates or event buffers they affect (for the second word only), and their nominal settings, and the last table shows the changes that have been made to the second command word. There are also a couple of tables in the discussion of command word two that give the detailed rate and event logic definitions. Except for the last (state-change) table, this information was lifted from the PET information book put together by the Caltech folks shortly after launch.
The first word has always had values as shown in this table; the hexadecimal values of the four bytes are 1f ff d7 0c.
Byte |
Bit |
Name |
Nominal Value |
1 |
1 (MSB) |
SPARE |
0 |
1 |
2 |
SPARE |
0 |
1 |
3 |
SPARE |
0 |
1 |
4 |
P4 D EN |
1 |
1 |
5 |
P5 D EN |
1 |
1 |
6 |
P6 D EN |
1 |
1 |
7 |
P7 D EN |
1 |
1 |
8 (LSB) |
P8 D EN |
1 |
2 |
1 (MSB) |
A3 LD EN |
1 |
2 |
2 |
A3 HD EN |
1 |
2 |
3 |
A4 LD EN |
1 |
2 |
4 |
A4 HD EN |
1 |
2 |
5 |
A57 LD EN |
1 |
2 |
6 |
A57 HD EN |
1 |
2 |
7 |
A68 LD EN |
1 |
2 |
8 (LSB) |
A68 HD EN |
1 |
3 |
1 (MSB) |
P3B-8 |
1 |
3 |
2 |
P3B-4 |
1 |
3 |
3 |
P3B-2 |
0 |
3 |
4 |
P3B-1 |
1 |
3 |
5 |
P3A-8 |
0 |
3 |
6 |
P3A-4 |
1 |
3 |
7 |
P3A-2 |
1 |
3 |
8 (LSB) |
P3A-1 |
1 |
4 |
1 (MSB) |
P1B-8 |
0 |
4 |
2 |
P1B-4 |
0 |
4 |
3 |
P1B-2 |
0 |
4 |
4 |
P1B-1 |
0 |
4 |
5 |
P1A-8 |
1 |
4 |
6 |
P1A-4 |
1 |
4 |
7 |
P1A-2 |
0 |
4 |
8 (LSB) |
P1A-1 |
0 |
Below are three tables: the first shows the logical definitions of the PET rates that can be changed by command, the second does the same for the event buffers, and the third defines the command bits in the second word that effect most of these changes. Square brackets around a term in the logic equations indicate that the term is nominally present but can be deleted, and slashes around a term indicate that the term is nominally not present but can be added. LOZMODE in the PEN rate equation is a "bit" that has always been set (there is a high-Z mode with lower gains that has never been used), and the others indicate detector and PHA thresholds and discriminators. AL and AH indicate low and high guard thresholds; P1 through P8 indicate individual detectors; "*" indicates logical complement or veto; a suffix "A" or "B", as in P1A, indicates a higher threshold; and other suffixes (like P2E, P8R*, etc.) indicate that the relevant command bit affects the term only in one equation, whereas (for example) [P1] indicates that this term is removed from most of the equations at the same time if the relevant command bit is set.
Rate name |
Logic equation |
PLO |
[P1] [P1A] [P2] [P3*] [P4*] /P5*/ [AL*] /AH*/ |
PHI |
[P1] [P1A] [P2] [P3] [P4*] /P5*/ [AL*] /AH*/ |
ELO |
[P1] [P1A*] [P2] [P3*] [P4*] /P5*/ [AL*] /AH*/ |
EHI |
[P1] [P1A*] [P2] [P3] /P3AE/ [P4*] /P5*/ [AL*] /AH*/ |
RNG |
[P1] [P2] [P4] /P5/ /P7*/ [P8R*] [ALR*] /AHR*/ |
EWG |
[P1*] /P2*/ [P2E] /P3A/ [P3B*] [P4] /P5/ /P7*/ [P8*] [ALE*] /AHE*/ |
PEN |
[P1] [P2] /P4/ /P7/ [P8] /ALP*/ /AHP*/ LOZMODE |
Event buffer name |
Logic equation |
P |
[P1] [P1A] [P2] /P3*/ /P3P/ [P4*] /P5*/ [AL*] /AH*/ [RP] [HAZ*] |
E |
[P1] [P1A*] [P2] /P3E/ /P3AE/ [P4*] /P5*/ [AL*] /AH*/ [RE] [HAZ*] |
RNGE |
RNG [RR] [HAZ*] |
EWGE |
EWG [REW] [HAZ*] |
PENE |
PEN [RPN] [HAZ*] |
Byte |
Bit |
Name |
Affects rates and buffers |
Nominal Value |
1 |
1 (MSB) |
[P1] |
ALL BUT EWG, EWGE |
0 |
1 |
2 |
[P1*] |
EWG, EWGE |
0 |
1 |
3 |
[P1A] |
P, PLO, PHI |
0 |
1 |
4 |
[P1A*] |
E, ELO, EHI |
0 |
1 |
5 |
[P2] |
ALL BUT EWG, EWGE |
0 |
1 |
6 |
/P2*/, [P2E] |
EWG, EWGE |
1 |
1 |
7 |
[P3] |
PHI, EHI |
0 |
1 |
8 (LSB) |
[P3*] |
PLO, ELO |
0 |
2 |
1 (MSB) |
/P3*/ |
P |
1 |
2 |
2 |
/P3A/ |
EWG, EWGE |
1 |
2 |
3 |
/P3E/ |
E |
1 |
2 |
4 |
/P3P/ |
P |
1 |
2 |
5 |
/P3AE/ |
E, EHI |
1 |
2 |
6 |
[P3B*] |
EWG, EWGE |
0 |
2 |
7 |
[P4] |
RNG, RNGE, EWG, EWGE |
0 |
2 |
8 (LSB) |
[P4*] |
P, PLO, PHI, E, ELO, EHI |
0 |
3 |
1 (MSB) |
/P4/ |
PEN, PENE |
1 |
3 |
2 |
/P5/ |
RNG, RNGE, EWG, EWGE |
1 |
3 |
3 |
/P5*/ |
P, PLO, PHI, E, ELO, EHI |
1 |
3 |
4 |
/P7/ |
PEN, PENE |
1 |
3 |
5 |
/P7*/ |
RNG, RNGE, EWG, EWGE |
1 |
3 |
6 |
[P8] |
PEN, PENE |
0 |
3 |
7 |
[P8*], [P8R*] |
RNGE, RNGE, EWG, EWGE |
0 |
3 |
8 (LSB) |
[AL*] |
P, PLO, PHI, E, ELO, EHI |
0 |
4 |
1 (MSB) |
[ALE*] |
EWG, EWGE |
0 |
4 |
2 |
[ALR*] |
RNG, RNGE |
0 |
4 |
3 |
/ALP*/ |
PEN, PENE |
1 |
4 |
4 |
/AH*/ |
P, PLO, PHI, E, ELO, EHI |
1 |
4 |
5 |
/AHE*/ |
EWG, EWGE |
1 |
4 |
6 |
/AHR*/ |
RNG, RNGE |
1 |
4 |
7 |
/AHP*/ |
PEN, PENE |
1 |
4 |
8 (LSB) |
NDW-A |
(general) |
0 |
The third word was changed from its nominal state at the beginning of the mission, to suppress the PENE buffer, and has been left unchanged since. The hexadecimal values of the four bytes in the nominal state in the table below are 00 ff bc 02, and the values for the "permanent" state are 00 f7 bc 02.
Byte |
Bit |
Name |
Nominal Value |
1 |
1 (MSB) |
NOT STORED |
0 |
1 |
2 |
NOT STORED |
0 |
1 |
3 |
NOT STORED |
0 |
1 |
4 |
NOT STORED |
0 |
1 |
5 |
NOT STORED |
0 |
1 |
6 |
NOT STORED |
0 |
1 |
7 |
NOT STORED |
0 |
1 |
8 (LSB) |
NOT STORED |
0 |
2 |
1 (MSB) |
[RP] |
1 |
2 |
2 |
[RE] |
1 |
2 |
3 |
[RR] |
1 |
2 |
4 |
[REW] |
1 |
2 |
5 |
[RPN] |
1 |
2 |
6 |
P1 ADC EN |
1 |
2 |
7 |
P2 ADC EN |
1 |
2 |
8 (LSB) |
P3 ADC EN |
1 |
3 |
1 (MSB) |
P47 ADC EN |
1 |
3 |
2 |
HIZ EN |
0 |
3 |
3 |
LOZ EN |
1 |
3 |
4 |
LOG CAL DIS |
1 |
3 |
5 |
RMP CAL DIS |
1 |
3 |
6 |
ADC CAL DIS |
1 |
3 |
7 |
CMND CAL DIS |
0 |
3 |
8 (LSB) |
ACE EN |
0 |
4 |
1 (MSB) |
[HAZ*] |
0 |
4 |
2 |
SPARE |
0 |
4 |
3 |
SPARE |
0 |
4 |
4 |
SPARE |
0 |
4 |
5 |
SPARE |
0 |
4 |
6 |
SPARE |
0 |
4 |
7 |
CAL OFF |
1 |
4 |
8 (LSB) |
NDW-B |
0 |
The following table shows the values of the four bytes of the second command word at various times in the mission, including the nominal (design) state.
Time period |
Hexadecimal values |
04 f8 f8 3e |
|
04 f8 fa 3e |
|
04 f8 fb 2e |
|
04 f8 fb 7e |
|
04 f8 fb 2e |
|
0d f9 fb 3e |
|
04 f8 fb 3e |
|
04 f8 fb 5e |
|
04 f8 fb 68 |
new 6 August 1999, revised 7 January 2000