Siemens Drives & PLCs

Similar documents
S7-300 Getting Started - Commissioning a CPU 31xC: Closed-loop control

SIMATIC S7-300 Programmable Controller Getting Started Edition 04/2000 First Steps for Installation and Commissioning Totally Integrated Automation

First Steps in Commissioning CPU. 31xC: Positioning with digital output SIMATIC

SIMATIC S Getting Started for First Time Users. Order No.: 6ZB5310-0NC02-0BA0 04/2007 A5E

Team engineering via Inter Project. Engineering. TIA Portal. Team engineering via Inter Project Engineering. Basics of "Inter Project Engineering"

Product Information Mixed. Configuration ET 200SP / ET 200AL SIMATIC. ET 200SP Product Information Mixed Configuration ET 200SP / ET 200AL.

Power module PM-E DC24V HF SIMATIC. ET 200S distributed I/O Power module PM-E DC24V HF (6ES7138-4CA60-0AB0) Preface. Properties.

Creating the program. TIA Portal. SIMATIC Creating the program. Loading the block library 1. Deleting program block Main [OB1]

Power module PM-E DC24V/8A RO SIMATIC. ET 200S distributed I/O Power module PM-E DC24V/8A RO (6ES7138-4CA80-0AB0) Preface. Properties.

Readme SiVArc V14 SP1 Update 6

SIMATIC. Automation System S7-300

DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

Getting Started - Startdrive. Startdrive SINAMICS. Introduction 1. Connecting the drive unit to the PC. Creating a project 3

SIMATIC. Communications processor CP First Steps in Commissioning. Getting Started 09/2008 A5E

SIMATIC. S7/HMI SIMATIC Automation Tool V3.1 SP1 product information. SIMATIC Automation Tool features 1. Known problems. Product Information

ET 200S distributed I/O system 4DO DC24V/2A ST digital electronic module (6ES7132-4BD32-0AA0)

Class documentation. COMOSKDictionary COMOS. Platform Class documentation COMOSKDictionary. Trademarks. General. KDictionary. Programming Manual

SIMATIC. Process Control System PCS 7 PCS 7 system documentation - Readme V8.0 SP2 (Update 1) Options for Accessing Documentation 1

SIMATIC. ET 200S distributed I/O Power module PM-E DC24..48V (6ES7138-4CA50-0AB0) Preface. Properties 1. Parameters 2. Diagnostics 3.

DI 8x24VDC ST digital input module SIMATIC. ET 200SP DI 8x24VDC ST digital input module (6ES7131-6BF00-0BA0) Preface. Documentation guide

SIMATIC. ET 200S distributed I/O Power module PM-E DC24..48V/AC V (6ES7138-4CB11-0AB0) Preface. Properties 1. Parameters 2.

SIMATIC. Function modules FM 351 First Steps in Commissioning. Purpose of the Getting Started. Requirements 2

SIMATIC. Digital Input Module SM DI, DC24V - Sinking/Sourcing. Product information. Product Information

Use with 0 to 70 C ambient. temperature SIMATIC. Process Control System PCS 7 Use with 0 to 70 C ambient temperature. Preface 1. Product combination 2

ST (6ES7132-6FD00-0BB1)

SIMATIC. Process Control System PCS 7 VT Readme V8.2 (online) Security information 1. Overview 2. Notes on Installation 3. Notes on usage 4.

Power supply module PS 25W 24VDC (6ES7505-0KA00-0AB0) SIMATIC. S7-1500/ET 200MP Power supply module PS 25W 24VDC (6ES7505-0KA00-0AB0) Preface

dv/dt filter compact plus Voltage Peak Limiter SINAMICS SINAMICS G120P dv/dt filter compact plus Voltage Peak Limiter Safety information 1 General 2

COMOS. Platform Class documentation RevisionMaster_dll. Class: RevisionInfo 1. Class: RevisionMaster 2. Programming Manual

SIMATIC. S7-300 SM331; AI 8 x 12 Bit Getting Started part 3: Thermocouples. Preface. Prerequisites 2. Task 3. Mechanical setup of the example station

SIMATIC. Communications processor CP 340 first commissioning steps. Getting Started 04/2005 A5E

DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

Performance data abgn SCALANCE W770/W730 SIMATIC NET. Industrial Wireless LAN Performance data abgn SCALANCE W770/W730.

