RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
390
innovators for industry
Ctrl Command read_status
Function
returns the RTC
®
5 list status (see
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
). LOAD1 is reset if a
command is written to “List 1” (READY1 set) or if LOAD2 is
set (e.g. via
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
). LOAD2 is reset if a
command is written to “List 2” (READY2 set) or if LOAD1 is
set (e.g. via
Bit #2
READY1
= 1:
indicates that during the loading procedure a
command was
written to “List 1”. READY1 is reset if LOAD1 is newly set (e.g. via
Bit #3
READY2
= 1:
indicates that during the loading procedure a
command was
written to “List 2”. READY2 is reset if LOAD2 is newly set (e.g. via
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
) or via a list change to “List 1” (automatic list change or
jump). BUSY1 is reset if
is executed in “List 1”, if a jump into
“List 2” is executed (e.g.
), if “List 2” is started (e.g. via
) or if
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
) or via a list change to “List 2” (automatic list change or
jump). BUSY2 is reset if
is executed in “List 2”, if a jump into
“List 1” is executed (e.g.
), if “List 1” is started (e.g. via
) or if
is executed.
Bit #6
USED1
= 1:
indicates that a
command was reached during processing of
“List 1”. USED1 is reset when LOAD1 is set (e.g. via
Bit #7
USED2
= 1:
indicates that a
command was reached during processing of
“List 2”. USED2 is reset when LOAD2 is set (e.g. via
Bits #8…#31
1