Siemens SIMATIC S7-300 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Siemens SIMATIC S7-300, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Siemens SIMATIC S7-300 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Siemens SIMATIC S7-300. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Siemens SIMATIC S7-300 should contain:
- informations concerning technical data of Siemens SIMATIC S7-300
- name of the manufacturer and a year of construction of the Siemens SIMATIC S7-300 item
- rules of operation, control and maintenance of the Siemens SIMATIC S7-300 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Siemens SIMATIC S7-300 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Siemens SIMATIC S7-300, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Siemens service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Siemens SIMATIC S7-300.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Siemens SIMATIC S7-300 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    SIMA TIC S7-300 Getting S t arted for First T i me Users Order No.: 6ZB5310-0NC02-0BA0 04/2007 A5E01094750-01[...]

  • Page 2

    Safety Guidelines This manual contains notices you have to observe in order to ensure your personal safety , as well as to prevent damage to property . The notices referring to your personal safety are hi ghlighted in the manual by a safety alert symbol, notices referring only to property damag e have no safety alert symbol. These notices shown bel[...]

  • Page 3

    Prescribed Usage Note the following: T rademarks All names identified by ® are registered trademarks of t he Siemen s AG . The remaining trademarks in this publica- tion may be trademarks whose use by third parties for their own purposes could violate the rights of the owner . Disclaimer of Liability We have reviewed the contents of this publicati[...]

  • Page 4

    [...]

  • Page 5

    1 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Content s 1 Welcome . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2 Prep a ring the PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3 Insta ll in g a[...]

  • Page 6

    2 1W e l c o m e[...]

  • Page 7

    3 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Welcome to the “S7-300 Getting S tarted for First T ime Users”. Using an example of a conveyor belt, we will illustrate how easy it is to control a drive motor with an S7-300. Y ou will use the S7-300 to start th e motor , switch the direction of[...]

  • Page 8

    1W e l c o m e 4 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Va l i d i t y These instructions appl y to the following CPUs: Prerequisites Y ou are proficient in working with the Microsof t ® Windows TM operating system. Y ou are familiar with the basics of elec tronics and electrical engineeri[...]

  • Page 9

    5 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Materials and tools In order to install the conv eyor belt control, you will need the following materials and tools: • The S7-300 starter ki t contains the fo llowing: Quantity Item Order number (Siemens) 1 Mounting rail 6ES7390-1AB60-0AA0 1 CPU 31[...]

  • Page 10

    1W e l c o m e 6 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 • In addition, you will need the following components: Quantity Item Order number (Siemens) 1 Power supply 6ES7307-1EA00-0AA0 1 PC with U SB interface - 1 STEP 7 Lite V3.0 + Service Pack 2 Can be downloaded free of charge on the Inte[...]

  • Page 11

    7 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0[...]

  • Page 12

    8 2 Prep aring the PC[...]

  • Page 13

    9 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Inst allin g STEP 7 Lite In order to create the control program for the drive moto r on your PC, you must install the STEP 7 Lite sof t ware. The latest version of STEP 7 Lite including ser- vice pack can be found on the Internet at: http://support.a[...]

  • Page 14

    2 Prep aring the PC 10 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Setting the interface 1. Open the dialog for setting the PG/PC interfac e.[...]

  • Page 15

    11 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 2. For the interface, select “PC Adapter (MPI)”. This connection property enables communication between your PC and the MPI interfac e of the CPU 312C.[...]

  • Page 16

    2 Prep aring the PC 12 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 3. Configure the connection to the USB interf ace. This connection property enables communication be tween the MPI interface o f the CPU 312C and your PC. Y ou have inst alled STEP 7 Lite and the sof tware for the PC Adap ter USB[...]

  • Page 17

    13 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0[...]

  • Page 18

    14 3 Inst alling and wiring the hardware[...]

  • Page 19

    15 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 3.1 What component s are required? In order to control the conveyor belt, you will need the components shown: • Power supply for the control compon ents • CPU 312C with inte grated input and output module • Mounting rail for in stalling the mo[...]

  • Page 20

    3 Installing and wiring the hardware 16 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 3.2 Inst alling the components In this section, we show you how to: • Install and ground the mounting ra il • Install the modules on the mounting rail • Insert the front p anel connector Inst alling and gro[...]

  • Page 21

    17 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Inst alling modules on the mounting rail 1. Inst all the power supply , tighten- ing the screws hand-tight. 2. Inst all the CPU 312C. 3. Insert the front p anel connector into the CPU 312C until it engages. The front panel connector still protrudes [...]

  • Page 22

    3 Installing and wiring the hardware 18 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 3.3 Wiring the component s Wire the system component s to the CPU 312C. This enables the CPU 312C to detect and evaluate the st ate of the comp onent s with the help of the control pro- gram. • The moment ary-c[...]

  • Page 23

    19 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Wiring the CPU 312C and the power supply 1. Prep are the power cable. 2. Connect the power cable to the power supply . 3. Secure the po wer cable. 4. Wire the power supply to the CPU 312C. / 0 / 1 / 0 / 0 / 1 / 0 / 0 / 1 /[...]

  • Page 24

    3 Installing and wiring the hardware 20 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Wiring the moment ary contact switches 1. Connect the mome nt ary cont act switches to the digit al input s. / 0                  ?[...]

  • Page 25

    21 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Wiring the motor 1. Connect the power supp ly for the digit a l input s. / 0                             [...]

  • Page 26

    3 Installing and wiring the hardware 22 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 2. Wire the motor , if ava il a ble. This step is optional. YX X YY Y YZ Z Y[ [ Y Y] ] Y^ ^ Y_ _ Y` ` ZW XW sR t ZX XX ZY XY ZZ XZ Z[ X[ Z X Z] X] Z^ X^ Z_ X_ Z` X` [W YW sR t sX u sR t[...]

  • Page 27

    23 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Connecting the front p anel connector 1. Est ablish c ont act between the front p a nel conne ctor and th e cont act s of the CPU 312C, and close the fron t doors.                ?[...]

  • Page 28

    3 Installing and wiring the hardware 24 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Checking the line volt age setting 1. Check that the line volt age selec- tor switch is set to the correct line volt age. 2. If necessary , change t he switch position for the line volt age.[...]

  • Page 29

    25 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 3.4 Commissioning the hardware When you commission the hard ware, you es tablish the connections be tween the CPU 312C and yo ur PC. Y ou supply power to the installed equipment and test for proper wiring. Connecting the CPU 312C and the PC 1. Conne[...]

  • Page 30

    3 Installing and wiring the hardware 26 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 2. Close the front p anel. sR t sR t sX u sR t[...]

  • Page 31

    27 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Supplying power to the CPU 312C 1. Connect the s upply cable to the supply system. War ni ng Unanticip ated operation can cause death or personal injury! Death or serious bodily injury and damage to machinery and equipment can occur if you do not ob[...]

  • Page 32

    3 Installing and wiring the hardware 28 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 2. Insert the SIMA TIC Micro Memory Card into the slot on the front of the CPU 312C.[...]

  • Page 33

    29 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 3. Set the main switch of the power s upply to “ON”. The DC24V LED on the power supply will light up. All LEDs on the CPU 312C will light up briefly , and the DC5V LE D and the STOP LED will remain lit.[...]

  • Page 34

    3 Installing and wiring the hardware 30 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 T esting the connections Now , test your wiring to verify t hat it is funct ioning prop erly . For this purpose, t ake turns pressing the momentary cont act switches and observe t he LEDs on the inputs of the C P[...]

  • Page 35

    31 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0[...]

  • Page 36

    32 4 Configuring the control in STEP 7 Lite[...]

  • Page 37

    33 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 4.1 What is a STEP 7 Lite project? V arious tasks are involved in creating an automa tion solution with STEP 7 Lite. STEP 7 Lite combines all of the data and t a sks of the control into a project. This data is stored in a STEP 7 Lite project file (*[...]

  • Page 38

    4 Configuring the control in STEP 7 Lite 34 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 4.2 Opening a STEP 7 Lite project In order to configure the control in STEP 7 Lite, you must open the example project provided and familiarize y ourself with the pr ogram interface. Opening the “conveyor”[...]

  • Page 39

    35 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 4.3 Reproducin g the module configuration in STEP 7 Lite In the STEP 7 Lite project, you will create all of the modules you installed on the mounting rail. Creating the modu le configuration 1. Create a new S7-300 st ation. Four mounting rails are a[...]

  • Page 40

    4 Configuring the control in STEP 7 Lite 36 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 2. Insert the power supply with th e appropriat e type designa tion and orde r number .[...]

  • Page 41

    37 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 3. Insert the CPU with the appropriate type de signation and order number .[...]

  • Page 42

    4 Configuring the control in STEP 7 Lite 38 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 The modules are displayed b oth in the hardware view and in the configu ration table.[...]

  • Page 43

    39 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Setting the p arameters of the CPU 312C Y ou can set numerous para meters for each of the modules. As an example, we will modify the retention behavior of the CPU 312C. 1. Set the amount of rete ntive bit memory to “0”. The retention behavior of[...]

  • Page 44

    4 Configuring the control in STEP 7 Lite 40 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Saving the project 1. Save the project.[...]

  • Page 45

    41 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 4.4 Est ablishing th e online connection between the PC and CPU 312C Y ou must est ablish an online co nnection between the PC and CPU 312C for the following: • Downloading and testin g the control programs • Displaying an d changing the oper at[...]

  • Page 46

    4 Configuring the control in STEP 7 Lite 42 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 4.5 Downloading and ch ecking the module configuration to the CPU 312C Before you download the m odule configuration to th e CPU 312C, you will delete the old configuration from the CPU. Af ter downloading, y[...]

  • Page 47

    43 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Downloading the module conf iguration to the CPU 312C 1. Download the module configurat io n to the CPU 312C. This tran sfe rs the current module pa rameters to the CPU.[...]

  • Page 48

    4 Configuring the control in STEP 7 Lite 44 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Checking the module configuration 1. Check to make sure that the configuration dat a on the PC (offline) matches the configuration dat a on the CPU 312C (online). STEP 7 Lite then checks whether do wnloadable[...]

  • Page 49

    45 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Y ou have created the co ntrol structure in STEP 7 Lite and down loaded the con- figuration to the CPU 312C. Next, you will open the example program for control- ling the conveyor belt drive.[...]

  • Page 50

    46 5 Opening the program on the PC[...]

  • Page 51

    47 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 5.1 What is a program? The program describes how th e signals from the moment ary cont act switches are logically linked to the outputs. T he outputs of the CP U 312C will be used to control the drive motor of the co nveyor belt. The program is part[...]

  • Page 52

    5 Opening the program on the PC 48 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 5.2 Opening a program The program for co ntrolling the conveyor belt is st ored in the “conveyor” project. 1. Open the program. The program appear s in the form of ladder logic (LAD). The op erations are rep- rese[...]

  • Page 53

    49 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 Y ou have configured the control and d o wnloaded the control prog ram in STEP 7 Lite. Next, you will download the entire ST EP 7 Lite project to the CPU 312C and start a test run. The test run de monstrates the interaction between the wire d ter- m[...]

  • Page 54

    50 6 Performing a test run[...]

  • Page 55

    51 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 6.1 Downloading the project to the CPU 312C 1. Download the hardware configuration a nd the prog ram to the CPU 31 2C.[...]

  • Page 56

    6 Performing a test run 52 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 6.2 St arting the test run 1. Set the mode switch of the CPU 312C to “RUN”. The STOP LED goe s out. The RUN LED start s to flash and then displays a continuous light.[...]

  • Page 57

    53 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 2. Press the green moment ary con- t a ct switch to start the motor . The output LED 0.3 light s up and remains lit. The input LED 0.0 light s up briefly when the momentary cont act switch is activated. The motor is rea dy to star t. 3. Press and ho[...]

  • Page 58

    6 Performing a test run 54 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 4. Release the moment ary cont act switch for clockwise rot a tion and press and hold down the momen- t ary cont act switch for counter- clockwise rot ation. The output LED 0.5 light s up. The input LED 0.3 lights up. 5. Rele[...]

  • Page 59

    55 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0[...]

  • Page 60

    56 7 Congratulations[...]

  • Page 61

    57 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 With the completion of the test run, you have su ccessfully performed the tasks in “S7-300 Getting S tar ted - First T ime User” and have created an executable co n- trol for your plant. If you wish, you can add to the contro l on your own and i[...]

  • Page 62

    58 8 Additional information[...]

  • Page 63

    59 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 8.1 Diagnostics / correction of errors Incorrect operation, faulty wiring, or an incorrect hardwar e configuratio n can cause erro rs. The CPU 3 12C displays such errors wit h the grou p error LED SF following a memory reset. For information on how [...]

  • Page 64

    8 Additional information 60 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 8.2 Additional document ation For STEP 7 Lite and the PC Adapter USB: Y ou will find the following docu ments on the CD and, after installation of STEP 7 Lite, via the st art menu “S tart > SIMA TIC > Documentation &[...]

  • Page 65

    61 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 For the S7-300 automation system: • A Manual Collection on DVD is provided in the S7-300 starter kit. It cont ains manuals in electronic form for variou s SIMA TIC products. Exampl es include the “S7-300 , CPU 31x C and CPU 31x : Installation”[...]

  • Page 66

    8 Additional information 62 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 8.3 SIMA TIC T echnical Support How to contact T echnical Support for all A&D product s • By e-mail: adsupport@siemens.com • By phone: +49 (0) 180 5050 222 • By fax: +49 (0) 18 0 5050 223 Y ou can find additional i[...]

  • Page 67

    63 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0 If you want to find out even more about our product s, refer to the Internet addresses listed below: • SIMA TI C Controllers: www .siemens.com/sim atic-controller • SIMA TIC automation systems: www .siemens.com/simatic • T otally Integrated Au[...]

  • Page 68

    8 Additional information 64 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC 02-0BA0[...]