11.2 PG Functions
Note
The terms used in this section for the PG functions may in some
cases differ from the terms in your PG software. Please refer to
your STEP 5 manual.
Calling and using functions
How to call and use the individual PG functions is described in the
manual for your PG.
Checkpoint
The PG functions are performed at defined checkpoints in the CPU.
In the CPU 948 there are four different checkpoints. Each of these
checkpoints has certain test functions assigned to it.
Checkpoint "Stop"
You can access PG functions that are permissible only in the STOP
mode at checkpoint "stop" (e.g. "start", "overall reset", "compress
memory" in the stop mode).
The "stop" checkpoint is located immediately before OB 39 is called
(the block for cyclic processing in the soft STOP mode).
Checkpoint "Cycle"
PG functions that you want to execute during cyclic program
processing are called at checkpoint "cycle" (e.g. "compress memory"
in the RUN mode, "stop", "status"). The "cycle" checkpoint is located
immediately before the updating of the process image of the inputs
(PII). At this point, the system program has not updated the PII yet.
Checkpoint "Test"
PG functions that you want to execute as soon as the next breakpoint
is reached are called at checkpoint "test" (in the program test), see
Section 11.2.3).
Checkpoint "General Functions"
This checkpoint exists both in the STOP and the RUN mode. Online
PG functions that can be executed in all operating modes of the
programmable controller are called at checkpoint "general functions".
These functions include "transfer block", "delete block", "status
variables". In the STOP mode, this checkpoint is located immediately
before OB 39 is called (the block for cyclic processing in the soft
STOP mode). During cyclic program processing, the checkpoint is
located after updating the process image of the inputs and before
calling OB 1.
PG Functions
CPU 948 Programming Guide
C79000-G8576-C848-04
11 - 5
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 ...