24
Date: 11.06.22 File: PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration and Memory Concept

Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

Embed Size (px)

Citation preview

Page 1: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

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

Page 2: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

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.

Page 3: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

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

Page 4: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

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"

Page 5: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

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.

Page 6: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

Date: 21.04.23File: PRO1_04E.6

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Inserting a Station

Page 7: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

Date: 21.04.23File: PRO1_04E.7

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Starting HW Config

Page 8: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

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

Page 9: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware 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”

Page 10: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

Date: 21.04.23File: PRO1_04E.10

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

CPU Properties

2x

Page 11: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

Date: 21.04.23File: PRO1_04E.11

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

CPU Properties: General

Page 12: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

Date: 21.04.23File: PRO1_04E.12

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

CPU Properties: Startup

Page 13: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

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

Page 14: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

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

Page 15: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

Date: 21.04.23File: PRO1_04E.15

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

CPU Properties: Protection

Page 16: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

Date: 21.04.23File: PRO1_04E.16

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

CPU Properties: Diagnostics / Clock

Page 17: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

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)

Page 18: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

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

Page 19: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

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

Page 20: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

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)

Page 21: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

Date: 21.04.23File: PRO1_04E.21

SIMATIC S7Siemens AG 1999. All rights reserved.

Information and Training CenterKnowledge for Automation

Variable Addressing

2x

Page 22: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

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

Page 23: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

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

Page 24: Date:17.12.2015 File:PRO1_04E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Hardware Configuration

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