SIMATIC. ET 200S distributed I/O Digital electronic module 4DO DC24V/0.5 A ST (6ES7132-4BD01-0AA0) Preface. Properties 1. Diagnostics 2.

MindSphere. Visual Explorer. Introduction. User roles for "Visual Explorer" Connecting "Visual Explorer" to MindSphere data. Creating Visualizations

Block Library Motor Starter SIRIUS for SIMATIC PCS 7

ET 200S distributed I/O Digital electronic module 2DO AC V (6ES7132-4FB01-0AB0)

Key Panels Library SIMATIC HMI. Key Panels Library. Preface 1. Installation of Key Panels Library. Working with the Key Panels Library

SINAMICS. SINAMICS G120P dv/dt filter plus Voltage Peak Limiter. Safety information 1. General. Mechanical installation. Electrical installation 4

Operating Instructions (Compact) SIMATIC. Industrial PC SIMATIC Microbox PC 420. Siemens. Release 11/2006 A5E

SIMATIC. Working with STEP 7. Introduction to STEP 1. The SIMATIC Manager 2. Programming with Symbols. Creating a Program in 4

SINAMICS G130. Voltage Sensing Module 10 (VSM10) Operating Instructions 05/2010 SINAMICS

SINAMICS G130. Terminal Module 150 (TM150) Operating Instructions 03/2013 SINAMICS

SIMATIC. ET 200S distributed I/O Digital electronic module 4DO DC24V/0.5A ST (6ES7132-4BD02-0AA0) Preface. Properties 2. Diagnostics 3.

Performance data abgn PCIe Minicard MPCIE-R1-ABGN-U3 SIMATIC NET

SINAMICS G130. Voltage Sensing Module 10 (VSM10) Operating instructions 03/2011 SINAMICS

SIMATIC Ident RFID systems MDS D423 Compact Operating Instructions

SIMATIC. Process Control System PCS 7 PCS 7 Documentation (V8.1) Options for Accessing Documentation 1. Documentation for the Planning Phase 2

SIMATIC. Automation Systems S7-300 CPU 317T-2 DP: Controlling a SINAMICS S120. Introduction. Preparation 2. Learning units 3. Further Information 4

Optional package printer driver V1.4

General Information 1. Connection 2. User Interface 3 ATC5300. Menus 4. Automatic Transfer Controller. Remote Control Software Manual A5E

Setting up securityglobal FW Rulesets SIMATIC NET. Industrial Ethernet Security Setting up security. Preface. Firewall in standard mode

Siemens Spares. Setting up security in STEP 7. Professional SIMATIC NET. Industrial Ethernet Security Setting up security in STEP 7 Professional

SIMATIC. Process Control System PCS 7 Trend Micro OfficeScan (V8.0; V8.0 SP1) Configuration. Using virus scanners 1.

Line reactors SINAMICS. SINAMICS G120P Line reactors. Safety information 1. General. Mechanical installation 3. Electrical installation 4

SIMATIC. Process Control System PCS 7 Product Brief on Software Updates from V5.1/V5.2 to PCS 7 V7.0 SP1. Preface 1

SITOP power supply. Selectivity modules. Overview. Safety notes. Description, device design, dimension drawing. Mounting/removal 3

Cycle and response times SIMATIC. S Cycle and response times. Preface. Documentation guide. Program processing 2. Cyclic program processing 3

First Steps with S7-PDIAG and ProAgent

DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

Digital output module. DQ 16x24VDC/0.5A BA (6ES7522-1BH10-0AA0) SIMATIC

SIMATIC HMI. Software RemoteOperate V2. Preface. Overview 1. Range of functions of the RemoteOperate software. Hardware and software requirements

SITOP UPS1600 under STEP 7 V13. SITOP UPS1600 under STEP 7 V13. Introduction. Safety notes. Description. Assigning the IP address

SIMATIC. PCS 7 Licenses and configuration limits (V9.0) Security information 1. Preface 2. Selecting the correct license keys 3

Industrial Controls. SIMOCODE pro SIMOCODE pro PCS 7 Library. Preface. Security information. Product specific security. information.

Sample project Filling Station SIMATIC. STEP 7 Professional / WinCC Advanced V11 for Sample project Filling Station. Overview of the Getting.

