Technical data

Status block
You can call the "status" PG function to test related operational
sequences (STEP 5 operations) in one block at any location in the user
program.
The current signal status of operands, the accumulator contents, and
the RLO are output on the PG screen for every executed operation in
the block (i.e., step mode). You can also use this function to test the
parameter assignment of function blocks (i.e., field operation):
The signal status of the actual operands is displayed.
Calling the function and
specifying a breakpoint
When you call the "status" function on a PG and enter the type and
number of the block you want to test (possibly including the nesting
sequence and search key), you enter a breakpoint.
When the "status" function is called during program processing in the
RUN mode, program processing continues until it reaches the
operation marked by the specified breakpoint in the correct nesting
sequence. Then the system program executes each of the monitored
operations up to the operation boundary, outputting the processing
results to the PG.
Calling the function in the
STOP
mode
You can auch activate the STATUS function in the STOP mode. You
can then carry out either a COLD RESTART or a MANUAL WARM
RESTART. The CPU executes the program up to the marked
operation. The data for the desired operation are then output. This
means that the "Status" function is also suitable for, e.g., testing the
user program in restart or in the first cycle.
Note
The results of operation processing are not output in each of the
program cycles.
Nesting and interruptions
A sequence of operations marked by a breakpoint is completed even if
a different program execution level (e.g., an error OB or interrupt OB)
is activated and processed. With this you can see whether data has
been changed by nested program sections.
If an interruption in a nested program execution level puts the CPU
into the STOP mode, data is output up to the operation that was
executed before the program execution levels changed. The data of
the remaining operations is padded with zeros (the SAC is also 0).
If the CPU changes from one operating mode to another (e.g., RUN -
STOP - MANUAL WARM RESTART), the function remains active.
"Status" is terminated by pressing the abort key on the programmer.
PG Functions
CPU 928B Programming Guide
11 - 10 C79000-B8576-C898-01