Siemens Simatic S7-300 31xC Series Getting Started Manual

Siemens Simatic S7-300 31xC Series Getting Started Manual

Positioning with digital output

Advertisement

First Steps in Commissioning CPU

31xC: Positioning with digital output
SIMATIC
S7-300
First Steps in Commissioning CPU 31xC:
Positioning with digital output
Getting Started
08/2011
A5E00105533-03
___________________
Introduction

___________________
Preparation
___________________
Learning units
___________________
Further Information
1
2
3
4

Advertisement

Table of Contents
loading

Summary of Contents for Siemens Simatic S7-300 31xC Series

  • Page 1 ___________________ First Steps in Commissioning CPU Introduction 31xC: Positioning with digital output ___________________ Preparation ___________________ Learning units SIMATIC ___________________ Further Information S7-300 First Steps in Commissioning CPU 31xC: Positioning with digital output Getting Started 08/2011 A5E00105533-03...
  • Page 2 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.
  • Page 3: Table Of Contents

    Table of contents Introduction..............................5 Preparation ..............................7 Learning units ............................11 1. Step: Wire the CPU........................11 2. Step: Installing the sample project...................14 3. Step: Setting parameters ......................15 4. Step: Linking blocks to the user program ................16 5. Step: Carrying out a dry run.....................17 Further Information ..........................
  • Page 4 Table of contents First Steps in Commissioning CPU 31xC: Positioning with digital output Getting Started, 08/2011, A5E00105533-03...
  • Page 5: Introduction

    Introduction Contents of this Getting Started Manual Based on a concrete example, this Getting Started manual takes you through five commissioning steps to the point where you have a functioning traversing movement. You will get to know certain basic hardware and software functions and will calculate and check the application-dependent parameters in this sample.
  • Page 6 Introduction First Steps in Commissioning CPU 31xC: Positioning with digital output Getting Started, 08/2011, A5E00105533-03...
  • Page 7: Preparation

    314C-2 PtP V3.3 314C-2 PN/DP V3.3 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). First Steps in Commissioning CPU 31xC: Positioning with digital output Getting Started, 08/2011, A5E00105533-03...
  • Page 8 Preparation Requirements ● You have an S7 300 station consisting of a power supply module and a CPU 314C-2 PtP, 314C-2 DP or 314C-2 PN/DP. ● STEP 7 is correctly installed on your PG. The table below shows the STEP 7 version you need for each CPU. STEP 7 version 314C-2 PtP STEP 7 as of V5.5 + SP1 or STEP 7 as of V5.3 + SP2 with HSP 204...
  • Page 9 Preparation Layout of the example ① Setting of supply voltage ② 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 First Steps in Commissioning CPU 31xC: Positioning with digital output Getting Started, 08/2011, A5E00105533-03...
  • Page 10 Preparation First Steps in Commissioning CPU 31xC: Positioning with digital output Getting Started, 08/2011, A5E00105533-03...
  • Page 11: Learning Units

    Learning units 1. Step: Wire the CPU WARNING You can come into contact with live wires if the PS 307 power supply module is turned on or the PS power supply cable is connected to the main power supply. Ensure the S7-300 is completely disconnected before wiring! Procedure 1.
  • Page 12 Learning units 3.1 1. Step: Wire the CPU 7. Connect the wires of the relay circuit (X2, pin 32 to 35 and pin 40). 8. Strip the insulation from the shielded cables. 9. Clamp the cable shield into the shield connection element. using the shield terminal elements.
  • Page 13 Learning units 3.1 1. Step: Wire the CPU Connector pin assignment The pin assignments described below relate only to the connections relevant for the positioning type. Table 3- 1 CONNECTOR X2 Name/address Function 1 L+ 24 V power supply of the inputs DI + 0.0 Encoder signal A DI + 0.1...
  • Page 14: Step: Installing The Sample Project

    Learning units 3.2 2. Step: Installing the sample project 2. Step: Installing the sample project Introduction When installing the sample project, you have the following options: Installing from CD 1. Take the CD out of the Technological Functions operating instructions. 2.
  • Page 15: Step: Setting Parameters

    Learning units 3.3 3. Step: Setting parameters 3. Step: Setting parameters Procedure 1. Open your project in SIMATIC Manager. A window, divided into two sections, opens showing the title of your project. 2. In your project, call the configuration table HW Config. 3.
  • Page 16: Step: Linking Blocks To The User Program

    Procedure 1. Open the project "ZDt26_03_TF_____31xC_Pos" in the catalog ... \Siemens\STEP7\Examples via "File > Open ... > Sample projects" in SIMATIC Manager. A window, divided into two sections, opens showing the title of the project. 2. Double-click on the S7 program "Digital 1 First Steps".
  • Page 17: Step: Carrying Out A Dry Run

    Learning units 3.5 5. Step: Carrying out a dry run 5. Step: Carrying out a dry run Procedure 1. In the "Blocks" directory, double-click on the variable table "VAT_GETST_d" in your project. The variable table for monitoring and modifying is displayed. 2.
  • Page 18 Learning units 3.5 5. Step: Carrying out a dry run "Incremental approach, relative" mode Make the following settings: You can monitor the following signal statuses in the column "Status Value": MODE_IN = 4: ST_ENBL = 1: Select "Incremental approach, relative" mode Start enable DRV_EN = 1: MOD_OUT = 4:...
  • Page 19: Further Information

    Further Information Diagnostics/Correction of Errors Incorrect operator input, faulty wiring or inconsistent configuration data may lead to errors. For information on how to analyze such errors and messages, refer to the S7-300 documentation. Example: The "ZEn26_03_TF_____31xC_Pos" project contains further samples you can use for orientation.
  • Page 20 Further Information First Steps in Commissioning CPU 31xC: Positioning with digital output Getting Started, 08/2011, A5E00105533-03...

Table of Contents