SIMATIC/SINAMICS. Getting started with SINAMICS V90 PN on S Motion Control. Fundamental safety instructions 1. Introduction

Validity 1. Improvements in STEP 7 2. Improvements in WinCC 3 SIMATIC. Readme. Readme

RF-MANAGER simulator SIMATIC. RFID-Systems RF-MANAGER simulator. Simulating projects. Compact Operating Instructions 06/2010 A5E

IO-Link Master (6ES7147-4JD00-0AB0) SIMATIC. ET 200pro IO-Link Master (6ES7147-4JD00-0AB0) Preface. Documentation guide. Product overview.

SIMATIC. ET 200S distributed I/O 2AO U HF analog electronic module (6ES7135-4LB02-0AB0) Preface. Properties 1. Parameters 2.

Class: DocumentManager 1 COMOS. Platform Class documentation DocumentManager_dll. Programming Manual 03/2017 V10.2.

Primary Setup Tool (PST) SIMATIC NET. Industrial Ethernet / PROFINET Primary Setup Tool (PST) Preface. Description. Software installation 2

SIMATIC. Industrial software WinAC RTX F Introduction 1. Selecting suitable hardware 2. Installing/removing the WinAC RTX F 2009 software

PD PA AP How To Configure Maxum II TimeServer Access

SIMATIC. ET 200S distributed I/O 2AO U ST analog electronic module (6ES7135-4FB01-0AB0) Preface. Properties 1. Parameters 2.

SIMATIC. ET 200SP Open Controller Product information on CPU 1515SP PC. Preface. Product Information. Technical update. Technical specifications 3

SITRANS F. Flowmeters SysCom Upgrade Kit IP65 (NEMA 4X) Multi-Channel. Introduction 1. Installing/Mounting 2. Hardware Installation Instructions

party software COMOS Platform Third-party software Trademarks 1 Requirements for the system environment Third-party software releases Operating Manual

SIMATIC. Process Control System PCS 7 Licenses and quantity structures (V8.0) Preface 1. Selecting the correct license keys 2

BaseUnits (6ES7193-6BP.../3RK1908-0AP00 ) SIMATIC. ET 200SP BaseUnits. Preface. Guide to the documentation 1. Product overview 2

SIMATIC. Process Control System PCS 7 Configuration McAfee Endpoint Security Security information 1. Preface 2.

CP 1623 SIMATIC NET. PG/PC - Industrial Ethernet CP Preface. Description of the device. Software installation. Hardware installation

DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

SIMOCODE pro. Read me SIMOCODE ES. Introduction 1. Installation notes 2. Installation/License key/ Uninstallation 3.

SIMATIC. ET 200SP DQ 4x VAC/2A ST digital output module (6ES7132-6FD00-0BB1) Preface. Guide to documentation. Product overview.

Industrial Controls. Motor management and control devices SIMOCODE pro. Introduction 1. Configuring a reversing starter. List of abbreviations

Continuous Function Chart Getting. Started SIMATIC. Process Control System PCS 7 Continuous Function Chart Getting Started.

Configuration limits for products of the SIMATIC NET PC Software V8.1 SIMATIC NET

SIMATIC. Process Control System PCS 7 Advanced Process Functions Operator Manual. Preface. Security information 1. Overview 2. Material management 3

SITOP UPS1600 under STEP 7 V5. SITOP UPS1600 under STEP 7 V5. Introduction. Safety notes. Description 3. Assigning the IP address

Technological Functions SIMATIC. ET 200S Technological Functions. Preface 1. 1Count24V. 1Count5V 3 1SSI 4 2PULSE. Operating Instructions

SIMATIC. STEP 7 PLUS TIA Portal Teamcenter Gateway. Introduction to TIA Portal Teamcenter Gateway 1. System requirements 2

Examples for SIMATIC IPC Support. Package for VxWorks SIMATIC. Industrial PC Examples for SIMATIC IPC Support Package for VxWorks

DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

Industrial Controls. Motor management and control devices SIMOCODE pro - Application examples. Introduction 1. Application example

SIMATIC. ET 200S distributed I/O. 4 IQ-SENSE module (6ES7138-4GA00-0AB0) Preface. 4 IQ-SENSE module (6ES7138-4GA00-0AB0) Parameters 2.

