Sunteți pe pagina 1din 22

Documenting, Saving, Archiving

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.1
Objectives

Upon completion of this chapter the participant will ...


... be familiar with the documentation possibilities for commenting
on blocks and be able to apply these
... understand the "Manage Multilingual Texts" function for
projects
... be able to print out documented programs
... understand the memory concept of SIMATIC S7-300™/400™
and the resulting possibilities for program modifications
... be able to make a "PLC Copy" (online data storage)
... be able to load/read a program to/from a Flash EPROM
Memory Card
... be able to archive/retrieve a project on/from a diskette

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.2
Overview of Documentation Tools

 Network title
 Network comment
 Statement comment
 Program overview
 Cross references
 Assignment of I/Q/M/T/C
 Checklists
 Symbol table
 Configuration
 Network configuration

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.3
Block Documentation

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.4
Page Setup

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.5
Print Preview

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.6
Other Documentation Tools

Reference Program structure


data

Cross references

Assignment of Unused addresses


I/Q/M/T/C

Checklists Addresses without


symbols

Symbol table

Configuration

Network
configuration

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.7
Managing Multilingual Project Documentation

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.8
Overview: Saving User Data
Uploading the program 1. Create a new S7 program in the SIMATIC® Manager
from the CPU to the 2. Switch to the online view
PG/PC (PLC copy) 3. Open the new S7 program and select the "Blocks" folder
4. SIMATIC® Manager -> PLC -> Upload
Upload Station in the PG/PC • SIMATIC® Manager ->PLC -> Upload Station
Load program from 1. Open two windows in the SIMATIC® Manager:
PG/PC to Memory Card... "Blocks folder of the S7 program" and "S7 Memory Card"
... inserted in PG / PC 2a. Use drag & drop to copy blocks to the "S7 Memory Card"
or
... inserted in CPU 2b. With the "Blocks" folder of an S7 program highlighted, select:
SIMATIC® Manager -> PLC -> Download user program to memory card
Copy program
from CPU to
Memory Card • SIMATIC® Manager -> PLC -> Copy RAM to ROM...
(only S7-300™)
Project archiving 1. Select the CPU on whose Memory Card the project data are to
on Memory Card be saved
(only S7-400™) 2. SIMATIC® Manager -> PLC -> Save Project on Memory Card
Project archiving 1. SIMATIC® Manager -> File -> Archive
on diskette 2. Select project to be archived
3. Specify name and storage path of the archive file and start function
4. In the Windows Explorer, copy the archive file onto diskette

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.9
Uploading a Program from the CPU to the PG

System data blocks

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.10
Memory Concept of the S7-300™ until Oct. 2002
Load memory:
Blocks:
• Logic blocks
(OB,FC,FB)
• Data blocks
(DB) RAM Flash-
Comments Additional info. EPROM

Symbols Work memory:


• OB,FC,FB
Blocks:
• Logic blocks • DB
n. reten. reten.
(OB,FC,FB)
• Data blocks
(DB) with Power System memory:
ON without • PII, PIQ
battery • M, T, C
backup n. reten. reten.
With Power
Blocks: OFF without
• Logic blocks battery
(OB,FC,FB) Retentive memory: backup
• Data blocks Flash EPROM • Retentive
(DB) Memory Card in M, T, C
Additional info. PG/PC (inserted • Retent. data blocks
later in CPU)

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.11
Loading Blocks into /out of Flash EPROM Memory Card

"Load in EPROM" Load memory


Flash EPROM

After inserting
the memory
"Load" Load memory card:
internal RAM memory reset
request
and copying
"Load in PG" in work
Sections memory
relevant for
execution

Work memory
RAM

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.12
Memory Concept of the S7-300™ as of Oct. 2002

Micro Memory Card


(CPU Load Memory)
Blocks:
• Logic blocks
(OB,FC,FB)
Comments • Data blocks
(DB)
Symbols • System data
Load
Blocks:
Work memory: Warm
• Logic blocks
(OB,FC,FB) Sections of the Power Restart
• Data blocks • logic blocks OFF after
(DB) • data blocks Power
ON
relevant for execution

Blocks: System memory:


• Logic blocks • PII, PIQ Power
(OB,FC,FB) • Local data OFF
• Data blocks Micro Memory Card retentive
(DB) in the PG • M, T, C
(inserted later in the n. reten.
CPU)

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.13
Memory Concept of the S7-400™
Load memory:
Blocks:
• Logic blocks
(OB,FC,FB)
• Data blocks
(DB) RAM Flash-
Comments Additional info EPROM

Symbols Work memory:


• OB,FC,FB
Blocks:
• DB
• Logic blocks
(OB,FC,FB) Backup
• Data blocks via
(DB) System memory: battery
• PII, PIQ
• M, T, C

Blocks:
• Logic blocks
(OB,FC,FB)
• Data blocks Flash EPROM
(DB) Memory Card in
Additional info. PG/PC (inserted
later in CPU)

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.14
Copying a Program onto a Memory Card

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.15
Saving a Project on a Memory Card

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.16
Determining the Size of a Project

Right mouse button

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.17
Archiving on Diskette

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.18
Exercise: Documenting a Block and Printing It Out

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.19
Exercise: Uploading the Program from the CPU to the PG (PLC Copy)

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.20
Exercise: Archiving a Project onto Diskette

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.21
Exercise: Deleting a Project and Retrieving It from the Diskette

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_12E.22

S-ar putea să vă placă și