Siemens SINUMERIK 840Di Function Manual page 1208

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Detailed Description
2.4 Starting up the PLC program
2.4.6
PLC series start-up, PLC archives
Once the blocks have been loaded to the PLC CPU, a series archive can be generated via
the HMI operator interface to back up data on the machine. To ensure data consistency, this
backup must be created immediately after block loading when the PLC is in the Stop state. It
does not replace the SIMATIC project backup as the series archive saves binary data only,
and does not back up, e.g., symbolic information. In addition, no CPU DBs (SFC 22 DBs) or
SDBs generated in the CPU are saved.
Alternatively, the PLC series archive can be generated directly from the associated SIMATIC
project.
To do this, select the "Options" → "Settings" menu item and the "Archive" tab in STEP7. This
contains an entry "SINUMERIK (*.arc)", which must be selected to create a series start-up
file. After selection of the archive, select the "File" → "Archive" menu item. The relevant
series archive will then be generated. If the project contains several programs, the program
path can be selected. A series archive is set up for the selected program path. All blocks
contained in the program path are incorporated into the archive, except for CPU-DBs (SFC
22 DBs).
Automation:
The process of generating a series archive can be automated (comparable to the command
interface in STEP7). In generating this series archive, the command interface is expanded.
The following functions are available for this expansion:
The functions (shown here in VB script) are not available until server instantiations and
Magic have been called:
Const S7BlockContainer = 1138689, S7PlanContainer = 17829889
Const S7SourceContainer = 1122308
set S7 = CreateObject("Simatic.Simatic.1")
instantiate rem STEP7 command interface
Set S7Ext = CreateObject("SimaticExt.S7ContainerExt")
Call S7Ext.Magic("")
Functions:
Function Magic(bstrVal As String) As Long
Function MakeSeriesstart-up(FileName As String, Option As Long, Container As
S7Container) As Long
2-14
PLC Basic Program Solution Line (P3 sl)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents