Академический Документы
Профессиональный Документы
Культура Документы
1 ___________________ Introduction 2 ___________________ Preparation 3 ___________________ Learning units 4 ___________________ Further Information
SIMATIC
08/2011
A5E00105538-04
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.
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.
A5E00105538-04 09/2011
Table of contents
1 2 3 Introduction................................................................................................................................................ 5 Preparation ................................................................................................................................................ 7 Learning units .......................................................................................................................................... 11 3.1 3.2 3.3 3.4 3.5 3.6 4 1. Step: Installing the mounting rail and modules ........................................................................11 2. Step: Wiring modules...............................................................................................................13 3. Step: Commissioning hardware ...............................................................................................14 4. Step: Programming the circuit..................................................................................................15 5. Step: Configuring hardware .....................................................................................................17 6. Step: Trial run ..........................................................................................................................18
Automation System S7-300: Getting Started CPU 31xC: Commissioning Getting Started, 08/2011, A5E00105538-04
Table of contents
Introduction
Automation System S7-300: Getting Started CPU 31xC: Commissioning Getting Started, 08/2011, A5E00105538-04
Introduction
Preparation
2
SIMATIC Micro Memory Card required for operation? yes yes yes yes yes yes yes As of firmware version V3.3 V3.3 V3.3 V3.3 V3.3 V3.3 V3.3
Scope
These instructions apply to the following CPUs:
CPU 312C 313C 313C-2 PtP 313C-2 DP 314C-2 PtP 314C-2 DP 314C-2 PN/DP
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 System S7-300: Getting Started CPU 31xC: Commissioning Getting Started, 08/2011, A5E00105538-04
Preparation
Xm Various 1 1 1 1 Xm
PROFIBUS DP cable with bus connectors M6 nuts and bolts (length depending on specific installation) with suitable screwdriver/wrench Screwdriver with 3.5 mm wide blade Screwdriver with 4.5 mm wide blade Side cutter and cable stripper Crimp tool Cable with 10 cross-section for grounding the mounting rail, with cable lug suitable for M6, length to suit local requirements Flexible wire with 1 mm2 cross-section with suitable wire-end ferrules with insulation collar, length 6 mm 3-core power supply cable (230/120 V AC) with "Schuko" plug, length to suit local requirements and suitable wire-end ferrules Single-pole ON switch (24 V)
Approx. 2m Xm
commonly available
Preparation
6
Power supply ON/OFF Mode selector Mounting rail
Programming device with STEP 7 software PG cable Connecting cable Clamp for strain relief Overview of sample layout
Figure 2-1
Automation System S7-300: Getting Started CPU 31xC: Commissioning Getting Started, 08/2011, A5E00105538-04
Preparation
10
Learning units
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.
Automation System S7-300: Getting Started CPU 31xC: Commissioning Getting Started, 08/2011, A5E00105538-04
11
Learning units 3.1 1. Step: Installing the mounting rail and modules
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.
12
3.2
Automation System S7-300: Getting Started CPU 31xC: Commissioning Getting Started, 08/2011, A5E00105538-04
13
3.3
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.
14
3.4
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 System S7-300: Getting Started CPU 31xC: Commissioning Getting Started, 08/2011, A5E00105538-04
15
9. Close the editor and click Yes when you are prompted to save. The editor is closed and OB 1 is saved.
16
3.5
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 System S7-300: Getting Started CPU 31xC: Commissioning Getting Started, 08/2011, A5E00105538-04
17
3.6
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.
18
Further Information
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).
Automation System S7-300: Getting Started CPU 31xC: Commissioning Getting Started, 08/2011, A5E00105538-04
19
Further Information
20