PG online function OUTPUT
ISTACK
You can get information about the status of the control bits and the
contents of the interrupt stack (ISTACK) by using die PG online
function OUTPUT ISTACK.
When the CPU goes into the STOP mode, the system program enters all
the information it requires for a warm restart in the ISTACK. This
information includes:
••
contents of registers,
••
contents of accumulators,
••
STEP address counter SAC
and
••
results codes
Depending on where the interruption leading to the STOP occurred,
the displayed information refers to user blocks or blocks of the system
program (OB 0).
These entries are a valuable aid in error diagnosis.
Before the actual ISTACK is output on the programmer, the status of
the control bits is displayed. The control bits mark the current
operating status and specific characteristics of the CPU and the user
program and provide additional information on the cause of an error.
You can call the ISTACK programmer function not only when the
CPU is in the STOP mode, but also when it is in the RESTART or
RUN mode. However, in the RESTART and RUN modes, you can
only display the control bits (i.e., the first page of ISTACK
information).
The meaning of the control bits and structure of the interrupt stack are
described in detail in Section 5.4.
Online function OUTPUT
BSTACK
You can display the contents of the block stack (BSTACK - see
section 3.2 "Nesting blocks") using the PG online function OUTPUT
BSTACK.
The BSTACK contains a listing of all blocks (blocks of the user
program and organization block OB 0 of the system program) called
in sequence and not completely processed when the CPU went into
the STOP mode. Since the BSTACK is filled from the bottom, the top
line of the BSTACK display contains the block that called the block
containing an error.
Error Information
CPU 948 Programming Guide
5 - 6
C79000-G8576-C848-04
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...