Siemens CPU 948 Programming Manual page 495

Simatic s5 s5-155u
Table of Contents

Advertisement

Calling test functions in SOFT
STOP
Executing the function and
specifying another
breakpoint
Cancelling the
breakpoint
Aborting the function
CPU 948 Programming Guide
C79000-G8576-C848-04
You can also call the "program test" function and specify an initial
breakpoint when the CPU is in the soft STOP mode. The CPU
remains in the soft STOP mode, and you can execute either a COLD
RESTART or a MANUAL WARM RESTART. The CPU processes
the program up to the marked operation and it proceeds as outlined
above.
Initial situation:
the CPU has processed the 1st break point.
To continue the function, you have two possibilities:
1. Specify the next operation as the following breakpoint:
Move the cursor down to the next operation to specify the following
breakpoint.
The CPU continues by processing this operation up to the operation
boundary. Then the CPU outputs the data and waits for further
instructions from the PG. However, if a nested program
execution level interrupts operation processing at the following
breakpoint, the CPU processes the nested program first. Then
the CPU returns to the 2nd breakpoint that you specified.
Note
You cannot specify a following breakpoint when the CPU is in
the STOP mode.
2. Specify a new breakpoint:
At the PG, specify any other operation in the same block
or in a different block. The CPU continues program processing
until it reaches the new breakpoint. The CPU processes the
operation up to the operation boundary, then it outputs the data.
You can cancel the breakpoint by pressing the <BREAK> key if the
CPU has not reached this breakpoint. After that you can specify a new
breakpoint or terminate the program test.
You can abort the "program test" function during program processing
and when the CPU is in the soft STOP mode by calling the "program
test end" function. The CPU goes into the STOP mode (or stays in
STOP). The STOP-LED flashes slowly. BEARBE is marked in the
control bits display. Afterwards a COLD RESTART is required.
The function is also aborted if an interface error occurs during the
"program test" function (i.e., the cable between the PG and the
programmable controller is disconnected).
PG Functions
11 - 11

Advertisement

Table of Contents
loading

Table of Contents