Page of 68

Siemens SIMATIC S7-300 Getting Started Manual

Siemens personal computer user manual.
Also See for SIMATIC S7-300:
Manual  - 244 pages
User manual - 34 pages
SIMATIC S7-300
Getting Started for First Time Users
Order No.: 6ZB5310-0NC02-0BA0
04/2007
A5E01094750-01

   Also See for Siemens SIMATIC S7-300

   Related Manuals for Siemens SIMATIC S7-300

   Summary of Contents for Siemens SIMATIC S7-300

  • Page 1

    SIMATIC S7-300 Getting Started for First Time 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 highlighted in the manual by a safety alert symbol, notices referring only to property damage have no safety alert symbol.

  • Page 3

    Trademarks All names identified by ® are registered trademarks of the Siemens 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.

  • Page 5: Table Of Contents

    8.2 Additional documentation 8.3 SIMATIC Technical Support SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 ..........2 Welcome .

  • Page 6: Welcome

    1 Welcome...

  • Page 7

    • Configure the hardware using the STEP 7 Lite software, and download a con- trol program. • Start the motor. The example will take approximately 1 hour to implement, depending on your prior knowledge. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 8

    These instructions apply to the following CPUs: Prerequisites You are proficient in working with the Microsoft You are familiar with the basics of electronics and electrical engineering. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 Abbreviation Order no. 312C...

  • Page 9

    Multipin front panel connector with screw-type contacts PC Adapter USB with driver software Manual Collection containing electronic manuals for the various SIMATIC products SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 Order number (Siemens) 6ES7390-1AB60-0AA0 6ES7312-5BE03-0AB0...

  • Page 10

    VDE 0100 Part 410 / HD 384- 4-41 / IEC 364-4-41 or VDE 0805 / EN 60950 / IEC 950 or VDE 0106 Part 101. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 Quantity Item Power supply PC with USB interface STEP 7 Lite V3.0 + Service Pack 2...

  • Page 11

    SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 12: Preparing The Pc

    2 Preparing the PC...

  • Page 13

    • Insert the Driver CD for the PC Adaptor USB and follow the instructions. the setup program by double- clicking the Setup.exe file in the main directory of the CD. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 14

    2 Preparing the PC Setting the interface 1. Open the dialog for setting the PG/PC interface. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 15

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

  • Page 16

    PC Adapter USB and the CPU 312C. Next, you will install the control components on the mounting rail. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 enables communication between the MPI interface of the CPU 312C and...

  • Page 17

    SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 18: Installing And Wiring The Hardware

    3 Installing and wiring the hardware...

  • Page 19: What Components Are Required

    • Motor for driving the conveyor belt (optional) • PC with STEP 7 Lite including Service Pack 2 • PC Adapter USB for connecting the PC with the CPU 312C SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 20: Installing The Components

    • Make sure to maintain a clearance of at least 40 mm above and below the • If the subsurface is a grounded metal plate or a grounded device panel, make SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 subsurface.

  • Page 21

    The front panel connector still protrudes from the module in this wiring posi- tion, and is not yet connected to the module. This position makes it easier for you to complete the wiring. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 2. Install the CPU 312C.

  • Page 22: Wiring The Components

    The entire control loop is connected to the power supply via the CPU 312C. Preparing the cables 1. Cut the cables to the desired SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 nal transmitters to the input terminals of the CPU 312C. The input terminals are labeled with “DI”.

  • Page 23

    Wiring the CPU 312C and the power supply 1. Prepare the power cable. 3. Secure the power cable. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 2. Connect the power cable to the power supply. 4. Wire the power supply to the...

  • Page 24

    3 Installing and wiring the hardware Wiring the momentary contact switches 1. Connect the momentary contact switches to the digital inputs. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 25

    Wiring the motor 1. Connect the power supply for the digital inputs. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 26

    3 Installing and wiring the hardware 2. Wire the motor, if available. This step is optional. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 27

    Connecting the front panel connector 1. Establish contact between the front panel connector and the contacts of the CPU 312C, and close the front doors. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 28

    3 Installing and wiring the hardware Checking the line voltage setting 1. Check that the line voltage selec- SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 tor switch is set to the correct line voltage. 2. If necessary, change the switch...

  • Page 29: Commissioning The Hardware

    CPU 312C and your PC. You supply power to the installed equipment and test for proper wiring. Connecting the CPU 312C and the PC 1. Connect the USB cable to the PC Adapter and your PC. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 30

    3 Installing and wiring the hardware 2. Close the front panel. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 31

    Always put the CPU in STOP before turning on power. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 32

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

  • Page 33

    The DC24V LED on the power supply will light up. All LEDs on the CPU 312C will light up briefly, and the DC5V LED and the STOP LED will remain lit. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 34

    You have installed, wired, and tested all components. Next, you will create the control structure in STEP 7 Lite and download the configuration to the CPU 312C. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 0.0 (terminal 2) will light up.

  • Page 35

    SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 36: Configuring The Control In Step 7 Lite

    4 Configuring the control in STEP 7 Lite...

  • Page 37: What Is A Step 7 Lite Project

    • Modules and their addresses in the hardware configuration. • Control logic in the form of a control program. For further information about STEP 7, refer to the online help. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 38: Opening A Step 7 Lite Project

    Opening the “conveyor” project 1. Start STEP 7 Lite. 2. Insert the CD with the example project, and open the example project: SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 conveyor.k7p...

  • Page 39: Reproducing 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 module configuration 1. Create a new S7-300 station. Four mounting rails are automatically displayed. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 40

    4 Configuring the control in STEP 7 Lite 2. Insert the power supply with the appropriate type designation and order SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 number.

  • Page 41

    3. Insert the CPU with the appropriate type designation and order number. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 42

    4 Configuring the control in STEP 7 Lite The modules are displayed both in the hardware view and in the configuration table. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 43

    CPU 312C. You can use the retention behavior to ensure that the motor does not start up in an uncontrolled manner after a power failure. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 44

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

  • Page 45: Establishing The Online Connection Between The Pc And Cpu 312c

    “STOP”. If no connection exists, the status bar displays “Disconnected”. 1. If the connection does not exist, establish the connection between the CPU 312C and your PC. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 46: Downloading And Checking The Module Configuration To The Cpu 312c

    Performing a memory reset on the CPU 312C 1. Delete the old program blocks and configurations from the CPU 312C. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 configuration to the CPU 312C...

  • Page 47

    Downloading the module configuration to the CPU 312C 1. Download the module configuration to the CPU 312C. This transfers the current module parameters to the CPU. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 48

    All modules must be identical in order for the proper inputs and outputs to be addressed when the control program runs. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 matches the configuration data on the CPU 312C (online). STEP 7 Lite then checks whether downloadable system data can be generated from the current configuration.

  • Page 49

    You have created the control structure in STEP 7 Lite and downloaded the con- figuration to the CPU 312C. Next, you will open the example program for control- ling the conveyor belt drive. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 50: Opening The Program On The Pc

    5 Opening the program on the PC...

  • Page 51: What Is A Program

    (OBs). The program for the conveyor is stored in OB1. The program consists of networks. The networks, in turn, consist of normally- closed and normally-open contacts and coils. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 52: Opening A Program

    LAD is a graphical program- ming language similar to a cir- cuit diagram. The inputs are represented as normally-closed and normally- open contacts, and the out- puts are represented as coils. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 53

    The test run demonstrates the interaction between the wired ter- minals, the LED displays, and the program, which logically links the inputs and outputs to one another. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 54: Performing A Test Run

    6 Performing a test run...

  • Page 55: Downloading The Project To The Cpu 312c

    6.1 Downloading the project to the CPU 312C 1. Download the hardware configuration and the program to the CPU 312C. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 56: Starting The Test Run

    6.2 Starting the test run 1. Set the mode switch of the CPU 312C to “RUN”. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 The STOP LED goes out. The RUN LED starts to flash and then displays a...

  • Page 57

    The input LED 0.0 lights up briefly when the momentary contact switch is activated. The motor is ready to start. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 3. Press and hold down the momen- tary contact switch for clockwise rotation.

  • Page 58

    6 Performing a test run 4. Release the momentary contact SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 switch for clockwise rotation and press and hold down the momen- tary contact switch for counter- clockwise rotation.

  • Page 59

    SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 60: Congratulations

    7 Congratulations...

  • Page 61

    If you wish, you can add to the control on your own and implement your own control tasks. Want to know more about SIMATIC S7-300? Contact us. Additional information is available through our Service & Support. Visit us on the Internet at: http://www.siemens.com/automation/service...

  • Page 62: Additional Information

    8 Additional information...

  • Page 63: Diagnostics / Correction Of Errors

    The PC Adapter USB uses LEDs to indicate error states. To diagnose these errors, refer to the electronic “PC Adapter USB” Manual. You can find this man- ual on the installation CD for the PC Adapter USB. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 64: Additional Documentation

    • The electronic “PC Adapter USB” Manual describes installation and commis- You can also use the online help in STEP 7 Lite. To do so, press the <F1> key. SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 operating sequences using hands-on exercises.

  • Page 65

    • CD with examples Manual S7-300 Automation System: Module Data Entry ID: 8859629 SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 Description Operator control and display elements, communication, memory concept, cycle and response times, technical specifica-...

  • Page 66: Simatic Technical Support

    • Our bulletin board, where users and specialists share their knowledge world- • Your local contact for Automation & Drives in our Contacts Database (see • You will find information on local service, repairs, spares and much more SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0 wide.

  • Page 67

    • Service & Support: http://www.siemens.com/automation/csi_en_WW/support • SIMATIC partners: www.siemens.com/automation/partners • Order or download additional informative material: www.siemens.de/simatic/druckschriften > English • SIMATIC Guide manuals: www.siemens.com/simatic-doku • A&D Mall online ordering system: www.siemens.com/automation/mall SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

  • Page 68

    8 Additional information SIMATIC S7-300 Getting Started for First Time Users Getting Started, 04/2007, 6ZB5310-0NC02-0BA0...

Comments to this Manuals

Symbols: 0
Latest comments: