Technical data
Appendix
27.1 Operating Modes
Programming with STEP 7
Manual, 05/2010, A5E02789666-01 569
27.1.4 RUN Mode
In RUN mode, the CPU executes the cyclic, time-driven, and interrupt-driven program, as follows:
• The process image of the inputs is read in.
• The user program is executed.
• The process-image output table is output.
The active exchange of data between CPUs using global data communication (global data table)
and using communication SFBs for configured connections and using communication SFCs for
non-configured connections is only possible in RUN mode.
The following table shows an example of when data exchange is possible in different operating
modes:
Type of Communication Mode of CPU 1 Direction of Data
Exchange
Mode of CPU 2
Global data communication RUN ↔ RUN
RUN → STOP/HOLD
STOP ← RUN
STOP X STOP
HOLD X STOP/HOLD
One-way communication RUN → RUN
with communication SFBs RUN → STOP/HOLD
Two-way with communication SFBs RUN ↔ RUN
One-way communication RUN → RUN
with communication SFCs RUN → STOP/HOLD
Two-way with communication SFCs RUN ↔ RUN
↔ means data exchange is possible in both directions
→ means data exchange is possible in only one direction
X means data exchange is not possible