SIMATIC. Process Control System PCS 7 OS Process Control (V8.1) Preface 1. Additional documentation 2. Functions of the PCS 7 OS in process mode 3

MindSphere. MindConnect IoT Extension Getting Started. Introduction to MindSphere. Prerequisites 2. Preparations 3. MindConnect IoT Extension

SIMATIC IPC Wizard for. Widescreen devices with multitouch SIMATIC. Industrial PC SIMATIC IPC Wizard for. Preface.

Transcription:

Automation System S7-300: Getting Started CPU 31xC: Commissioning Introduction 1 Preparation 2 SIMATIC S7-300 Automation System S7-300: Getting Started CPU 31xC: Commissioning Learning units 3 Further Information 4 Getting Started Siemens Drives & PLCs 08/2011 A5E00105538-04

Legal information Legal information Warning notice system 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. These notices shown below are graded according to the degree of danger. DANGER indicates that death or severe personal injury will result if proper precautions are not taken. WARNING indicates that death or severe personal injury may result if proper precautions are not taken. CAUTION with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken. CAUTION without a safety alert symbol, indicates that property damage can result if proper precautions are not taken. NOTICE indicates that an unintended result or situation can occur if the relevant information is not taken into account. If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property damage. Qualified Personnel The product/system described in this documentation may be operated only by personnel qualified for the specific task in accordance with the relevant documentation, in particular its warning notices and safety instructions. Qualified personnel are those who, based on their training and experience, are capable of identifying risks and avoiding potential hazards when working with these products/systems. Proper use of Siemens products Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems. The permissible ambient conditions must be complied with. The information in the relevant documentation must be observed. Trademarks All names identified by are registered trademarks of Siemens AG. The remaining trademarks in this publication 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 publication to ensure consistency with the hardware and software described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions. Siemens AG Industry Sector Postfach 48 48 90026 NÜRNBERG GERMANY A5E00105538-04 P 09/2011 Copyright Siemens AG 2011. Technical data subject to change

Table of contents 1 Introduction... 5 2 Preparation... 7 3 Learning units... 11 3.1 1. Step: Installing the mounting rail and modules...11 3.2 2. Step: Wiring modules...13 3.3 3. Step: Commissioning hardware...14 3.4 4. Step: Programming the circuit...15 3.5 5. Step: Configuring hardware...17 3.6 6. Step: Trial run...18 4 Further Information... 19 Automation Siemens System S7-300: Getting Started CPU 31xC: Drives Commissioning & PLCs Getting Started, 08/2011, A5E00105538-04 3

Table of contents Automation System S7-300: Getting Started CPU 31xC: Commissioning 4 Getting Started, 08/2011, A5E00105538-04

Introduction 1 Contents of this Getting Started Manual Using a specific example, this "Getting started" manual guides you through six commissioning steps to implement a functional application. While working through the example, you will learn the basic hardware and software functions of your CPU 31xC. This process will take one to two hours, depending on your experience. Automation Siemens System S7-300: Getting Started CPU 31xC: Drives Commissioning & PLCs Getting Started, 08/2011, A5E00105538-04 5

Introduction Automation System S7-300: Getting Started CPU 31xC: Commissioning 6 Getting Started, 08/2011, A5E00105538-04

