RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
390
Ctrl Command read_status
Function returns the RTC
®
5 list status (see "List Status", page 72).
Call
Status = read_status()
Result list status as an unsigned 32-bit value:
Bit # Name Description
Bit #0 (LSB) LOAD1 = 1: indicates that the input pointer is currently in “List 1”, i.e. that all following
list commands will be stored in “List 1”. LOAD1 is set if the input pointer is
set into “List 1” (e.g. via set_start_list_pos). LOAD1 is reset if a
set_end_of_list command is written to “List 1” (READY1 set) or if LOAD2 is
set (e.g. via set_start_list_pos).
Bit #1 LOAD2 = 1: indicates that the input pointer is currently in “List 2”, i.e. that all following
list commands will be stored in “List 2”. LOAD2 is set if the input pointer is
set into “List 2” (e.g. via set_start_list_pos). LOAD2 is reset if a
set_end_of_list command is written to “List 2” (READY2 set) or if LOAD1 is
set (e.g. via set_start_list_pos).
Bit #2 READY1 = 1: indicates that during the loading procedure a set_end_of_list command was
written to “List 1”. READY1 is reset if LOAD1 is newly set (e.g. via
set_start_list_pos).
Bit #3 READY2 = 1: indicates that during the loading procedure a set_end_of_list command was
written to “List 2”. READY2 is reset if LOAD2 is newly set (e.g. via
set_start_list_pos).
Bit #4 BUSY1 = 1: indicates that “List 1” is executing at the moment (or more precisely: that the
output pointer currently resides in “List 1” after execution of “List 1“ or
“List 2“ was started). BUSY1 is set via starting execution of “List 1” (e.g. via
execute_list_pos) or via a list change to “List 1” (automatic list change or
jump). BUSY1 is reset if set_end_of_list is executed in “List 1”, if a jump into
“List 2” is executed (e.g. list_jump_pos), if “List 2” is started (e.g. via
execute_list_pos) or if stop_execution is executed.
Bit #5 BUSY2 = 1: indicates that “List 2” is executing at the moment (or more precisely: that the
output pointer currently resides in “List 2” after execution of “List 1“ or
“List 2“ was started). BUSY2 is set via starting execution of “List 2” (e.g. via
execute_list_pos) or via a list change to “List 2” (automatic list change or
jump). BUSY2 is reset if set_end_of_list is executed in “List 2”, if a jump into
“List 1” is executed (e.g. list_jump_pos), if “List 1” is started (e.g. via
execute_list_pos) or if stop_execution is executed.
Bit #6 USED1 = 1: indicates that a set_end_of_list command was reached during processing of
“List 1”. USED1 is reset when LOAD1 is set (e.g. via set_start_list_pos).
Bit #7 USED2 = 1: indicates that a set_end_of_list command was reached during processing of
“List 2”. USED2 is reset when LOAD2 is set (e.g. via set_start_list_pos).
Bits #8…#31 1