Home
Siemens 314c-2dp User's Manual
Contents
1. e Setting up a STEP 7 project e Creating the hardware configuration for the 314C 2DP CPU e Writing a STEP 7 program e Testing the program Requirements The following knowledge is a precondition for successful utilization of this module e Knowledge in the use of Windows e Basic principles of PLC programming with STEP 7 e g Module A3 Startup PLC Programming with STEP 7 Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 4 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE Hardware and software needed 1 PC operating system Windows 2000 Professional starting with SP4 XP Professional starting with SP1 Server 2003 with 600 MHz and 512 RAM free hard disk memory approx 650 to 900 MB MS Internet Explorer 6 0 2 Software STEP7 V 5 4 MPI interface for the PC e g PC adapter for USB 4 SIMATIC S7 300 PLC with the CPU 314C 2DP Configuration example Power supply unit PS 307 2A CPU CPU 314 2DP oO 4 7 300 with CPU 314C 2DP Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 5 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE NOTES ON THE USE OF THE CPU 314C 2DP The CPU 314C 2DP is shipped with an integrated PROFIBUS DP interface and integrated inputs outputs The following PROFIBUS protocol profiles are avail
2. Press F1 to get Help PC Adapteri MFI wt Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 21 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE 15 In the SIMATIC Manager double click on the OB1 block to open it OB1 Fd SIMATIC Manager CPU314C_2DP D 0_S7_Projekte CPUS14C _ o x SH File Edit Insert PLC wiew Options Window Help l x Delam y Gs oe mm Se So e Se eR E k No Fiter gt Si 28 CPUS14C_20P Ey System data fa E ga SIMATIC 300 71 S J CPU 3140 2 DP H a S7 Program By Sources Press F1 to get Help PC Adapteri MPI A 16 As an option you can enter the properties of the OB1 for documentation purposes and accept them with OK gt OK Properties Organization Block 7 l x General Fart 1 General Fart 2 Calls Attributes Mame Symbolic Mame pe Symbol Comment GO Created in Language STL Project path SSS eee poset DS Pea Code Intertace Date created 01 04 2007 06 05 53 4h Last modified O2 0F 72001 03 03 43 PM 02715 1996 04 51 12 FM Comment Man Program Sweep Cycle Cancel Help Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 22 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE 17 LAD STL FDB Program S7 Blocks is an
3. carrier The MMC must be plugged in before the CPU can be operated because the CPUs 31xC do not have an integrated load memory Mode selector The mode selector can be used to choose the current operating mode of the CPU The mode selector is designed as a toggle switch with 3 positions Positions of the mode selector The positions of the mode selector are explained in the same sequence as they occur on the CPU Le EAE e E C RUN RUN mode The CPU is processing the user program An STOP mode The CPU is not processing a user program MRES Memory Reset Button position of the operating mode switch for a memory reset of the CPU A CPU memory reset requires a specific operating sequence refer to the Installation Manual Chapter Commissioning Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 8 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE 2 2 MEMORY AREAS OF THE CPU 31XC Introduction The memory of the CPU 31xC can be divided into three areas Memory of the CPU Loading memory located on the MMC System memory Working memory Note Only with the MMC plugged in is it possible to load user programs and therefore operate the CPU VA 31xC Load memory The load memory is located on a SIMATIC Micro Memory Card MMC Its size is exactly the same as that of the MMC It is used for storing code blocks and data blocks
4. editor which allows you to create your STEP 7 program as you require To this end the OB1 organization block with the first network has already been opened In order to create your first logic operations you must mark the first network Now you can write your first STEP 7 program Individual programs are usually divided HH into networks in STEP 7 You open a new network by clicking on the network symbol EJ Note Comments regarding program documentation are separated from the program commands by the characters H LAD STL FBD OB1 CPU314C_2DP SIMATIC 3001 CPU 314C 2 DP E lo x File Edit Insert PLO Debug View Options Window Help ajx Deea el leel ol ei fa S e I E Hoe A e EF Contents Of Environment Interface A Inter face _ tame OOOO O H TEMP TEMP oO ba ey FC blocks HEH SFB blocks OB1l Main Program Sweep Cycle ra SFC blocks Comment Bar ia Multiple instances m J Libraries Network UE Clock menory byte L HE 100 ffload clock memory byte ME1OO T QE 0 ditransfer to output byte OBO ka a 3 J oe Program eleme E Call structure BYTE Fa iala 1 Error Info 4 Address info 5 Modify E Diagnostics Press F1 to get Help offine obs lt 5 2 uwi Ln2 Insert chg F The network L MB 100 T AB 0 loads the clock memory byte activated in the hardware configuration and transfers it to an output byte As a consequence the 8 bits of the output
5. gt New Project E x User projects Libraries Multiprojects Storage path F Add to curent multiproject Mame Type cru 3140207 Project ra M F Obrany Storage location BE T_Frojekte Browse OF Cancel Help 4 A SIMATIC 300 Station station is now inserted Insert gt Station gt SIMATIC 300 Station Ed SIMATIC Manager CPU314C_2DP D 0_S7_Projekte CPUS14C_ Ep File Edit Insert PLO wiew Options Window Help Station 1 SIMATIC 400 Station Subnet 2 SIMATIC 300 Station Program 3 SIMATIC H Station 4 SIMATIC PC Station r n 5 SIMATIC HMI Station TEE j 6 Other station 7 SIMATIC 55 Symbia Table 6 PGIPC Text Library F 3 SIMATIC 200 Station External Source Wine Hexible RT Inserts SIMATIC 300 Station at the cursor position Zz Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 13 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE 5 Open the configuration tool by double clicking on Hardware gt Hardware RJ SIMATIC Manager CPU314C_2DP D 0_57_Projekte CPU314C_ Ep Fie Edit Insert PLO View Options Window Help Dice Ae e G Pol t Ee Se Press F1 to get Help Pl Adapteri MFI a 6 Open the hardware catalog by clicking on the EL symbol gt EL The catalog is divided into the following directories PROFIBUS DP PA SI
6. GES 314 6CFO2 _ Cancel Help al E ay ae a l F OM rig AM E f EEE ra ac LT pari i CPU 3 2 QF aag asa O OOOO O O O O OO O O OE eG CPU 3152 PN DP bd 24 g diver TT F a Use e aO BES 314 6CF02 04B0 E Insertion possible Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 19 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE 13 By clicking on the Eg and buttons the configuration table is now first stored and converted and then loaded into the PLC When this is being done the key switch on the CPU should be in the Stop position gt Eg gt ea RI HW Config SIMATIC 300 1 Configuration CPU314C_2DP j e iojx miy Station Edit Insert PLC View Options Window Help l x Deru al Download to Module Find iE zi gi 3 Profile Standard T ASE PROFINET ID B SIMATIC 300 H E C7 H E CP 300 Eg CPU 300 a CPU 2 H E CPU 312 1FM H E CPU 3120 H E CPU 313 fl CPU 313C fl CPU 3130 2 DP H E CPU 3130 2 PtP H E CPU 314 E CPU 314 FM J Ps 30724 a 2 CPU 314C 2 DP a2 a oe 22 oso 23 H Aieeao2 24 Coun 4 Fosfor of CPU 3140 2 DP 0 UR kml E of BES 314 6CF 00 0480 Slot A Module Order number Firmware MFI addr address O address Comm Woof io i Fi 6E57 314 6CF 01 0460 1 H Ps 307 24 BES
7. MATIC 300 SIMATIC 400 and SIMATIC PC Based Control and provides you with all the module racks modules and interface modules for designing your hardware configuration RI HW Config SIMATIC 300 1 Configuration CPU314C_2DP iol x miy Station Edit Insert PLC view Options Window Help as lax Do 8 8 glon i eE R a Displays catalog on off a Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 14 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE 7 Insert a rail by double clicking on Rail SIMATIC 300 gt RACK 300 Rail RA HW Config SIMATIC 300 1 Configuration CPU314C_2DP Mi Station Edit Insert PLC view Options Window Help l x Desen gh a hn i ohn BB ae Find at ail Profile Standard a t PROFIBUS PA H E PROFINET I0 S E SIMATIC 300 C7 H E CP 300 4 cPU 300 E FM 300 9 Gateway E IM 300 29 M7 EXTENSION 9 PS 300 RACK 300 it H SM 300 SIMATIC 400 L SIMATIC HMI Station SIMATIC PC Based Control 300 40 H E SIMATIC PC Station 4l SIMATIC 300 1 HE H A Slot Designation BES 390 1 7 770 04 40 Available in various lengths Press F1 to get Help A configuration table for designing Rack 0 is then displayed Foreword Notes Hardware configuratio
8. NS Automation and Drives SCE 19 To start the program move the key switch to the RUN position Click on the jar symbol to view the program in OB1 Oe i z THAIS I 7 s z lol o x File Edit Insert PLE Debug View Options Window Help oelha al tael e ea fo Ee a Contents Of Environment i In Monitor on off E H Interface H TEMP OBL Main Program Sweep Cyelej puteeeneaas Network z Clock memory byte Comment loo fload clock memory byte ME1LOO transfer to output byte OBO l r pi 2 BYTE F gt z 3 RAGS 1 Error 2 Info 3 Cross references 4 Address info 5 Modify E Diagnostics T Comparison Ce lt gt BW labs lt 5 2 Nw1 Ln Rd E Startsi Stops the monitoring of the current block Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 25 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP
9. ON FOR THE CPU 314C 2DP In Step 7 files are managed with the SIMATIC Manager Here program blocks can be copied for example or called for further processing with other tools by clicking on them with the mouse Use of the SIMATIC Manager is in line with the usual Windows standards e g right clicking on a component causes its selection menu to appear In STEP 7 each project is created with a fixed specified structure The programs are stored in the following directories SIMATIC 300 stations Here the corresponding hardware configuration data Hardware SC and CPU data are stored Project This directory contains the hardware e g SIMATIC 300 Sources SO stations and the subnets Here sources e g SCL e g MPI and PROFIBUS sources are stored which can be changed into executable programs through y conversion Ee Hardware D 0_S7_Projekte Hardware 74 a mi x E Bo Hardware pq Source j oy Blocks Blocks APoff ka Symbols Here the program blocks OB FB FC SFB SFC DB etc are stored Symbols SY Here the symbol lists for CPU symbolic addressing are Here the S7 sored program and the S7 Program networked Here the user programs connection partners Blocks AP off symbol Connections CO tables Symbols SY and are entered sources Sources SO are managed Designations from STEP 7 Version 2 x Foreword Notes Hardware configuration STEP 7 program T
10. SI E M E N S Automation and Drives SCE Training Document for Comprehensive Automation Solutions Totally Integrated Automation T I A MODULE A5 Programming the CPU 314C 2DP TIA Training Document Page 1 of 25 Module 5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE This document has been written by Siemens AG for training purposes for the project entitled Siemens Automation Cooperates with Education SCE Siemens AG accepts no responsibility for the correctness of the contents Transmission use or reproduction of this document is only permitted within public training and educational facilities Exceptions require the prior written approval of Siemens AG Mr Michael Knust michael knust siemens com Offenders will be liable for damages All rights including the right to translate the document are reserved particularly if a patent is granted or utility model is registered We would like to thank the following Michael Dziallas Engineering the teachers at vocational schools and all others who helped to prepare this document TIA Training Document Page 2 of 25 Module Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE SEITE 1 FOO WOM MOREE 4 2 Notes on Using the CPU 314C 2DP 000 oc ccccccceeeeeeeeeeeeesaeeeeeeeeeesaaaaeeees 6 2 1 Operator Control of the CPU 31XC i ccccceeeeeeeeesaeeeeeeeeeesssaeeeeeeees 7 2 2 Me
11. T 307 1BA00 0440 2 BES 14 bCF U2 UABD 2 CPU 314C 2 DP 6ES 314 6CF02 0AB0 e H i CPU 3140 2 PtP xz CN E ajoo O a0 cru ats La vt i a ea a a aaa H E CPU 5 2 DF g ARAI i a AE ENOR e G Guy TCC Cd iY EE gt E mee BES 314 6CF02 0480 E naa Se el Ie work memory B4KB O 1ms 1000 OO y p y e nstuctions DI24 D0 16 A5402 xl Integrated 4 pulse outputs 2 5kHz Loads the current station into the load memory of the current module ae Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 20 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE 4 WRITING A STEP 7 PROGRAM We are writing the program to be tested in the statement list language STL and it only contains two lines Here the frequencies of the MB100 clock memory byte activated in the hardware are to be read out on an output byte Assignment list MB100 Clock Clock memory byte ABO AB Display G A cycle duration frequency is assigned to each bit of the clock memory byte Assignment is as 1 follows Bit 7 6 5 4 3 2 1 0 Clock duration s 2 1 6 1 0 8 0 5 0 4 0 2 0 1 Frequency Hz 0 5 0 625 1 1 25 2 2 5 5 10 14 Inthe SIMATIC Manager mark the Blocks folder SIMATIC Manager Blocks O x 2p File Edit Insert PLC View Options Window Help a x Dice SP ae amp See S S ol Ee Se lt NoFiter gt p 92 ia O61
12. able for the CPU 314C 2DP DP interface as master according to EN 50170 DP interface as slave according to EN 501 70 PROFIBUS DP decentralized peripherals is the protocol profile for connecting decentralized peripherals field units with very fast reaction times The addresses of the input and output modules of this CPU can be parameterized Due to the following performance data this CPU is especially suitable for training purposes 48 kByte RAM load memory in the form of a plug in MicroMemoryCard MMC 64 kByte to 4 MByte 8192 bytes DI DO including 992 bytes central 512 bytes Al AO including 248 bytes central 0 1 ms 1K commands 256 counters 256 timers 256 clock memory bytes 24 Dls including 16 which can be used for integrated functions all can be used as alarm inputs as well 16 DOs integrated 4 of which are fast outputs 4 Als for current voltage 1 Al resistor integrated 2 AOs for current voltage integrated 4 pulse outputs 2 5 KHz 4 channel counting and measuring with 24 V 60 kHz incremental encoders Integrated positioning function Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 6 of 25 Modul A5 Issue date 02 2008 e Programming the CPU 314C 2DP SIEMENS Automation and Drives SCE 2 1 OPERATING THE CPUS 31XC Operator control and display elements The following illustration shows the operator control and display element
13. as well as system data configuration connections module parameters etc Blocks that are marked as not being relevant to program execution are exclusively stored in the load memory In addition the complete planning data for a project can be stored on the MMC RAM The RAM is integrated on the CPU and cannot be expanded It is used for processing the code and processing the data of the user program The program is executed exclusively in the RAM and the system memory Once the MMC has been plugged in the RAM of the CPU is retentive System memory The system memory is integrated on the CPU and cannot be expanded lt contains the operands area for clock memories timers and counters the process images of the inputs and outputs the local data Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 9 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE Retentivity Your CPU 31xC has retentive memory Retentivity is implemented on the MMC and on the CPU Due to this retentivity the contents of the retentive memory are retained even after the mains supply has been switched off and the CPU has been restarted warm restart Load memory You program in the load memory MMC is always retentive During loading it is stored on the MMC is powerfail proof and cannot be cleared Work memory RAM Your data in the work memory are backed
14. byte flash in the different frequencies of the clock memory bits Note The address of the output byte can be different from case to case depending on the hardware configuration Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 23 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SIEMENS Automation and Drives SCE 9 TESTING THE STEP 7 PROGRAM The STEP 7 program to be tested can now be loaded into the PLC In our case this is only OB1 18 Save the organization block with El and load it into the PLC by clicking on d When this is being done the key switch on the CPU should be in the STOP position gt El gt ai isd LAD STL FBD OB1 CPU314C_2DP SIMATIC 300 1 CPU 314C 2 DP i File Edit Insert PLC Debug View Options Window Help z ajx isla a sele ole cl Fo Saler H H Interface H TEMP BEY New network H FB blocks H FC blocks H SFB blocks H SFC blocks a ff Multiple instances E W Libraries ee Main Program Sweep Cycle Network Clock memory byte EE 100 ffload clock memory byte MB100 5 os 0 fftransfer to output byte QBO re 4 Address info 5 Modify Loads the current block to the PLC fn offline Abs lt 5 2 Nw1 Ln2 Insert a Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 24 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SIEME
15. elect the corresponding modules from the A N catalog and insert them into your rack The order numbers of the individual modules are noted on the components and are also shown in the footer of the catalog Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 16 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE 9 Inthe next step we drag the CPU 314C 2DP onto the second slot When this is being done the order number and the version of the CPU can be read on the front of the CPU gt SIMATIC 300 CPU 300 gt CPU 314C 2DP 6ES7 314 6CF00 0AB0 iS HW Config SIMATIC 300 1 Configuration CPU314C_2DP lol x ly Station Edit Insert PLC View Options Window Help z la x D amp S SB al ee l d dlma Find at ail Profile Standard SIMATIC 300 H a C7 CPU 312 H CPU 312 1FM CPU 312C CPU 313 H E CPU 313C CPU 313C 2 DP H CPU 3130 2 PIP CPU 314 H CPU 314 1FM 5 CPU 314C 2 DP o uF 9 6ES7 314 6CF00 04B0 GES 314 6CF01 O480 ma SES 314 6CF02 0480 CPU 314C 2 PtP CPU 315 CPU 315 2 DP CPU 315 2 PN DP gt 6ES 314 6CF02 0460 te Work memory 64KB 0 1ms 1000 instructions DI24 D016 Al5 A02 integrated 4 pulse outputs 2 5kH2 Selecting the hardware cho 4 OO oo S Be 10 Inthe follo
16. esting TIA Training Document Page 11 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE The hardware configuration of the PLC is mapped in the SIMATIC 300 Station and CPU folders This is done in the special case where a configuration is created with the CPU 314C 2DP Also a clock memory is configured and the addresses of the input and output modules are set in this case The user must perform the following steps in order to set up a project and create the hardware configuration 1 The central tool in STEP 7 is the SIMATIC Manager which is started by double clicking on the icon SIMATIC Manager Ha P SMA TIC Manager 2 STEP 7 programs are managed in projects Such a project will now be set up gt File gt New E SIMATIC Manager File PLO View Options Windows Help P New Ctrl N New Project Wizard Open trlo 57 Memory Card Memory Card File Delete Reorganize Manage Archive Retrieve Page Setup 1 Erreichbare Teilnehmer MPT 257 Memorycard Exit Alt F4 Creates a new project or a new library 5 Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 12 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE 3 The project is now assigned the name CPU314C_2DP under Name gt CPU314C_2DP
17. mory Concept of the CPU 31XC 0000 0 cccccceceeeeeeeeeeesaeeeeeeeeeeeaaaaeeees 9 3 Creating the Hardware Configuration for the CPU 314C 2DP 11 4 Writing a STEP 7 Program ccccccccccccseeeeeeecaeeeeeeeseeeeeeeesaaeeeeeessaaeeeeeesaaees 21 5 Testing the STEP 7 Program ccccccccceeccecceeeeeeeeeeaeeeeessaaeeeeessaaeeesessaaees 24 The following symbols provide guidance through this module Information Programming Task example LD TIA Training Document Page 3 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE 1 FOREWORD In terms of its contents module A5 belongs to the teaching unit entitled Basic Principles of STEP 7 Programming Basic Principles of STEP 7 Programming 2to3days Module A Further Functions of STEP 7 Programming 2 to 3days Module B with SIMIT SCE 1 to 2 days Module G Plant Simulation Progamming Industrial Field Process Languages Bus Systems Visualization 2 to 3 days Module C 2 to 3 days Module D 2 to 3 days Module F Frequency Converter IT Communication at SIMATIC S7 with SIMATIC S7 2 to 3 days Module H 2 to 3 days Module E Learning Objective In this module the reader learns how to create a hardware configuration for the CPU 314C 2DP and how to write and test a STEP 7 program Based on the steps below the A5 module explains the procedure in principle using a very brief example
18. n STEP 7 program Testing TIA Training Document Page 15 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE 8 From the hardware catalog you now can select any of the modules that are also plugged into the real rack and insert them in the configuration table To do this you must click on the name of the respective module hold down the mouse button and drag the module into a row of the configuration table using the Drag amp Drop function We are starting with the power supply unit PS 307 2A gt SIMATIC 300 gt PS 300 gt PS 307 2A fi HW Config SIMATIC 300 1 Configuration CPU314C_2DP iol x mi Station Edit Insert PLC view Options Window Help x Da 8 8 EEE E EY Be i ojx w 0 UR Find at ani Profile Standard hi ae PROFIBUS DP AS PROFIBUS PA m t PROFINET I0 ii SIMATIC 300 ay C7 E cP 300 E CPU 300 E FM 300 C Gateway E IM 300 3 M7 EXTENSION E Ps 300 PS 307 104 f OPO Saya e a m a H E E U 24 FEPS 307 2 4 0 UR PS 307 54 9 RACK 300 9 SM 300 SIMATIC 400 SIMATIC HMI Station E SIMATIC PC Based Control 300 40 SIMATIC PC Station i gt BES 307 1B400 0440 z Load supply voltage 120 230 VAC 24VDC 24 Press F1 to get Help cho 4 DE aa Note If your hardware differs from that shown here just s
19. nimum scan cycle time ma Scan cycle load from communication 72 Sige of the process mage DP PtP OB85 call up at 70 access error No 0B85 call up DF O UR gt x 4 6CF 00 0460 Slot 2 Module Order number Clock Memory 4 6CF 01 OABO 1 H PS 307 24 BES 307 1B4 W Clock memory 4 6CF 02 0460 2 CPU 314C 2 DP 6ES7 314 61 Memon Bute PtP val Be eral Were IP af g NTARE PN DIP bd ae F E q Work memory mer 1 O00 zd poe e o y Pstucters bi2 00te als a02 integrated 4 pulse outputs 2 5kHz Insertion possible chg 4 Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 18 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SIEMENS Automation and Drives SCE 12 With most S7 300 CPUs the addresses of the I O modules can be altered This is done by double clicking on the corresponding modules and altering their settings in the Addresses tab A note should always be made of these addresses addresses assigned automatically are usually tied to a specific slot DI24 D016 Addresses Deselect System Default 0 Deselect System Default gt 0 gt OK Wg Pssor24 a E CPU 314C 2 DP i a J 240D0E J AAO 4 Coun Process image o FI m 4 Sosa Process image oe Pi System Default 0 UR be Slot A Module Order number 0460 1 a PS 307 24 BES 307 1 BA00 0440 O460 t
20. s of a CPU 31xC The arrangement and number of elements in some CPUs differ from this illustration The figures show the following CPU elements 1 Status and error displays 2 Slot for the Micro Memory Card MMC incl the ejector 3 Connections of the integrated I O 4 Power supply connection 1 interface X2 PtP or DP 1 interface X1 MPI 5 6 7 Mode selector switch The figure shows the following integrated I Os 1 Analog I Os 2 each with 8 digital inputs 3 each with 8 digital outputs 4 Front connectors front doors are open Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 7 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE Status and fault error displays 1 The CPU has the following LED displays LED designation BF for CPUs with DP red Bus error interface only power for CPU and 57 300 bus is OK FRCE sd yellow _ W Force job is active green CPU in RUN The LED flashes during STARTUP ata rate of 2 Hz and in HOLD State at 0 5 Hz yellow CPU in STOP and HOLD or STARTUP The LED flashes at 0 5 Hz when the CPU requests a memory reset and during the reset at 2 Hz Slot for the SIMATIC Micro Memory Card MMC A SIMATIC Micro Memory Card MMC is used as a memory module for the CPU 31xC The MMC can be used as a load memory and as a transportable data
21. up on the MMC in the event that the mains supply is switched off The contents of data blocks are therefore always retained System memory With regard to clock memories timers and counters you configure properties of the CPU Retentivity tab which parts are to be retentive and which are to be initialized with 0 when the system is restarted warm restart The diagnostic buffer MPI address and baud rate as well as the runtime meter are generally stored in the retentive memory area on the CPU The retentive area for the MPI address and the baud rate ensure that your CPU is still able to communicate after a power failure a complete memory reset or loss of the communication parameters because the MMC was removed or the communication parameters were deleted Retention of the memory objects The following table shows which memory objects are retained when transitions between operating modes occur Memory Object Operating Mode Transition PowerOn PowerOff STOP gt Memory RUN Reset User Program User Data load memory Actual values of the DBs oo Flags timers and counters configured as retentive X X X X Diagnostic buffer hours run meter VIPI address baud rate X retentive not retentive Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 10 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE CREATING THE HARDWARE CONFIGURATI
22. wing dialog box we now want to set up the integrated PROFIBUS interface Because we will not use the interface here we accept the settings with OK gt OK Properties PROFIBUS interface DP RE 1 x General Parameters Address E If a subnet ts selected the next available address is suggested Subnet pot networked Hew Properties Delete OF Cancel Help Note Slot No 3 is reserved for interface modules and therefore remains empty Other modules which are not interface modules IM are therefore placed on slots 4 to 11 Foreword Notes Hardware configuration STEP 7 program Testing TIA Training Document Page 17 of 25 Module A5 Issue date 02 2008 Programming the CPU 314C 2DP SI E M E N S Automation and Drives SCE 11 The properties of some modules can be altered Click on module gt Change properties gt OK For example a clock memory can be specified for all CPUs gt Cycle Clock memory v Clock memory Memory Byte 100 ae ee 1E a Tr np yC 2DP iol i aor Station Edit Insert PLE Wien EE me Help la x ol zi Properties CPU 3140 2 DP RO 52 X ant ani Time of Day Interrupts Cyclic Interrupts Diagnostics Clock Protection Communication General Startup Cecler Clock Memory Retentive Memory Interrupts J Mri TE M Update OE1 process image cyclically Scan cycle monitoring time ma i AD Mi
Download Pdf Manuals
Related Search
Related Contents
Kenroy Home 93087AI Installation Guide Foodprocessor HR7781/00 Operators Manual Operators Manual Manuel De L'Opérateur MV-550 RC1-007 - ビデオトロン Copyright © All rights reserved.
Failed to retrieve file