Software Upgrade; I/O Modules (Fm, Cp Modules) - Siemens SINUMERIK 840D sl Function Manual

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

13.7.7

Software upgrade

A general PLC reset should be performed to achieve a defined initial state before the PLC
software is upgraded. In this case, among other things, all user data (program and data blocks)
will be deleted. The PLC general reset is described in:
References:
Commissioning Manual CNC: NCK, PLC, Drive, General Tips,
Section: PLC general reset
Generating a new SIMATIC S7 project
In normal cases, the new PLC basic program is to be linked-in for a new NCU software version.
The basic programs blocks must be loaded into the user project for this purpose. If the following
program and data blocks are already in the user project, then these should not be transferred
with the blocks of the basic PLC program: OB1, OB40, OB82, OB86, OB100, FC12 and DB4.
These have been possibly changed by the user, and should not be overwritten. The new basic
program must be linked with the user program. The following procedure must be taken into
account:
1. Generate the text or source file of all user blocks before copying the basic PLC program.
2. Copy the new basic program blocks into the SIMATIC S7 project (for a description, see
Section "Application of the basic program (Page 826)")
3. All user programs "*.awl" must be recompiled in the correct order! (see also: " Machine
program (Page 827)"):
4. This newly compiled SIMATIC S7 project should then be downloaded with STEP 7 into the
PLC.
However, it is normally sufficient to recompile the organization blocks (OBs) and the instance
data blocks of the S7 project. This means before upgrading, only the sources for the
organization blocks and the instance data blocks have to be generated.
NC variables
The latest NC VAR selector can be used for each NC software version (even earlier versions).
The variables can also be selected from the latest list for earlier NC software versions. The
data content in DB120 (default DB for variables) does not depend on the software status. That
is, variables selected in an older software version need not be reselected when the software
is upgraded.
13.7.8

I/O modules (FM, CP modules)

Additional packages for STEP 7 are generally required for more complex I/O modules (FM,
CP modules). Support blocks (FC/FB) are provided in these additional packets. The blocks
contain specific functions for operating the relevant module. These functions can be
parameterized and called in the user program.
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
P3: Basic PLC program for SINUMERIK 840D sl
13.7 Starting up the PLC program
831

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents