• No results found

Saving the Setpoint Configuration and Downloading it in Modules

In document TIA Service Training 1 S (Page 116-121)

Fanwee MPI a.. I add... Q... Commit 1 My Project\SIMATIC 300(1)

2 LusftungInitialsierung‘57_300 Ration 3 My_Project1,S7_300 Statim 4 SE.118‘2_,RS7 31309tabon

D 2 Download SES 7 331.M601-n48o

7 11 Al2x1213it 8

Saves and creates al system data in the current station.

HW Config - [SIMATIC 300(1) (Configuration) -- My_Project]

Help

JJ

jc

j2s1

el Station Edit Insert PLC C

View °Mons Window

Consistency Check C131+Alt+IC Cher 1. Compatibility Ctrl+Alt+F

004+P

Siemens AG 2008. All rights reserved.

Date: 18.09.2009 File: SERV1_050.15

n`v S TRAIN I Training for ISI Automation and Industrial Solutions

Save You select the Station Save menu to save the current configuration in the current project (without generating system data blocks).

Save and Compile When you select the Station - Save and Compile menu or click the icon in the toolbar, the configuration and parameter assignment data are also saved in system data blocks.

Consistency Check You select the Station 4 Consistency Check menu to check whether it is possible to generate configuration data from the entries made.

Download in Module You select the PLC 4 Download menu or click the icon in the toolbar to download the selected configuration to the PLC. The PLC must be in "STOP"

mode!

System Data The system data blocks (SDBs) are generated and modified when you configure the hardware and compile the hardware configuration. SDBs contain

configuration data and module parameters. When a system data block is downloaded, it is stored in the CPU's work memory.

This makes it easier to replace modules, because the parameter assignment data is downloaded to the new module from the system data blocks on startup.

The PLC must be in "STOP" mode!

In the programming device, the system data blocks are saved under: Project \ Station \ CPU \ S7_program \ Blocks \ System_data.

You double-click the System data briefcase icon to see the list of system data blocks.

SITRAIN Training for ST-SERV1

Automation and Industrial Solutions Page 15 Hardware Configuration

CtrvL

CH-4-E

1 o I rr IP 1 AccmRchts Download

El ( J My_Plogen Configure...

SOteCee Compile and Download Objects...

Blocks Upload to PG

Uploading the Actual Configuration to the PG

I II Manager /My Protect D:. /_Lourses My_Proie]

aj PM Olt Insert IPZ Wow Osten, Widow He

Copy RAM to ROM...

Download User Program to Memory Ca, Save to Memory Card.., Retrievefrom Memory Card-.

Manage M7 System...

Drive

Display Accent* Nodes Change Module IdentficatIon-CPU Messages...

Display Force Values Montor/Modify Variables

Diagrestic/Seeke PROMO Edlt Diernet Assign PG/PC Camel PG/PC Asogriment Update Firmware pleats the °pedalo System...

Save Service Data...

1.1

uploads the current station cafroureen to the creadan system (conflpealesn and wow,

Cancel I Help I

Which module do you want to reach?

Rack Slot

Target Station: a Local

r Can be reached by means of gateway

Accessible Nodes

INIM=1:21E1111

Update Enter connection to target station:

MPI address I Module type I Station name I Module name I Mark designation

2 CPU 315-...

SIEMENS

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for

Siemens AG 2008. All rights reserved. File: SERV1_05E.16 Automation and Industrial Solutions

Introduction A configuration is necessary only in the following cases:

• if you want to modify the basic module settings

• for stations with distributed I/O

• for S7-400 with several CPUs or with expansion racks

You can read out the actual configuration from the CPU and look at the set parameters in an existing system.

Actual Configuration During startup, the CPU generates an actual configuration. That is, the CPU saves the arrangement of the modules and allocates the addresses in accordance with a fixed algorithm. If no parameters have been assigned, the default parameters defined at the factory are used.

The system stores this actual configuration in system data blocks.

Uploading to PG/PC There are two ways of uploading the actual configuration to the PG/PC:

1. In the SIMATIC Manager:

select the PLC 4 Upload Station to PG... menu.

2. In the HW Config tool:

select the PLC 4 Upload menu or click the icon.

Storage on PG/PC The actual configuration read from the hardware is inserted as a new station in the selected project on the PG/PC.

Note When you read out the actual configuration, the order numbers of the modules cannot be completely identified. For this reason, you should check the

configuration. If required, insert the exact module type of the existing modules.

To do so, choose the module, and then select the Options -> Specify Module menu.

SITRAIN Training for

Automation and Industrial Solutions

ST-SERV1

Page 16 Hardware Configuration

9.111 a:HW Config - [SIMATIC 300(1) (Configuration) -- My_Project]

Station Edt Insert PLC View Options Window He

0 2-, st.i dif I 1 Ral 1111 * el I IIL73 I

5 D032sDC24V/0.54 6ES7 322-113L00416A0 4...7

6 D18/D0EN24V/0.54 6ES7 3231 BH00-06A0 8 8

7 Al2x12130 6ES7 331.710301-N30 8 E 1111SIMATIC PC Based Control 300/400 E a SIMATIC PC Station

SIMATIC S7-300147-300 and C7 modules central rack)

Exercise 1: Adapting the Setpoint Configuration

SIMATIC S7

Siemens AG 2008. All rights reserved.

Task

What to Do

Date: 18.09.2009 SITRAIN Training for

File: SERV1_05E.17 Automation and Industrial Solutions

Since different training units and CPUs are used for the courses, the CPU available has to be integrated into the setpoint configuration.

1. Open the given HW Station with the HW-Config tool

SIMATIC Manager (Offline view) -> select the HW-Station "S7 300 Station"

9 double-click on the "Hardware" object

2. Click on the icon (see left) to have the Hardware Catalog appear.

3. In the Hardware Catalog, select the CPU used in the training unit and bring it to Slot 2 using drag and drop.

5. Acknowledge the message "Do you want to exchange the component with the order number ... for the component with the order number ...

4. Also check all other modules.

6. Save and compile the configuration with the icon.

7. Download the modified hardware configuration into the CPU.

8. Exit the HW-Config tool.

SITRAIN Training for

Automation and Industrial Solutions

ST-SERV1

Page 17 Hardware Configuration

My_Project SIMATIC 300(1) 0111111111-1At.;.

Exercise 2: Assigning Parameters to the CPU Clock Memory and Testing It

a:HW Conlin - [SIMATIC 300(1) (Configuration) -- My_Project] =1Q.121 ,

gation Edit Insert EEC View Qptions Window Help

D 51 It: a II till 5 II D032xDC24V/0.54 6 II D18./D08ex24V/0.5A 7 II Al2x1213it

11_111 E2d (0) UR

Slot f Module Order number S7 307-1EA00-0AA0 6E S 7 315-2AF03-0ABO

6ES 7 321-1 BL00-0440

„11

Timepl.Day Interrupts I Cyclic Interrupts 1 Diagnostics/Clock I Protection I Communication I ... 5 X 1

General I Startup Cycle/Clock Memory I Retentive Memory I Interrupts

r Clock Memory Arrangement of

Cancel I Help Cycle

Update OBI process image cyclically

Scan cycle monitoring time [ms1:

Minimum scan cycle - Scan cycle bedlam communication [511 Size of the process image

0885 call up at I/O access error:

50

F

r

I No 0B85 call up

SIEMENS

SIMATIC S7

Siemens AG 2008. All rights reserved.

Date: 18.09.2009

File: SERV1_05E.18 iv SITRAIN Training for

Automation and Industrial Solutions

Task

What to Do:

Assign parameters to the CPU in such a way that the clock memory byte is available on memory byte MB 10.

Then check the success of your parameter assignment with the "Monitor/Modify Variable" function.

1. Start the HW-Config tool

SIMATIC Manager (Offline view) -> select the HW-Station "S7 300 Station"

- double-click on the "Hardware" object

2. Parameterize the MB10 memory byte as the CPU clock memory byte HW Config - double-click on CPU 9 Cycle / Clock Memory

3. Save and compile the modified configuration Station 4 Save and Compile

4. Download the modified configuration into the CPU PLC 4 Download

5. Exit the HW Config tool

6. Use the function "Monitor/Modify Variable" to monitor the MB10 memory byte in the "binary" display format to be able to see the individual bits with the flashing frequencies

In the SIMATIC Manager, select the CPU of the HW Station 4 PLC 4 Monitor/Modify Variable 4 enter MB 10 in the Variable Table address field

4 using a right mouse-click, set the display format to "binary" 4 activate the function using the Glasses icon

SITRAIN Training for

Automation and Industrial Solutions

ST-SERV1

Page 18 Hardware Configuration

SIMATIC S7

Siemens AG 2008. All rights reserved.

Date: 18.09.2009 File: SERV1_05E.19

21 SITRAIN Training for lir Automation and Industrial Solutions

Note The following pages contain either further information or are for reference to complete a topic.

For more indepth study we offer advanced courses and self-learning mediums.

SITRAIN Training for

Automation and Industrial Solutions

ST-SERV1

Page 19 Hardware Configuration

r Interface

Type: MPI

Address: 2 Networked: Yes EL:11W Config - [SIMATIC 300(1) (Configuration) — My_Project]

011 Station Edit Insert PLC View Options Wildow Help

JCicirt-e CIE101111111111=r -

1 5 D032x0C24V/0.5A 6 DI8/D0EQ4V/0 54

Module Order number 1 PS 30754 6E57 3071 EA004440

4 DI32xDC24V 6ES7 321-1BLOO.OAAO 5 D032xDC24V/0.54 6E57 322-113L00-0AA0 6 I DI8/D08x24V/0.54 6ES7 323-113H00-04A0 7 .412x1284 6ES7 331-7K801-0030 8

9 10 Press Fl to get Help.

I _xj

Time-of-Day Interrupts Cyclic Interrupts I Diagnostics/Clock I Protection I Communication General I Startup I Cycle/Clock Memory I Retentive Memory I Interrupts I Short Description: CPU 315-2 DP

64 KB work memory; 0.3 ms/1000 instructions; MP1+ DP connection (D pz-J Imaster or DP slave); multi-tier configuration up to 32 modules, Send and Receive capability for lateral communication, constant bus cycle time, routing, firmware V1.1

Comment:

Cancel I Help /41 Properties - CPU 315-2 DP - (R0/S2)

Order No./ firmware Name:

6ES7 315-2AF03-64130 / V1.1

ICPU 315-2 DP

OK

In document TIA Service Training 1 S (Page 116-121)