Online and diagnostic tools
14.12 Downloading in RUN mode
S7-1200 Programmable controller
812 System Manual, 03/2014, A5E02486680-AG
Note
Before you can download your program in RUN mode, the CPU must support changes in
RUN mode, the program must compile with no errors, and the communication between
STEP
7, and the CPU must be error-free.
owing changes in program blocks and tags and download them in
Create, overwrite, and delete Functions (FC), Function Blocks (FB), and Tag tables.
Create and delete Data Blocks (DB); however, DB structure changes cannot be
overwritten. Initial DB values can be overwritten. You cannot download a web server
DB (control or fragment) in RUN mode.
Overwrite Organization Blocks (OB); however, you cannot create or delete OBs.
You can download a maximum number of twenty blocks in RUN mode at one time. If y
ou
must download more than twenty blocks, you must place the CPU in STOP mode.
Once you initiate a download, you cannot perform other tasks in STEP
7 until the
Instructions that might fail due to "Download in RUN mode"
The following instructions might experience a temporary error when download in run
changes are being activated in the CPU. The error occurs when the instruction is initiated
while the CPU is preparing to activate the downloaded changes. During this time, the CPU
suspends initiation of user-program access to the Load Memory, while it completes in-
progress user-program access to Load Memory. This is done so that downloaded changes
can be activated consistently.
Response while Activation is Pending
STATUS = W#16#80C0, ERROR = TRUE
STATUS = W#16#80C0, ERROR = TRUE
STATUS = W#16#80C0, ERROR = TRUE
STATUS = W#16#80C0, ERROR = TRUE
STATUS = W#16#80C0, ERROR = TRUE
In all cases the RLO output from the instruction will be false when the error occurs. The error
is temporary. If it occurs, the instruction should be retried later.
Note
You must not retry the operatio
n in the current execution of the OB.