Date: 21.04.23File: PRO1_04E.1
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Hardware Configuration and Memory Concept
Date: 21.04.23File: PRO1_04E.2
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Memory Concept of the S7-300
Comments
Symbols
Blocks:• Logic blocks (OB,FC,FB)• Data blocks (DB)
Flash EPROM Memory Card in PG(subsequently inserted in CPU)
Blocks:• Logic blocks (OB,FC,FB)• Data blocks (DB)Additional info.
System memory:
• PII, PIQ• M, T, C
• Retentive M, T, C• Retent. data blocks
Retentive memory:
With PowerOFF without battery backup
n. reten. reten.
with PowerON without batterybackup
RAM
Blocks: • Logic blocks (OB,FC,FB) • Data blocks (DB)Additional info.
Load memory:
Flash-EPROM
Work memory:
• OB,FC,FB
• DBn. reten. reten.
Date: 21.04.23File: PRO1_04E.3
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Memory Concept of the S7-400
Comments
Symbols
Blocks:• Logic blocks (OB,FC,FB)• Data blocks (DB)
Flash EPROM Memory Card in PG(subsequently inserted in CPU)
Blocks:• Logic blocks (OB,FC,FB)• Data blocks (DB)Additional info.
RAM
Blocks: • Logic blocks (OB,FC,FB) • Data blocks (DB)Additional info
Load memory:
Flash-EPROM
System memory:
• PII, PIQ• M, T, C
Work memory: • OB,FC,FB
• DB
Backupvia battery
Date: 21.04.23File: PRO1_04E.4
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Loading Blocks into /out of Flash EPROM Memory Card
Load memoryinternal RAM
"Load"
Load memory Flash EPROM
"Load in EPROM"
Work memoryRAM
After insertingthe memorycard:memory resetrequestand copyingin workmemorySections
relevant for execution
"Load in PG"
Date: 21.04.23File: PRO1_04E.5
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Hardware Configuration and Parameter Assignment
Actual configuration Actual configuration and parameter assignment of an existing hardware.
Parameter-assignment Establishing the characteristics of parameter- assignable blocks, e.g: startup characteristics, retentive areas, etc.)
Preset configuration Planned hardware configuration and parameter assignment.
Configuration Assignment of racks, blocks and distributed I/O in the Station window of HW Config.You can select the components from a hardware catalog.
Date: 21.04.23File: PRO1_04E.6
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Inserting a Station
Date: 21.04.23File: PRO1_04E.7
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Starting HW Config
Date: 21.04.23File: PRO1_04E.8
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Generating a Hardware Preset Configuration
Date: 21.04.23File: PRO1_04E.9
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Module Address Overview
“Address Overview”
Date: 21.04.23File: PRO1_04E.10
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
CPU Properties
2x
Date: 21.04.23File: PRO1_04E.11
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
CPU Properties: General
Date: 21.04.23File: PRO1_04E.12
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
CPU Properties: Startup
Date: 21.04.23File: PRO1_04E.13
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
CPU Properties: Retentive
Only relevant if CPU has no backupbattery
Date: 21.04.23File: PRO1_04E.14
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
CPU Properties: Cycle / Clock Memory
Clock memory bit 7 6 5 4 3 2 1 0
Frequency (Hz) 0.5 0.62 1 1.25 2 2.5 5 10
Period (s) 2 1.6 1 0.8 0.5 0.4 0.2 0.1
Date: 21.04.23File: PRO1_04E.15
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
CPU Properties: Protection
Date: 21.04.23File: PRO1_04E.16
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
CPU Properties: Diagnostics / Clock
Date: 21.04.23File: PRO1_04E.17
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Saving the HW Preset Configuration and Downloading it in Module
Download(only when CPUis in STOP mode)
Date: 21.04.23File: PRO1_04E.18
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Uploading the HW Actual Configuration to the PG
Date: 21.04.23File: PRO1_04E.19
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Displaying Hardware Diagnostics in the SIMATIC Manager
2x
Date: 21.04.23File: PRO1_04E.20
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Possible Problems with Configuration
Configuration cannot be compiledIn S7-300, gaps in configuration
Situation Result/Remedy
CPU goes in Stop mode because of a parameter assignment errorAnalog module in incorrect slot
Analog module signals group errorbecause of incorrect parameterassignment
Incorrect measuring range for analog module
Reload configurationAfter a memory reset, different parameter assignment of modules
Create HW station or "Upload Station"Not possible to open HW Config.
Open the station offlineModule parameters cannot be modified
Configuration cannot be downloadedIncorrect CPU (e.g. CPU 315-2DP instead of CPU 314)
Date: 21.04.23File: PRO1_04E.21
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Variable Addressing
2x
Date: 21.04.23File: PRO1_04E.22
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Accessing the Symbol Table
Once with right
Date: 21.04.23File: PRO1_04E.23
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Reading Out and Adapting the Actual Configuration
Start the SIMATIC Manager
Step What to Do Result
1 The tool is started
2 Open the project "My Project" The project structure is displayed
3 Download the actual configuration withPLC -> Upload
A new HW station is created
4Check 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
Save the configuration as"My Station" and download the configuration
7 If you have an S7-400 training unit,adapt the addresses (see text)
The addresses are the same as theS7-300 training unit, version B
Date: 21.04.23File: PRO1_04E.24
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Assign Parameters to Clock Memory and Test It
In the CPU assign parameters to a clock memory MB 10
Step What to Do Result
1
3Check the function by programming an OB 1 with the statementsL MB 10, T QB 9 (QB 5)
QB9 (QB5) on thesimulator should flash
Save and download the configuration in the CPU2
MB 10 flashes