6.4.2 List Status
Dependent on the command input and output
statuses, lists receive particular list status values
(compare to
Chapter 6.4.3 "List Execution Status",
page
108).
By control command read_status, the current list
status values can be queried – separately for both
lists.
• LOAD list status
The
LOAD list status LOAD1
that the input pointer is currently in this list. In
any case, the
LOAD list status
not set.
• READY list status
The
READY list status READY1
when a
set_end_of_list
during the loading procedure. The
READY list status
is reset when the
LOAD list status
of the list is newly set.
• BUSY list status
The
BUSY list status BUSY1
that the output pointer is currently in this list
after list execution (of "List 1" or "List 2") has
been started. In any case, the
the other list are then not set. The
of a list is reset when
set_end_of_list
(or is alternating set, if automatic list changing
has been previously activated). If a list is opened
for loading while still being processed, its
BUSY list status
still remains set.
• USED list status
The
USED list status USED1
a
set_end_of_list
is reached during processing.
The
USED list status
is reset when the
LOAD list status
of the list is set.
RTC6 boards
Doc. Rev. 1.0.21 en-US
6 Developing RTC6-User Programs
or
LOAD2
indicates
of the other list is
or
READY2
is set
is written into the list
or
BUSY2
indicates
BUSY list status
of
BUSY list status
is executed
or
USED2
is set when
Notes
• If the list status is queried during processing of a
subroutine in the protected
area "List 3", then the status is returned of the list
"List 1" or "List 2" in which the output pointer
most recently resided (typically from where the
subroutine has been originally called).
• If list execution is interrupted (by pause_list,
stop_list
or set_wait), then the above-
mentioned status values remain unchanged.
• If list execution is aborted (by
an
External
Stop), the
both lists (as by initialization). See also
load_list(
ListNo
= 3 ) .
• If you want to explicitly set the
ListNo
for a list
(for example, after abortion by
stop_execution
or an
to a free position Pos of this list
set_end_of_list
by set_start_list_pos( ListNo, Pos ) and execute
by execute_list_pos( ListNo, Pos ). If no other
list has been active at this moment, then list
ListNo has the
USED list status
• When interpreting the status values read back by
read_status, always take into account the
programmed loading or execution processes of
the lists (see command description).
RTC6 List Memory
stop_execution
or
USED list status
is set for
USED list status
External
Stop), then load a
afterward.
107
Need help?
Do you have a question about the RTC6 PCIe Board and is the answer not in the manual?