Preparation 2 Scope These instructions apply to the following CPUs: CPU SIMATIC Micro Memory Card required for operation? 312C yes V3.3 313C yes V3.3 313C-2 PtP yes V3.3 313C-2 DP yes V3.3 314C-2 PtP yes V3.3 314C-2 DP yes V3.3 314C-2 PN/DP yes V3.3 As of firmware version The order number can be found in the manuals, e.g. the operating instructions CPU 31xC and CPU 31x: Installation (http://support.automation.siemens.com/ww/view/en/13008499). Prerequisites You need to have a basic understanding of electronics/electrical engineering. You must also be familiar with the Microsoft Windows operating system. WARNING Operation of an S7-300 as part of plants or systems is subject to special rules and regulations, which depend on its field of application. Please make sure that you adhere to the applicable safety and accident prevention regulations, for example IEC 204 (emergency stop systems). You risk severe injury, or damage to machines and equipment if you ignore these regulations. Automation Siemens System S7-300: Getting Started CPU 31xC: Drives Commissioning & PLCs Getting Started, 08/2011, A5E00105538-04 7

Preparation Material and tools required Quantity Item Order number (Siemens) 1 Mounting rail e.g. 6ES7390-1AE80-0AA0 1 Power supply PS 307 (PS) e.g. 6ES7307-1EA01-0AA0 1 CPU 31xC, e.g. CPU 313C e.g. 6ES7313-5BG04-0AB0 1 SIMATIC Micro Memory Card e.g. 6ES7953-8LL20-0AA0 Note: The SIMATIC Micro Memory Card is required for operation of certain CPUs (see Scope). 2 40-pin front connector with screw contacts 6ES7392-1AM00-0AA0 1 Programming device (PG) with MPI interface and Depending on configuration STEP 7 software as of V5.5 + SP1 or STEP 7 as of V5.3 + SP2 with HSP 203 installed and PG cable or PC with suitable interface card X m PROFIBUS DP cable with bus connectors Depending on implementation Various M6 nuts and bolts (length depending on specific commonly available installation) with suitable screwdriver/wrench 1 Screwdriver with 3.5 mm wide blade commonly available 1 Screwdriver with 4.5 mm wide blade commonly available 1 Side cutter and cable stripper commonly available 1 Crimp tool commonly available X m Cable with 10 mm 2 cross-section for grounding the commonly available mounting rail, with cable lug suitable for M6, length to suit local requirements Approx. Flexible wire with 1 mm 2 cross-section with suitable commonly available 2 m wire-end ferrules with insulation collar, length 6 mm X m 3-core power supply cable (230/120 V AC) with commonly available "Schuko" plug, length to suit local requirements and suitable wire-end ferrules 2 Single-pole ON switch (24 V) commonly available Automation System S7-300: Getting Started CPU 31xC: Commissioning 8 Getting Started, 08/2011, A5E00105538-04

Preparation Layout of the example 1 2 3 4 7 6 5 1 2 3 4 5 6 7 Power supply ON/OFF Mode selector Mounting rail Programming device with STEP 7 software PG cable Connecting cable Clamp for strain relief Figure 2-1 Overview of sample layout Functionality of the example Output A 124.0 must only switch (i.e. LED A 124.0 lights up) when button E 124.1 and button E 124.2 are pressed. Automation Siemens System S7-300: Getting Started CPU 31xC: Drives Commissioning & PLCs Getting Started, 08/2011, A5E00105538-04 9

Preparation Automation System S7-300: Getting Started CPU 31xC: Commissioning 10 Getting Started, 08/2011, A5E00105538-04

Learning units 3 3.1 1. Step: Installing the mounting rail and modules Installation sequence From left to right: Power supply PS 307 - CPU 313C. The configuration diagram gives you an overview of the overall configuration. Installing and grounding the mounting rail 1. Screw on the mounting rail (screw size: M6). Make sure to maintain a minimum clearance of 40 mm above and below the mounting rail. When mounting it on a grounded metallic panel or on a grounded device mounting panel made of steel sheet, make sure you have a low impedance connection between the mounting rail and the mounting surface. 2. Connect the rail to the protective conductor. An M6 screw is provided on the rail for this purpose. Minimum cross-section from the cable to the protective conductor: at least 10 mm 2. Automation Siemens System S7-300: Getting Started CPU 31xC: Drives Commissioning & PLCs Getting Started, 08/2011, A5E00105538-04 11

Learning units 3.1 1. Step: Installing the mounting rail and modules Installing modules on the mounting rail 1. Insert the power supply module. Slide it to the left as far as the grounding screw of the mounting rail. Fasten the power supply module. 2. Hang in the CPU (1). 3. Slide it as far as the left-hand module (2). 4. Swivel down the CPU (3). 5. Bolt the CPU tight, applying a torque of between 0.8 and 1.1 Nm. 6. Insert a SIMATIC Micro Memory Card into the CPU (4). Delete the content of a SIMATIC Micro Memory Card with unknown content before you use it in the programming device. Automation System S7-300: Getting Started CPU 31xC: Commissioning 12 Getting Started, 08/2011, A5E00105538-04

Learning units 3.2 2. Step: Wiring modules 3.2 2. Step: Wiring modules WARNING Ensure the S7-300 is completely disconnected before wiring! You may come into contact with live wires if the S7-300 is connected to the power supply. Wiring the power supply and the CPU 1. Open the front panel covers of the power supply module and CPU. 2. Unscrew the strain relief clamp on the power supply module. 3. Strip the power cable. 4. Crimp wire-end ferrules to the ends of stranded cables. 5. Connect to the power supply. 6. Screw the strain-relief assembly tight. 7. Insert two short connecting cables between the power supply and the CPU. 8. Fasten the CPU. Wiring the front connectors of the DI and DO 1. Open the front right-hand panel of the CPU 313C. 2. Place the front connector into wiring position. You do this by pushing a front connector into the CPU until it snaps into position. In this position, the front connector still protrudes from the CPU. In the wiring position a wired front connector has no contact with the module. 3. Remove 6 mm of the insulation from the ends of the wires that go into the front connector. Attach cable end sleeves to these ends. 4. Wire the front connector (DI side) as follows: Terminal 1: L+ of the power supply Terminal 3: Button 1 Terminal 4: Button 2 Terminal 20: M of the power supply 5. Wire the front connector (DO side) as follows: Terminals 21 and 31: L+ of the power supply Terminal 30: M of the power supply 6. Wire the free cable ends of the button with L+ of the power supply. 7. Lead the wires downwards out of the front connector. 8. Secure the front connector with the screws (this establishes contact with the module). 9. Close the front panel covers of the power supply module and the front panel of the CPU. Automation Siemens System S7-300: Getting Started CPU 31xC: Drives Commissioning & PLCs Getting Started, 08/2011, A5E00105538-04 13

Learning units 3.3 3. Step: Commissioning hardware 3.3 3. Step: Commissioning hardware Procedure 1. Use the PG cable to connect the programming device to the CPU. When using a cable with PROFIBUS connectors, remember to switch on the integrated terminating resistors. Close the front panel cover of the CPU, then set the mode selector switch on the CPU to STOP. 2. Connect the mains cable, then switch on the power supply module PS 307. The DC24V LED on the power supply is lit. All the LEDs on the CPU light up briefly; the SF LED and the DC5V LED stay lit. The STOP LED then flashes slowly to indicate a CPU memory reset. 3. Perform a CPU memory reset: Turn the mode switch to MRES. Hold the mode selector at this position until the STOP LED lights up for the second time and then remains lit (approx. 3 seconds). Then release it. You must press the mode switch back to MRES within 3 s. The STOP LED begins to flash rapidly and the CPU performs a reset. You can now release the mode switch. The CPU has completed the memory reset when the STOP LED remains permanently lit again. 4. Start your programming device, then run SIMATIC Manager from your Windows Desktop. A window opens with SIMATIC Manager. 5. Select button 1. The LED of I124.1 lights up. No DO LED lights up. 6. Select button 2. The LED of I124.2 lights up. No DO LED lights up. Automation System S7-300: Getting Started CPU 31xC: Commissioning 14 Getting Started, 08/2011, A5E00105538-04

Learning units 3.4 4. Step: Programming the circuit 3.4 4. Step: Programming the circuit Procedure 1. Follow the instructions of the STEP 7 "New Project" wizard on the programming device and set up a new project with the following data: CPU type: CPU 313C Block to be created: OB 1 Project name: S7_Pro1 A window, divided into two parts, opens with the title S7_Pro1 --... 2. Double-click the OB1 icon in the right-hand part of the window. The editor for editing the OB 1 block opens. 3. In the "View" menu, select "LAD" to change to the ladder logic programming language. At the bottom of the left-hand window, a current path is displayed in network 1. 4. Carefully click on the horizontal line representing the current path. The line is highlighted. 5. On the toolbar, click twice on the -- -- icon (normally-open contact) and then once on the ( ) icon (coil). The icons are inserted into the current path. 6. Click on the red question mark for the left-hand normally- open contact in the current path. The normally-open contact is highlighted and the question mark is replaced with a text input box containing the cursor. 7. Enter I124.1 and press Return. The left-hand normally-open contact is now called I124.1. Automation Siemens System S7-300: Getting Started CPU 31xC: Drives Commissioning & PLCs Getting Started, 08/2011, A5E00105538-04 15

Learning units 3.4 4. Step: Programming the circuit 8. Label the right button in the same way with I124.2 and the coil with Q124.0. 9. Close the editor and click Yes when you are prompted to save. The editor is closed and OB 1 is saved. Automation System S7-300: Getting Started CPU 31xC: Commissioning 16 Getting Started, 08/2011, A5E00105538-04

Learning units 3.5 5. Step: Configuring hardware 3.5 5. Step: Configuring hardware Procedure 1. In SIMATIC Manager, click on SIMATIC 300 Station in the left-hand part of the window. The Hardware and CPU 313C icons appear in the right-hand section of the window. 2. Double-click the Hardware icon in the right-hand part of the window. The editor for editing the hardware opens. 3. If the catalog is not shown in the right-hand section of the window, you can activate the catalog by selecting Catalog in the View menu. 4. Navigate to CPU 313C via SIMATIC 300 and CPU-300. 5. Drag-and-drop the CPU 313C into slot 2 (window, top or bottom left). Note You can see the order number in the hardware catalog if you click on a CPU. The order number of the selected CPU then appears in the box below the hardware catalog. Multiple order numbers may be listed in your hardware catalog in the CPU 313C folder (see figure). 6. Check whether the order number displayed for slot 2 in the bottom left-hand section of the window corresponds to the order number on your CPU. Increase the width of the order number column so you can see the complete number. If it does: Skip to the next step. If it does not: In the catalog, navigate to CPU 313C via CPU-300. Replace the CPU in slot 2 by dragging and dropping the CPU with the correct order number from the catalog. Automation Siemens System S7-300: Getting Started CPU 31xC: Drives Commissioning & PLCs Getting Started, 08/2011, A5E00105538-04 17

Learning units 3.6 6. Step: Trial run 7. Perform steps 3 and 4 for the power supply module PS 307 too. Insert the PS 307 into slot 1. 8. Go to the Station menu and select Save and compile. The hardware configuration is compiled and saved. 9. Close the editor. The editor is closed. 3.6 6. Step: Trial run Procedure 1. Use the SIMATIC 300 station and CPU 313C to navigate to the S7 program. In SIMATIC Manager, click on Blocks in the right-hand section of the window. "Blocks" is then highlighted. 2. Select "Download" from the "PLC" menu to transfer the program and hardware configuration to the CPU. Confirm all windows with "Yes". The program and configuration are downloaded from the programming device to the CPU. The program is now stored on the SIMATIC Micro Memory Card (in the load memory), where it is unaffected by power failures and resets. 3. Set the CPU's mode switch to RUN. The STOP LED is switched off. The RUN LED starts to flash and then assumes a continuous signal. 4. Press each of the buttons alternately. The LEDs of inputs I124.1 and I124.2 light up alternately. The LED of output Q124.0 is not lit. 5. Press both buttons simultaneously. The LEDs of inputs I124.1 and I124.2 light up simultaneously. The LED of output Q124.0 is lit. This would switch on a connected actuator or indicator. Automation System S7-300: Getting Started CPU 31xC: Commissioning 18 Getting Started, 08/2011, A5E00105538-04

Further Information 4 Diagnostics/Correction of Errors Wrong operation, faulty wiring or a faulty hardware configuration may cause errors which the CPU, CP or IE/PB-Link indicate with the SF group error LED after CPU memory reset. For information on how to diagnose such errors and alarms, please refer to the operating instructions, CPU 31xC and CPU 31x: Installation (http://support.automation.siemens.com/ww/view/en/13008499) and Programming SIMATIC with STEP 7 5.5 (http://support.automation.siemens.com/ww/view/en/45531107). Manuals containing further information For more in-depth Getting Started information, we recommend Getting Started and Exercises with STEP 7 (http://support.automation.siemens.com/ww/view/en/45531551). Service & Support on the Internet In addition to our documentation, we offer a comprehensive knowledge base on the Internet (http://www.siemens.com/automation/service&support). There you can find: A newsletter containing the latest information on your Siemens products. The documents you need using the search engine in Service & Support. The bulletin board, a worldwide knowledge exchange for users and experts. Your local contact for Automation & Drives in our contact database. Information about on-site services, repairs and spare parts. You will find much more under "Services". Automation Siemens System S7-300: Getting Started CPU 31xC: Drives Commissioning & PLCs Getting Started, 08/2011, A5E00105538-04 19

Further Information Automation System S7-300: Getting Started CPU 31xC: Commissioning 20 Getting Started, 08/2011, A5E00105538-04