hit counter script
Download Print this page
Siemens SIMATIC Manual

Siemens SIMATIC Manual

Automation system
Hide thumbs Also See for SIMATIC:

Advertisement

Quick Links

s
SIMATIC
Automation System S7-300
Getting Started Collection
This manual is part of the documentation
package with the order number:
6ES7398-8FA10-8BA0
Edition 06/2003
A5E00123662-03
CPU 31x:
Commissioning
CPU 31xC:
Commissioning
CPU 314C: Positioning
with Analog Output
CPU 314C: Positioning
with Digital Output
CPU 31xC:
Counting
CPU 31xC:
PtP Connection
CPU 31xC:
Controlling

Advertisement

loading

Summary of Contents for Siemens SIMATIC

  • Page 1 CPU 31x: Commissioning CPU 31xC: SIMATIC Commissioning CPU 314C: Positioning Automation System S7-300 with Analog Output CPU 314C: Positioning with Digital Output Getting Started Collection CPU 31xC: Counting CPU 31xC: PtP Connection CPU 31xC: Controlling This manual is part of the documentation...
  • Page 2: Safety Guidelines

    Trademarks SIMATIC®, SIMATIC HMI® and SIMATIC NET® are registered trademarks of SIEMENS AG. Third parties using for their own purposes any other names in this document which refer to trademarks might infringe upon the rights of the trademark owners.
  • Page 3 SIMATIC Automation System S7-300 CPU 31x: Commissioning Getting Started Edition 06/2003 A5E00164278-02...
  • Page 4 Introduction This guide takes you through a specific example to set up a working application. This way you will get to know the basic hardware and software functions of your CPU. You should expect to spend between one and two hours on this example, depending on your level of experience.
  • Page 5 Warning When using the S7–300 as a component of plants and systems, you may be required to follow certain rules and regulations according to the specific application. Please note the applicable safety and accident prevention regulations, such as IEC 204 (emergency stop systems). Non-compliance with these regulations can result in serious injury and damage to both machinery and equipment.
  • Page 6: Materials And Tools Required

    Materials and Tools Required Quantity Item Order number (Siemens) Rail e.g. 6ES7 390-1AE80-0AA0 Power supply (PS) e.g. 6ES7 307-1EA00-0AA0 Central processing unit (CPU) e.g. 6ES7 312-1AD10-0AB0 Micro Memory Card (MMC) e.g. 6ES7 953-8LL00-0AA0 Please note: You must have an MMC in order to use certain CPUs...
  • Page 7 Layout of the example LEDs MC/MMC Mode selector switch For setting the line voltage Power supply ON / OFF Rail PG cable for connecting to the MPI interface Programming device (PG) with STEP 7 software Sample layout (certain details of the CPUs may differ from the above illustration) Power supply (PS) MPI interface for connecting to the PG Removable power supply connection...
  • Page 8 Functionality of the example The output cannot switch (i.e. so that the diode on the output module lights up) until the switches are pressed. S7-300 Automation System CPU 31x: Commissioning A5E00164278-02...
  • Page 9: Installation

    1. Installation Figure Installing and Grounding the Rail 1. Screw the rail in position (screw size: M6). Make sure that there is a clearance of at least 40 mm above and below the rail. If you fasten the rail to a grounded metal plate or device support, make sure there is a low-resistance connection between the rail and the base...
  • Page 10 2. Wiring Warning You may come into contact with live wires that are connected to the power supply. Make sure that the S7-300 is completely disconnected before you start wiring. Wiring the Power Supply and the CPU Step Wiring the power supply and CPU Open the front panels of the power supply and the CPU.
  • Page 11 CPU memory is reset. You can now release the mode selector. When the STOP LED lights up permanently again, the CPU memory reset is complete. Start up the programming device and start SIMATIC A SIMATIC Manager window opens. Manager from the Windows desktop.
  • Page 12 Tasks Result: In the right-hand part of the window, double-click first The hardware configuration editor on the SIMATIC 300(1) icon and then on the Hardware (HW Config) opens. icon. You can insert your hardware components from the The rail is inserted in the right-hand hardware catalog in the left-hand part of the window.
  • Page 13 Select the Save and Compile command from the The hardware configuration is Station menu. compiled and saved. Close the editor. The editor is closed. The CPU now appears in the station in SIMATIC Manager. S7-300 Automation System CPU 31x: Commissioning A5E00164278-02...
  • Page 14 5. Programming the Circuit Step Tasks Result: In the right-hand part of the window, first double-click The “Properties” dialog for OB1 is on the CPU icon, then on the S7 program(1) icon, then displayed. on the Blocks icon and finally on the OB1 icon. From the properties for the organizational The program editor opens.
  • Page 15 Step Tasks Result: Label the right-hand switch E124.2 and the coil A124.0 in the same way. set the The editor is closed and OB 1 is File > Close menu command to close the editor, and saved. click Yes when you are prompted to save. S7-300 Automation System CPU 31x: Commissioning A5E00164278-02...
  • Page 16 6. Test Run Step Tasks Result: Navigate via SIMATIC 300 Station and your CPU to Blocks is highlighted. the S7 program. In SIMATIC Manager, click on Blocks in the right-hand part of the window. From the Target System menu, select Download to...
  • Page 17: Service & Support On The Internet

    Service & Support on the Internet To supplement our documentation, you can access our complete knowledge base online on the Internet at: http://www.siemens.com/automation/service&support There you can find: • the newsletter, which contains the latest information about your products. • exactly the right documents for your needs via the search function in Service &...
  • Page 18 Siemens AG Bereich Automatisierungs- und Antriebstechnik Geschaeftsgebiet Industrie-Automatisierungssysteme E Siemens AG 2001-2003 Postfach 4848, D-90327 Nuernberg Subject to change without prior notice Automation System S7-300, Getting Started – CPU31xC:Commissioning: Siemens Aktiengesellschaft A5E00105538-02 A5E00164278-02 Printed in the Federal Republic of Germany...
  • Page 19 SIMATIC Automation System S7-300 CPU 31xC: Commissioning Getting Started Edition 09/2002 A5E00105538-02...
  • Page 20 PS 307 power supply (PS) e.g. 6ES7 307-1EA00-0AA0 CPU 31xC, z. B. CPU 313C e.g. 6ES7 313-5BE00-0AB0 SIMATIC Micro Memory Card (MMC) e.g. 6ES7 953-8LL00-0AA0 40-pin front connector with screw-type contacts 6ES7 392-1AM00-0AA0 Programming device (PG) with MPI interface and installed Depends on configuration STEP 7 version w 5.1 + SP 2 and PG cable or...
  • Page 21 Layout of the example Power supply Switch for setting Mode selector switch Rail Programming ON/OFF system voltage device with STEP 7 software I124.1 DC5V Q124.0 FRCE I124.2 STOP STOP MRES 24 Volt Clamp for Switches strain relief Power connector Programming device cable Overview of the layout of the example Functionality of the Example Output Q124.0 can only be switched (i.e.
  • Page 22 Figure Mounting the Module on the Rack 1. Attach the PS, push it up to the grounding screw of the rail and tighten it. 2. Attach the CPU (1), push it up to the module on the left (2) and tip it downward (3).
  • Page 23 CPU carries out a memory reset. You can let go of the mode selector. When the STOP LED comes on permanently again, the CPU has com- pleted the memory reset. Raise the programming device and start SIMATIC Ma- A SIMATIC Manager window ap- pears.
  • Page 24 Step 4: Commissioning the Hardware Stage What to Do Result Follow the STEP 7 new project assistant on the pro- A two-part window with the title gramming device and create a new project with the S7_Pro1 --... appears. following data: CPU type: CPU 313C.
  • Page 25: Step 5: Configuring The Hardware

    Step 5: Configuring the Hardware Stage Procedure Result In SIMATIC Manager, click SIMATIC 300 Sta- The buttons Hardware and CPU 313 C ap- tion in the left-hand part of the window. pear in the right-hand part of the window. Double-click the Hardware button in the right- The hardware configuration editor opens.
  • Page 26 Installation ; Section 10.4 and Programming with STEP 7 V5.1 ; Chapter SIMATIC Documentation on the Internet You can download all the manuals free of charge from the Siemens home page http://www.ad.siemens.de/support The Knowledge Manager on this page helps you to find the documentation you need faster.
  • Page 27 SIMATIC Automation System S7-300 CPU 314C: Positioning with Analog Output Getting Started Edition 10/2001 A5E00105537-01...
  • Page 28 Introduction The sample in this manual takes you through five steps, showing you how to com- mission a fully functional application and run the drive subsequently. You are going to get acquainted with the basic hardware and software functions and learn how to determine and verify application-dependent parameters in this sample.
  • Page 29 Structure of the Sample Power supply Line voltage Mode selection switch Profile rail Programming device ON/OFF trimming with STEP 7 software 5 V DC FRCE STOP STOP MRES 24 Volt Strain relieve clamp Jumper cables PG cable 1st step: Wiring Warning You risk contact to live wires if the PS 307 power supply module is switched on or if the power line of the PS is connected to mains.
  • Page 30 Incremental encoder Signal A Signal B Signal N 24 V Power unit CONV_EN Chassis ground Current signal Analog ground Automation System S7-300, Getting Started – Analog A5E00105537-01...
  • Page 31: Download From The Internet

    The pin-out below shows only the connections relevant for the respective positio- ning mode. The other connections are found in the Manual, Chapter “Wiring”. CONNECTOR Name/Address Function AO 0 (V) Voltage source, power unit AO 0 (A) Current source, power unit Mana Analog ground CONNECTOR...
  • Page 32 3rd Step: Assigning parameters Step Action Result Open your project in SIMATIC Manager. A split window opens, showing in the header your project name. In your project, call the configuration table HW Config. Double-click on the submodule “AI5/AO”. The “Properties AI5/AO2” dialog opens.
  • Page 33 You are shown all function blocks of the S7 program. Select all function blocks and copy them to your project under SIMATIC 300 Station > CPU3xx > S7 Program > Function blocks. Function block Name Description (in the symbol bar)
  • Page 34: Diagnostics/Troubleshooting

    You can customize all samples according to your personal applica- tions. Siemens AG Bereich Automatisierungs und Antriebstechnik Geschaeftsgebiet Industrie Automatisierungssysteme E Siemens AG 2001 Postfach 4848, D- 90327 Nuernberg Automation System S7-300, Getting Started – Analog We reserve the right of modifications A5E00105537-01...
  • Page 35 SIMATIC Automation System S7-300 CPU 314C: Positioning with Digital Output Getting Started Edition 10/2001 A5E00105533-01...
  • Page 36 Introduction The sample in this manual takes you through five steps, showing you how to com- mission a fully functional application for running the drive. You are going to get ac- quainted with the basic hardware and software functions and learn how to deter- mine and verify the application-dependent parameters in this sample.
  • Page 37 Structure of the Sample Programming device Power supply Line voltage Mode selection switch Profile rail with ON/OFF trimming STEP 7 software 5 V DC FRCE STOP STOP MRES 24 Volt Strain relieve Jumper cables PG cable clamp 1st step: Wiring Warning You risk contacting live wires if the PS 307 power supply module is switched on or if the power supply line of the PS is connected to mains.
  • Page 38 Incremental encoder Signal A Signal B Signal N 24 V L1 L2 L3 Power circuit pole–switching motor Control circuit NC contact from E1 =Hardware limit switch minus K1 = In plus direction E2 =Hardware limit switch plus K2 = In minus direction K3 = Rapid speed K4 = Creep speed Automation System S7-300, Getting Started –...
  • Page 39 The pin-out below shows only the connections relevant for the respective positio- ning mode. The other connections are found in the Manual, Chapter “Wiring”. CONNECTOR Name/Address Function 1 L+ 24 V supply voltage for the inputs DI+0.0 Encoder signal A DI+0.1 Encoder signal B DI+0.2...
  • Page 40 3rd step: Assigning parameters Step Action Result Open your project in SIMATIC Manager. A split window opens, showing in the header your project name. In your project, call the configuration table HW Config. Double-click on the “Positioning” submodule. The “Positioning properties” dialog opens.
  • Page 41 You are shown all function blocks of the S7 program. Select all function blocks and copy them to your project directory SIMATIC 300 Station > CPU3xx > S7 Program > Function blocks. Function block Name Description (in the symbol bar)
  • Page 42 You can customize all samples according to your personal applica- tions. Siemens AG Bereich Automatisierungs und Antriebstechnik Geschaeftsgebiet Industrie Automatisierungssysteme E Siemens AG 2001 Postfach 4848, D 90327 Nuernberg Automation System S7-300, Getting Started – Digital We reserve the right of modifications A5E00105533-01...
  • Page 43 SIMATIC Automation System S7-300 CPU 31xC: Counting Getting Started Edition 10/2001 A5E00105536-01...
  • Page 44 Introduction The sample in this manual takes you through five steps, showing you how to com- mission a fully functional counter application. You are going to get acquainted with the basic hardware and software functions and learn how to operate the counting function.
  • Page 45 Structure of the Sample Power supply Line voltage Mode selection switch Profile rail Programming device ON/OFF trimming with STEP 7 software 5 V DC FRCE STOP STOP MRES 24 Volt Strain relieve clamp Jumper cables PG cable 1st step: Wiring Warning You risk contacting live wires if the PS 307 power supply module is switched on or if the power line of the PS is connected to mains.
  • Page 46 The pin–out below shows only the connections relevant for the respective positio- ning mode. The other connections are found in the Manual, Chapter Wiring”. “ CPU 312C Name/Address Sample function connection: DI+0.0 Pulse input DI+0.1 Direction bit DI+0.2 Hardware gate DI+0.6 Latch input Reference potential of the supply voltage...
  • Page 47 The figure shows, as an example, the CPU 314C with a standard plug arrangement for CPUs with two connectors (X1 and X2). STOP MRES 2nd step: Installing a sample project You have two options of installing a sample project: From CD: Step Action Result...
  • Page 48 3rd step: Assigning parameters Step Action Result Open your project in SIMATIC Manager. A split window opens, showing in the header your project name. In your project, call the configuration table HW Config. Double–click on the “Counting” submodule. The “Counting properties” dialog opens.
  • Page 49 Double-click on the “Function blocks” container. You are shown all function blocks of the S7 program. Copy all function blocks to your project under SIMATIC 300 Station > CPU3xx > S7 Program > Function blocks. Function block Name Description (in the symbol bar)
  • Page 50 You can customize all samples according to your personal applica- tions. Siemens AG Bereich Automatisierungs und Antriebstechnik Geschaeftsgebiet Industrie Automatisierungssysteme E Siemens AG 2001 Postfach 4848, D 90327 Nuernberg Automation System S7-300, Getting Started – Counting We reserve the right of modifications Siemens Aktiengesellschaft...
  • Page 51 SIMATIC Automation System S7-300 CPU 31xC: PtP Connection Getting Started Edition 10/2001 A5E00105535-01...
  • Page 52 Introduction The sample in this manual takes you through four steps, showing you how to com- mission a fully functional application. You are going to get acquainted with the basic hardware and software functions and learn how to transfer data via serial interface. The references to the manual should give you a first overview of the information it contains.
  • Page 53 Structure of the Sample Power supply Line voltage Mode selection switch Profile rail Programming device ON/OFF trimming with STEP 7 software 5 V DC FRCE STOP STOP MRES 24 Volt Strain relieve clamp Jumper cables PG cable 1st step: Installing a sample project You have two options of installing a sample project: From CD: Step...
  • Page 54 2nd step: Assigning parameters Step Action Result Open your project in SIMATIC Manager. A split window opens, showing your pro- ject name in the header. In your project, call the configuration table HW Config. Double–click on the “PtP” submodule. The “PtP properties” dialog opens.
  • Page 55 “Function blocks” container. S7 program. With the exception of system data, select all function blocks and copy them to your project under SIMATIC 300 Station > CPU3xx > S7 Program > Function blocks. Function block Name Description...
  • Page 56 You can customize all samples according to your personal applica- tions. Siemens AG Bereich Automatisierungs- und Antriebstechnik Geschaeftsgebiet Industrie Automatisierungssysteme E Siemens AG 2001 Postfach 4848, D 90327 Nuernberg Automation System S7-300, Getting Started – PtP We reserve the right of modifications A5E00105535-01...
  • Page 57 SIMATIC Automation System S7-300 CPU 31xC: Controlling Getting Started Edition 10/2001 A5E00105534-01...
  • Page 58 Introduction The practical sample in this manual takes you through four steps, showing you how to commission a fully functional application. You are going learn how determine and configure application dependent data and how to operate a control circuit. The refe- rences to the manual should give you a first overview of the information it contains.
  • Page 59 Structure of the Sample Power supply Line voltage Mode selection switch Profile rail Programming device ON/OFF trimming with STEP 7 software 5 V DC FRCE STOP STOP MRES 24 Volt Strain relieve clamp Jumper cables PG cable 1. step: Installing a sample project You have two options of installing a sample project: From CD: Step...
  • Page 60 S7 program. With the exception of system data, select all function blocks and copy them to your project directory SIMATIC 300 Station > CPU3xx > S7 Program > Function blocks. Function block Name Description (in the symbol bar) OB100:...
  • Page 61 4th step: Test run Step Action Result In your project directory “Function blocks”, You are shown the table of variables for double–click on the table of variables “VAT1”. monitoring and controlling. Go Online via PLC > Connect to > Configu- The “STOP”...
  • Page 62 Siemens AG Bereich Automatisierungs und Antriebstechnik Geschaeftsgebiet Industrie Automatisierungssysteme E Siemens AG 2001 Postfach 4848, D 90327 Nuernberg Automation System S7-300, Getting Started – Controlling We reserve the right of modifications Siemens Aktiengesellschaft A5E00105534-01 A5E00105534 01 Printed in the Fed. Rep. of Germany...

This manual is also suitable for:

S7-300