Loading documents preview...
Hardware Configuration and Memory Concept
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.1
Information and Training Center Knowledge for Automation
Memory Concept of the S7-300 Load memory: Blocks: • Logic blocks (OB,FC,FB) • Data blocks (DB) Additional info.
Comments
Blocks: • Logic blocks (OB,FC,FB) • Data blocks (DB) Additional info.
SIMATIC S7 Siemens AG 1999. All rights reserved.
FlashEPROM
Work memory: • OB,FC,FB
Symbols Blocks: • Logic blocks (OB,FC,FB) • Data blocks (DB)
RAM
•
DB n. reten.
reten.
System memory: • PII, PIQ • M, T, C
with Power ON without battery backup
n. reten.
reten.
Retentive memory:
With Power OFF without battery backup
• Retentive M, T, C • Retent. data blocks
Flash EPROM Memory Card in PG (subsequently inserted in CPU) Date: File:
04.09.2013 SYH_06E.2
Information and Training Center Knowledge for Automation
Memory Concept of the S7-400 Load memory: Blocks: • Logic blocks (OB,FC,FB) • Data blocks (DB) Additional info
Comments
Blocks: • Logic blocks (OB,FC,FB) • Data blocks (DB)
SIMATIC S7 Siemens AG 1999. All rights reserved.
FlashEPROM
Work memory: • OB,FC,FB
Symbols
Blocks: • Logic blocks (OB,FC,FB) • Data blocks (DB) Additional info.
RAM
• DB
System memory: • PII, PIQ • M, T, C
Backup via battery
Flash EPROM Memory Card in PG (subsequently inserted in CPU) Date: File:
04.09.2013 SYH_06E.3
Information and Training Center Knowledge for Automation
Loading Blocks into /out of Flash EPROM Memory Card
Load memory Flash EPROM
"Load in EPROM"
"Load"
Load memory internal RAM
"Load in PG" Sections relevant for execution
After inserting the memory card: memory reset request and copying in work memory
Work memory RAM
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.4
Information and Training Center Knowledge for Automation
Hardware Configuration and Parameter Assignment Configuration
Parameter-assignment
Assignment of racks, blocks and distributed I/O in the Station window of HW Config. You can select the components from a hardware catalog.
Establishing the characteristics of parameterassignable blocks, e.g: startup characteristics, retentive areas, etc.)
Preset configuration
Planned hardware configuration and parameter assignment.
Actual configuration
Actual configuration and parameter assignment of an existing hardware.
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.5
Information and Training Center Knowledge for Automation
Inserting a Station
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.6
Information and Training Center Knowledge for Automation
Starting HW Config
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.7
Information and Training Center Knowledge for Automation
Generating a Hardware Preset Configuration
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.8
Information and Training Center Knowledge for Automation
Module Address Overview
“Address Overview”
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.9
Information and Training Center Knowledge for Automation
CPU Properties
2x
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.10
Information and Training Center Knowledge for Automation
CPU Properties: General
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.11
Information and Training Center Knowledge for Automation
CPU Properties: Startup
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.12
Information and Training Center Knowledge for Automation
CPU Properties: Retentive
Only relevant if CPU has no backup battery
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.13
Information and Training Center Knowledge for Automation
CPU Properties: Cycle / Clock Memory
Clock memory bit Frequency (Hz) Period (s)
SIMATIC S7 Siemens AG 1999. All rights reserved.
7
6
0.5 0.62 2
1.6
5
4
3
2
1
0
1
1.25
2
2.5
5
10
1
0.8
0.5
0.4
0.2
0.1
Date: File:
04.09.2013 SYH_06E.14
Information and Training Center Knowledge for Automation
CPU Properties: Protection
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.15
Information and Training Center Knowledge for Automation
CPU Properties: Diagnostics / Clock
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.16
Information and Training Center Knowledge for Automation
Saving the HW Preset Configuration and Downloading it in Module
Download (only when CPU is in STOP mode)
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.17
Information and Training Center Knowledge for Automation
Uploading the HW Actual Configuration to the PG
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.18
Information and Training Center Knowledge for Automation
Displaying Hardware Diagnostics in the SIMATIC Manager
2x
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.19
Information and Training Center Knowledge for Automation
Possible Problems with Configuration
Situation
Result/Remedy
In S7-300, gaps in configuration
Configuration cannot be compiled
Incorrect CPU (e.g. CPU 315-2DP instead of CPU 314)
Configuration cannot be downloaded
Analog module in incorrect slot
CPU goes in Stop mode because of a parameter assignment error
Incorrect measuring range for analog module
Analog module signals group error because of incorrect parameter assignment
After a memory reset, different parameter assignment of modules
Reload configuration
Not possible to open HW Config.
Create HW station or "Upload Station"
Module parameters cannot be modified
Open the station offline
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.20
Information and Training Center Knowledge for Automation
Variable Addressing
2x
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.21
Information and Training Center Knowledge for Automation
Accessing the Symbol Table
Once with right
SIMATIC S7 Siemens AG 1999. All rights reserved.
Date: File:
04.09.2013 SYH_06E.22
Information and Training Center Knowledge for Automation
Exercise: Reading Out and Adapting the Actual Configuration
Step
What to Do
Result
1
Start the SIMATIC Manager
The tool is started
2
Open the project "My Project"
The project structure is displayed
3
Download the actual configuration with PLC -> Upload
A new HW station is created
4
Check whether the correct modules (order numbers) are entered
???
5
Enter the correct order numbers for the modules
The parameter blocks of the CPU are displayed
6 7
SIMATIC S7 Siemens AG 1999. All rights reserved.
Save the configuration as "My Station" and download the configuration If you have an S7-400 training unit, adapt the addresses (see text)
Date: File:
04.09.2013 SYH_06E.23
The addresses are the same as the S7-300 training unit, version B
Information and Training Center Knowledge for Automation
Exercise: Assign Parameters to Clock Memory and Test It
Step
What to Do
Result
1
In the CPU assign parameters to a clock memory MB 10
2
Save and download the configuration in the CPU
3
Check the function by programming an OB 1 with the statements L MB 10, T QB 9 (QB 5)
SIMATIC S7 Siemens AG 1999. All rights reserved.
MB 10 flashes
Date: File:
04.09.2013 SYH_06E.24
QB9 (QB5) on the simulator should flash
Information and Training Center Knowledge for Automation