gs cpu31xc in betrieb nehmen en-us

Upload: andreearys

Post on 08-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    1/20

    SIMATIC S7-300 SIMATIC S7-300 Automation System S7-300: Getting Started CPU 31xC: Commissioning ______________

    ______________

    ______________

    ______________

    Introduction 1Preparation 2Learning units 3Further Information 4

    SIMATIC

    Automation System S7-300: GettingStarted CPU 31xC: CommissioningGetting Started

    12/2006A5E00105538-03

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    2/20

    Safety Guidelines

    This manual contains notices you have to observe in order to ensure your personal safety, as well as to preventdamage to property. The notices referring to your personal safety are highlighted in the manual by a safety alertsymbol, notices referring only to property damage have no safety alert symbol. These notices shown below aregraded according to the degree of danger.

    Dangerindicates that death or severe personal injury will result if proper precautions are not taken.Warningindicates that death or severe personal injury may result if proper precautions are not taken.Cautionwith a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.

    Cautionwithout a safety alert symbol, indicates that property damage can result if proper precautions are not taken.

    Noticeindicates that an unintended result or situation can occur if the corresponding information is not taken intoaccount.

    If more than one degree of danger is present, the warning notice representing the highest degree of danger willbe used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating toproperty damage.

    Qualified PersonnelThe device/system may only be set up and used in conjunction with this documentation. Commissioning andoperation of a device/system may only be performed by qualified personnel. Within the context of the safety notesin this documentation qualified persons are defined as persons who are authorized to commission, ground andlabel devices, systems and circuits in accordance with established safety practices and standards.

    Prescribed UsageNote the following:

    WarningThis device may only be used for the applications described in the catalog or the technical description and only inconnection with devices or components from other manufacturers which have been approved or recommended bySiemens. Correct, reliable operation of the product requires proper transport, storage, positioning and assemblyas well as careful operation and maintenance.

    TrademarksAll names identified by are registered trademarks of the Siemens AG. The remaining trademarks in thispublication may be trademarks whose use by third parties for their own purposes could violate the rights of the

    owner.

    Disclaimer of LiabilityWe have reviewed the contents of this publication to ensure consistency with the hardware and softwaredescribed. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, theinformation in this publication is reviewed regularly and any necessary corrections are included in subsequenteditions.

    Siemens AG

    Automation and DrivesPostfach 48 4890437 NRNBERGGERMANY

    Order No.: A5E00105538-03

    12/2006

    Copyright Siemens AG 2006.

    Technical data subject to change

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    3/20

    Automation System S7-300: Getting Started CPU 31xC: CommissioningGetting Started, 12/2006, A5E00105538-03 iii

    Table of contents1 Introduction............................................................................................................................................. 1-12 Preparation............................................................................................................................................. 2-13 Learning units ......................................................................................................................................... 3-1

    3.1 1. Step: Installing the mounting rail and modules ...................................................................... 3-1

    3.2 2. Step: Wiring modules............................................................................................................. 3-3

    3.3 3. Step: Commissioning hardware............................................................................................. 3-43.4 4. Step: Programming the circuit................................................................................................ 3-5

    3.5 5. Step: Configuring hardware ................................................................................................... 3-7

    3.6 6. Step: Trial run ........................................................................................................................ 3-8

    4 Further Information......................................................................................................... ........................ 4-14.1 Further Information ....................................................................................................................4-1

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    4/20

    Table of contents

    Automation System S7-300: Getting Started CPU 31xC: Commissioningiv Getting Started, 12/2006, A5E00105538-03

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    5/20

    Automation System S7-300: Getting Started CPU 31xC: CommissioningGetting Started, 12/2006, A5E00105538-03 1-1

    Introduction 1Contents of this Getting Started Manual

    On the basis of a practical example, this manual guides you through six commissioningsteps so that you can create a functioning application. While working through the example,you will learn the basic hardware and software functions associated with your CPU 31xC.

    This process will take 1.5 to 2 hours, depending on your experience.

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    6/20

    Introduction

    Automation System S7-300: Getting Started CPU 31xC: Commissioning1-2 Getting Started, 12/2006, A5E00105538-03

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    7/20

    Automation System S7-300: Getting Started CPU 31xC: CommissioningGetting Started, 12/2006, A5E00105538-03 2-1

    Preparation 2Scope

    This guide applies to the following CPUs:

    As of versionPU Order no. SIMATIC Micro MemoryCard required for operation? Firmware312C 6ES7 312-5BE03-0AB0 Yes V2.0.12313C 6ES7 313-5BF03-0AB0 Yes V2.0.12

    313C-2 PtP 6ES7 313-6BF03-0AB0 Yes V2.0.12

    313C-2 DP 6ES7 313-6CF03-0AB0 Yes V2.0.12

    314C-2 PtP 6ES7 314-6BG03-0AB0 Yes V2.0.12

    314C-2 DP 6ES7 314-6CG03-0AB0 Yes V2.0.12

    Prerequisites You require a basic knowledge of electronics/electrical engineering and experience of

    working with computers and Microsoft Windows 95/98/NT.

    WarningDepending on its area of application as part of a plant or system, the S7-300 may besubject to specific rules and regulations. Please make sure that you adhere to theapplicable safety and accident-prevention regulations, for example, IEC 204 (emergencystop systems).

    Non-compliance with these regulations can lead to serious injury and damage tomachinery and equipment.

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    8/20

    Preparation

    Automation System S7-300: Getting Started CPU 31xC: Commissioning2-2 Getting Started, 12/2006, A5E00105538-03

    Materials and tools requiredQuantity Item Order number (Siemens)1 Mounting rail e.g. 6ES7 390-1AE80-0AA0

    1 Power supply PS 307 (PS) e.g. 6ES7 307-1EA00-0AA0

    1 CPU 31xC, e.g. CPU 313C e.g. 6ES7 313-5BF03-0AB0

    1 SIMATIC Micro Memory Card

    Note:The SIMATIC Micro Memory Card is essential for the operation of certainCPUs (see Applicability).

    e.g. 6ES7 953-8LL00-0AA0

    2 40-pin front connector with screw contacts 6ES7 392-1AM00-0AA0

    1 Programming device (PG) with MPI interface and STEP 7 software as ofV5.2 + SP2 installed and PG cable or

    PC with suitable interface card

    Depending on configuration

    X m PROFIBUS DP cable with bus connectors Depending on implementation

    Various M6 nuts and bolts (length depending on specific installation) with suitablescrewdriver/wrench

    commonly available

    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 mm2 cross section for grounding the rail with cable lugsuitable for M6, length depending on local situation

    commonly available

    Approx.

    2 m

    Flexible wire with 1 mm2 cross section with suitable ferrules with insulation

    collar, length 6 mm

    commonly available

    X m 3-core power supply cable (230/120 V AC) with a "Schuko" plug with sidegrounding contacts, length to suit the local situation and suitable ferrules

    commonly available

    2 Single-pole ON switch (24 V) commonly available

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    9/20

    Preparation

    Automation System S7-300: Getting Started CPU 31xC: Commissioning

    Getting Started, 12/2006, A5E00105538-03 2-3

    Setup of the example1 2 3 4

    5678

    Figure 2-1 Overview of the sample configuration

    (1) Setting the supply voltage(2) Mode selector

    (3) Mounting rail

    (4) Programming device with STEP 7 software(5) PG cable

    (6) Button

    (7) Connecting cable

    (8) Clamp for strain relief

    (9) Power supply ON/OFF

    Functionality of the exampleOutput Q124.0 must only switch (i.e. diode Q124.0 lights up) when button I124.1 and buttonI124.2 are pressed.

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    10/20

    Preparation

    Automation System S7-300: Getting Started CPU 31xC: Commissioning2-4 Getting Started, 12/2006, A5E00105538-03

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    11/20

    Automation System S7-300: Getting Started CPU 31xC: CommissioningGetting Started, 12/2006, A5E00105538-03 3-1

    Learning units 33.1 1. Step: Installing the mounting rail and modulesRail installation sequence

    From left to right: Power supply PS 307 - CPU 313C.The synopsis will provide you with an overview of the overall configuration.

    Install and ground the mounting rail1. Screw on the mounting rail (screw size: M6) so that at least 40 mm space remains above

    and below the rail.

    When mounting it on a grounded metallic panel or on a grounded device mounting panelmade of steel sheet, make sure you have a low impedance connection between themounting rail and the mounting surface.

    2. Connect the rail to the protective conductor. An M6 screw is provided on the rail for thispurpose.Minimum cross-section from the cable to the protective conductor: at least 10 mm2.

    1.

    2.

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    12/20

    Learning units

    3.1 1. Step: Installing the mounting rail and modules

    Automation System S7-300: Getting Started CPU 31xC: Commissioning3-2 Getting Started, 12/2006, A5E00105538-03

    Installing modules on the mounting rail1. Hook the power supply module onto the rail, slide it until it reaches the grounding screw

    of the rail and then screw it tight.2. Hook the CPU onto the rail (1),slide it along as far as the module on the left (2), and

    swing it down into place (3).

    12

    3

    3. Bolt the CPU tight, applying a torque of between 0.8 and 1.1 Nm.4. Insert the micro memory card into the CPU (4); this is essential for operation.

    If you do not know the content of the micro memory card, erase it first on theprogramming device.

    4

    0,8 bis 1,1 Nm

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    13/20

    Learning units

    3.2 2 . Step: Wiring modules

    Automation System S7-300: Getting Started CPU 31xC: CommissioningGetting Started, 12/2006, A5E00105538-03 3-3

    3.2 2. Step: Wiring modules

    WarningYou could touch live wires if the power supply module PS 307 is switched on or the supplycable of the power supply is connected to the mains supply.

    Perform any wiring work on the S7-300 only when the power is off!

    Wiring the power supply and the CPU1.

    Open the front panel covers of the power supply module and CPU.

    2. Unscrew the strain relief clamp on the power supply module.3. Remove the insulation from the power cord, attach the cable end sleeves (for stranded

    conductors), and connect them to the power supply.

    4. Screw the strain-relief assembly tight.5. Insert two short connecting cables between the power supply and the CPU and screw

    them tight.

    6. Check that the line voltage selector switch is set to the correct line voltage.The default line voltage setting for the power supply module is 230 VAC. To label a frontconnector, follow the steps outlined below: To change the voltage, remove the protective

    cap with a screwdriver, set the switch to the required line voltage and replace theprotective cap.

    Wiring the front connectors of the DI and DO1. Open the right front 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 latches. In this position, thefront connector still protrudes from the CPU. In the wiring position a wired front connectorhas no contact with the module.

    3. Remove 6 mm of the insulation from the ends of the wires that go into the frontconnector. 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

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    14/20

    Learning units

    3.3 3. Step: Commissioning hardware

    Automation System S7-300: Getting Started CPU 31xC: Commissioning3-4 Getting Started, 12/2006, A5E00105538-03

    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.

    3.3 3. Step: Commissioning hardwareProcedure

    1. Use the PG cable to connect the programming device to the CPU. When using a cablewith 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 toSTOP.

    2. Connect the mains cable, then switch on the power supply module PS 307.The DC24VLED on the power supply is lit.

    All the LEDs on the CPU light up briefly; the SFLED and the DC5VLED stay lit. TheSTOPLED 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). Thenrelease it.

    You must press the mode switch back to MRESwithin 3 s. The STOPLED begins toflash rapidly and the CPU performs a reset. You can now release the mode switch.The CPU has completed the memory reset when the STOPLED remains permanentlylit 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.

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    15/20

    Learning units

    3.4 4 . Step: Programming the circuit

    Automation System S7-300: Getting Started CPU 31xC: CommissioningGetting Started, 12/2006, A5E00105538-03 3-5

    3.4 4. Step: Programming the circuitProcedure

    1. Follow the instructions of the STEP 7 "New Project" wizard on the programming deviceand set up a new project with the following data:

    CPU type: CPU 313C Block to be created: OB 1 Project name: S7_Pro1A window, divided into two parts, opens with the title S7_Pro1 -- ....

    2. Double-click the OB1icon 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 currentpath.

    The normally-open contact is highlighted and the question mark is replaced with a textinput box containing the cursor.

    7. EnterI124.1and press Return.The left-hand normally-open contact is now called I124.1.

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    16/20

    Learning units

    3.4 4 . Step: Programming the circuit

    Automation System S7-300: Getting Started CPU 31xC: Commissioning3-6 Getting Started, 12/2006, A5E00105538-03

    8. Label the right button in the same way with I124.2and the coil with Q124.0.

    9. Close the editor and click Yeswhen you are prompted to save.The editor is closed and OB 1 is saved.

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    17/20

    Learning units

    3.5 5 . Step: Configuring hardware

    Automation System S7-300: Getting Started CPU 31xC: CommissioningGetting Started, 12/2006, A5E00105538-03 3-7

    3.5 5. Step: Configuring hardwareProcedure

    1. In SIMATIC Manager, click on SIMATIC 300 Station in the left-hand part of the window.The Hardwareand CPU 313Cicons appear in the right-hand part of the window.

    2. Double-click the Hardwareicon 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 section of the window, you can activate it byselecting Catalogin the Viewmenu.

    4. Expand SIMATIC 300 and CPU-300 until you see CPU 313C.5. Insert the CPU 313Cby dragging it to slot 2 (top or bottom left-hand window).

    NoteYou can see the order number in the catalog if you click on a CPU. The order number ofthis CPU then appears in the box beneath the catalog.

    6. Check that the order number displayed for slot 2 in the lower left-hand part of the windowmatches the order number of your CPU. You may need to expand the width of the ordernumber column to see the entire number.

    If it does: Skip to the next step.If it does not: Expand CPU-300in the catalog until you see CPU 313Cand replace theCPU in slot 2 by dragging the CPU with the correct order number from the catalog.

    7. Perform steps 3 and 4 for the power supply module PS 307 too. You insert the PS 307 inslot 1.

    8. Go to the Stationmenu and select Save and compile.The hardware configuration is compiled and saved.

    9. Close the editor.The editor is closed.

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    18/20

    Learning units

    3.6 6. Step: Trial run

    Automation System S7-300: Getting Started CPU 31xC: Commissioning3-8 Getting Started, 12/2006, A5E00105538-03

    3.6 6. Step: Trial runProcedure

    1. Use the SIMATIC 300 station and CPU 313Cto browse to the S7 program. In SIMATICManager click on Blocks in the right-hand part of the window.

    Blockswill now be highlighted.

    2. Select Downloadfrom the PLCmenu to transfer the program and hardware configurationto the CPU. Confirm all windows with Yes.

    The program and configuration are downloaded from the programming device to theCPU. The program is now stored on the Micro Memory Card (in the load memory), whereit is unaffected by power failures and resets.

    3. Set the CPU's mode switch to RUN.The STOPLED is switched off. The RUNLED starts to flash and then assumes acontinuous 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 final controllingelement or indicator.

  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    19/20

    Automation System S7-300: Getting Started CPU 31xC: CommissioningGetting Started, 12/2006, A5E00105538-03 4-1

    Further Information 44.1 Further InformationDiagnostics/Correction of Errors

    Wrong operation, faulty wiring or a faulty hardware configuration may cause errors which theCPU, CP or IE/PB-Link indicate with the SFgroup error LED after CPU memory reset.

    How to analyze such errors and alarms is described in the CPU31xC and CPU 31x operatinginstructions, Setupand Programming with STEP 7manuals.

    Manuals containing further informationFor more in-depth Getting Started information, we recommend Getting Started andExercises with STEP 7

    Service & Support on the InternetIn addition to our documentation, we offer a comprehensive online knowledge base on theInternet at:

    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 our 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, spare parts. You will find much more under"Services".

    http://www.siemens.com/automation/service&supporthttp://www.siemens.com/automation/service&support
  • 8/6/2019 GS CPU31xC in Betrieb Nehmen en-US

    20/20

    Further Information

    4.1 Further Information

    Automation System S7-300: Getting Started CPU 31xC: Commissioning4-2 Getting Started, 12/2006, A5E00105538-03