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.
Note
The results of operation processing are not output in each of the
subsequent 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).
The "status" function is possible in the following modes. RUN,
RESTART (OB 20, OB 21, OB 22) soft STOP (OB 39 only).
DO FW/DO DW operations
While the "status block" function is active, if the cursor is positioned
exactly on the operation following DO FW or DO DW, the message
"Statement not processed" appears on the PG.
Remedy:
Avoid positioning the cursor on the operation following DO FW or
DO DW.
PG Functions
CPU 948 Programming Guide
C79000-G8576-C848-04
11 - 9
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 ...