Hide thumbs Also See for S7-1200:
Table of Contents
Online and diagnostic tools
14.12 Downloading in RUN mode
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.
You can make the following changes in program blocks and tags and download them in
RUN mode:
• Create, overwrite, and delete Functions (FC), Function Blocks (FB), and Tag tables.
• Create and delete Data Blocks (DB); however, DB structure changes cannot be
• 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 you
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
download completes.
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.
Instruction
DataLogCreate
DataLogOpen
DataLogWrite
DataLogClose
DataLogNewFile
READ_DBL
WRIT_DBL
RTM
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 operation in the current execution of the OB.
812
overwritten. Initial DB values can be overwritten. You cannot download a web server
DB (control or fragment) in RUN mode.
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
RET_VAL = W#16#82C0
RET_VAL = W#16#82C0
RET_VAL = 0x80C0
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Table of Contents
loading

Table of Contents