Before You Download In Run Mode; Downloading In Run Mode; Exiting Run Mode Edit - Siemens SIMATIC S7-200 System Manual

Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

Before You Download in RUN Mode

RUN mode editing allows you to download your program edits while the CPU is in
RUN mode. To decide whether to download your program to the CPU in RUN
mode or in STOP mode, consider the following facts:
If the control logic for an output is deleted in a RUN mode edit, the output
maintains its last state until the next power cycle or transition to STOP mode.
If HSC or PTO/PWM functions which were running are deleted in a RUN mode
edit, then these functions continue to run until the next power cycle or transition
to STOP mode.
If ATCH instructions are deleted in a RUN mode edit but the interrupt routine
itself is not deleted, the interrupt continues to execute until the power cycle or
transition to STOP mode. Likewise, if DTCH instructions are deleted, the
interrupts are not shut down until the next power cycle or transition to STOP
mode.
If ATCH instructions are added in a RUN mode edit and are conditional on the
first scan flag, these events are not activated until the next power cycle or
STOP to RUN mode transition.
If an ENI instruction is deleted in a RUN mode edit, the interrupts continue to
operate until the next power cycle or transition from RUN to STOP mode.
If the table address of a receive box is modified in a RUN mode edit and the
receive box is active at the time of the switch over from old program to new
program is made, the data received is written to the old table address. NETR
and NETW instructions will function similarly.
Logic conditional on the first scan flag is not executed until RUN mode is
entered as a result of a power cycle or a transition from STOP to RUN mode,
because the first scan flag is not affected by a RUN mode edit.

Downloading in RUN Mode

To download a program in RUN mode, select the download button on the toolbar or
select File > Download from the menu bar. If the program compiles successfully,
it is downloaded to the CPU. The CPU processing is indicated on a progress bar.
Note that you can only download the program block to the CPU. For the download
to be enabled, the following conditions must be met:
The CPU must support RUN mode edits.
The compile operation must have completed with no errors.
Communication between the computer running STEP 7 Micro/WIN 32 and the
CPU must be error-free.

Exiting RUN Mode Edit

To exit RUN Mode editing, select Debug > Program Edit in RUN and click on the
checkmark to remove it. If you have changes that have not been saved, you can
choose whether to continue editing, download changes and exit RUN mode
editing, or exit without downloading.
S7-200 Programmable Controller System Manual
A5E00066097-02
Basic Concepts for Programming an S7-200 CPU
4-41

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents