/* PDS FORMAT FILE FOR RAD DATA FRAME HEADER */
OBJECT = COLUMN
NAME = FRAME_LENGTH
DATA_TYPE = MSB_UNSIGNED_INTEGER
START_BYTE = 1
BYTES = 4
DESCRIPTION = "Length of the frame in bytes."
END_OBJECT = COLUMN
OBJECT = COLUMN
NAME = CONTROL_AND_STATUS_FLAGS
DATA_TYPE = MSB_UNSIGNED_INTEGER
START_BYTE = 5
BYTES = 4
OBJECT = BIT_COLUMN
NAME = OPCODE
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 1
BITS = 8
DESCRIPTION = "Opcode."
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = ERROR_CONTROL_TYPE
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 9
BITS = 2
DESCRIPTION = "The type of error control algorithm applied by
the Instrument Transfer Frame. Valid:
0=reserved.
1=The CRC error control algorithm was applied
and placed in the error control field at the.
end of the frame.
2=The Fletcher checksum error control algorithm
was applied and placed in the error control
field at the end of the frame.
3=No error control algorithm was applied and no
error control field is included."
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = DATA_PRESENT_FLAG
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 11
BITS = 1
DESCRIPTION = "Indicatethe presence or absence of both the
Header Field Data Length and the Instrument
Transfer Frame Data Field. A value of 0
indicates the Header Field Data Length and the
Instrument Transfer Frame Data Field are not
present; a value of 1 indicates the Header
Field Data Length and Instrument Transfer Frame
Data Field are present."
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = FRAME_TYPE
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 12
BITS = 1
DESCRIPTION = "Frame type. 0=Science Data Frame
1=Command Reply Frame"
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = WATCHDOG_TIMER_FLAG
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 13
BITS = 1
DESCRIPTION = "Indicates the watchdog timer has expired.
Valid: 0=False, 1=True"
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = TIME_SYNC_FLAG
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 14
BITS = 1
DESCRIPTION = "Indicates if the instrument has not received a
time sync command from the RCE and is expecting
one. Valid: 0=False, 1=True"
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = BOOT_IMAGE
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 15
BITS = 2
DESCRIPTION = "Identifies the boot image used. Valid: 0=RAM
image, 1=EEPROM, off-nominal boot, 2=PROM"
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = HIGH_PRIORITY_FLAG
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 17
BITS = 1
DESCRIPTION = "High-priority data is stored in RAD NVM. If set,
make INFO EVR, inhibit this flag for the rest of
this interaction-session, and continue normally.
Valid: 0=False, 1=True"
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = MEMORY_LOAD_FLAG
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 18
BITS = 3
DESCRIPTION = "Indicates that status of the memory load. Valid:
0=IDLE, 1=Currently loading to scratch,
2=checksum is good, 3=checksum is bad,
4=patching to final destination, 5=verifying
final memory, 6=successful, 7=failed."
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = MEMORY_ERROR_FLAG
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 21
BITS = 1
DESCRIPTION = "Indicates an overall memory error occurred.
Valid: 0=False, 1=True"
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = COMMUNICATION_STRING_ID
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 22
BITS = 2
DESCRIPTION = "Identifies RCE communications string used.
Valid: 0=RCE A, 1=RCE B, 2=BOTH sides occurred."
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = SOLAR_EVENT_STATUS
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 24
BITS = 1
DESCRIPTION = "RAD has detected a rate above the solar event
threshold. 0=normal levels, 1=solar event."
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = WAKE_UP_STATUS
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 25
BITS = 1
DESCRIPTION = "Indicates how instrument woke up. Valid:
0 = nominal wake, internal timer expired.
1 = premature wake-up, either initial power on,
or line toggle from RCE."
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = MODE_STATUS
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 26
BITS = 1
DESCRIPTION = "Indicates current mode of instrument.
Valid: 0=SCIENCE, 1=CHECKOUT"
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = INTERNAL_ISSUES_FLAG
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 27
BITS = 1
DESCRIPTION = "Indicates an internal issue has occurred. The
observation data should be looked over for
messages about the issue.
Valid: 0=False, 1=True"
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = COMMAND_CONDITION_CODE
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 28
BITS = 5
DESCRIPTION = "Frame command condition code. Valid: 0=reserved;
1=nominal execution; 2=Indicates a framing error
in the received command. For a UART port, this
indicates that a byte was received without a
valid stop bit. For HSS instruments, this
indicates that a frame signal was removed and a
non-integer number of bytes was received.
3=Indicates that the recipient lost data due to
an overrun condition. Should not happen if flow
control is used and is working properly.4=For
UART port only, indicates that the recipient
detected bad parity on a received byte in a
command.5=unused; 6=Op code not defined for this
instrument; 7=Instrument does not support
specified error control type; 8=unused;
9=Reserved Status Flags are unexpected.
10=condition code is not meaningful; 11=Data
present was set, but data length was missing or
zero, or the frame length was inconsistent with
the data length field. 12=checksum or crc failed;
13=instrument in the wrong state or mode to
process this command. 14=Invalid, inconsistent or
unexpected data for this opcode; 15=Stop
iterating a command; 16-17=unused; 18=priority
data"
END_OBJECT = BIT_COLUMN
END_OBJECT = COLUMN
OBJECT = COLUMN
NAME = DATA_LENGTH
DATA_TYPE = MSB_UNSIGNED_INTEGER
START_BYTE = 9
BYTES = 4
DESCRIPTION = "Length in bytes of the data."
END_OBJECT = COLUMN
|