Siemens SIMATIC S7-300 Hardware And Installation Manual

Siemens SIMATIC S7-300 Hardware And Installation Manual

Hide thumbs Also See for SIMATIC S7-300:
Table of Contents

Advertisement

SIMATIC
S7-300
Programmable Controller
Hardware and Installation
Manual
This manual is part of the documentation
package with order number:
6ES7398-8FA10-8BA0
Edition 10/2001
A5E00105492-01
Contents
Preface
Quick Guide
Product Overview
Configuring
Installation
Wiring
Addressing
Commissioning
Maintenance
Testing functions, Diagnostics
and Fault Elimination
Appendix
Glossary
Index
1
2
3
4
5
6
7
8
9
10
11
12

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SIMATIC S7-300

  • Page 1 Contents Preface SIMATIC Quick Guide Product Overview S7-300 Configuring Programmable Controller Installation Hardware and Installation Wiring Addressing Manual Commissioning Maintenance Testing functions, Diagnostics and Fault Elimination Appendix Glossary Index This manual is part of the documentation package with order number: 6ES7398-8FA10-8BA0 Edition 10/2001 A5E00105492-01...
  • Page 2: A5E00105492

    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: Table Of Contents

    Contents 1Preface 2Quick Guide Quick Guide: selecting and arranging...............2-1 Quick Guide: Installation ...................2-4 3Product overview Product overview....................3-1 4Configuring In this Chapter ....................4-1 Basics........................4-1 Component dimensions ..................4-4 Arranging modules on a single module rack.............4-7 Arranging modules on multiple module racks ...........4-9 Selection and installation of cabinets..............4-11 Sample application: Selecting a cabinet ............4-13 Electrical assembly, protective measures and grounding.......4-14...
  • Page 4 Contents 6Wiring Wiring ........................6-1 Bonding the protective conductor to the profile rail...........6-4 Adjusting the power supply module to mains voltage ........6-5 Wiring the power supply module and the CPU ..........6-6 Wiring front connectors ..................6-8 Inserting front connectors into modules ............6-11 Labeling the module I/Os ................6-12 Connecting shielded cables to the shielding contact element ......6-13 Wiring the bus connector ................6-16...
  • Page 5 Contents 10Testing functions, Diagnostics and Fault Elimination 10-1 10.1 In this Chapter ....................10-1 10.2 Overview: Testing functions ................10-1 10.3 Overview: Diagnostics..................10-4 10.4 Diagnostic options with STEP 7 ..............10-5 10.5 Diagnostics with LEDs ..................10-6 10.6 Diagnostics of DP CPUs ................10-12 10.6.1 Diagnostics of DP CPUs operating as DP master ........10-12 10.6.2 Diagnostics of DP CPUs operating as DP Slave ..........10-14...
  • Page 6 Contents Figures SIMATIC Customer Support Hotline ..............1-4 Installing a SIMATIC S7 system................2-4 S7-300 modules ....................3-2 Horizontal and vertical installation of an S7-300..........3-3 Horizontal and vertical installation..............4-3 Shielding terminal module.................4-5 Clearance ......................4-6 Module rack with eight signal modules .............4-8 Full assembly ....................4-10 Power loss dissipated ..................4-13 S7-300 configuration with grounded reference potential ........4-16 S7-300 configuration with floating reference potential ........4-17...
  • Page 7 Contents 8-11 Direct Data Exchange with CPUs 31x-2 DP/31xC-2 DP.........8-35 Unlocking the front connector and removing the module .........9-6 Removing the front connector coding pin ............9-7 Installing a new module..................9-7 Inserting the front connector ................9-8 Replacing the backup battery in CPU 313/314 ..........9-9 Location of fuses in the digital output module 120/230 VAC ......9-12 10-1 Principle of Forcing with S7-300 CPUs (all CPUs except 318-2 DP) .....10-3...
  • Page 8 Contents Tables S7-300 in S7 Technology..................2-1 Ambient influence on the PLC................2-1 Potential isolation ....................2-2 Communication between sensors/actuators and the PLC ........2-2 Application of central and distributed I/O ............2-2 Configuration consisting of the Central Unit (CU) and Expansion Modules (EMs) ................2-2 CPU performance .....................2-3 Communications....................2-3 Software ......................2-3...
  • Page 9 Contents Integrated I/O of CPU 312 IFM .................7-6 Integrated I/O of CPU 314 IFM .................7-7 Integrated I/O of CPU 312C ................7-7 Integrated I/O of CPU 313C ................7-8 Integrated I/O of CPU 313C-2 PtP/DP..............7-8 Integrated I/O of CPU 314C-2 PtP/DP..............7-9 Recommended commissioning procedure - Part I: Hardware ......8-2 Recommended commissioning procedure - Part II: Software ......8-3 Possible causes of a CPU request to reset memory ........8-14 Procedure for CPU memory reset..............8-15...
  • Page 10 Contents S7-300 Programmable Controller Hardware and Installation A5E00105492-01...
  • Page 11: Preface

    • EC Guideline 89/336/EEC "EMC Guideline" C-Tick-Mark The SIMATIC S7-300 product series is compliant with AS/NZS 2064 (Australia). Standards The SIMATIC S7-300 product series is compliant with the requirements and criteria for IEC 61131-2. S7-300 Programmable Controller Hardware and Installation A5E00105492-01...
  • Page 12 Preface Documentation required This manual is part of the S7-300 documentation package. Reference manual “CPU Data” “CPU Data CPU 312 IFM to 318-2 DP” Operation, functions and technical specifications of the “CPU Data CPU 312 C to 314C-2 PtP/DP” “Technological Functions” Manual Maual Description of the individual technological functions: - positioning...
  • Page 13 Online Help Part of the STEP 7 documentation package with the order number: 6ES7810-4CA05-8BR0 Further Support Please contact your Siemens partner at your local Siemens office if you have any queries about the products described in this manual. http://www.ad.siemens.de/partner Training Center We offer corresponding S7-300 PLC courses that can help you to get started.
  • Page 14: Simatic Customer Support Hotline

    Local time: Mo.-Fr. 0:00 to 24:00 Phone: +49 (180) 5050 222 Phone: +49 (911) 895-7777 Fax: +49 (180) 5050 223 Fax: +49 (911) 895-7001 E-mail: techsupport@ad.siemens.de GMT: +1:00 GMT: +1:00 Europe / Africa (Nuremberg) America (Johnson City) Asia / Australia (Singapore)
  • Page 15 Service & Support on the Internet We offer you our complete knowledge base online on the Internet as a supplement to our documentation. http://www.ad.siemens.de/support There you can find: • Up-to-date product information (What's new), FAQs (Frequently Asked Questions), Downloads, Tips and Tricks.
  • Page 16 Preface S7-300 Programmable Controller Hardware and Installation A5E00105492-01...
  • Page 17: 2Quick Guide

    Quick Guide Quick Guide: selecting and arranging In this Quick Guide ... you can find - based on the conditions and requirements for your S7-300 system application - a 'signpost' leading you through the S7-300 documentation. The place of S7-300 in S7 Technology Table 2-1 S7-300 in S7 Technology S7-200...
  • Page 18: Potential Isolation

    Quick Guide Table 2-3 Potential isolation Information on ... is available in ... Which modules can I use if it is required to isolate Chapter Configuring; Electrical assembly, the potential of specific sensors/actuators? Protective measures and Grounding, in the Installation Manual Reference Manual Module Specifications When is it required to isolate the potential of Chapter Configuring;...
  • Page 19: Cpu Performance

    Quick Guide Table 2-7 CPU performance Information on ... is available in ... Which is the most adequate memory setup for my Reference manual CPU Data application? How do I install and remove Micro Memory Cards? Chapter Commissioning; Removing/Installing Micro Memory Cards, in the Installation Manual Which CPU meets my requirements on Instruction List;...
  • Page 20: Quick Guide: Installation

    Quick Guide Quick Guide: Installation In this Quick Guide In this Quick Guide we show you the basic procedures for configuring, mounting, wiring and networking your SIMATIC S7 system, modules and module racks. How to successfully install a SIMATIC S7 system Install an S7 system as follows: Configuration Installation...
  • Page 21 In this case, however, you only have to consider information that is relevant to the new module. Cross-reference Also note the description of specific module in the manual: SIMATIC S7-300 PLCs, Module Data Reference Manual. S7-300 Programmable Controller Hardware and Installation...
  • Page 22 Quick Guide S7-300 Programmable Controller Hardware and Installation A5E00105492-01...
  • Page 23: 3Product Overview

    Product overview Product overview In this chapter we shall introduce the major components for your S7-300 configuration. S7-300 Configuration An S7-300 consists of the following modules: • Power supply (PS) • CPU • Signal modules (SM) • Function modules (FM) •...
  • Page 24: S7-300 Modules

    Product overview Power supply (PS) SIEMENS BUSF DC5V FRCE Signal module(SM) STOP PROFIBUS Bus cable PG cable SIEMENS BUSF DC5V FRCE STOP Figure 3-1 S7-300 modules S7-300 PLCs can be installed horizontally or vertically. The following ambient air temperatures are permissible: •...
  • Page 25: S7-300 Modules

    Product overview Horizontal Installation Vertical Installation SIEMENS BUSF DC5V FRCE STOP You have to always position the CPU and the power supply at the bottom or on the left. Figure 3-2 Horizontal and vertical installation of an S7-300 S7-300 modules You can choose from a number of modules to install and commission an S7-300 PLCs.
  • Page 26 Product overview Components Function Illustration ... executes the user program; 5- SIEMENS V supply for the S7-300 Accessory: backplane bus; communicates Front connectors (for CPUs with with other MPI network nodes via integrated I/O) MPI interface. Additional properties of specific CPUs: •...
  • Page 27: Configuring

    Product overview Components Function Illustration PG cable ... interconnects CPU and PG/PC RS485 Repeater ... for the amplification of signals in an MPI or PROFIBUS subnet and for interconnecting segments of an MPI or PROFIBUS subnet Programming device (PG) or PC ...
  • Page 28: Installation

    Product overview S7-300 Programmable Controller Hardware and Installation A5E00105492-01...
  • Page 29: Basics

    Configuring In this Chapter In this chapter we show you, • how to configure your mechanical assembly, • how to configure your electrical assembly, • what you need to consider for networking. Manuals for further details For information on network topics we recommend the Manual Communication with SIMATIC.
  • Page 30 Configuring Caution Depending on the field of application, operation of an S7-300 in a plant or system is defined by special rules and regulations . Note the safety and accident prevention regulations relating to specific applications, e.g. machine protection guidelines. This Chapter and the Appendix General rules and regulations on S7- 300 operation provides an overview of the most important rules you need to take into consideration for the integration of S7-300 in a plant or system.
  • Page 31: Horizontal And Vertical Installation

    Configuring Vertical installation Horizontal installation SIEMENS BUSF DC5V FRCE STOP Rack (rails) Figure 4-1 Horizontal and vertical installation Further information on ... • the selection and dimensions of profile rails (module racks) is found in Chapter Module dimensions. • connections and interfaces (IMs) are found in Chapter Arranging modules on multiple module racks.
  • Page 32: Component Dimensions

    Configuring Component dimensions Length of the profile rails The following profile rails are available. Table 4-1 Profile rails - Overview Profile rail length usable length for modules Order No. 160 mm 120 mm ES7 390-1AB60-0AA0 482.6 mm 450 mm ES7 390-1AE80-0AA0 530 mm 480 mm ES7 390-1AF30-0AA0...
  • Page 33: Shielding Terminal Module

    Configuring • Width of the shielding terminal module: 80 mm • Mountable shielding terminals per shielding terminal module: max 4 Table 4-3 Shielding terminals - Overview Cable with shielding diameter Shielding terminal Order Cable shielding diameter 2 mm to 6 mm 6ES7 390–5AB00–0AA0 Cable shielding diameter 3 mm to 8 mm 6ES7 390–5BA00–0AA0...
  • Page 34: Clearance

    Configuring Rules: Clearance You must maintain the clearance as shown in the figure in order to provide module installation space and to ensure elimination of heat generated by the modules. The S7-300 assembly on multiple module racks shown in the figure below specifies the clearance between module racks and adjacent components, cable ducts, cabinet walls etc.
  • Page 35: Arranging Modules On A Single Module Rack

    Configuring Arranging modules on a single module rack One or multiple module racks? The answer to this query is based on the nature of your application. Reasons for using a single module rack could be: • Compact, space-saving module application •...
  • Page 36: Module Rack With Eight Signal Modules

    Configuring Example: The figure below shows the arrangement of eight signal modules in an S7-300 assembly. SIEMENS BUSF DC5V FRCE STOP Figure 4-4 Module rack with eight signal modules S7-300 Programmable Controller Hardware and Installation A5E00105492-01...
  • Page 37: Arranging Modules On Multiple Module Racks

    Configuring Arranging modules on multiple module racks Exceptions CPUs 312 IFM, 312C and 313 can only be used for a single-rack module assemblies! Prerequisite: Interface modules Interface modules (IM) connecting the S7-300 backplane bus to the next module rack are required for assemblies on multiple module racks. The CPU is always located on rack 0.
  • Page 38: Full Assembly

    Configuring Rules: Interference-proof installation of the connection Special shielding and grounding measures are not required if you interconnect the CU and ED using suitable interface modules (Send IM and Receive IM). However, make sure that • all module racks are interconnected with low impedance, •...
  • Page 39: Selection And Installation Of Cabinets

    Configuring Selection and installation of cabinets Necessity of cabinets You can install the S7-300 in a cabinet for operation in larger plants or if ambient interference or contamination is to be expected. For compliance with UL/CSA standard it is required, amongst other things, to install components in cabinets.
  • Page 40 The power dissipation capability of a cabinet depends on its type, ambient temperature and on the internal arrangement of devices. Details on power dissipation ... is found in the Siemens catalogs NV21 and ET1. Cabinet dimensions Note the following specifications when you determine the dimensions of a cabinet suitable for an S7-300 installation: •...
  • Page 41: Sample Application: Selecting A Cabinet

    Configuring Permissible ambient temperatures ... are found in the Appendix Ambient Conditions. Sample application: Selecting a cabinet Introduction The sample below clearly shows the maximum permissible ambient air temperature at a specific power loss for different cabinet designs. Installation The following device configuration should be installed in a cabinet: •...
  • Page 42: Electrical Assembly, Protective Measures And Grounding

    Configuring Result: The table below shows the ambient air temperatures at a total power loss of 650 W, as a result of the figure above: Table 4-6 Cabinet selection Cabinet design Maximum permissible ambient temperature Closed, with natural convection and forced convection Operation not possible (curve 3) Open, with enclosed ventilation (curve 2)
  • Page 43: S7-300 Installation With Grounded Reference Potential

    Configuring The table below shows components and protective measures. Table 4-7 VDE specifications for the installation of a PLC system Compare ... VDE 0100 VDE 0113 (1) ... Part 460: Disconnecting devices for ... Part 1: control systems, sensors Master switch Circuit breaker and actuators Short-circuit/overload...
  • Page 44: S7-300 Assembly With Floating Reference Potential (Not Cpu 312 Ifm And Cpu 31Xc)

    Configuring removable Jumper removable 47 nF 1 MW jumper Ground bus Figure 4-7 S7-300 configuration with grounded reference potential 4.8.3 S7-300 assembly with floating reference potential (not CPU 312 IFM and CPU 31xC) Introduction In an S7-300 installation with floating reference potential, occurring interference current is dissipated to the ground conductor/ to ground via an RC combination integrated in the CPU.
  • Page 45: S7-300 Configuration With Floating Reference Potential

    Configuring Connection block diagram The figure below shows an S7-300 assembly with CPU 313, 314, 314 IFM, 315, 315-2 DP, 316-2 DP, 318-2 DP and floating reference potential. If you do not want to ground reference potential, remove the jumper on the CPU between the M terminal and functional ground.
  • Page 46: Isolated Or Non-Isolated Modules

    Configuring 4.8.4 Isolated or non-isolated modules? Isolated modules In configurations with isolated modules, the reference potentials of the control circuit (M ) and load circuit (M ) are electrically isolated (see Figure). internal external Application Use isolated modules for: • All AC load circuits •...
  • Page 47: Configuration With Isolated Modules

    Configuring S7-300 CPU internal Data internal µ P Ground bus in cabinet external AC 230 V load DC 24 V load power supply power supply * In the case of CPU 31xC or 312 IFM, the connection is automatically established. Figure 4-9 Configuration with isolated modules Non-isolated modules In configurations with non-isolated modules, the reference potentials of the control...
  • Page 48: Configuration With Non-Isolated Modules

    Configuring 4AI/2AO S7-300 CPU Internal Data internal µ P analog Ground bus in cabinet external DC 24 V load power supply Figure 4-10 Configuration with non-isolated modules S7-300 Programmable Controller Hardware and Installation 4-20 A5E00105492-01...
  • Page 49: Grounding

    Configuring 4.8.5 Grounding Bonding Low-resistance connections to ground reduce the risk of electric shock in case of a short-circuit or system fault. Low-impedance connections (large surface, large- surface contact) reduces the effects of interference on the system or the emission of interference signals.
  • Page 50 Configuring Rule: Ground the cable shielding You should always connect both ends of the cable shielding to ground/functional ground, since this is the only way to achieve good interference suppression in the higher frequency range. If you connect only one end of the shielding (that is, at one or the other end of the cable) to ground, you will merely achieve an attenuation in the lower frequency range.
  • Page 51: Overview: Grounding

    Configuring Connecting the reference potential of the load voltage Numerous output modules require an additional load voltage for switching control devices. The table below shows how to connect the load voltage reference potential M extern for the various configuration versions. Table 4-9 Connecting the load voltage reference potential Installation Non-isolated modules...
  • Page 52: Grounding Conception S7-300 With Cpu 31Xc

    Configuring low-voltage distribution e. g. TN-S System (3 x 400 V) Cabinet Rail µP Signal modules Ground bus in cabinet AC 24 to 230V l oad circuit for AC modules DC 5 to 60V l oad circuit non-isolated DC modules DC 5 to 60V load circuit for isolated DC modules * In the case of CPU 31xC or 312 IFM, the connection will automatically be established...
  • Page 53: Grounding Conception S7-300 ( Not With Cpu 31Xc)

    Configuring All CPUs except CPU 31xC The figure below shows you the complete assembly of an S7-300 with TN-S mains supply (does not apply to CPU 31xC). Apart from powering the CPU, the PS 307 also supplies the load current for the 24 VDC modules.
  • Page 54: Selecting The Load Power Supply Unit

    Protective separation Modules requiring voltage These characteristics apply supplies of ≤ 60 VDC or ≤ 25 to Siemens power supplies VAC. of the series PS 307 and to SITOP power (series 6EP1). 24 VDC load circuits Output voltage tolerances: 20.4 V to 28.8 V...
  • Page 55: Example: S7-300 With Load Power Supply From Ps 307

    Configuring Example: S7-300 with load power supply unit from PS 307 The figure below shows the overall S7-300 configuration (load power supply unit and grounding conception), with TN-S mains supply. Apart from powering the CPU, the PS 307 also supplies the load current for the 24 VDC modules.
  • Page 56: Configuring A Subnet

    Configuring 4.10 Configuring a subnet 4.10.1 Expansion and networking options Subnets SIMATIC offers the following subnets, according to different automation levels (process, cell, field and actuator/sensor level ): • Multi Point Interface (MPI) • PROFIBUS • Point-to-point communication (PtP) • Industrial Ethernet •...
  • Page 57 Configuring Industrial Ethernet Industrial Ethernet in an open multivendor communication system represents the SIMATIC network on process and cell level. Industrial Ethernet is suitable for fast and high-volume data exchange and offers offsite networking options via gateway. With S7-300 CPUs, you can implement Industrial Ethernet connections only with the help of communication processors.
  • Page 58: Basics

    Configuring 4.10.2 Basics MPI, PROFIBUS-DP, PtP Since these subnets are the most commonly used for S7-300 CPUs, we shall take a closer look at them. Declaration: Device = Node In the following, all networked devices are referred to as nodes. Segment A segment is a bus link between two terminating resistors.
  • Page 59: Mpi Addresses Of Cps/Fms In An S7-300

    Configuring On the PG you can specify individual MPI/PROFIBUS addresses for each one of the nodes (on some of the PROFIBUS-DP slaves this is also possible per selector switch). Default MPI/PROFIBUS-DP addresses The table below shows you the factory setting of the MPI/PROFIBUS-DP addresses and the highest default MPI/PROFIBUS-DP addresses for the devices.
  • Page 60: Interfaces

    Configuring Options Example: Special features: CPU 318-2 DP This CPU uses only one MPI address, including the CPs connected. Recommendations for the MPI address n Reserve MPI address "0" for a service PG or "1" for a service OP. You can later connect them temporarily to the subnet.
  • Page 61 At the CPU's PtP interface you can connect devices equipped with a serial port, e.g. barcode readers, printers, ..., (non-Siemens devices). Here, you can operate with transmission rates in full duplex mode (RS422) up to 19.2 Kbps, and in half duplex mode (RS485) up to 38.4 Kbps.
  • Page 62: Network Components

    Configuring Which devices can I connect to which interface? Table 4-14 Connectable Devices PROFIBUS-DP • • • PG/PC Other DP masters and DP Devices with serial port slaves • OP/PP/MP e.g.: barcode readers, • Actuators/Sensors printers, etc. • S7 controllers with MPI •...
  • Page 63: Marginal Conditions For Wiring Interior Bus Cables

    Configuring The table below lists the properties of these bus cables. Table 4-16 Properties of PROFIBUS cables Properties Values approx. 135 Ω to 160 Ω (f = 3 MHz to 20 MHz) Impedance level ≤ 115 Ω/km Loop resistance Effective capacitance 30 nF/km Attenuation 0.9 dB/100 m (f = 200 kHz)
  • Page 64: Bus Connectors

    Configuring RS485 bus connector Table 4-18 Bus connectors Type Order No. RS485 bus connector, up to 12 Mbps, with 90° cable exit, without PG interface, 6ES7 972-0BA11-0XA0 with PG interface 6ES7 972-0BB11-0XA0 Fast Connect RS485 bus connector, up to 12 Mbps, with 90°...
  • Page 65: Pg Patch Cord

    Configuring Longer cable lengths If you want to implement cable lengths above those permitted in a segment, you must use RS485 repeaters. The maximum cable length possible between two RS485 repeaters corresponds to the cable length of a segment (see the following Chapter).
  • Page 66: Cable Length

    Configuring 4.10.5 Cable length MPI Subnet Segment You can implement cable lengths of up to 50 m in an MPI subnet segment.The 50 m is measured from the first to the last node of the segment. Table 4-21 Permissible cable lengths in an MPI subnet segment Transmission rate S7-300 CPUs CPU 318-2 DP...
  • Page 67: Lengths Of Stub Cables Per Segment

    Configuring The following table lists the maximum permissible lengths of stub cables per segment: Table 4-23 Lengths of stub cables per segment Transmission rate Max. length of stub Number of nodes with stub cable length cables per segment of ... 1.5 m or 1.6 m 9.6 Kbps to 93.75 96 m...
  • Page 68: Network Samples

    Configuring 4.10.6 Network samples Example: MPI subnet The figure below shows you the block diagram of an MPI subnet. S7-300 CP**** S7-300 S7-300 S7-300** PROFI- SIEMENS SIEMENS SIEMENS BUSF BUSF OP 27** BUSF BUSF DC5V DC5V SIEMENS DC5V FRCE FRCE...
  • Page 69: Example: Maximum Distances In The Mpi Subnet

    The figure below shows you: • a possible MPI Subnet configuration • maximum distances possible in an MPI subnet • the principle of "Line extension" using RS485 repeaters S7-300 S7-300 S7-300 SIEMENS SIEMENS SIEMENS BUSF BUSF BUSF OP 27 DC5V...
  • Page 70: Example Of A Profibus Subnet

    Example: PROFIBUS subnet The figure below shows you the block diagram of a PROFIBUS subnet. S7-300 with CPU 31x-2 DP as DP master S7-300 ET 200M ET 200M ET 200M S5-95U SIEMENS SIEMENS BUSF BUSF DC5V DC5V DC5V FRCE FRCE STOP STOP À...
  • Page 71: Example: Cpu 314C-2 Dp As Mpi And Profibus Node

    Example: CPU 314C-2 DP as MPI and PROFIBUS node The figure below shows you an assembly with a CPU 314C-2 DP integrated in an MPI subnet and also operated as DP Master in a PROFIBUS subnet. S5-95U S7-300 SIEMENS BUSF DC5V FRCE STOP...
  • Page 72: Example Of Pg Access Across Network Boundaries (Routing)

    PG/PC 3 S7-400 S7-400 with CPU 417 with CPU 416 MPI network 2 MPI network1 S7-300 S7-300 with CPU 31xC-2 DP with CPU 31xC-2 DP SIEMENS SIEMENS BUSF BUSF DC5V DC5V FRCE FRCE STOP STOP PG/PC 1 PROFIBUS DP network...
  • Page 73: Activation Of The Terminating Resistors In An Mpi Subnet

    Configuring Example: Terminating resistor in the MPI subnet The figure below shows you an example of an MPI subnet and where to install the terminating resistance. S7-300 SIEMENS BUSF DC5V FRCE STOP S7-300 S7-300 S7-300 RS 485- SIEMENS SIEMENS OP 27...
  • Page 74 Configuring S7-300 Programmable Controller Hardware and Installation 4-46 A5E00105492-01...
  • Page 75: 5Installation

    Installation Installation In this chapter we explain the steps required for the mechanical assembly of an S7-300. Note Note the installation guidelines and notes on safety in this manual when mounting, commissioning and operating S7-300 systems. Open components S7-300 modules are "Open Components" according to IEC 61131-2 and EC Guideline 73/23/EEC (Low-Voltage Guideline), and to UL/CSA Approval an "open type".
  • Page 76: Module Accessories

    I/Os (only CPU 312 IFM, 314 IFM and 31xC) Tip: Templates for labeling strips can be obtained from the internet at http://www.ad.siemens.de/cs info under article ID 406745. Signal module (SM) 1 bus connector For electrical interconnection of modules...
  • Page 77: Installing The Profile Rail

    Installation Tools and material required For your S7-300 installation you require the tools and materials listed in the table below. Table 5-2 Installation tools and materials You require ... for ... cutting the 2-m profile rail to length measuring tape, hacksaw scribing and drilling holes on the 2-m profile calliper gauge, scribing iron, center punch, rail...
  • Page 78: Holes For Mounting The 2-M Profile Rail

    Installation Preparing the 2-m profile rail for mounting 1. Cut the 2-m profile rail to the required length. 2. Mark out: four bores for the fixing screws (for dimensions refer to "Dimensions for – fixing holes") one hole for the protective conductor bolt. –...
  • Page 79: Mounting Holes For Profile Rails

    Installation Dimension of the mounting holes The mounting hole dimensions for the profile rail are shown in the table below. Table 5-3 Mounting holes for profile rails "Standard" profile rail 2-m profile rail 32.5 mm 32,5 mm 32.5 mm 57.2 mm 57,2 mm 57.2 mm 500 mm...
  • Page 80: Free Space Required For An S7-300 Installation

    In the case of varnished or anodized metals, for instance, use a suitable contacting agent or contact washers. 40 mm SIEMENS 40 mm Figure 5-2 Free space required for an S7-300 installation S7-300 Programmable Controller Hardware and Installation...
  • Page 81: Installing Modules On The Profile Rail

    Installation Installing modules on the profile rail Prerequisite • Your S7-300 PLC is fully configured. • The profile rail is installed. Order of the modules Snap the modules onto the profile rail, starting at the left and in the following order: 1.
  • Page 82: Label The Modules

    Installation Steps of installation The specific steps for module installation are described below. Plug the bus connectors into the CPU and signal/function/communication/interface modules. One bus connector is included per module, but not for the CPU. • Always start at the CPU when you plug in the bus connectors.
  • Page 83: Slot Numbers For S7 Modules

    Installation Table 5-4 Slot numbers for S7 modules Slot number Module Remarks Power supply (PS) – – Interface module (IM) To the right of the CPU 1st signal module To the right of the CPU or IM 2nd signal module –...
  • Page 84: Inserting Slot Numbers In Modules

    Installation Inserting slot numbers 1. Hold the corresponding slot number in front of the respective module. 2. Insert the pin into the opening on the module (1). 3. Press the slot number into the module (2). The slot number breaks off from the wheel.
  • Page 85: 6Wiring

    Wiring Wiring In this chapter we shall explain the procedures for wiring an S7-300. Accessories required To wire the S7-300, you require the accessories listed in the table below. Table 6-1 Wiring accessories Accessories Description Connection comb (included with the PS) for the connection between the power supply module and the CPU (not CPU 31xC)
  • Page 86: Tools And Material For Wiring

    Wiring Tools and material required To wire the S7-300, you require the tools and materials listed in the table below. Table 6-2 Tools and material for wiring You require ... for ... bonding the protective conductor to the Wrench profile rail Protective conductor cable (cross- section ≥...
  • Page 87 Wiring Connectable cables Front connector 20-pin 40-pin solid conductors flexible conductors • Without wire end 0.25 mm to 1.5 mm 0.25 mm to 0.75 mm ferrule • 0.25 mm to 1.5 mm 0.25 mm to 0.75 mm • With wire end ferrule •...
  • Page 88: Bonding The Protective Conductor To The Profile Rail

    Wiring Bonding the protective conductor to the profile rail Prerequisite The profile rail is fixed to the mounting surface. Connecting the protective conductor 1. Connect the protective conductor to the rail, using the M6 protective conductor bolt. Minimum cross-section of the protective conductor: 10 mm The figure below shows how the protective conductor must be bonded to the profile rail.
  • Page 89: Adjusting The Power Supply Module To Mains Voltage

    Wiring Adjusting the power supply module to mains voltage Introduction You can operate the S7-300 power supply on 120 VAC or on 230 VAC. Factory setting for PS 307 is always 230 VAC. Setting the mains voltage selector switch Check to see whether the selector switch is set to the correct mains voltage. You can change the selector switch setting as follows: 1.
  • Page 90: Wiring The Power Supply Module And The Cpu

    Wiring Wiring the power supply module and the CPU Prerequisite The modules are mounted on the profile rail. Connecting comb (not for CPU 312 IFM and CPU 31xC) You can connect some of the CPUs to the PS 307 power supply module using the connection comb included with the module.
  • Page 91: Wiring The Power Supply Module And The Cpu

    Wiring CPUs 31xC: DC 24 V 230V strain-relief assembly power supply connector of CPU 31xC (removable) 230 V/120 V connecting cables for the CPU´s power supply Other CPU´s besides CPU 312 IFM: strain-relief assembly power connector 0.5 to 0.8 Nm 230 V/120 V CPU 312 IFM: wire L+ and M via the front connector of CPU 312 IFM Figure 6-3 Wiring the power supply module and the CPU...
  • Page 92: Wiring Front Connectors

    Wiring Wiring front connectors Introduction The front connector is used to connect the sensors and actuators of your system to the S7-300 PLC. Wire the sensors and actuators to this front connector and then plug it into the module. Front connector versions Front connectors come in 20-pin and 40-pin versions, each with screw contacts or spring terminals.
  • Page 93: Move The Front Connector Into Wiring Position

    Wiring Preparing the front connector and the cables Warning Unintentional contact with live conductors is possible if the power supply module and any additional load power supplies are switched on. Always wire the S7-300 with the power turned off! 1. Open the front panel (1). 2.
  • Page 94: Wiring Front Connectors

    Wiring Wiring the front connector Table 6-6 Wiring front connectors Step 20-pin front connector 40-pin front connector Thread the cable strain relief into the front – connector. Do you want to exit the cables at the bottom of the module? If yes: Starting at terminal 20, work your way down Starting at terminal 40 or 20, wire the connector,...
  • Page 95: Inserting Front Connectors Into Modules

    Wiring Inserting front connectors into modules Prerequisite The front connectors are completely wired as described in the Chapter Wiring front connectors . Inserting the front connector Table 6-7 Inserting the front connector Step with 20-pin front connector with 40-pin front connector Push in the unlocking mechanism on top Screw-tighten the fixing screw in the of the module (1).
  • Page 96: Labeling The Module I/Os

    2. Slide the labelled strips into the front panel. Figure 6-5 Slide the labelled strips into the front panel Tip: Templates for labeling strips can be obtained from the internet at http://www.ad.siemens.de/csinfo under article ID 406745. S7-300 Programmable Controller Hardware and Installation 6-12 A5E00105492-01...
  • Page 97: Connecting Shielded Cables To The Shielding Contact Element

    Wiring Connecting shielded cables to the shielding contact element Application Using the shielding contact element, you can easily ground all shielded cables of S7 modules, due to the direct contact of the shielding contact element to the profile rail. Design of the shielding contact element The shielding contact element consists of: •...
  • Page 98: Shielding Contact Element Underneath Two Signal Modules

    Wiring Fixing bracket Shield terminal Edge a Figure 6-6 Shielding contact element underneath two signal modules Terminating cables Only one or two shielded cables can be terminated per shielding terminal (see the figure below). The cable is clamped in at the stripped cable shielding. 1.
  • Page 99: Connecting 2-Wire Cables To The Shielding Contact Element

    Wiring Shield must be under shield terminal clamp. Figure 6-7 Connecting 2-wire cables to the shielding contact element Tip: For your connection to the front connector, leave a sufficient cable length behind the shielding terminal. This allows you to disconnect the front connector, e.g. for repairs, without having to open the shielding contact element.
  • Page 100: Wiring The Bus Connector

    Wiring Wiring the bus connector Introduction You need to network the nodes if you want to create a multiple-node subnet. The components you require here are listed in the Chapter Configuring, Configuring a Subnet. Information on how to wire the bus connector is found in the article below. Wiring the bus cable to the bus connector Bus connector with screw terminals: 1.
  • Page 101: Bus Connector: Enabled And Disabled Terminating Resistor

    Wiring Inserting the bus connector into the module 1. Insert the wired bus connector into the module. 2. Screw-tighten the bus connector on the module. 3. If the bus connector is at the beginning or at the end of a segment, you have to enable the terminating resistor (Switch position "ON"...
  • Page 102 Wiring S7-300 Programmable Controller Hardware and Installation 6-18 A5E00105492-01...
  • Page 103: 7Addressing

    Addressing Addressing In this chapter shows you the options of addressing specific module channels. Slot-based addressing Slot-based addressing is the default setting, that is, STEP 7 assigns each slot number a defined module start address. User-defined addressing With user-defined addressing, you can assign any module address from the address area managed by the CPU.
  • Page 104: S7-300 Slots And The Corresponding Module Start Addresses

    (EG) slot number initial address digital initial address analog Rack 1 (EG) slot number initial address digital initial address analog SIEMENS BUSF DC5V FRCE Rack 0 STOP (ZG) slot number 124 (CPU 31xC)* initial address digital 256 272 initial address...
  • Page 105: User-Defined Addressing Of Modules

    Addressing User-defined addressing of modules Possible with? User-defined addressing is only supported by CPUs 315, 315-2 DP, 316-2 DP and 318-2 DP, as well as CPUs 31xC. User-defined addressing User-defined addressing means that you can assign an address of your choice to any module (SM/FM/CP).
  • Page 106: Addresses Of The I/O Of Digital Modules

    Addressing Byte address: start address of modules Byte address: start address of modules + 1 Bit address Figure 7-2 Addresses of the I/O of digital modules An example for digital modules The example in the figure below shows which default addresses are obtained if a digital module is inserted in slot 4 (that is, when the module start address is 0).
  • Page 107: I/O Addresses Of A Digital Module In Slot 4

    Addressing SM (digital modules) SIEMENS Address 0.0 BUSF DC5V Address 0.1 FRCE STOP Address 0.7 Address 1.0 Address 1.1 Address 1.7 Slot number Figure 7-3 I/O Addresses of a digital module in Slot 4 Addresses of the analog modules The address of an analog input or output channel is always a word address.
  • Page 108: Addressing The Integrated I/O Of The Cpu

    Addressing SM (Analog modules) Inputs SIEMENS BUSF DC5V Channel0: Address256 FRCE Channe1: Address 258 STOP Outputs Channel0: Address256 Channel1: Address258 slot Number Figure 7-4 I/O addresses of an analog module in Slot 4 Addressing the integrated I/O of the CPU...
  • Page 109: Integrated I/O Of Cpu 314 Ifm

    Addressing CPU 314 IFM The following addresses are assigned to the integrated I/O of CPU 314 IFM: Table 7-2 Integrated I/O of CPU 314 IFM Inputs/Outputs Addresses Remarks 20 digital inputs 124.0 to 126.3 of those are 4 Inputs for Optional utilization of Inputs for integrated functions: integrated functions:...
  • Page 110: Integrated I/O Of Cpu 313C

    Addressing CPU 313C The following addresses are assigned to the integrated I/O of CPU 313C: Table 7-4 Integrated I/O of CPU 313C Inputs/Outputs Default: addresses Remarks 24 digital inputs 124.0 to 126.7 All digital inputs can be programmed as interrupt input. of those are 12 Inputs for technological functions: 124.0 to 125.0...
  • Page 111: Integrated I/O Of Cpu 314C-2 Ptp/Dp

    Addressing CPU 314C-2 PtP/DP The following addresses are assigned to the integrated I/O of CPU 314C-2 PtP/DP: Table 7-6 Integrated I/O of CPU 314C-2 PtP/DP Inputs/Outputs Default: addresses Remarks 24 digital inputs 124.0 to 126.7 All digital inputs can be programmed as interrupt input.
  • Page 112: Consistent Data

    Addressing Consistent data Consistent data The table below shows what you have to take into account for communication in a DP master system if you want to transfer I/O areas with "Total length" consistency. CPUs 315-2 DP, 316-2 DP CPU 318-2 DP CPUs 31xC (Firmware version≥...
  • Page 113: 8Commissioning

    Commissioning In this Chapter In this chapter contains notes on commissioning which you should take into account in order to avoid personal injury or damage to machines. Note Since your commissioning phase is determined primarily by your application, we can only offer you general information, without claiming completeness of this topic. Always note ...
  • Page 114: Testing Functions, Diagnostics And Fault Elimination

    Commissioning Recommended procedure - Part I: Hardware Due to the modular structure and many expansion options, an S7-300 can be quite extensive and complex. It is therefore inappropriate to initially start up an S7-300 with multiple module racks and all inserted (installed) modules. Rather, we recommend a step-by-step commissioning procedure.
  • Page 115: Recommended Commissioning Procedure - Part Ii: Software

    Commissioning Recommended procedure - Part II: Software Table 8-2 Recommended commissioning procedure - Part II: Software Tasks Remarks Information is found in • Switch on the PG in the STEP 7 and start SIMATIC Programming Manual Manager • Download the configuration and the program to the CPU •...
  • Page 116: The Commissioning Checklist

    Commissioning The commissioning checklist Introduction After you have mounted and wired your S7-300, we recommend you check all previous steps once again. The checklist tables below are a guide for your examination of the S7-300. They also provide cross-references to chapters containing further information on the respective topic.
  • Page 117 Commissioning Module installation and wiring Points to be examined refer to the refer to the Installation Reference Manual; Manual; Chapter ... Chapter ... Are all modules properly inserted and screwed in? Are all front connectors properly wired, plugged, screw- 5; 6 tightened or latched to the correct module? Mains voltage Points to be examined...
  • Page 118: Insert The Backup Battery Or Rechargeable Battery

    Commissioning Insert the backup battery or rechargeable battery Exceptions • CPUs 31xC are maintenance-free and do not require a backup battery or rechargeable battery. • CPU 312 IFM is not equipped with a backup battery or rechargeable battery (it is not buffered). •...
  • Page 119: Inserting Or Replacing A Memory Card Or Micro Memory Card

    Commissioning Inserting or replacing a Memory Card or Micro Memory Card Exceptions You cannot insert a memory card into the CPUs 312 IFM and 314 IFM (314- 5AE0x). These CPUs are equipped with an integrated FEPROM load memory. Inserting/replacing a Memory Card Note If you insert the memory card in a CPU mode other than STOP, the CPU will go into STOP mode and the STOP LED will flash at 2-second intervals to request...
  • Page 120: Inserting The Memory Card In The Cpu31Xc

    Commissioning Inserting/replacing a SIMATIC Micro Memory Card (MMC) Note Loading the user program and, therefore, operation of a CPUs 31xC is only possible if an MMC is inserted. Removal of the MMC causes CPU 31xC to go into STOP mode and request memory reset.
  • Page 121: Commissioning Modules

    Connecting a PG to an S7-300 1. Connect the PG with a patch cable to the MPI of the CPU. Alternatively, you can produce the connecting leads with PROFIBUS cable and bus connectors yourself (refer to Chapter Wiring, Connecting Bus Connectors). SIEMENS BUSF DC5V FRCE...
  • Page 122: Connecting A Pg To Multiple S7-300 Plcs

    Commissioning Connecting the PG to Several Nodes Stationary PG 1. Use bus connectors to connect a stationary PG in the MPI subnet to the other nodes of the MPI subnet. The figure below shows the interconnection of two networked S7-300s interconnected with bus connectors.
  • Page 123: Connecting A Pg To A Subnet

    Commissioning SIEMENS BUSF DC5V FRCE STOP S7-300 PG cable = spur line SIEMENS BUSF DC5V FRCE STOP S7-300 Figure 8-6 Connecting a PG to a subnet MPI addresses for service PGs If there is no stationary PG, we recommend: To connect it to an MPI subnet with "unknown" node addresses, set the following addresses on the service PG: •...
  • Page 124: Pg Connected To An Ungrounded S7-300

    Commissioning Connecting PGs to ungrounded nodes of an MPI subnet (not with CPUs 31xC) Connecting a PG to ungrounded nodes Always connect an ungrounded PG to ungrounded MPI subnet nodes or S7-300 PLCs. Connecting a grounded PG to the MPI You want to operate with ungrounded nodes.
  • Page 125: Initial Power On

    Commissioning 8.6.2 Initial power on Prerequisites • The S7-300 is installed and wired. • A SIMATIC MMC is inserted in the S7-300 with CPU 31xC. • The mode selector switch is set to STOP. Initial Startup of CPUs 31x Switch on the PS 307 power supply module. Result: •...
  • Page 126: Possible Causes Of A Cpu Request To Reset Memory

    Commissioning Table 8-3 Possible causes of a CPU request to reset memory Causes of a CPU request to reset Remarks memory The Memory Card or MMC has been not with CPU 312 IFM / replaced. 314 IFM (314-5AE0x) RAM error in CPU –...
  • Page 127: Sequence Of Operation For Resetting Cpu Memory With The Mode Selector Switch

    Commissioning CPU memory reset with the mode selector switch The table below shows the steps required for resetting CPU memory. Table 8-4 Procedure for CPU memory reset Step Resetting CPU memory Turn the key to STOP position Turn the key to the MRES position and push it in Hold the key in this position until the STOP LED lights up for the second time and remains on (this takes 3 seconds).
  • Page 128 Commissioning Structure and Communication Functions, SIMATIC Micro Memory Card (MMC), section on Formatting an MMC on Memory Reset. Is the STOP LED not flashing during memory reset? What do I have to do if the STOP LED is not flashing during memory reset or if other LEDs are lit (Exception: BATF-LED)? 1.
  • Page 129: Sequence Of Operation For Cold Start With The Mode Selector Switch (Cpu 318-2Dp Only)

    Commissioning RUN- STOP- max. 3 s Figure 8-9 Sequence of operation for cold start with the mode selector switch (CPU 318-2DP only) What happens in the CPU during memory reset? Table 8-5 Internal CPU events on memory reset Event CPU 313 / 314 / 314 IFM (314-5AE10) / 315 / 31x-2 DP / CPU 312 IFM / CPU 31xC 314 IFM (314-5AE0x)
  • Page 130 Commissioning Event CPU 313 / 314 / 314 IFM (314-5AE10) / 315 / 31x-2 DP / CPU 312 IFM / CPU 31xC 314 IFM (314-5AE0x) Memory contents The status of CPU memory space is "0". If a Memory Card The user program is after reset or MMC has been inserted, the user program is transferred loaded back into the...
  • Page 131: Starting Simatic Manager

    Commissioning 8.6.4 Starting SIMATIC Manager Introduction SIMATIC Manager is a GUI for online/offline editing of S7 objects (projects, user programs, blocks, HW Stations and Tools). The SIMATIC Manager lets you • manage projects and libraries, • call STEP 7 Tools, •...
  • Page 132: Monitoring And Controlling I/Os

    Commissioning 8.6.5 Monitoring and controlling I/Os The tool "Monitoring and Controlling a Variable" The STEP 7 tool "Monitoring and Controlling a Variable" lets you • monitor program variables in any format, • edit the status or data of variables in the CPU (controlling). create a variable table You have two options of creating a variable table (VAT): •...
  • Page 133 Commissioning Monitoring variables You have two options of monitoring variables: • updating the status values once via menu item Variable > Update status values • continuous update of status values via menu item Variable > Monitor Controlling variables To control variables, proceed as follows: 1.
  • Page 134 Commissioning • With some CPU versions (e.g. CPU 314-1AE03) values are not assigned at every cycle when permanent control is set. Remedy: Use the testing function Force. Saving/Opening the Variable Table Saving the VAT 1. After you abort or complete a test phase, you can save the variable table to memory.
  • Page 135 Commissioning 1. In menu item Table > Open the variable table (VAT), open the VAT that contains the PO you want to control, or activate the window containing the corresponding VAT. 2. To control the PO of the active VAT, select the CPU connection in menu command PLC >...
  • Page 136: Commissioning Profibus-Dp

    Commissioning Commissioning PROFIBUS-DP 8.7.1 Commissioning PROFIBUS-DP Prerequisites Prerequisite for commissioning a PROFIBUS-DP network is: • A PROFIBUS-DP network has been created. • In STEP 7, you have configured the PROFIBUS-DP network and you have assigned all network nodes a PROFIBUS-DP address and memory area (see the Manual SIMATIC, STEP 7 V5.x;...
  • Page 137: Dp Address Areas Of The Cpus

    Commissioning DP address areas of the CPUs Table 8-7 DP address areas of the CPUs Address area 315-2 DP 316-2 DP 318-2 DP 313C-2 DP 314C-2 DP DP address area 1024 bytes 2048 bytes 8192 bytes for I/Os Bytes 0 to 127 Bytes 0 to 127 Byte 0 to 255 (default), Number of those in the I/O...
  • Page 138: Commissioning The Cpu As Dp Master

    Commissioning 8.7.2 Commissioning the CPU as DP Master Prerequisites for commissioning • The PROFIBUS subnet has been configured. • The DP slaves are ready for operation (see relevant DP slave manual). • An MPI/DP interface as DP interface must be configured accordingly (only CPU 318-2).
  • Page 139: Event Recognition By Cpus 31X-2 Dp/31Xc-2 Dp Operating As Dp Master

    Commissioning Startup of CPU 31x-2 DP/31xC-2 DP as DP Master On startup, CPU 31x-2 DP/31xC-2 DP compares the preset configuration of your DP master systems to the actual configuration. If preset configuration = actual configuration the CPU switches to RUN mode. If the preset configuration ≠...
  • Page 140 Commissioning Programming, status/control via PROFIBUS As an alternative to the MPI interface, you can program the CPU or execute the PG's status and control functions via the PROFIBUS-DP interface. Note The use of Status and Control function via the PROFIBUS-DP interface extends the DP cycle.
  • Page 141: Commissioning The Cpu As Dp Slave

    All other DP slaves are programmed and configured. GSD Files When working on an IM 308-C or non-Siemens system, you require a GSD file in order to be able to configure CPU 31x-2 DP/31xC-2 DP as DP slave in a DP master system.
  • Page 142: Event Recognition By Cpus 31X-2 Dp/31Xc-2 Dp As Dp Slave

    Commissioning Commissioning Commission CPU 31x-2 DP/31xC-2 DP as DP slave in the PROFIBUS subnet as follows: 1. Switch on power, but hold the CPU in STOP mode. 2. First, switch on all other DP masters/slaves. 3. Now switch the CPU to RUN mode. Startup of CPU 31x-2 DP/31xC-2 DP as DP slave When the CPU 31x-2 DP/31xC-2 DP is switched to RUN, two independent operating mode transitions are executed:...
  • Page 143: Intermediate Memory In Cpu 31X-2 Dp/31Xc-2 Dp As Dp Slave

    Commissioning Programming, status/control via PROFIBUS As an alternative to the MPI interface, you can program the CPU or execute the PG's status and control functions via the PROFIBUS-DP interface. To do so, you must enable these functions when configuring the CPU as a DP slave in STEP 7. This is not required for CPU 300 C.
  • Page 144: Configuration Example For The Address Areas In Intermediate Memory

    Commissioning Table 8-10 Configuration example for the address areas in intermediate memory Type Master Type Slave Lengt Unit Consistency address address Byte Unit Word Total length Address areas in the Address areas in the These address area parameters DP master CPU DP slave CPU must be identical for DP master and DP slave...
  • Page 145 Commissioning CALL //receive data LADDR:=W#16#D from DP master RET_VAL:=MW 20 RECORD:=P#M30.0 byte 20 // processing received data processing Working with intermediate memory Note the following rules when working with intermediate memory: • Assignment of address areas: Input data of DP slaves are always output data of the DP master –...
  • Page 146: Direct Data Exchange

    Commissioning Data Transfer in STOP Mode The DP slave CPU goes into STOP mode: Data in CPU intermediate memory are overwritten with "0". That is, the DP master reads "0". The DP master goes into STOP mode: Actual data in CPU intermediate memory is maintained and can still be read by the CPU.
  • Page 147: Direct Data Exchange With Cpus 31X-2 Dp/31Xc-2 Dp

    Commissioning Dp master DP master system 1 system 2 CPU as CPU as DP master 1 DP master 2 PROFIBUS DP slave 3 DP slave 5 DP slave DP slave 1 DP slave Figure 8-11 Direct Data Exchange with CPUs 31x-2 DP/31xC-2 DP S7-300 Programmable Controller Hardware and Installation 8-35 A5E00105492-01...
  • Page 148 Commissioning S7-300 Programmable Controller Hardware and Installation 8-36 A5E00105492-01...
  • Page 149: 9Maintenance

    Maintenance In this Chapter Maintenance = operating system backup/update, replacement of modules and fuses S7-300 is a maintenance-free PLC. Therefore, maintenance is to be considered as: • Backup of the operating system on Memory Card (MC) or Micro Memory Card (MMC) (depending on the CPU type) •...
  • Page 150: Operating System Backup

    Maintenance Operating System Backup In which situations should I backup the operating system? For example, you should backup the operating system of your system CPU if you want to replace it with a standby CPU and ensure that the operating system is identical in the replacement CPU.
  • Page 151: Updating The Operating System

    (update). Where do I get the latest version of the operating system? You can obtain the latest operating system versions from your Siemens partner or from the Internet (Siemens Homepage; Automation and Drives, Customer Support).
  • Page 152: Operating System Update With Mc/Mmc

    Maintenance Updating the Operating System How to update the operating system (OS): Table 9-2 Operating system update with MC/MMC Step Action required CPU Response Using STEP 7 and your programming device, transfer the update files to an empty MC/MMC. Remove the backup/rechargeable battery from respective CPUs.
  • Page 153: Module Replacement

    Maintenance Module replacement Rules for Installation and Wiring The table below draws your attention to points to follow when wiring, installing or removing of S7-300 modules. Rules governing ... Power supply ... CPU ... SM/FM/CP Blade width of screwdriver 3.5 mm (cylindrical model) Tightening torque •...
  • Page 154: Unlocking The Front Connector And Removing The Module

    Maintenance Removing a module (SM/FM/CP) Remove the module as follows: Step 20-pin front connector 40-pin front connector Switch the CPU to STOP. Switch off the load voltage to the module. Remove the labeling strip from the module. Open the front panel. Unlock the front connector and remove it.
  • Page 155: Removing The Front Connector Coding Pin

    Maintenance Removing the front connector coding pin from the module Before you start installation of the new module, remove the upper part of the front connector coding pin from this module (see the figure below). Reason: This part is already inserted in the wired front connector. Figure 9-2 Removing the front connector coding pin Installing a new module Install the new module as follows:...
  • Page 156: Replacing The Backup/Rechargeable Battery (Not Cpu 312 Ifm And Cpus 31Xc)

    Maintenance Simply push out the front connector coding with a screwdriver. This upper part of the coding key must then be plugged back into the old module. Putting a New Module into Service Proceed as follows to put the new module into service: 1.
  • Page 157: Replacing The Backup Battery In Cpu 313/314

    Maintenance Note Data in internal main memory will be lost if you replace the backup battery in POWER OFF state of the CPU. Always replace the backup battery in POWER ON state! Replace the backup/rechargeable battery as follows: Step CPU 313/314 CPU 314 IFM/315/315-2 DP/ 316-2 DP/318-2 DP Open the front panel of the CPU.
  • Page 158 Maintenance Disposal Note your local regulations/guidelines on battery disposal. Storing backup batteries Store backup batteries in a dry and cool place. The shelf life of backup batteries is five years. Warning If heated or damaged, backup batteries can ignite or explode and cause severe burning injury.
  • Page 159: Digital Output Module Ac 120/230 V: Replacing The Fuses

    Maintenance Digital output module AC 120/230 V: Replacing the fuses Fuses for Digital Outputs the digital outputs of the following digital output modules are short-circuit protected by individual fusing of the channel groups: • Digit output module SM 322; DO 16 × A 120 V •...
  • Page 160: Location Of Fuses In The Digital Output Module 120/230 Vac

    Maintenance fuses Figure 9-6 Location of fuses in the digital output module 120/230 VAC Replacing fuses The fuses are located at the left side of the module. Replace the fuses as follows: 1. Switch the CPU to STOP. 2. Switch off the load voltage of the digital output module. 3.
  • Page 161: In This Chapter

    Testing functions, Diagnostics and Fault Elimination 10.1 In this Chapter Introduction This Chapter helps you to get acquainted with tools you can use to carry out the following tasks: • Hardware/software error diagnostics. • Elimination of hardware/software errors. • Testing the hardware/software – for example, during commissioning. Note It would go beyond the scope of this manual to provide detailed descriptions of all the tools you can use for diagnostics, testing and troubleshooting functions.
  • Page 162 Testing functions, Diagnostics and Fault Elimination Note The STEP 7 testing function with program status extends the CPU cycle time! In STEP 7 you can customize the maximum permissible increase in cycle time (not for CPU 318-2 DP). In this case, set process mode for the CPU parameters in STEP 7.
  • Page 163: Principle Of Forcing With S7-300 Cpus (All Cpus Except 318-2 Dp)

    Testing functions, Diagnostics and Fault Elimination With S7-300-CPUs, forcing is the same as “cyclical modify“ Execute force Execute force job for inputs job for inputs User program transfer transfer transfer transfer Forced value overwritten by T Forced value PQW! Forced value T PQW Execute force Execute force...
  • Page 164: Overview: Diagnostics

    Testing functions, Diagnostics and Fault Elimination 10.3 Overview: Diagnostics Introduction System errors can occur especially in the Commissioning phase. Tracking these errors might be a time-consuming effort, since they can occur likewise on hardware and on software side. Here, the multitude of testing functions ensures commissioning without problems.
  • Page 165: Diagnostic Options With Step 7

    Testing functions, Diagnostics and Fault Elimination Diagnostic buffer If an error occurs, the CPU writes the cause of error to the diagnostic buffer. In STEP 7 you can read the diagnostic buffer with your PG. This location holds error information in plain text. Other modules capable of diagnostics can be equipped with their own diagnostic buffer.
  • Page 166: Diagnostics With Leds

    Testing functions, Diagnostics and Fault Elimination help of the diagnostic buffer and of the stack content. You can also check whether a user program will run on a specific CPU. Hardware diagnostics give you an overview of the PLC status. In an overview symbols can display the error status of every module.
  • Page 167: Status And Error Displays Of 31Xc Cpus

    Testing functions, Diagnostics and Fault Elimination CPU status and error displays Display for CPU 31x: SF (red) hardware or software error BATF (red) battery error (not CPU 312-IFM) DC5V (green) the 5V-supply for CPU and S7-300C-Bus is ok. FRCE (yellow) force request is active. RUN (gr een) CPU in RUN;...
  • Page 168: Status And Error Displays

    Testing functions, Diagnostics and Fault Elimination Status and error displays of all CPUs Table 10-2 Status and error displays Description 5 VDC FRCE STOP mode LED off LED off CPU power supply missing. Remedy: Check whether the power supply module is connected to mains and switched on.
  • Page 169: Evaluation Of The Sf Led (Software Error)

    Testing functions, Diagnostics and Fault Elimination Table 10-3 Evaluation of the SF LED (Software error) Possible Errors Reaction of the CPU Remedies TOD interrupt is enabled and OB 85 call. CPU goes Loading OB 10 or 11 (CPU 318-2 triggered. However, a into STOP if OB 85 is only) (OB number can be viewed in matching block is not...
  • Page 170: Evaluation Of The Sf Led (Hardware Error)

    Testing functions, Diagnostics and Fault Elimination Table 10-4 Evaluation of the SF LED (Hardware error) Possible Errors Reaction of the CPU Remedies A module was removed or CPU goes into STOP Screw-tighten the modules and inserted during operation. restart the CPU. A diagnostic-capable module OB 82 call.
  • Page 171: The Busf, Busf1 And Busf2 Leds

    Testing functions, Diagnostics and Fault Elimination Status and error display of DP-capable CPUs Table 10-5 The BUSF, BUSF1 and BUSF2 LEDs Description 5 VDC BUSF BUSF1 BUSF2 PROFIBUS-DP interface error. flashe Remedy: Refer to the table below Error at the first PROFIBUS-DP interface of CPU 318-2 flashes Remedy: Refer to the table below On/flash...
  • Page 172: Diagnostics Of Dp Cpus

    Testing functions, Diagnostics and Fault Elimination 10.6 Diagnostics of DP CPUs 10.6.1 Diagnostics of DP CPUs operating as DP master Diagnostics evaluation in the user program The figure below shows you the procedure for evaluating the diagnostics in the user program. Diagnostic event OB82 is called 318-2-DP>=V3.0.0...
  • Page 173: Diagnostic Addresses For Dp Masters And Dp Slaves

    Testing functions, Diagnostics and Fault Elimination Diagnostic Addresses With CPU 31x-2 you assign diagnostic addresses for the PROFIBUS-DP. Make sure during configuration that DP diagnostic addresses are assigned to the DP master and to the DP slave. CPU as DP slave CPU as DP master PROFIBUS DP During configuration you must specify two diagnostic addresses:...
  • Page 174: Diagnostics Of Dp Cpus Operating As Dp Slave

    Testing functions, Diagnostics and Fault Elimination Event What happens in the DP Slave? • Bus failure interrupt Call of OB 86 with the message Station failure (coming (short-circuit, event; diagnostic address of the DP slave assigned to the DP connector unplugged) master) •...
  • Page 175: Diagnostic Address For The Receiving Station With Direct Data Exchange

    Testing functions, Diagnostics and Fault Elimination Diagnostic addresses with direct data exchange You assign a diagnostic address to the receiving station when directly exchanging data: CPU 31x-2 as Sender CPU 31x-2 as Receiver PROFIBUS Diagnostic address During configuration you define in the receiver a diagnostic address that is allocated to the sender.
  • Page 176: Reading Out Diagnostic Data In The Master System, Using Step 5 And Step 7

    Manual user program) FB 125/FC 125 Evaluating slave On the Internet URL diagnostic data http://www.ad.siemens.d e/simatic-cs, Articel ID 387 257 SIMATIC S5 with IM FB 192 "IM308C" Reading slave Manual Distributed I/O 308-C operating as DP...
  • Page 177 Testing functions, Diagnostics and Fault Elimination Agreement for the STEP 5 user program For this STEP 5 user program we agree: • The IM 308-C operating as DP master uses page frame 0 to 15 (number 0 of IM 308-C). •...
  • Page 178 Testing functions, Diagnostics and Fault Elimination STEP 7 User Program Description CALL SFC 59 :=TRUE //Request to read IOID :=B#16#54 //Identifier of the address area, here the I/O input LADDR:= W#16#200 //Logical address of the module RECNUM :=B#16#1 //Data record 1 is to be read RET_VAL :=MW2 //An error code is output if an error occurs BUSY...
  • Page 179: Diagnostic Addresses For Dp Masters And Dp Slaves

    Testing functions, Diagnostics and Fault Elimination Figure 10-6 Diagnostic addresses for DP masters and DP slaves Special features of CPUs 31xC With CPUs 31xC you assign two different diagnostic addresses to the slave, namely one diagnostic address for slot 0 and one for slot 2. These two addresses have the following functions: •...
  • Page 180: Event Recognition Of Cpus 31X-2 Operating As Dp Slave

    Testing functions, Diagnostics and Fault Elimination Event recognition The table below shows how CPU 31x-2 operating as DP slave recognized operating state transitions or data exchange interruptions. Table 10-11 Event recognition of CPUs 31x-2 operating as DP slave Event What happens in the DP Slave? •...
  • Page 181: Interrupts At The Dp Master

    Testing functions, Diagnostics and Fault Elimination 10.6.3 Interrupts at the DP master Interrupts with S7/M7 DP masters With the CPU 31x-2 as a DP slave, you can trigger a process interrupt with the DP master from the user program. By calling SFC7 "DP_PRIN", you will trigger an OB 40 in the user program of the DP master.
  • Page 182: Structure Of Slave Diagnostic Data

    Testing functions, Diagnostics and Fault Elimination 10.6.4 Structure of slave diagnostic data Structure of slave diagnostic data The figure below shows the structure of the diagnostics message frame for slave diagnostics. Byte 0 Byte 1 Station status 1 to 3 Byte 2 Master PROFIBUS address Byte 3...
  • Page 183: Structure Of Station Status 1 (Byte 0)

    Testing functions, Diagnostics and Fault Elimination Station status 1 Table 10-13 Structure of station status 1 (Byte 0) Description Remedy • 1: DP slave cannot be addressed by DP master. Is the correct DP address set on the DP slave? •...
  • Page 184: Structure Of Station Status 3 (Byte 2)

    Testing functions, Diagnostics and Fault Elimination Station Status 3 Table 10-15 Structure of Station Status 3 (Byte 2) Description 0 to 6 0: These bits are always "0" 1:The DP slave is out of memory for received diagnostic messages. The DP master cannot write all diagnostic messages sent by the DP slave to its diagnostic buffer.
  • Page 185: Structure Of Module Diagnostics Of Cpu 31X-2

    Testing functions, Diagnostics and Fault Elimination Module diagnostics Module diagnostics indicate the configured address area of transfer memory that has received an entry. 7 6 5 4 3 2 1 0 Bit No Byte 6 length of the module diagnostics incl. Byte 6 (dependent on the number of configured address areas up to 6 Byte) Code for module diagnostics...
  • Page 186: Structure Of The Module Status

    Testing functions, Diagnostics and Fault Elimination Module status Module status returns the status of configured address areas and provides details on the configuration of module diagnostics. Module status starts with module diagnostics and consists of a maximum of 13 bytes. Byte x Length of module status incl.
  • Page 187: Structure Of The Interrupt Status For Cpu 31Xc

    Testing functions, Diagnostics and Fault Elimination Interrupt status The interrupt status of module diagnostics provides details on a DP slave. The maximum length of module diagnostics starting at byte y is 20 bytes. The following figure describes the structure and content of the bytes for a configured address area of intermediate memory.
  • Page 188: Byte Y+4 To Y+7 For Diagnostic/Process Interrupts

    Testing functions, Diagnostics and Fault Elimination Byte y+1 contains the code for diagnostic Byte y+1 contains the code for process interrupt (01 interrupt (02 The diagnostic data contain the 16 bytes of status You can program 4 bytes of interrupt information for information from the CPU.
  • Page 189: Appendix

    Appendix 11.1 Installation 11.1.1 General rules and regulations for S7-300 operation Introduction In view of the many and versatile S7-300 applications, this chapter can only describe the basic rules on its electrical configuration. You must observe at least these basic rules if you want your S7-300 to operate free of trouble. EMERGENCY-OFF devices EMERGENCY-OFF devices to IEC 204 (corresponds to VDE 113) must remain effective in all operating modes of the plant or system.
  • Page 190: Mains Voltage

    Appendix Mains voltage The following table shows you what to watch with respect to the mains voltage. Table 11-2 Mains voltage In the case of ... is ... For stationary systems or systems without Installation of a mains disconnect switch or all-pole mains disconnect switch a fuse in the building installation system.
  • Page 191: Protection Against Electromagnetic Interference

    • Interference coupling via the system wiring • Interference influencing the system via the power supply and/or protective ground The figure below shows the likely paths of electromagnetic interference. electromagnetic fields SIEMENS BUSF DC5V FRCE STOP process wiring bus signal...
  • Page 192 Appendix Coupling mechanisms Depending on the emitting media (line or isolated) and the distance between the interference source and the device, four different coupling mechanisms can influence the PLC. S7-300 Programmable Controller Hardware and Installation 11-4 A5E00105492-01...
  • Page 193: Coupling Mechanisms

    Appendix Table 11-5 Coupling mechanisms Coupling Cause Typical interference sources mechanisms • Galvanic Galvanic or mechanical Clocked devices (influence on the coupling coupling always occurs when network due to converters and two circuits use one common third-party power supply modules) cable.
  • Page 194: Five Basic Rules For Insuring Emc

    Appendix 11.2.2 Five basic rules for insuring EMC If you conform with theses five basic rules ... you can insure EMC in many cases! Rule 1: Large-area grounding When you install the automation equipment, make sure that surfaces of inactive metal parts are well bonded to chassis ground (see the following sections).
  • Page 195: Emc Compatible Installation Of Plc

    Appendix Rule 4: Special EMC measures Some special applications might require special EMC measures (refer to the section on How to protect digital output modules against inductive surge voltage). • Connect anti-surge elements to all inductive devices not controlled by S7-300 modules.
  • Page 196: Examples Of An Emc Compatible Installation

    Appendix construction or machine) must be bonded to the protective conductor system in a star circuit. Observe for ground connection: • In the same way as with active elements, exercise meticulous care to interconnect inactive metal elements. • Always make sure that you have a low-impedance interconnection between metal elements (e.g.
  • Page 197: Example Of An Emc Compatible Cabinet Installation

    Appendix Figure 11-2 Example of an EMC compatible cabinet installation S7-300 Programmable Controller Hardware and Installation 11-9 A5E00105492-01...
  • Page 198: Keys For Sample 1

    Appendix Keys for sample 1 The numbers in the following list refer to the numbers in the figure above. Table 11-6 Keys for sample 1 Description Explanation Ground straps If no large-surface metal-to-metal connections are available, you must either interconnect inactive metal parts (e.g. cabinet doors or mounting plates) or bond them to chassis ground using ground straps.
  • Page 199: Example Of Emc Compatible Wall-Mounting

    Appendix • Provide a large-surface and low-impedance metal-to-metal connection for fastening the shielding/protective conductor busbar. • Always touch-protect live mains conductors. The figure below shows an example of EMC compatible wall-mounting of an S7. Figure 11-3 Example of EMC compatible wall-mounting S7-300 Programmable Controller Hardware and Installation 11-11 A5E00105492-01...
  • Page 200: Shielding Of Cables

    Appendix 11.2.5 Shielding of cables Purpose of the shielding A cable is shielded to attenuate the effects of magnetic, electrical and electromagnetic interference on the cable. Operating principle Interference currents on cable shielding is diverted to ground conductive interconnection between the shielding and the cabinet. To avoid interference as a result of these currents, it is imperative to provide a low-impedance connection to the protective conductor.
  • Page 201: Equipotential Bonding

    Appendix Figure 11-4 Mounting cable shielding 11.2.6 Equipotential bonding Potential differences Potential differences can occur between separate system elements. This can result in high equipotential currents, e.g. if the cable shielding is terminated at both ends and grounded to different system components. The cause of potential difference can be differences in the power supplies.
  • Page 202: Cable Routing Inside Buildings

    Appendix • The lower the impedance of an equipotential conductor, the more effective is equipotential bonding. • When shielded signal cables interconnect two system components and the shielding is connected on both ends to ground/protective conductors, the impedance of the additionally installed equipotential conductor must not exceed 10% of the shielding impedance.
  • Page 203: Cable Routing Inside Buildings

    Appendix compatibility (EMC). The table contains information on the general rules governing clearances to enable you to choose the right cables. How to Read the Table To find out how to run two cables of different types, proceed as follows: 1.
  • Page 204 Appendix Cables for ... and cables for ... Run ... • • DC voltage (> 60 V and Bus signals, shielded In separate bundles or cable ≤ 400 V), unshielded (PROFIBUS) ducts (no minimum clearance necessary) • • AC voltage (> 25 V and Data signals, shielded ≤...
  • Page 205: Outdoor Cable Routing

    Appendix 11.2.8 Outdoor cable routing Rules for EMC compatible cable routing The same EMC compatibility rules apply both for indoor and outdoor routing of cables. The following also applies: • Running cables on metal cable trays. • Galvanic connection of the joints of cable trays/ducts. •...
  • Page 206: Lightning And Surge Protection

    If you wish to obtain detailed information on surge protection, we therefore recommend you contact your Siemens partner or a company specialized in lightning protection. S7-300 Programmable Controller Hardware and Installation...
  • Page 207: Lightning Protection Zone Conception

    Appendix 11.3.2 Lightning protection zone conception Principally of the Lightning protection zone conception to IEC 61312-1/DIN VDE 0185 T103 The principle of the lightning protection zone conception states that the volume to be protected against overvoltage, for example, a manufacturing hall, is subdivided into lightning protection zones in accordance with EMC guidelines (see Figure).
  • Page 208: Rules For The Transition Point Between Lightning Protection Zones 1

    Appendix Lightning-protection zone 0 (field side) Building shield External (Steel reinforcing) lightning prot. Ligtning-protection zone 1 Room shield (Steel reinforcing) Ligtning-prot. zone 2 Line in power Device shield Lightning system -prot. (Metal casing) Zone 3 device Non- electric Metal line part (metalic) Internal...
  • Page 209 Appendix • Use grounded, spiraled, current-conducting metal straps or metal braiding as a cable shield at both ends, for example, NYCY or A2Y(K)Y. • Install cables in one of the following media: in continuous metal pipes that are grounded at both ends, or –...
  • Page 210: High-Voltage Protection Of Cables With The Help Of Surge Protection Equipment

    Appendix Table 11-8 High-voltage protection of cables with the help of surge protection equipment Ser. Cables for ..equip transition point 0 <-> 1 Order No. with: 3-phase TN-C system 1 piece DEHNbloc/3 900 110* lightning conductor, phase 5SD7 031 L1/L2/L3 to PEN 3-phase TN-S system 1 piece...
  • Page 211: Rules For The Transition Points Between Lightning Protection Zones 1 <-> 2 And Higher

    Appendix 11.3.4 Rules for the transition points between lightning protection zones 1 <-> 2 and higher Rules for transition points 1 <-> 2 and higher (local equipotential bonding) The following measures must be taken on all transition points 1 <-> 2 and higher: •...
  • Page 212: Low-Voltage Protection For Lightning Protection Zones 1 <-> 2

    Appendix Table 11-9 Low-voltage protection for lightning protection zones 1 <-> 2 Ser. Cables for ..equip transition point Order No. 1 <-> 2 with: 3-phase TN-C system 3 pieces DEHNguard 275 surge 900 600* arresters 5SD7 030 3-phase TN-S system 4 pieces DEHNguard 275 surge 900 600*...
  • Page 213: Low-Voltage Protection For Lightning Protection Zones 2 <-> 3

    Appendix Low-voltage protection elements for 2<-> 3 For the transition points between lightning protection zones 2 <-> 3 we recommend the surge protection components listed in the table below. This low-voltage protection must be used in S7-300 for CE compliance. Table 11-10 Low-voltage protection for lightning protection zones 2 <->...
  • Page 214: Sample Of A Surge Protection Circuit For Networked S7-300 Plcs

    Appendix 11.3.5 Sample of a surge protection circuit for networked S7-300 PLCs Sample circuit The sample in the figure below shows you how install an effective surge protection for 2 networked S7-300 PLCs: Lightning-protection 0, Field side zone Lightning-protection zone 1 Switchgear cubicle1 Switchgear cubicle2 Lightning-protection zone 2...
  • Page 215 Appendix Components in previous figure 1-2 The table below explains consecutive numbers in the figure above: Table 11-11 Example of a circuit conforming to lightning protection requirements (legend to previous figure) Ser. No. Components Description from the previous figure lightning arrestor, depending on the High-voltage protection against mains system, e.g.
  • Page 216: How To Protect Digital Output Modules Against Inductive Surge Voltage

    Appendix 11.3.6 How to protect digital output modules against inductive surge voltage Inductive surge voltage Overvoltage occurs when inductive devices are switched off. Examples are relay coils and contactors. Integrated surge arrestor S7-300 digital output modules are equipped with an integrated surge arrester. Additional Overvoltage Protection Inductive devices require additional surge arresters only in following cases: •...
  • Page 217: Circuit For Coils Operated With Dc Voltage

    Appendix Circuit for coils operated with DC voltage The figure below shows DC-operated coils equipped with diode or Zener diode circuit. with diode with Zener diode Figure 11-9 Circuit for coils operated with DC voltage Diode/Zener diode circuits have the following characteristics: •...
  • Page 218: Safety Of Electronic Control Equipment

    Appendix 11.4 Safety of electronic control equipment Introduction The notes below apply independent of the type or manufacturer of the electronic control. Reliability Maximum reliability of SIMATIC devices and components is achieved by implementing extensive and cost-effective measures during development and manufacture: This includes the following: •...
  • Page 219 Appendix Risks In all cases where the occurrence of failures can result in material damage or injury to persons, special measures must be taken to enhance the safety of the installation - and therefore also of the situation. System-specific and special regulations exist for such applications.
  • Page 220 Appendix Important Information Even when electronic control equipment has been configured for maximum design safety - e.g. with a multi-channel structure - it is imperative conform with instructions given in the operating manual. Incorrect handling can render measures intended to prevent dangerous faults ineffective, or generate additional sources of danger.
  • Page 221: Glossary

    Glossary Accumulator The --> CPU uses the accumulator registers as intermediate memory for load, transfer, comparison, calculation and conversion operations. Address The address represents the ID for a specific operand or operand range. Example: Input I 12.1; Memory bit Word MW25; Data block DB3. Analog module Analog modules convert process values (e.g.
  • Page 222 Glossary A bus is a communication medium connecting several nodes. Data transmission can be serial or parallel across electrical conductors or optical waveguides. Chassis ground Chassis ground is the totality of all the interconnected inactive parts of a piece of equipment on which a hazardous touch voltage cannot build up even in the event of a fault.
  • Page 223 Glossary Consistent data Data whose contents are related and which should not be separated are known as consistent data. For example, the values of analog modules must always be handled consistently, that is the value of an analog module must not be corrupted by reading it out at two different times.
  • Page 224 Glossary Diagnostic buffer The diagnostic buffer is a buffered memory area in the CPU in which diagnostic events are stored in the order of their occurrence. Diagnostic Interrupt Modules capable of diagnostic operations report detected system error events to the --> CPU, using diagnostic interrupts. Diagnostics -->...
  • Page 225 Glossary External power supply Power supply for the signal and function modules and the I/O connected to them. --> Function Block --> Function Flash EPROM FEPROMs are the same as electrically erasable EEPROMS in that they can retain data in the event of a power failure, but they can be erased much more quickly (FEPROM = Flash Erasable Programmable Read Only Memory).
  • Page 226 Glossary Galvanically isolated The reference potential of the control and on-load power circuits for isolated I/Os is galvanically isolated; e.g. by optocouplers, relay contact or transformer. I/O circuits can be connected to a common potential. GD circuit A GD circuit consists of a number of CPUs exchanging data by means of global data communication and which are used as follows: •...
  • Page 227 Glossary Instance data block A DB is automatically generated and assigned to every function block call in the STEP 7 user program. The values of the input, output and in/out parameters are stored in the instance data block, together with local block data. Interface, multipoint -->...
  • Page 228 Glossary Interrupt, time-of-day The time-of-day interrupt belongs to one of the priority classes when processing programs in SIMATIC S7. It is generated depending on a specific date (or daily) and time-of-day (e.g. 9:50 or hourly, or every minute). A corresponding organization block is then executed.
  • Page 229 Glossary Micro Memory Card (MMC) Micro Memory Cards are memory media for CPUs and CPs. Its smaller dimensions form the only difference compared to the --> Memory Card. Module parameters Module parameters are values which can be used to control the response of the module.
  • Page 230 Glossary OB priority The CPU --> operating system distinguishes between different priority classes, e.g. cyclic program execution, program execution controlled by process interrupt. Each priority class is assigned --> organization blocks (OBs) in which the S7 user can program a response. The OBs have different standard priorities which determine the order in which they are executed or interrupted in the event that they are activated simultaneously.
  • Page 231 Glossary --> Programmable controller Priority class The S7 CPU operating system provides up to 26 priority classes (or "Program execution levels"). Specific OBs are assigned to these classes. The priority classes determine which OBs interrupt other OBs. If a priority class includes several OBs, they do not interrupt each other, but are executed sequentially.
  • Page 232 Glossary Programming device Programming devices are essentially personal computers which are compact, portable and suitable for industrial applications. They are equipped with special hardware and software for SIMATIC PLCs. RAM (Random Access Memory) is a semiconductor read/write memory. Reduction factor The reduction rate determines the send/receive frequency for -->...
  • Page 233 Glossary Segment --> Bus Segment --> System function block --> System function Shared data Shared data can be addressed from any --> code block (FC, FB, OB). In detail, this refers to memories M, inputs I, outputs Q, timers, counters and data blocks DB. Absolute or symbolic access can be made to shared data.
  • Page 234 Glossary Substitute value Substitute values are configurable values which output modules transmit to the process when the CPU switches to STOP mode. In the event of an input access error, a substitute value can be written to the accumulator instead of the input value which could not be read (SFC 44). System diagnostics System diagnostics is the term used to describe the detection, evaluation and signaling of errors which occur within the programmable controller.
  • Page 235 Glossary Timers Timers are part of CPU --> system memory. The contents of the "timer cells" are updated automatically by the operating system asynchronously to the user program. STEP 7 instructions are used to define the exact function of the timer cells (for example on-delay) and initiate their execution (e.g.
  • Page 236 Glossary S7-300 Programmable Controller Hardware and Installation 12-16 A5E00105492-01...
  • Page 237 Index BUSF1 LED ..........10-11 BUSF2 LED ..........10-11 Accessories..........5-2 wiring..........6-1 Accumulator .......... 12-1 Actuator/Sensor Interface ..... 4-29 Address ..........12-1 Cabinet Addresses dimensions ........4-12 analog modules ......... 7-5 power loss dissipated.......4-13 digital modules ........7-3 selecting and dimensioning....4-11 integrated I/O of CPUs....... 7-6 types..........4-11 technological functions ......
  • Page 238 Glossary Connecting cables Diagnostic Interrupt .......12-4 for interface modules ......4-9 Diagnostics Connecting comb ........6-6 as DP-Master .........10-12 Connecting sensors ........ 6-8 as DP-Slave ........10-14 Consistent data ......7-10, 12-3 configured address area ....10-25 Controlling device related .........10-27 of variables........10-1 System ...........12-14 Controlling and monitoring variables with LEDs .........10-6...
  • Page 239 Glossary remove from front connector....9-7 Intermediate memory ......8-31 Front connector coding pin Internet ............1-5 remove from module......9-7 Interrupt ..........12-8 Full assembly ........4-10 delay-..........12-7 Function diagnostic .........12-4 FC ............2-5 for DP master .........10-21 Function block Process ..........12-11 FB ............
  • Page 240 Glossary User ..........12-15 Example ...........4-40 work ..........12-8 maximum distances......4-41 Memory bits .......... 12-8 Segment ...........4-38 Memory Card ........12-8 terminating resistance ......4-45 inserting ..........8-7 MPI Subnet..........4-28 Operating system backup ....9-2 replacing ..........8-7 Memory reset MPI parameter ......... 8-18 Nesting depth ........12-9 Micro Memory Card Noise...
  • Page 241 Glossary Priority class........12-11 Reduction factor ........12-12 Process Image ........12-11 Reference potential Process Interrupt......... 12-11 grounded ..........4-15 Product version ........12-11 ungrounded ........4-16 PROFIBUS address Repeater Recommendation......4-32 RS 485 ..........4-36 PROFIBUS and MPI subnet ....4-43 Replacing PROFIBUS bus cable ......4-34 backup battery........9-8 PROFIBUS cables fuses..........9-12...
  • Page 242 Glossary read..........10-14 necessary ...........5-3 read, example ........ 10-16 Training center.........1-3 structure ......... 10-22 Troubleshooting........10-4 Slot number assign..........5-8 insert ..........5-10 Slot number label ........5-2 Ungrounded.........12-15 Slot-based addressing ......7-1 Ungrounded installation Startup..........12-13 connecting PG........8-12 CPU 31x-2 DP as DP master ..8-27 Uninstalling CPU 31x-2 DP as DP slave .....

Table of Contents