S7-300 - Hardware and Installation
S7-300 - Hardware and Installation
Product Overview 1
SIMATIC 2
Installation
Addressing 3
S7-300 Programmable Controller
Hardware and Installation Wiring 4
Networking 5
Manual Commissioning 6
Maintenance 7
This manual is part of the documentation
package with order no.: 6ES7 398-8AA03-8BA0 CPUs 8
CPU 31x-2 as DP Master/DP
Slave and Direct Communication 9
Cycle and Response Times of the
S7-300 10
CPU Functions Dependent on the
CPU and STEP 7 Version 11
Appendices
Glossary, Index
Edition 1
Safety Guidelines
This manual contains notices which you should observe to ensure your own personal safety, as well as to
protect the product and connected equipment. These notices are highlighted in the manual by a warning
triangle and are marked as follows according to the level of danger:
Danger
! indicates that death, severe personal injury or substantial property damage will result if proper precau-
tions are not taken.
Warning
! indicates that death, severe personal injury or substantial property damage can result if proper precau-
tions are not taken.
Caution
! indicates that minor personal injury or property damage can result if proper precautions are not taken.
Note
draws your attention to particularly important information on the product, handling the product, or to a
particular part of the documentation.
Qualified Personnel
Only qualified personnel should be allowed to install and work on this equipment. Qualified persons are
defined as persons who are authorized to commission, to ground, and to tag circuits, equipment, and sys-
tems in accordance with established safety practices and standards.
Correct Usage
Note the following:
Warning
! This device and its components may only be used for the applications described in the catalog or the
technical descriptions, and only in connection with devices or components from other manufacturers
which have been approved or recommended by Siemens.
This product can only function correctly and safely if it is transported, stored, set up, and installed cor-
rectly, and operated and maintained as recommended.
Trademarks
SIMATICR, SIMATIC HMIR and SIMATIC NETR are registered trademarks of SIEMENS AG.
Some of other designations used in these documents are also registered trademarks; the owner’s rights
may be violated if they are used by third parties for their own purposes.
Siemens AG
Automation and Drives (A&D)
Industrial Automation Systems (AS) E Siemens AG 1998
Postfach 4848, D- 90327 Nürnberg Technical data subject to change.
S7-300 Programmable Controller Hardware and Installation
Index-2 EWA 4NEB 710 6084-02
Siemens Aktiengesellschaft
Important Information
Delivery Package
This documentation package (order number 6ES7 398-8AA03-8BA0) comprises
two manuals and an instruction list with the following contents:
This manual describes all modules that are valid at the time the manual is
released. For new modules or newer versions of modules, we reserve the option to
add to the manual a product information containing the current information on this
module.
Documentation Required
Depending on the CPU, you require the following documentation for installing your
S7-300:
The following documentation is required for installing the S7-300 and for preparing it for
operation:
Documentation package
Order number
Hardware and Reference Instruction 6ES7 398-8AA03-8BA0
Installation, Manual List
Manual Module
Specifications
For CPUs 312 IFM and 314 IFM, you will also require the description of the
integrated functions and the control functions in STEP 7:
CD-ROM
Furthermore, the complete SIMATIC S7 documentation is available on CD-ROM.
Guide
To help you find special information quickly, the manual contains the following
access aids:
S At the start of the manual you will find a complete table of contents and a list of
the diagrams and tables that appear in the manual.
S An overview of the contents of each section is provided in the left-hand column
on each page of each chapter.
S You will find a glossary in the appendix at the end of the manual. The glossary
contains definitions of the main technical terms used in the manual.
S At the end of the manual you will find a comprehensive index which gives you
rapid access to the information you need.
Additional Support
Please contact your local Siemens representative if you have any queries about
the products described in this manual. A list of Siemens representatives worldwide
is contained in the appendix to this manual.
If you have any questions or suggestions concerning this manual, please fill in the
form at the end of this manual and return it to the specified address. Please feel
free to enter your personal assessment of the manual in the form provided.
We offer a range of courses to help get you started with the SIMATIC S7
programmable controller. Please contact your local training center or the central
training center in Nuremberg, D-90327 Germany (tel. +49 (911) 895-3154)
Important Information
1 Product Overview
2 Installation
2.1 Configuring an S7-300 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.1.1 Horizontal and Vertical Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.1.2 Clearance Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.1.3 Installation dimensions of the Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2.1.4 Arranging the Modules on a Single Rack . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.1.5 Arranging the Modules on Multiple Racks
(Not CPU 312 IFM/313) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
2.2 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
2.2.1 Installing the Rail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
2.2.2 Installing Modules on the Rail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
2.2.3 After Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
3 Addressing
3.1 Slot-Based Addressing for Modules (Default Addressing) . . . . . . . . . . . . . 3-2
3.2 User-Defined Address Allocation with the CPU 31x-2 DP . . . . . . . . . . . . . 3-4
3.3 Addressing the Signal Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
3.4 Addressing the Integrated Inputs and Outputs of the CPU 312 IFM and
CPU 314 IFM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
4 Wiring
4.1 Electrical Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4.1.1 General Rules and Guidelines for Operating an S7-300
Programmable Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4.1.2 Configuring the S7-300 Process I/Os . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
4.1.3 S7-300 Configuration with Grounded Reference Potential . . . . . . . . . . . . . 4-9
4.1.4 S7-300 Configuration with Ungrounded Reference Potential
(Not CPU 312 IFM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
4.1.5 S7-300 Configuration with Isolated Modules . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
4.1.6 Configuration of an S7-300 with Non-Isolated Modules . . . . . . . . . . . . . . . 4-13
4.1.7 Cable/Wiring Routing Inside Buildings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
4.1.8 Cable/Wiring Routing Outside Buildings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-17
4.1.9 Protecting Digital Output Modules from Inductive Overvoltage . . . . . . . . . 4-17
4.2 Lightning Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-20
4.2.1 Lightning Protection Zone Concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-21
4.2.2 Rules for the Transition Between Lightning Protection Zones 0 ´ 1 . 4-23
4.2.3 Rules for the Transitions Between 1 ´ 2 and Greater Lightning Protection
Zones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-25
4.2.4 Sample Circuit for Overvoltage Protection of Networked S7-300s . . . . . . 4-28
Figures
1-1 Components of an S7-300 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
2-1 Horizontal and Vertical Installation of an S7-300 . . . . . . . . . . . . . . . . . . . . . 2-2
2-2 Clearance Measurements for an S7-300 Installation . . . . . . . . . . . . . . . . . . 2-3
2-3 Module Arrangement for an S7-300 Programmable Controller
Mounted on One Rack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2-4 Arrangement of Modules in a Four-Rack S7-300 Configuration . . . . . . . . 2-8
2-5 Fixing Holes of the 2 m/6.56 ft. Rail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
2-6 Connecting the Protective Conductor to the Rail . . . . . . . . . . . . . . . . . . . . . 2-12
2-7 Inserting the Key in the CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
2-8 Applying Slot Numbers to the Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
3-1 Slots of the S7-300 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3-2 Addresses of the Inputs and Outputs of Digital Modules . . . . . . . . . . . . . . 3-5
3-3 Addresses of the Inputs and Outputs of the Digital Module in Slot 4 . . . . 3-6
3-4 Addresses of the Inputs and Outputs of the Analog Module in Slot 4 . . . 3-7
4-1 Signal Modules Operated on a Grounded Incoming Supply . . . . . . . . . . . . 4-7
4-2 Signal Modules Powered from the PS 307 . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
4-3 S7-300 Configuration with Grounded Reference Potential . . . . . . . . . . . . . 4-9
4-4 S7-300 Configuration with Ungrounded Reference Potential . . . . . . . . . . . 4-10
4-5 Potentials in a Configuration with Isolated Modules . . . . . . . . . . . . . . . . . . 4-12
4-6 Potentials in a Configuration with the Non-Isolated SM 334 Analog Input/Output
Module; AI 4/AO 2 8/8Bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
4-7 Relay Contact for Emergency Stop in the Output Circuit . . . . . . . . . . . . . . 4-18
4-8 Suppressor Circuit with DC-Operated Coils with
Diodes and Zener Diodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18
4-9 Suppressor Circuit with AC-Operated Coils . . . . . . . . . . . . . . . . . . . . . . . . . 4-19
4-10 Lightning Protection Zones of a Building . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-22
4-11 Example of the Interconnection of Networked S7-300s . . . . . . . . . . . . . . . 4-29
4-12 Wiring the Power Supply Module and CPU to the Power Connector . . . . 4-33
4-13 Setting the Mains Voltage for the PS 307 . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-34
4-14 Bringing the Front Connector into the Wiring Position . . . . . . . . . . . . . . . . . 4-36
4-15 Configuration of Two Signal Modules With Shield Contact Element . . . . . 4-40
4-16 Attaching Shielded 2-Wire Cables to a Shield Contact Element . . . . . . . . 4-41
5-1 Terminating Resistor on the Bus Connector Switched On and Off . . . . . . 5-7
5-2 Terminating Resistor on the RS 485 Repeater . . . . . . . . . . . . . . . . . . . . . . . 5-7
5-3 Connecting Terminating Resistors in an MPI Subnet . . . . . . . . . . . . . . . . . 5-8
5-4 Example of an MPI Subnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9
5-5 Example of a PROFIBUS Subnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10
5-6 Example of a Configuration with the CPU 315-2 DP in an MPI
and PROFIBUS Subnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
5-7 Maximum Cable Length Between Two RS 485 Repeaters . . . . . . . . . . . . . 5-13
5-8 Cable Lengths in an MPI Subnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14
5-9 Bus Connector (6ES7 ... ): Terminating Resistor Switched On and Off . . 5-18
5-10 Removing the Slide on the RS 485 Repeater . . . . . . . . . . . . . . . . . . . . . . . . 5-20
5-11 Lengths of the Stripped Insulation for Connection
to the RS 485 Repeater . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-21
6-1 Inserting the Memory Card in the CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3
6-2 Inserting a Backup Battery in the CPUs 313/314 . . . . . . . . . . . . . . . . . . . . . 6-4
6-3 Connecting a Programming Device to an S7-300 . . . . . . . . . . . . . . . . . . . . 6-5
6-4 Connecting a Programming Device to Several S7-300s . . . . . . . . . . . . . . . 6-7
6-5 Connecting a Programming Device to a Subnet . . . . . . . . . . . . . . . . . . . . . 6-8
6-6 Programming Device Connected to an Ungrounded S7-300 . . . . . . . . . . . 6-9
6-7 Switching Sequence for the Mode Selector for Resetting the CPU . . . . . 6-13
6-8 Switching Sequence for the Mode Selector for
Cold Start (CPU 318-2 Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-14
7-1 Changing the Backup Battery in the CPU 313/314 . . . . . . . . . . . . . . . . . . . 7-3
7-2 Unlocking the Front Connector and Detaching the
Module from the Rail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6
7-3 Removing the Front Connector Coding Key . . . . . . . . . . . . . . . . . . . . . . . . . 7-7
7-4 Installing a New Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7
7-5 Plugging In the Front Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-8
7-6 Location of the Fuses on Digital Output Modules . . . . . . . . . . . . . . . . . . . . 7-10
8-1 Control and Display Elements of the CPUs . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
8-2 Status and Fault Displays of the CPUs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3
8-3 The Principle of Forcing with S7-300 CPUs
(CPU 312 IFM to 316-2 DP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-14
8-4 Display of the States of the Interrupt Inputs of the CPU 312 IFM . . . . . . . 8-20
8-5 Front View of the CPU 312 IFM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-21
8-6 Terminal Assignment Diagram of the CPU 312 IFM . . . . . . . . . . . . . . . . . . 8-26
8-7 Basic Circuit Diagram of the CPU 312 IFM . . . . . . . . . . . . . . . . . . . . . . . . . . 8-27
8-8 Display of the States of the Interrupt Inputs of the CPU 314 IFM . . . . . . . 8-34
8-9 Front View of the CPU 314 IFM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-35
8-10 Terminal Assignment Diagram of the CPU 314 IFM . . . . . . . . . . . . . . . . . . 8-44
8-11 Basic Circuit Diagram of the CPU 314 IFM (Special Inputs and Analog
Inputs/Outputs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-45
8-12 Basic Circuit Diagram of the CPU 314 IFM (Digital Inputs/Outputs) . . . . . 8-46
8-13 Wiring the Analog Inputs of the CPU 314 IFM with a 2-Wire Measuring
Transducer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-47
8-14 Wiring the Analog Inputs of the CPU 314 IFM with a 4-Wire Measuring
Transducer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-47
9-1 Diagnostics with CPU 315-2 DP < 315-2AF03 . . . . . . . . . . . . . . . . . . . . . . . 9-6
9-2 Diagnostics with CPU 31x-2 (315-2 DP as of 315-2AF03) . . . . . . . . . . . . . 9-7
9-3 Diagnostic Addresses for DP Master and DP Slave . . . . . . . . . . . . . . . . . . 9-8
9-4 Intermediate Memory in the CPU 31x-2 as DP Slave . . . . . . . . . . . . . . . . . 9-11
9-5 Diagnostic Addresses for DP Master and DP Slave . . . . . . . . . . . . . . . . . . 9-19
9-6 Structure of the Slave Diagnostic Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-21
9-7 Structure of the Module Diagnosis of the CPU 31x-2 . . . . . . . . . . . . . . . . . 9-25
9-8 Structure of the Station Diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-26
9-9 Bytes +4 to +7 for Diagnostic and Process Interrupts . . . . . . . . . . . . . . . . . 9-27
9-10 Standardized Portion of the Parameter Assignment Frame (Example) . . 9-30
9-11 Parameters for the CPU 31x-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-31
9-12 Description of Byte 0 of the CPU’s Address Area Identifiers . . . . . . . . . . . 9-33
9-13 Description of Byte 1 of the CPU’s Address Area Identifiers . . . . . . . . . . . 9-33
9-14 Direct Communication with CPU 31x-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-36
9-15 Diagnostic Address for the Receiver During Direct Communication . . . . . 9-37
10-1 Component Parts of the Cycle Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2
10-2 Shortest Response Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-4
10-3 Longest Response Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-5
10-4 Overview of the Bus Runtime on PROFIBUS-DP at
1.5 Mbps and 12 Mbps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-9
11-1 Sample Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-3
E-1 Dimensioned Drawing of the CPU 312 IFM . . . . . . . . . . . . . . . . . . . . . . . . . E-1
E-2 Dimensioned Drawing of the CPU 313/314/315/315-2 DP/316-2 DP . . . . E-2
E-3 Dimensioned Drawing of the CPU 318-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-3
E-4 Dimensioned Drawing of the CPU 314 IFM, Front View . . . . . . . . . . . . . . . E-3
E-5 Dimensioned Drawing of the CPU 314 IFM, Side View . . . . . . . . . . . . . . . E-4
F-1 Electrostatic Voltages which can Build up on a Person . . . . . . . . . . . . . . . . F-3
Tables
1-1 Components of an S7-300 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
2-1 Installation Dimensions of the S7-300 Modules . . . . . . . . . . . . . . . . . . . . . . 2-4
2-2 Connecting Cables for Interface Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
2-3 Fixing Holes for Rails . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
2-4 Module Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
2-5 Installing the Modules on the Rail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
2-6 Slot Numbers for S7 Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
3-1 Start Addresses for the Signal Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
3-2 Integrated Inputs and Outputs of the CPU 312 IFM . . . . . . . . . . . . . . . . . . 3-8
3-3 Integrated Inputs and Outputs of the CPU 314 IFM . . . . . . . . . . . . . . . . . . 3-8
4-1 VDE Specifications for Configuring a PLC System . . . . . . . . . . . . . . . . . . . 4-5
4-2 Cabling Inside Buildings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14
4-3 High-Voltage Protection of Cables Using Surge
Protection Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-23
4-4 Low-Voltage Protection for Lightning Protection Zone 1 ´ 2 . . . . . . . 4-26
4-5 Low-Voltage Protection for Lightning Protection Zone 2 ´ 3 . . . . . . . . 4-27
4-6 Example of a Configuration Fulfilling Lightning Protection Requirements
(Legend for Figure 4-11) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-28
4-7 Wiring Rules for the Power Supply and CPU . . . . . . . . . . . . . . . . . . . . . . . . 4-30
4-8 Wiring Rules for Module Front Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . 4-31
4-9 Wiring the Front Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-37
4-10 Preparing the Signal Module for Operation . . . . . . . . . . . . . . . . . . . . . . . . . 4-38
4-11 Assignment of Cable Cross-Sections and Terminal Elements . . . . . . . . . . 4-39
5-1 Permissible MPI/PROFIBUS Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
5-2 MPI Addresses of CPs/FMs in an S7-300
(with the CPU 312 IFM to 316-2 DP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
5-3 Permissible Cable Lengths in an MPI Subnet Segment . . . . . . . . . . . . . . . 5-12
5-4 Permissible Cable Lengths in a PROFIBUS subnet Depending on the
Transmission Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-12
5-5 Lengths of Spur Lines per Segment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14
5-6 Network Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-15
5-7 Properties of the PROFIBUS Bus Cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-16
5-8 Specifications for Installation of Indoor Bus Cable . . . . . . . . . . . . . . . . . . . . 5-17
6-1 Possible Reasons for MRES Request by CPU . . . . . . . . . . . . . . . . . . . . . . 6-11
6-2 Internal CPU Events on Memory Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-15
8-1 The Differences in Control and Display Elements Between CPUs . . . . . . 8-2
8-2 Using a Backup Battery or Accumulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5
8-3 Memory Cards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-6
8-4 CPU Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-7
8-5 Characteristics of the Clock of the CPUs . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-9
8-6 CPU Communication Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-11
8-7 Diagnostic LEDs of the CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-15
8-8 Start Information for OB 40 for the Interrupt Inputs
of the Integrated I/Os . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-19
8-9 Start Information for OB 40 for the Interrupt Inputs
for the Integrated I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-33
In This Chapter
In this chapter, we will introduce you to the most important components that go to
make up an S7-300.
Structure of an S7-300
An S7-300 programmable controller is made up of the following components:
S Power supply (PS)
S CPU
S Signal modules (SM)
S Function modules (FM)
S Communication processor (CP).
Several S7-300s can communicate together and with other SIMATIC S7 PLCs via
PROFIBUS bus cables.
You require a programming device (PG) to program the S7-300. You hook the
programming device up to the S7-300 with a special programming device cable.
Figure 1-1 shows a possible configuration with two S7-300 programmable
controllers. The components in the shaded area are described in this manual.
Components of an S7-300
You have a number of components at your disposal for installing and starting up an
S7-300 programmable controller. Table 1-1 lists the major components and their
functions:
Contents
Open Modules
The modules of an S7-300 are open components. That means you can only install
the S7-300 in housings, cabinets or electrical operating areas that are only
accessible by key or a special tool. Only trained or authorized personnel should
have access to the housings, cabinets or electrical operating areas.
Installation
You can install your S7-300 in either a horizontal or vertical position.
Rules
If you adhere to the minimum clearance measurements:
S You will ensure that the S7-300 modules do not get too hot.
S You will have adequate space for inserting and removing the S7-300 modules.
S You will have sufficient space for running cables.
S The height of the S7-300 mounting rack increases to 185 mm.
Despite this, you must maintain a clearance of 40 mm (1.56 in.).
Note
If you use a shield contact element (see Section 4.3.4), the dimension
specifications apply from the lower edge of the shield contact element.
Clearance Measurements
Figure 2-2 shows the necessary clearances between the individual racks and to
the adjacent equipment, cable ducts, cabinet walls etc. for standard S7-300
configurations on several racks.
40 mm
(1.56 in.)
For example, cable duct
40 mm
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ
(1.56 in.)
40 mm
200
mm
a (7.81
(1.56 in.) in.)
20 + a
mm
(0.78
in.)
40 mm 20 mm
(1.56 in.) (0.78 in.)
Rail Length
Depending on your S7-300 configuration, you can use rails of the following lengths:
Rules
The following rules apply to the arrangement of the modules on a single rack:
S No more than eight modules(SM, FM, CP) may be installed to the right of the
CPU.
S The number of modules (SM, FM, CP) that can be plugged in is limited by the
amount of power they draw from the S7-300’s backplane bus (see the table
containing the technical specifications of the various modules).
The power input from the S7-300 backplane bus to all the modules installed on
a mounting rack must not exceed the following:
– For the CPUs 313/314/314 IFM/315/315-2 DP/
316-2 DP/318-2 1.2 A
– For the CPU 312 IFM 0.8 A
Figure 2-3 shows the arrangement of the modules in an S7-300 configuration with
8 signal modules.
PS CPU SM/FM/CP
Exception
The CPU 312 IFM and CPU 313 can only be used for a configuration on one rack.
Rules
The following rules apply to the arrangement of modules on more than one rack:
S The interface module is always be installed in slot 3, to the left of the first signal
module.
S No more than 8 modules (SM, FM, CP) are permitted per rack. These modules
are always located to the right of the interface modules.
Exception: In the case of the CPU 314 IFM, a module cannot be inserted in
slot 11 on rack 3 (see Chapter 3).
S The number of modules (SM, FM, CP) that can be installed is limited by the
maximum permissible current that can be drawn from the S7-300 backplane
bus. The power consumption must not exceed 1.2 A per line (see technical
specifications of the modules).
Rack 3
Rack 2
Rack 1
Rack 0
PS CPU IM SMs
2.2 Installation
32.5 mm 32.5 mm
(1.27 in.) (1.27 in.)
57.2 mm 57.2 mm
(2.23 in.) (2.23 in.)
approx. approx.
500 mm 500 mm
(19.5 in.) (19.5 in.)
15 mm
a b (0.59 in.)
Fixing Screws
You have a choice of the following screw types for fixing the rail.
Note
Make absolutely sure that your connection to the protective conductor is
low-impedance (see Figure 2-6). If the S7-300 is mounted on a hinged rail, you
must use a flexible cable to establish the connection to the protective conductor.
Accessories
The accessories you need for installation are included with the modules.
Appendix G contains a list of accessories and spare parts with the corresponding
order numbers.
3
Bolt the modules tight, applying a torque of
between 0.8 and 1.1 Nm (7 to 10 in. lb.).
0.8 to 1.1 Nm
STOP
In This Chapter
Introduction
In slot-based addressing (default addressing), a module start address is allocated
to each slot number (see Table 3-1). This section shows you which module start
address is allocated to which slot number. You need this information to determine
the module start addresses on the installed modules.
Maximum Configuration
Figure 3-1 shows a configuration of the S7-300 on four racks and all of the
available module slots. Please note that with the CPUs 312 IFM and 313, only one
configuration is possible on rack 0.
Rack 3
Slot number IM 3 4 5 6 7 8 9 10 11
Rack 2
Slot number IM 3 4 5 6 7 8 9 10 11
Rack 1
Slot number IM 3 4 5 6 7 8 9 10 11
Rack 0
Slot number 1 2 3 4 5 6 7 8 9 10 11
Note
In the case of the CPU 314 IFM, a module cannot be plugged into slot 11 on
rack 3. The address space is occupied by the integrated inputs and outputs.
Digital 0 4 8 12 16 20 24 28
0 PS CPU IM
Analog 256 272 288 304 320 336 352 368
Digital – 32 36 40 44 48 52 56 60
11 IM
Analog – 384 400 416 432 448 464 480 496
Digital – 64 68 72 76 80 84 88 92
21 IM
Analog – 512 528 544 560 576 592 608 624
Digital – 96 100 104 108 112 116 120 1242
31 IM
Analog – 640 656 672 688 704 720 736 7522
1 Not with the CPU 312 IFM/313
2 Not with the CPU 314 IFM
Advantages
Advantages of user-defined address allocation:
S Optimum utilization of the address areas available, since between the modules,
address “gaps” will not occur.
S When generating standard software, you can program addresses which are
independent of the S7-300 configuration.
Introduction
This section shows you how signal modules are addressed. You need this
information in order to be able to address the channels of the signal modules in
your user program.
E.g. I 1.2
Byte address:
Module start address
Byte address:
Module start address + 1
Bit address
Address 0.0
Address 0.1
Address 0.7
Address 1.0
Address 1.1
Address 1.7
Slot number 1 2 4
Figure 3-3 Addresses of the Inputs and Outputs of the Digital Module in Slot 4
Inputs
Channel 0: Address 256
Channel 1: Address 258
:
:
Outputs
Channel 0: Address 256
Channel 1: Address 258
:
:
Slot number 1 2 4
Figure 3-4 Addresses of the Inputs and Outputs of the Analog Module in Slot 4
Table 3-2 Integrated Inputs and Outputs of the CPU 312 IFM
Table 3-3 Integrated Inputs and Outputs of the CPU 314 IFM
Basic Rules
In view of the many and varied applications an S7-300, this chapter can only
describe a few basic rules on its electrical configuration. You must observe at least
these basic rules if you want your S7-300 to operate faultlessly and satisfactorily.
Contents
Mains Voltage
The following table shows you what to watch with respect to the mains voltage.
L1 Low-voltage distribution
L2
L3 For example, TN-S system
N (3 400 V)
PE
Cabinet
PS CPU SM
Rail
mP
L1 L+
M
N M
Signal modules
L1 Low-voltage distribution
L2
L3 For example, TN-S system
N (3 400 V)
PE
Cabinet
PS CPU SM
Rail
mP
L1 L+
M
N M
Signal modules
If you install the S7-300 with grounded reference potential, interference currents
that might occur are discharged to the protective conductor.
S In the case of CPUs 313/314/314 IFM/315/315-2 DP/316-2DP/318-2, via a
jumper inserted between terminal M and functional ground (see Figure 4-3)
S In the case of the CPU 312 IFM, these terminals are connected internally (see
Section 8.4.1).
Removable
jumper
Removable
47 nF 1 MΩ
jumper
M
M
L+
M
Ground bus
If you install the S7-300 with ungrounded reference potential, any interference
current is discharged to the protective conductor via an RC network integrated in
CPUs 313/314/314 IFM/315/315-2 DP/ 316-2 DP/318-2 (see Figure 4-4).
Application
In plants covering large areas, it may be necessary to configure the S7-300 with
ungrounded reference potential for ground fault monitoring purposes, for example.
This is the case, for example, in the chemical industry and in power stations.
47 nF 1 MΩ
M M
L+
M
Ground bus
Insulation Monitoring
If dangerous plant conditions can arise as a result of double faults, you must
provide some form of insulation monitoring.
Isolation Between...
In configurations with isolated modules, the reference potentials of the control
circuit (Minternal) and load circuit (Mexternal) are electrically isolated
(see Figure 4-5).
Application
You use isolated modules for the following:
S All AC load circuits
S DC load circuits with separate reference potential
Examples of load circuits with separate reference potential:
– DC load circuits whose sensors have different reference potentials (for
example if grounded sensors are located at some considerable distance
from the control system and no equipotential bonding is possible)
– DC load circuits whose positive pole (L+) is grounded (battery circuits).
PS CPU DI DO
Uint
Data
Mint
mP
L1 L+
L1
M
N
N
PE M
L+ L1
Mext N
230V AC load
24V DC load current supply current supply
PS CPU 4AI/2AO
Uint
Data
Mint
mP
L1 L+
L1
M D D
N A A
N
PE M MANA
+ +
1 mm2
Figure 4-6 Potentials in a Configuration with the Non-Isolated SM 334 Analog Input/Output Module;
AI 4/AO 2 8/8Bit
Example:
Figure 4-7 shows an output circuit that makes supplementary overvoltage
protection necessary.
Figure 4-7 Relay Contact for Emergency Stop in the Output Circuit
Suppressor Circuit with DC-Operated Coils with Diodes and Zener Diodes
DC-operated coils are connected with diodes or Zener diodes.
- -
Figure 4-8 Suppressor Circuit with DC-Operated Coils with Diodes and Zener Diodes
~ ~
Reference Literature
The solutions given are based on the lightning protection zone concept described
in the IEC 1312-1 “Protection against LEMP”.
Overview
Failures are very often the result of overvoltages caused by:
S Atmospheric discharge or
S Electrostatic discharge.
We will begin by showing you what the theory of overvoltage protection is based
on: the lightning protection zones concept.
At the end of this section, you will find rules for the transitions between the
individual lightning protection zones.
Note
This section can only provide information on the protection of a programmable
controller against overvoltages.
However, complete protection against overvoltage is guaranteed only if the whole
surrounding building is designed to provide protection against overvoltages. This
applies especially to constructional measures for the building at the planning
stage.
If you wish to obtain detailed information on overvoltage protection, we therefore
recommend you to address your Siemens contact or a company specialized in
lightning protection.
The outer lightning protection of the building (field side) Lightning protection
zone 0
Shielding
S Buildings Lightning protection
zone 1
S Rooms and/or Lightning protection
zone 2
S Devices Lightning protection
zone 3
Overvoltage
In lightning protection zones 1 and higher, surges can result from switching
operations and interference.
Building
Outer shield
lightning (steel
Lightning protection zone 1
protection armouring)
Room shield
Lightning prot. zone 2 (steel
Power armouring)
cable Lightning Device shield
protection
zone 3 (metal housing)
Device
non
electrical
Metallic wire
part (metallic)
internal
line
Lightening protection
Data cable equipotential bonding
Local equipotential
bonding
Additional Measures
If you cannot take the measures listed above, you must install a high-voltage
protector at the 0 ´ 1 transition with a corresponding lightning conductor.
Table 4-3 contains the components you can use for high-voltage protection of your
plant.
No. Cables for ... ... with the Following at Transi- Order No.
tion 0 ´ 1
1 S 3-phase TN-C system 3 DEHNport 5 SD 7 028*
lightning conductors
Phase L1/L2/L3
to PEN
S 3-phase TN-S and TT system 4 DEHNport 5 SD 7 028*
lightning conductors
Phase L1/L2/L3/N
to PE
S AC TN-L, TN-S, TT system 2 DEHNport 5 SD 7 028*
lightning conductors
Phase L1 + N
to PE
2 24V DC power supply 1 KT lightning conductor DSN: 919 253
Type A D 24 V
Table 4-3 High-Voltage Protection of Cables Using Surge Protection Components, continued
No. Cables for ... ... with the Following at Transi- Order No.
tion 0 ´ 1
3 Bus cable
S MPI, RS 485 S up to 500 kbps
1 KT lightning conductor DSN: 919 232
Type ARE 8 V -
S over 500 kbps
1 KT lightning conductor DSN: 919 270
Type AHFD 5 V -
S RS 232 (V.24) S per core pair
1 KT lightning conductor DSN: 919 231
Type ARE 15 V -
4 Inputs/outputs of digital modules
and power supply
S 24V DC 1 KT lightning conductor DSN: 919 253
Type AD 24 V -
S 120/230V AC 2 DEHNguard 150 900 603*
surge arresters
5 Inputs/outputs of analog modules
S Up to 12 V +/– 1 KT lightning conductor DSN: 919 220
Type ALE 15 V -
S Up to 24 V +/– 1 KT lightning conductor DSN: 919 227
Type ALE 48 V -
S Up to 48 V +/– 1 KT lightning conductor DSN: 919 222
Type ALE 60 V -
Additional Measures
We recommend low-voltage protection:
S For all 1 ´ 2 and greater lightning protection zone transitions
and
S For all cables that run within a lightning protection zone and are longer than
100 m
No. Cables for ... ... with the Following at Transi- Order No.
tion 1 ´ 2
1 S 3-phase TN-C system 3 DEHNguard 275 900 600*
surge arresters 5 SD 7 030
S 3-phase TN-S and TT system 4 DEHNguard 275 900 600*
surge arresters 5 SD 7 030
S AC TN-L, TN-S, TT system 2 DEHNguard 275 900 600*
surge arresters 5 SD 7 030
2 24V DC power supply 1 KT lightning conductor DSN: 919 253
Type A D 24 V
3 Bus cable
S MPI, RS 485 S up to 500 kbps
1 KT lightning conductor DSN: 919 232
Type ARE 8 V -
S over 500 kbps
1 KT lightning conductor DSN: 919 270
Type AHFD 5 V -
S RS 232 (V.24) S per core pair
1 KT lightning conductor DSN: 919 231
Type ARE 15 V -
4 Inputs/outputs of digital modules
S 24V DC 1 KT lightning conductor DSN: 919 253
Type AD 24 V -
S 120/230V AC 2 DEHNguard 150 900 603*
surge arresters
5 Inputs of analog modules
S Up to 12 V +/– 1 KT ALD 12 V terminal block DSN: 919 216
on insulated rail
No. Cables for ... ... with the Following at Transi- Order No.
tion 2 ´ 3
1 S 3-phase TN-C system 3 DEHNguard 275 900 600*
surge arresters 5 SD 7 030
S 3-phase TN-S and TT system 4 DEHNguard 275 900 600*
surge arresters 5 SD 7 030
S AC TN-L, TN-S, TT system 2 DEHNguard 275 900 600*
surge arresters 5 SD 7 030
2 24V DC power supply 1 KT lightning conductor DSN: 919 253
Type A D 24 V
3 Bus cable
S MPI, RS 485 S up to 500 kbps
1 KT lightning conductor DSN: 919 232
Type ARE 8 V -
S over 500 kbps
1 KT lightning conductor DSN: 919 270
Type AHFD 5 V -
S RS 232 (V.24) S per core pair
1 KT lightning conductor DSN: 919 231
Type ARE 15 V -
4 Inputs of digital modules
S 24V DC 1 Terminal block FDK 60 V DSN: 919 997
on insulated rail
S 120/230V AC 2 DEHNguard 150 900 603*
surge arresters
5 Outputs of analog modules
S Up to 12 V +/– 1 Terminal block DSN: 919 999
Type FDK 12 V
on an insulated rail, which
is connected to M – of
the module supply
ÎÎÎ Clip
Interconnection Example
Figure 4-11 gives an example of how to wire connect networked S7-300s in order
to achieve effective protection against surges:
Cabinet 1 Cabinet 2
Lightning protect. zone 2 Lightning protect. zone 2
SV CPU SM SV CPU SM
MPI MPI
PE 10 mm2 PE 10 mm2
4.3 Wiring
Prerequisite
You have already installed the S7-300 as described in Chapter 2.
Table 4-7 Wiring Rules for the Power Supply and CPU
Power Cables
Use flexible cables with a cross-section of between 0.25 and 2.5 mm2 to wire the
power supply.
If you use only one cable per connection, you don’t need an end ferrule.
Warning
! Accidental contact with live conductors is possible, if the power supply module and
any additional load power supplies are switched on.
Make sure the S7-300 is absolutely dead before doing any wiring!
1. Open the front doors of the PS 307 power supply and CPU.
2. Undo the strain-relief assembly on the PS 307.
3. Strip the insulation from the power cable (230V/120V), and connect it to the
PS 307.
4. Screw the strain-relief assembly tight.
5. CPU 312 IFM: Strip the insulation off the power cable of the CPU 312 IFM, and
connect it to the PS 307 an.
CPU 313/314/314 IFM/315/315-2 DP/316-2 DP/318-2: Insert the power
connector, and screw it in tightly.
6. Close the front doors.
Strain-relief
assembly
Power
connector
4
230 V/120 V 0.5 to 0.8 Nm
Figure 4-12 Wiring the Power Supply Module and CPU to the Power Connector
Cables
You can use flexible cables with cross-sections as in Table 4-8 on page 4-31.
You do not need wire end ferrules. If you use wire end ferrules, only use those
listed in Table 4-8 on page 4-31.
Integrated Inputs/Outputs
You wire the integrated inputs/outputs of the CPU 312 IFM and 314 IFM also via
the front connector as described in this section.
If you use the possible digital inputs of the CPUs for the special functions, you wire
these inputs with shielded cables via a shield contact element (see Section 4.3.4).
This also applies when wiring the analog inputs/outputs of the CPU 314 IFM.
Spring Terminals
To wire the front connector using spring terminals, simply insert the screwdriver
vertically into the opening with the red opening mechanism, put the cable into the
correct terminal, and remove the screwdriver.
Tip: There is a separate opening for test probes up to 2 mm in diameter to the left
of the opening for the screwdriver.
Warning
! Accidental contact with live conductors is possible if the power supply module and
any additional load power supplies are switched on.
Make sure the S7-300 is absolutely dead before doing any wiring!
Figure 4-14 Bringing the Front Connector into the Wiring Position
3. Strip the insulation off the cables (see Table 4-8 on page 4-31)
4. Do you want to use end ferrules?
If so: Press the end ferrules and the cables together
2
2
1
0.4 to
0.7 Nm
0.5 to
0.8 Nm 4
3
2 2
1a 1
0.4 to
0.7 Nm
Application
Using the shield contact element you can easily connect all the shielded cables of
S7 modules to ground by directly connecting the shield contact element to the rail.
The shield contact element is 80 mm (3.15 in.) wide with space for two rows each
with 4 shield terminals.
Fixing bracket
Shield terminal
Edge a
Figure 4-15 Configuration of Two Signal Modules With Shield Contact Element
Attaching Cables
You can only attach one or two shielded cables per shield terminal (see
Figure 4-16 and Table 4-11). The cable is connected by its bare cable shield. There
must be at least 20 mm (0.78 in.) of bare cable shield. If you need more than
4 shield terminals, start wiring at the rear row of the shield contact element.
Tip: Use a sufficiently long cable between the shield terminal and the front
connector. You can thus remove the front connector without the need to also
remove the shield terminal.
1
Shield must lie under
the shield terminal
2
In This Chapter
In This Chapter
Device = Node
Declaration: In the following, all devices that you connect in an MPI subnet are
called nodes.
5.1.1 Prerequisites
MPI/PROFIBUS Addresses
To ensure that all nodes can communicate with one another, you must allocate
them an address before networking:
S An “MPI address” and a “highest MPI address” in the MPI subnet
S A “PROFIBUS address” and a “highest PROFIBUS address” in a PROFIBUS
subnet.
Set these MPI/PROFIBUS addresses individually for each node using the
programming device (also on the slave switch in the case of some PROFIBUS-DP
slaves).
Note
The RS 485 repeater is not allocated an “MPI address” or a “PROFIBUS address”.
Table 5-2 MPI Addresses of CPs/FMs in an S7-300 (with the CPU 312 IFM to 316-2 DP)
Options Example
Example: CPU CP CP
S7-300 with a CPU and 2 CPs in a
configuration.
The following 2 possibilities exist for the
assignment of MPI addresses of the
CP/FM in one configuration:
Option 1
MPI addr. MPI MPI
The CPU accepts the MPI addresses of addr. “x” addr. “z”
the CPs you set in STEP 7.
As of STEP 7 V 4.02 (see Section 11.2)
Option 2
MPI MPI MPI
The CPU automatically establishes the addr. addr.+1 addr.+2
MPI addresses of the CPs in their
configuration in accordance with the
MPI addr. pattern. CPU MPI addr.+1 MPI
addr.+2
CPU 318-2
CPU 318-2 CP CP
MPI addr.
In This Section
This chapter describes how to configure a subnet and provides examples.
Segment
A segment is a bus cable between two terminating resistors. A segment can
contain up to 32 nodes. A segment is further limited by the permissible cable
length, which depends on the transmission rate (see Section 5.1.3).
Note
As of 3 Mbps, use only bus connectors with the order no. 6ES7 972-0B.10-0XA0
or 6ES7 972-0B.40-0XA0 to connect the nodes. (see Section 5.2)
As of 3 Mbps, use only the programming device connecting cable with the order
no. 6ES7 901-4BD00-0XA0 to connect the programming device. (see Section 5.2)
Rules (Continued)
S If you operate more than 32 nodes on a network, you must connect the bus
segments via RS 485 repeaters.
All bus segments in a PROFIBUS subnet must have at least one DP master
and one DP slave between them.
S You connect non-grounded bus segments and grounded bus segments via RS
485 repeaters (see the description of the RS 485 repeater in the Module
Specifications Reference Manual).
S Each RS 485 repeater that you use reduces the maximum number of nodes on
each bus segment. That means if a RS 485 repeater is installed in one of the
bus segments, only a further 31 nodes can be installed in that segment. The
number of RS 485 repeaters has no impact on the maximum number of nodes
on the bus, however.
Up to 10 segments can be installed in a row.
S Switch the terminating resistor on at the first and last node of a segment.
S Before you integrate a new node in the subnet, you must switch off its supply
voltage.
Components
You connect the individual nodes via bus connectors and the PROFIBUS bus cable
(see also Section 5.2). Make sure that the bus connector is provided with a
programming device socket so that a programming device can be connected if
required.
Use RS 485 repeaters to connect segments or extend the cable.
Terminating Resistor
A cable must be terminated with its surge impedance. To do this, switch on the
terminating resistor on the first and last node of a subnet or a segment.
The nodes with a terminating resistor switched on must have their power supply
switched on during power up and operation.
Figure 5-1 Terminating Resistor on the Bus Connector Switched On and Off
DC
24 V L+ M PE M 5.2
Terminating resistor of
ON
bus segment 1
ON Terminating resistor of
SIEMENS
bus segment 2
S7-300
PG
À À
Spur line
PG*
2 À 1 3 4 5 6 7
13 À 12 11 10 8 9
0
PG*
* Connected via spur line for commissioning/maintenance only
(with default MPI address)
** Connected to the MPI subnet later (with default MPI address)
*** The CP also has a PROFIBUS address in addition to the MPI address (address 7 here)
****In the case of the CPU 318-2-DP, the FMs/CPs do not have their own MPI addresses
In the case of the CPU 312 IFM to 316-2 DP, you can allocate the MPI addresses as you
wish
0 ... x MPI addresses of the nodes
À Terminating resistor switched on
S7-300 with
CPU 315-2 DP
as DP master ET 200M ET 200M ET 200M ET 200M
S5-95U
3 1* À 2 3 4 5 6
0
PD**
ET 200M
ET 200B ET 200B ET 200B ET 200B
11 À 10 9 8 7
S7-300 S5-95U
PG*
6
À
0 1À S5-95U
S7-300
5
S5-95U
3 S7-300 with
CPU 315-2 DP
4
S7-300 as DP master ET 200M ET 200M
À
OP 25
RS 485
repeater
4 5 6 1 2 3
S7-300 À
ET 200B ET 200B
OP 25
8 7
8 7
À
ET 200B ET 200B
Figure 5-6 Example of a Configuration with the CPU 315-2 DP in an MPI and PROFIBUS Subnet
RS 485
repeater
S7-300
50 m 1000 m 50 m
Example
Figure 5-8 shows you a possible configuration of an MPI subnet. This example
illustrates the maximum possible distances in an MPI subnet.
À 3 4 5 6 7 À
max. 50m
À
S7-300 S7-300
OP 25 OP 25 RS 485
repeater
11 10 9 8 À
À
max. 50m
À Terminating resistor on
Á Programming device connected for maintenance purposes via spur line
0 ... x MPI addresses of the nodes
Purpose
In This Section
This section describes the properties of the network components and information
for their installation and handling. You will find the technical specifications of the
RS 485 repeater in the Reference Manual Module Specifications.
Properties Values
Line impedance Approx. 135 to 160 Ω (f = 3 to 20 MHz)
Loop resistance x 115 Ω/km
Effective capacitance 30 nF/km
Attenuation 0.9 dB/100 m (f = 200 kHz)
Permissible cross-sectional core area 0.3 mm2 to 0.5 mm2
Permissible cable diameter 8 mm " 0.5 mm
Properties Specifications
Bending radius (one-off) w 80 mm (10 dA)
Bending radius (multiple times) w 160 mm (20 dA)
Permissible temperature range during installation – 5 _C to + 50 _C
Storage and stationary operating temperature range – 30 _C to + 65 _C
No Application
You do not require the bus connector for:
S DP slaves in degree of protection IP 65 (e.g. ET 200C)
S RS 485 repeaters
Note
The bus connector 6ES7 972-0BA30-0XA0 does not have a terminating resistor.
You cannot connect it at the beginning or end of a segment.
Please make sure that power is always supplied to the stations where the
terminating resistor is fitted during start-up and normal operation.
switched on off
switched off off
Figure 5-9 Bus Connector (6ES7 ... ): Terminating Resistor Switched On and Off
Warning
! A data communication error may occur on the network.
A network segment must always be terminated at both ends with the terminating
resistor. This is not the case, for example, if the power supply is not activated on
the last slave with a bus connector. Since the bus connector draws power from the
station, the terminating resistor has no effect.
Please make sure that power is always supplied to stations on which the
terminating resistor is active.
Installation
You can mount the RS 485 repeater either on the S7-300 rail or on a 35-mm
standard rail.
To mount it on the S7-300 rail, remove the slide at the rear of the RS 485 repeater
as follows:
1. Insert a screwdriver under the edge of the latching element.
2. Move the screwdriver towards the rear of the module. Keep this position.
3. Move the slide upwards.
Figure 5-10 shows how the slide of the RS 485 repeater is removed.
2
1
After you have removed the slide, you can install the RS 485 repeater on the rail in
the same way as the other S7-300 modules (see Chapter 2).
Use flexible cables with a cross-sectional core area of 0.25 mm2 to 2.5 mm2 (AWG
26 to 14) to connect the 24V DC power supply.
Terminal “M5.2”
Terminal “M5.2” is a terminal that you do not need to wire, as it is only used for
servicing. The terminal “M5.2” supplies the reference potential. You need this
reference potential to measure the voltage characteristic between terminals “A1”
and “B1”.
8,5 16 10 16 16 10
6 8,5 6
Figure 5-11 Lengths of the Stripped Insulation for Connection to the RS 485 Repeater
Prerequisite See...
The S7-300 must be installed Chapter 2
The S7-300 must be wired Chapter 4
In the case of a networked S7-300: Chapter 5
S MPI/PROFIBUS addresses must be set
S Terminating resistors must be switched on (at the segment
borders)
In This Chapter
Exception
You cannot insert a memory card with the CPU 312 IFM and 314 IFM.
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 1 second intervals to request a
reset (see Section 6.5).
Insertion
marking
Exceptions
A CPU 312 IFMdoesn’t have a backup battery or accumulator.
Since the CPU 313 doesn’t have a real-time clock, you don’t need an accumulator
for backup purposes (see Section 8.1.3).
Note
Only insert the backup battery in the CPU at power on.
If you insert the backup battery before power on, the CPU requests a reset.
Prerequisites
The programming device must be equipped with an integrated MPI interface or an
MPI card in order to connect it to an MPI.
Cable length
For information on possible cable lengths, refer to Section 5.1.3.
You can connect the programming device to the MPI of the CPU via a preprepared
programming device cable.
Alternatively, you can prepare the connecting cable yourself using the PROFIBUS
bus cable and bus connectors (see Section 5.2.2).
S7-300
Programming
device cable
PG
PG
S7-300
S7-300
S7-300
PG
Programming device
cable = Spur line
S7-300
Bus segment 1
Grounded signals
PG
S7-300
Bus segment 2
Ungrounded signals
Prerequisites
The S7-300 is installed and wired.
The mode selector should be in STOP mode.
Note
If you insert a memory card and a backup battery before power on, the CPU also
requests a memory reset after start-up.
Resetting the CPU Memory or Carrying Out a Cold Start (CPU 318-2 only) with
the Mode Selector
Memory Reset
STOP
LED
On
Off t
3s
max. 3 s
min. 3 s
Figure 6-7 Switching Sequence for the Mode Selector for Resetting the CPU
Cold Start
RUN
LED
On
Off
STOP
LED
On
t
Off 3s
max. 3 s
3s
Figure 6-8 Switching Sequence for the Mode Selector for Cold Start (CPU 318-2 Only)
In This Section
This section provides you with vital information on commissioning a PROFIBUS
subnet with a CPU 31x-2 DP.
Software Prerequisites
Commissioning
To commission the CPU 31x-2 DP as a DP master in a PROFIBUS subnet,
proceed as follows:
1. Load the PROFIBUS subnet configuration (preset configuration) created using
STEP 7 with the programming device in the CPU 31x-2 DP.
2. Switch on all of the DP slaves.
3. Switch the CPU 31x-2 DP from STOP mode to RUN mode.
Commissioning
To commission the CPU 31x-2 DP as a DP slave in the PROFIBUS subnet,
proceed as follows:
1. Switch the CPU 31x-2 DP from STOP mode to RUN.
2. Switch on all of the DP slaves.
3. Switch on the DP master.
The CPU switches from STOP mode to At the PROFIBUS-DP interface the
RUN. CPU starts data transfer with the DP
master.
In This Section
Note
The data in the internal user memory are lost if you change the backup battery
when the power is off.
Change the backup battery with the power switch in the ON position only!
Disposal
Backup batteries must be disposed of in keeping with the relevant national
environment protection regulations/guidelines.
Warning
! If backup batteries are not treated properly, they can ignite, explode and cause
severe burning.
Store backup batteries in a dry and cool place.
Warning
! Improper handling of backup batteries can cause injuries and property damage.
Backup batteries that are not handled properly can explode and cause severe
burns.
Do not
S recharge
S overheat
S burn
S puncture
S crush
S short-circuit backup batteries!
Initial Situation
The module you want to replace is installed and wired. You want to install a new
module of the same type.
Warning
! If you remove or plug in the S7-300 modules during data transmission via the MPI,
the data might be corrupted by disturbing pulses.
You must not plug in or remove any S7-300 modules during data transmission via
the MPI!
If you are not sure whether any communications activities are taking place, pull the
connector out of the MPI port.
3
5
5a
6
Figure 7-2 Unlocking the Front Connector and Detaching the Module from the Rail
3
1
0.8 to 1.1 Nm
2
Removing the Front Connector Coding Key from the Front Connector
If you want to wire a used front connector for another module, just remove the front
connector coding key from the front connector by pressing it out of the front
connector with a screwdriver. This upper part of the coding key must then be
plugged back into the old module.
Replacement Fuses
If you have to change fuses, you can use, for example, the following replacement
fuses:
S 8 A, 250 V fuse
– Wickmann 19 194-8 A
– Schurter SP001.013
– Littlefuse 217.008
S Fuse holder
– Wickmann 19 653
Fuses
Changing Fuses
The fuses are located at the left side of the module. To change the fuses, proceed
as follows:
1. Switch the CPU to STOP using the key switch.
2. Switch off the load voltage of the digital output module.
3. Remove the front connector from the digital output module.
4. Loosen the fixing screw of the digital output module.
5. Swing out the digital output module.
6. Remove the fuse holder from the digital output module.
7. Replace the fuse.
8. Screw the fuse holder back into the digital output module.
9. Install the digital output module (see Section 2.2.2).
Status and
fault LEDs
(see Section 8.1.1)
Status and
fault LEDs for DP
interface Slot for memory
(Section 8.1.1) card
(Section 8.1.4)
Mode selector
(Section 8.1.2)
Table 8-1 The Differences in Control and Display Elements Between CPUs
CPU 315-2 DP/ BUSF ... (red) ... hardware or software fault at PROFIBUS interface
CPU 316-2 DP
CPU 318-2 BUS1F ... (red) ... hardware or software fault at interface 1
BUS2F ... (red) ... hardware or software fault at interface 2
Exceptions
CPU 312 IFM has no backup battery or accumulator.
The CPU 313 does not require an accumulator since the accumulator does not
back up the software clock.
Exceptions
You cannot insert a memory card with the CPU 312 IFM and 314 IFM. These
CPUs have an integrated read-only memory.
64 KB
S Loading
L di off th
the user program on th
the
module into the CPU
256 KB In this function, the memory of the CPU
128 KB 5 V FEPROM is reset, the user program is loaded on
to the memory card,
card and then from the
512 KB memory card to the CPUCPU’s
s working
1 MB memory.
S Copying
Cop ing of RAM to ROM (not with
ith the
2 MB
CPU 318-2)
4 MB
128 KB
256 KB
5 V RAM O l with
Only ith th
the CPU 318
318-2
2
512 KB
1 MB
2 MB
MPI
MPI DP MPI/DP DP
– – – Reconfiguration as –
a PROFIBUS-DP
interface is
possible
MPI Interface
The MPI is the interface of the CPU for the programming device/OP and for
communication in an MPI subnet.
The typical (preset) transmission rate is 187.5 kbps (CPU 318-2: can be set up to
12 Mbps)
You must set 19.2 kbps to communicate with a S7-200.
PROFIBUS-DP Interface
CPUs with 2 interfaces offer you the PROFIBUS-DP interface, which allows them
to be connected to a PROFIBUS-DP bus system. Transmission rates up to
12 Mbps are possible.
Connectable Devices
MPI PROFIBUS-DP
S Programming device/PC and OP S PG/PC and OP
S S7 programmable controller with MPI interface S S7 programmable controllers with the
(S7-300, M7-300, S7-400, M7-400, C7-6xx) PROFIBUS-DP interface (S7-200, S7-300,
S S7-200 (Note: only 19.2 kbps) M7-300, S7-400, M7-400, C7-6xx)
S Other DP masters and DP slaves
Note
At 19.2 kbps for communication with an S7-200, the following applies:
– A maximum of 8 nodes (CPU, PG/OP, FM/CP with own MPI address) are
allowed in one subnet.
– You cannot carry out any global data communication.
Warning
! If you remove or plug in S7-300 modules (SM, FM, CP) during data transmission
via the MPI, the data might be corrupted by disturbing pulses.
You must not plug in or remove modules (SM, FM, CP) of an S7-300 configuration
during data transmission via the MPI!
Warning
! Loss of data packets in the MPI subnet:
Connecting an additional CPU to the MPI subnet during operation can lead to loss
of GD packets and to an increase in cycle time.
Remedy:
1. Disconnect the node to be connected from the supply.
2. Connect the node to the MPI subnet.
3. Switch the node on.
Table 8-5 shows the characteristics and functions of the clock for the various
CPUs.
When you parameterize the CPU in STEP 7, you can also set functions such as
synchronization and the correction factor(see the STEP 7 online help system).
Characteristics 312 IFM 313 314 314 IFM 315 315-2 DP 316-2 DP 318-2
Type Software clock Hardware clock (integrated “real-time clock”)
Manufacturer DT#1994-01-01-00:00:00
setting
Backup Not possible S Backup battery
S Accumulator
Operating hours – 1 8
counter
Number 0 0 to 7
Value range 0 to 32767 hours 0 to 32767
hours
Accuracy ... max deviation per day:
S With power "9s
supply switched
on
0 to 60_ C
S With power
supply switched
off
0_ C +2s to –5s
25_ C "2s
40_ C +2s to –3s
60_ C +2s to –7s
Detailed Information
You can find out more about communication in the STEP 7 online help system and
in the Communication with SIMATIC Manual.
Note
Please note the following in relation to global data communication: global data sent
will not be acknowledged by the receiver!
The sender therefore receives no information on whether a receiver and which
receiver has received the sent global data.
Caution
! The forced values in the process-image input table can be overwritten by write
commands (for example T IB x, = I x.y, copy with SFC, etc.) as well as by
peripheral read commands (for example L PIW x) in the user program or by
PG/OP write functions!
Outputs initialized with forced values only return the forced value if the user
program does not execute any write accesses to the outputs using peripheral write
commands (e.g. T PQB x) and if no PG/OP functions write to these outputs!
Note: The interrupt response time may increase up to 5.5 ms if forcing is active.
Forced value
overwritten by T
Forced value PQW! Forced value
Figure 8-3 The Principle of Forcing with S7-300 CPUs (CPU 312 IFM to 316-2 DP)
In Table 8-7, only the LEDs relevant to the diagnosis of the CPU and S7-300 are
listed. You will find the significance of the PROFIBUS-DP interface LEDs explained
in Chapter 9.
LED Description
SF Comes on in Hardware faults
the event of Programming errors
Parameter assignment errors
Calculation errors
Timing errors
Faulty memory card
Battery fault or no backup at power on
I/O fault/error (external I/O only)
Communication error
BATF Comes on The backup battery is missing, faulty or not charged.
when Note: It also comes on when an accumulator is connected.
The reason for this is that the user program is not backed up
by the accumulator.
STOP Comes on The CPU is not processing a user program
when
Flashes when The CPU requests a memory reset
Note
Please note that despite the extensive monitoring and error response functions
provided, this is not a safety-oriented or fault-tolerant system.
If an error occurs, the CPU enters the cause of the error in the diagnostic
buffer.You can read the diagnostic buffer using the programming device.
When an error occurs or there is an interrupt event, the CPU either goes into
STOP mode or you can respond in the user program via error or interrupt OBs.
You will find a detailed description of diagnosis with STEP 7 in the STEP 7 online
help system.
In Appendix B you will find an overview of the following:
S Which errors or interrupt events you can respond to with which OBs
S Which OB you can program in which CPU
CPU Goes to STOP with Missing ... CPU Remains in RUN with Missing ...
OB 80 (Time-out) OB 81 (Power supply fault)
OB 85 (Program execution error)
OB 86 (Node failure in
PROFIBUS-DP network)
OB 87 (Communication error)
OB 121 (Programming error)
OB 122 (I/O direct access
error)
CPU Goes to STOP with Missing ... CPU Remains in RUN with Missing ...
OB 10/11 (Time-of-day interrupt) OB 32/35 (Watchdog interrupt)
OB 20/21 (Delay interrupt)
OB 40/41 (Process interrupt)
OB 82 (Diagnostic interrupt)
In This Section
S You will find the technical specifications of the CPU.
S You will find the technical specifications of the integrated inputs/outputs of the
CPU 312 IFM and 314 IFM.
S You will not find the features of the CPU 31x-2 DP as a DP master/DP slave.
Refer to Chapter 9.
Order No.
6ES7 312-5AC02-0AB0
Special Features
S Integrated inputs and outputs (wired up via a 20-pin front connector)
S No backup battery and therefore maintenance-free
S An S7-300 with CPU 312 IFM can be mounted only on one rack
Table 8-8 Start Information for OB 40 for the Interrupt Inputs of the Integrated I/Os
31 30 5 4 3 2 1 0 Bit No.
Reserved
PRIN from I 124.6
PRIN from I 124.7
PRIN from I 125.0
PRIN from I 125.1
Figure 8-4 Display of the States of the Interrupt Inputs of the CPU 312 IFM
Front View
I124.0
Status and
I 1
fault LEDs
I 2
I 3
I 4
I 5
Mode selector I 6
I 7
I125.0
I 1
Q124.0
Q 1
Q 2
Q 3 Front connector
Multipoint Interface Q 4
(MPI) for front
Q 5
connection of
the onboard I/O,
power supply
and functional
ground
Time, Frequency
Internal conditioning time
for
Interrupt processing max. 1.5 ms
Input frequency 10 kHz
Note
Alternatively, you can parameterize the inputs I 124.6 and I 124.7 as special
inputs, in which case the technical specifications listed for the special inputs apply
to the inputs I 124.6 and I 124.7.
Caution
! The CPU 312 IFM has no reverse polarity protection. If the poles are reversed, the
integral outputs are defective but despite this, the CPU does not go to STOP and
the status LEDs light up. In other words, the fault is not indicated.
I124.0
I 1
I 2
I 3
I 4
I 5
I 6
I 7
I125.0
I 1
Q124.0
Q 1
Q 2
Q 3
Q 4
Q 5
Short-Circuit Characteristics
If a short-circuit occurs at one of the integral outputs of the CPU 312 IFM, you
must proceed as follows:
1. Switch the CPU 312 IFM to STOP or switch off the power supply.
2. Remove the cause of the short-circuit.
3. Switch the CPU 312 IFM back to RUN or switch the power supply back on.
CPU
CPU power
supply
M
M
L+
Order No.
6ES7 313-1AD03-0AB0
Order No.
6ES7 314-1AE04-0AB0
Order No.
6ES7 314-5AE03-0AB0
Special Features
Integrated inputs/outputs (wired up via 40-pin front connectors)
You can find detailed information on analog value processing and on connecting
measuring sensors and loads/actuators to the analog inputs/outputs in the Module
Specifications Reference Manual. Figures 8-13 and 8-14 on page 8-47 show wiring
examples.
Table 8-9 Start Information for OB 40 for the Interrupt Inputs for the Integrated I/O
31 30 5 4 3 2 1 0 Bit No.
Reserved
PRIN from I 126.0
PRIN from I 126.1
PRIN from I 126.2
PRIN from I 126.3
Figure 8-8 Display of the States of the Interrupt Inputs of the CPU 314 IFM
OUT IN OUT
Ã
M
Ä L+
M
Å Æ
Characteristic Features of the Integrated Inputs and Outputs of the CPU 314 IFM
Table 8-10 Characteristic Features of the Integrated Inputs and Outputs of the CPU 314 IFM
Inputs/Outputs Characteristics
Analog inputs Voltage inputs 10 V All information required for
Current inputs 20 mA Analog value display and
Resolution 11 bits + sign bit Connecting measuring sensors
Galvanically isolated and loads/actuators to the analog
inputs and outputs
Analog output Voltage output 10 V
can be found in the Module
Current output 20 mA Specifications Reference Manual.
Resolution 11 bits + sign bit
Galvanically isolated
Digital
g inputs
p Special Inputs (I 126.0 to I 126.3) “Standard” Inputs
Input frequency up to 10 kHz Galvanically isolated
Non-isolated
Rated input voltage 24V DC
Suitable for switch and 2-wire proximity switches (BEROs)
Digital outputs Output current 0.5 A
Rated load voltage 24V DC
Galvanically isolated
Suitable for solenoid valves and DC contactors
Resolution (incl. overdrive 11 bits + sign bit inductive load max. 0.1 mH
range) Voltage output
Conversion time 40 ms Short-circuit protection Yes
Settling time Short-circuit current max. 40 mA
For resistive load 0.6 ms
Current output
For capacitive load 1.0 ms
Idle voltage max. 16 V
For inductive load 0.5 ms
Destruction limit for
Connection of substitute No
externally applied
values
voltages/currents
Interference Suppression, Error Limits Voltages at the output max. 15 V
Operational error limits with ref. to MANA continuous;
(throughout temperature 15 V for max. 1 s
range, relative to output (pulse duty factor
range) 1:20)
Voltage output 1.0 % Current max. 30 mA
Current output 1.0 % Connection of actuators
Basic error limit (operational For voltage output
limit at 25 °C, relative to 2-wire connection Possible
output range) 4-wire connection Not possible
Voltage output 0.8 % For current output
Current output 0.9 % 2-wire connection Possible
Temperature error (relative 0.01 %/K
to output range)
Linearity error (relative to 0.06 %
output range)
Repeat accuracy (in the 0.05 %
settled state at 25 °C,
relative to output range)
Remarks
When the supply voltage is switched on a pulse occurs on the digital outputs! This
can be 50 ms long within the permissible output current range. You must not,
therefore, use the digital outputs to trigger high-speed counters.
Module-Specific Data Actuator Selection Data
Number of outputs 16 Output voltage
Cable length For “1” signal min. L + (– 0.8 V)
Unshielded max. 600 m Output current
Shielded max. 1000 m For “1” signal
Voltages, Currents, Potentials Rated value 0.5 A
Permissible range 5 mA to 0.6 A
Rated load current L+ 24V DC
For “0” signal max. 0.5 mA
Polarity reversal No (residual current)
protection
Load impedance range 48 W to 4 kW
Total current of outputs
(per group) Lamp load max. 5 W
(horizontal Parallel connection of 2
configuration) outputs
up to 40 °C max. 4 A For dual-channel Possible, only
up to 60 °C max. 2 A triggering of a load outputs of the same
(vertical configuration) group
up to 40 °C max. 2 A For performance Not possible
increase
Galvanic isolation
Triggering of a digital input Possible
Between channels and Yes
backplane bus Switching frequency
Between the channels Yes For resistive load max. 100 Hz
in groups of 8 For inductive load to max. 0.5 Hz
IEC 947-5-1, DC 13
Permissible potential
difference For lamp load max. 100 Hz
Between different 75V DC Inductive breaking voltage L+ (– 48 V) typical
circuits 60V AC limited internally to
Insulation tested at 500V DC Short-citcuit protection of yes, electronically
the output timed
Current consumption
Response threshold 1 A (typical)
From L+ supply max. 100 mA
(no-load)
Status, Interrupts; Diagnostics
Status display 1 green LED per
channel
Interrupts None
Diagnostic functions None
Caution
! Wiring errors at the analog outputs can cause the integrated analog I/O of the
CPU to be destroyed! (for example, if the interrupt inputs are wired by mistake to
the analog output).
The analog output of the CPU is only indestructible up to 15 V (output with respect
to MANA).
1L+ 2L+
I126.0 1L+ 124.0 124.0
Special I126.1 124.1 124.1
inputs I126.2 124.2 124.2
I126.3 124.3 124.3
AOU PQW 128 124.4 124.4
Analog
outputs AOI 124.5 124.5
AIU PIW 128 124.6 124.6
AII 124.7 124.7
AI–
2M
3L+
AIU PIW 130 125.0 125.0
Analog AII 125.1 125.1
inputs AI– 125.2 125.2
AIU PIW 132 125.3 125.3
AII
125.4 125.4
AI–
125.5 125.5
AIU PIW 134
125.6 125.6
AII
AI– 125.7 125.7
1M 3M
MANA
L+
CPU interface
+
Ref
M
DAC
V
M MANA A
Multiplexer
V
A
ADC
M MANA
CPU interface
Internal supply
MANA
Figure 8-11 Basic Circuit Diagram of the CPU 314 IFM (Special Inputs and Analog Inputs/Outputs)
1 L+ 2L+
24V
M
CPU 2M
interface 3L+
24V
1M M 3M
24V
Figure 8-12 Basic Circuit Diagram of the CPU 314 IFM (Digital Inputs/Outputs)
L+
1L+
2-wire measuring
transducer
AIU
AII
AI_
MANA
M
Figure 8-13 Wiring the Analog Inputs of the CPU 314 IFM with a 2-Wire Measuring Transducer
L+ M
AIU
AII 4-wire measu-
AI_ ring transducer
AIU
M
AII
AI_ Unwired channel groups:
Connect AI_ with MANA.
Figure 8-14 Wiring the Analog Inputs of the CPU 314 IFM with a 4-Wire Measuring Transducer
Order No.
6ES7 315-1AF03-0AB0
Order No.
6ES7 315-2AF03-0AB0
DP master or DP slave
You can use the CPU 315-2 DP with its 2nd interface (PROFIBUS-DP interface)
either as a DP master or as a DP slave in a PROFIBUS-DP network.
See Chapter 9 for a detailed description of the PROFIBUS-DP features of the
CPU 315-2 DP.
Order No.
6ES7 316-2AG00-0AB0
DP master or DP slave
You can use the CPU 316-2 DP with its 2nd interface (PROFIBUS-DP interface)
either as a DP master or as a DP slave in a PROFIBUS-DP network.
See Chapter 9 for a detailed description of the PROFIBUS-DP features of the
CPU 316-2 DP.
Order No.
6ES7 318-2AF00-0AB0
Special Features
4 accumulators
The MPI interface can be reconfigured: MPI or PROFIBUS DP (DP master).
Data areas can be set (process image, local data)
For more information on the differences between the CPU 318-2 and the other
CPUs, see Section 11.1.
DP master or DP slave
You can use the CPU 318-2 DP either as a DP master or as a DP slave in a
PROFIBUS-DP network.
See Chapter 9 for a detailed description of the PROFIBUS-DP features of the
CPU 318-2.
Communication
You can reconfigure the first interface of the CPU from an MPI interface to a DP
interface (DP master).
You can run the CPU as a DP master or a DP slave via the second DP interface.
In routing, the maximum number of possible connections is reduced for each of the
two interfaces by 1 connection for each active PG/OP connection that the CPU
318-2 uses as a gateway.
Functions Communications
Real-time clock Hardware clock Total number of max. 32;
connections using both
Operating hours counter 8 interfaces
S Number 0 to 7 (PG/OP/configured/not
S Value range 0 to 32767 hours configured S7 connections
with terminal point on the
S Selectivity 1 hour
CPU)
S Retentive Yes
1st MPI/DP Interface
Backup battery
MPI Functionality
S Backup time min. 1 year
at 25 °C and S Connections for max. 32
uninterrupted backup of PG/OP/configured/not
the CPU (incl. 1 MB configured S7
RAM memory card) connections/routing
Of these, the following 1 PG and 1 OP con-
S Storage approx. 5 years
are reserved: nection
at 25 °C
Buffer time of clock with ac-
S Global data
communication
cumulator
No. of GD circuits 8
at 0_C typ. 4 weeks No. of send packets per 1
at 25_C typ. 4 weeks GD circuit
at 40_C typ. 3 weeks No. of receive packets 2
per GD circuit
at 60_C typ. 1 week
max. net data per 54 bytes
Battery charging time 1 h (typical) packet
Length of consistent 32 bytes
data per packet
S Number of nodes max. 32;
127 with repeaters
S Transmission rate 9.6; 19.2; 93.75;
187.5; 500 kbps;
S Distance 1.5; 3; 6; 12 Mbps
see Tables 5-3 and
5-4 on page 5-12
In This Chapter
Additional Literature
Descriptions and notes pertaining to configuration in general, configuration of a
PROFIBUS subnet and diagnostics in the PROFIBUS subnet can be found in the
STEP 7 online help system.
DP diagnostic addresses occupy 1 byte for the DP master and for each DP slave
in the address area for the inputs. Under these addresses, for example, the DP
standard diagnosis for the respective nodes can be called (LADDR parameter of
SFC 13). The DP diagnostic addresses are specified during configuration. If you do
not specify any DP diagnostic addresses, STEP 7 allocates the addresses from the
highest byte address downwards as DP diagnostic addresses.
Introduction
This section covers the features and technical specifications of the CPU when it is
used as a DP master.
The features and technical specifications of the CPU 31x-2 as the “standard” CPU
are listed in Section 8.
Prerequisites
Should the MPI/DP interface be a DP interface? If so, you must then configure the
interface as a DP interface.
Before the CPU can be put into operation, it must be configured as a DP master.
This means carrying out the following steps in STEP 7:
S Configure the CPU as a DP master.
S Assign a PROFIBUS address.
S Assign a master diagnostic address.
S Integrate DP slaves into the DP master system.
Is a DP slave a CPU 31x-2?
If so, you will find that DP slave in the PROFIBUS-DP catalog as
“pre-configured station”. This DP slave CPU must be assigned a slave
diagnostic address in the DP master. You must then interconnect the DP
master with the DP slave CPU and stipulate the address areas for data
interchange with the DP slave CPU.
Note
The use of Monitor and Modify via the PROFIBUS-DP interface lengthens the DP
cycle.
Equidistance
As of STEP7 V 5.x you can parameterize bus cycles of the same length
(equidistant) for PROFIBUS subnets. You can find a detailed description of
equidistance in the STEP7 online help system.
Table 9-1 Meaning of the BUSF LED of the CPU 31x-2 as DP Master
Diagnostic event
OB82 is called
OB82 is called
For diagnosis of the whole DP slave: For the diagnosis of the modules involved:
Call SFC 13 Call SFC 51
± ±
Enter the diagnostic address Enter the diagnostic address
“OB82_MDL_ADDR*” in the LADDR “OB82_MDL_ADDR*” in the INDEX parameter
parameter Enter the ID W#16#00B3 in the SZL_ID parameter
(=diagnostic data of a module)
Diagnostic Addresses
With the CPU 31x-2 you assign diagnostic addresses for the PROFIBUS-DP bus
system. Make sure during configuration that DP diagnostic addresses are assigned
to both the DP master and the DP slave.
PROFIBUS
During configuration you must specify two diagnostic addresses:
When you configure the DP master, you When you configure the DP slave, you
must specify (in the associated project of must also specify (in the associated
the DP master) a diagnostic address for project of the DP slave) a diagnostic
the DP slave. In the following, this address that is allocated to the DP slave.
diagnostic address is referred to as In the following, this diagnostic address
allocated to the DP master. is referred to as allocated to the DP
slave.
The DP master receives information on The DP slave receives information on
the status of the DP slave or on a bus the status of the DP master or on a bus
interruption via this diagnostic address interruption via this diagnostic address
(see also Table 9-3). (see also Table 9-8 on page 9-20).
Event Detection
Table 9-3 shows how the CPU 31x-2 as DP master recognizes status changes in a
CPU as DP slave or interruptions in data transfer.
Introduction
This section lists the characteristics and technical specifications for the CPU when
it is operated as a DP slave.
The characteristics and technical specifications of the CPU as the “standard” CPU
can be found in Section 8.
Prerequisites
Should the MPI/DP interface be a DP interface? If so, you must configure the
interface as a DP interface.
Prior to start-up, the CPU must be configured as a DP slave. This means carrying
out the following steps in STEP 7:
S “Switch on” the CPU as DP slave.
S Assign a PROFIBUS address.
S Assign a slave diagnostic address.
S Stipulate the address areas for data interchange with the DP master.
Note
The use of Monitor and Modify via the PROFIBUS-DP interface lengthens the DP
cycle.
PROFIBUS
Table 9-5 Configuration Example for the Address Areas of the Intermediate Memory
Rules
The following rules must be followed when using the intermediate memory:
S Allocating the address areas:
– Input data of the DP slave are always output data of the DP master
– Output data of the DP slave are always input data of the DP master
S The addresses can be freely allocated. In the user program, access the data
with Load/Transfer statements or with SFCs 14 and 15. You may also specify
addresses from the process input or process output image (also see
Section 3.2).
Note
You assign addresses for the intermediate memory from the DP address area of
the CPU 31x-2.
You cannot assign addresses already allocated to the intermediate memory to the
I/O modules in the CPU 31x-2!
S The lowest address in any given address area is that address area’s start
address.
S The length, unit and consistency of the address areas for DP master and DP
slave must be identical.
S5 DP Master
If you are using an IM 308 C as a DP master and the CPU 31x-2 as a DP slave,
the exchange of consistent data requires the following:
In the IM 308 C, you must program FB 192 to enable the exchange of consistent
data between DP master and DP slave. With FB 192, the data of the CPU 31x-2
data is output or read out contiguously only in a single block.
S5-95 as a DP master
If you are using an AG S5-95 as a DP master, you must also set its bus
parameters for the CPU 31x-2 as a DP slave.
Sample Program
Below you will see a small sample program for the exchange of data between DP
master and DP slave. The addresses used in the example are those from
Table 9-5.
PROFIBUS address
You cannot set the 126 as the PROFIBUS address for the CPU 31x-2.
In This Section
In Contents Page
Section
9.5.1 Diagnosis with LEDs 9-16
9.5.2 Diagnosis with STEP 5 or STEP 7 9-16
9.5.3 Reading Out the Diagnostic Data 9-17
9.5.4 Format of the Slave Diagnostic Data 9-21
9.5.5 Station Status 1 to 3 9-22
9.5.6 Master PROFIBUS Address 9-24
9.5.7 Manufacturer Identification 9-24
9.5.8 Module Diagnostics 9-25
9.5.9 Station Diagnostics 9-26
9.5.10 Interrupts 9-28
Table 9-6 Meaning of the BUSF LEDs in the CPU 31x-2 as DP Slave
Slave Diagnosis
The slave diagnosis complies with EN 50170, Volume 2, PROFIBUS. Depending
on the DP master, the diagnosis can be read for all DP slaves that comply with the
standard using STEP 5 or STEP 7.
The following sections describe how the slave diagnosis is read and structured.
S7 Diagnosis
An S7 diagnosis can be requested for all the modules in the SIMATIC S7/M7 range
of modules in the user program. The structure of the S7 diagnostic data is the
same for both central and distributed modules.
The diagnostic data of a module is in data records 0 and 1 of the system data area
of the module. Data record 0 contains 4 bytes of diagnostic data describing the
current state of a module. The data record 1 also contains module-specific
diagnostic data.
You can find out how to configure the diagnostic data in the System and Standard
Functions Reference Manual.
Table 9-7 Reading Out the Diagnostic Data with STEP 5 and STEP 7 in the Master System
Example of Reading Out the Slave Diagnosis with FB 192 “IM 308C”
Here you will find an example of how to use FB 192 to read out the slave diagnosis
for a DP slave in the STEP 5 user program.
Assumptions
The following assumptions are made for this STEP 5 user program:
S As a DP master, the IM 308-C occupies the page frames 0... 15 (number 0 of
the IM 308-C).
S The DP slave has the PROFIBUS address 3.
S The slave diagnosis should be stored in data block 20. You can also use any
data block for this.
S The slave diagnosis consists of 26 bytes.
STL Description
:A DB 30
:SPA FB 192
Name :IM308C
DPAD : KH F800 Default address area of the IM 308-C
IMST : KY 0, 3 IM no. = 0, PROFIBUS address of the DP slave = 3
FCT : KC SD Function: Read slave diagnosis
GCGR : KM 0 Not evaluated
TYP : KY 0, 20 S5 data area: DB 20
STAD : KF +1 Diagnostic data as of data word 1
LENG : KF 26 Length of dignostic data = 26 bytes
ERR : DW 0 Error code storage in DW 0 of the DB 30
Assumptions
The following assumptions are made for this STEP 7 user program:
S The diagnosis for the input module with the address FFFFH is to be read out.
S Data record 1 is to be read out.
S Data record 1 is to be stored in DB 10.
STL Description
CALL SFC 59
Diagnostic Addresses
With the CPU 31x-2, you assign diagnostic addresses for the PROFIBUS-DP bus
system. During configuration, make sure that DP diagnostic addresses are
assigned to both the DP master and the DP slave.
PROFIBUS
When you configure the DP master, you When you configure the DP slave, you
must specify (in the associated project of must also specify (in the associated
the DP master) a diagnostic address for project for the DP slave) a diagnostic
the DP slave. In the following, this address that is allocated to the DP slave.
diagnostic address is referred to as In the following, this diagnostic address
allocated to the DP master. is referred to as allocated to the DP
slave.
The DP master receives information on The DP slave receives information on
the status of the DP slave or on a bus the status of the DP master or on a bus
interruption via this diagnostic address interruption via this diagnostic address
(see also Table 9-3 on page 9-9). (see also Table 9-8).
Event Detection
Table 9-8 shows how the CPU 31x-2 as DP slave recognizes status changes or
interruptions in the transfer of data.
Byte 0
Byte 1 Station status 1 to 3
Byte 2
Definition
Station status 1 to 3 provides an overview of the status of a DP slave.
Station Status 1
Station Status 2
Bit Description
0 1: DP slave must be parameterized again and reconfigured.
1 1: A diagnostic message has arrived. The DP slave cannot continue
operation until the error has been rectified (static diagnostic message).
2 1: This bit is always “1” when there is a DP slave with this DP address.
3 1: The watchdog monitor has been activated for this DP slave.
4 0: This bit is always “0”.
5 0: This bit is always “0”.
6 0: This bit is always “0”.
7 1: DP slave is deactivated, that is to say, it has been removed from the
scan cycle.
Station Status 3
Bit Description
0
to 0: These bits are always “0”.
6
7 1: S More diagnostic messages have arrived than the DP slave can
buffer.
S The DP master cannot enter all the diagnostic messages sent by the
DP slave in its diagnostic buffer.
Definition
The DP address of the DP master is stored in the master PROFIBUS address
diagnostic byte:
S The master that parameterized the DP slave
S The master that has read and write access to the DP slave
Bit Description
0 to 7 DP address of the DP master that parameterized the DP slave and
has read/write access to that DP slave.
FFH: DP slave was not parameterized by a DP master.
9.5.7 Manufacturer ID
Definition
The manufacturer identification contains a code specifying the DP slave’s type.
Manufacturer Identification
Definition
The module diagnosis specifies which of the configured address areas of the
intermediate memory an input has been made for.
7 0 Bit No.
Byte 6 0 1
7 6 5 4 3 2 1 0 Bit No.
Byte 88
Byte
7 6 5 4 3 2 1 0 Bit No.
Byte 9
7 6 5 4 3 2 1 0 Bit No.
Byte 11 0 0 0 0 0
Definition
The station diagnosis gives detailed information on a DP slave. The station
diagnosis begins as of byte x and can have a maximum of 20 bytes.
Station Diagnosis
The following figure describes the structure and content of the bytes for a
configured address area of the intermediate memory.
7 6 0 Bit No.
Byte x 0 0
Byte x +4
to Diagnostic data (see Figure 9-9) or
byte x +7 interrupt data
As of byte x +4
The purpose of the bytes beginning with byte x+4 depends on byte x+1 (see
Figure 9-8).
7 0 Bit No.
Byte x+4 0 0 0 0 0 0 0
0: Module ok.
1: Module fault
7 4 3 0 Bit No.
Byte x+5 0 0 0 0 1 0 1 1
0: RUN mode
1: STOP mode
7 0 Bit No.
Byte x+7 0 0 0 0 0 0 0 0
9.5.10 Interrupts
Note
Note the following in order to be able to evaluate diagnostic interrupts and process
interrupts via the device-related diagnostics when using a different DP master:
S The DP master should be able to store the diagnostic messages, that is, the
DP master should have a ring buffer in which to place these messages. If the
DP master can not store diagnostic messages, only the last diagnostic
message would be available for evaluation.
S You must scan the relevant bits in the device-related diagnostic data in your
user program at regular intervals. You must also take the PROFIBUS-DP’s bus
cycle time into consideration so that you can scan the bits at least once in sync
with the bus cycle time, for example.
S When using an IM 308-C as DP master, you can not utilize process interrupts
in device-related diagnostics, as only incoming interrupts can be signaled, not
outgoing interrupts.
With STEP 7
When you configure and parameterize the address areas of the intermediate
memory of the CPU 31x-2 with STEP 7, STEP 7 and the online help system
support you.
Configuration/Parameterization
When you enter the address areas of the intermediate memory of the CPU 31x-2
using a configuration frame and a parameter assignment frame, e.g. CP 342-5 in
an S7-300 or CP 5431 as DP master or another DP master, you will find the
structure of the configuration frame and the parameter assignment frame in the
following sections.
In This Section
The following section contains all the information you need to configure and
parameterize the address areas of the intermediate memory with a software tool.
Standard Part
The first seven bytes of the parameter assignment frame are standardized to
EN 50170; for the CPU 315-2, for example, they can have the following contents:
7 2 Bit No.
Byte 7 0 0 0 0 0
6 5
Byte 8 0 0 0 0 0 0
Byte 9 0 0 0 0 0 0 0 0
Byte
Config red Address Area
Configured
n n+1 n+2 n+3 n+4
04 00 00 AD C4
These bytes are reserved: 04 00 00 8B 41
04 00 00 8F C0
1st configured address area (n = 15)
2nd configured address area (n = 20) See Table 9-16
...
32nd configured address area (n = 170)
Table 9-16 Identifiers for the Address Areas of the Intermediate Memory
Identifiers (hexadecimal)
Special Length Manufacturer-specific data
Address Area identifier byte Comment length = 3
format
Byte 0 Byte 1 Byte 2 Byte 3 Byte 4
Input See Figure See 00H 83H 40H
9-12 Figure
Output 9-13 00H 93H 40H
7 6 5 4 3 2 1 0 Bit No.
Byte 0 0 0
7 6 5 4 3 2 1 0 Bit No.
Byte 1
Consistency over...
0: Byte or word
1: Total length
04 00 00 AD C4 04 00 00 8B 41 04 00 00 8F C0 43 81 00 83 40
Configured Byte
Address
Areas
1. 0 0 0 0 0 0 0 0
2. 0 0 0 0 0 0 0 0
3. 0 0 0 0 0 0 0 0
4. 7 6 5 4 3 2 1 0 Bit No.
in bytes or words
:
Length of the inputs/outputs in
bytes or words
01: Inputs
: 10: Outputs
0: Length in bytes
1: Length
g in words
32nd Consistency over...
0: Byte or word
1: Total length
Principle
Direct communication is characterized by the fact that the PROFIBUS-DP nodes
listen in to find out which data a DP slave is sending back to its DP master.
Using this function the eavesdropper (receiver) can directly access changes in the
input data of remote DP slaves.
During configuration in STEP 7, in addition to defining the relevant I/O input
addresses, you can also define which of the receiver’s address areas the required
data from the sender will be read to.
A CPU 31x-2 can be one of the following:
Sender as DP slave
Receiver as DP slave or DP master or as CPU not included in a
master system (see Figure 9-14).
Example
Figure 9-14 gives you an example of the direct communication relationships you
can configure. In the figure all the DP masters and DP slaves are CPU 31x-2s.
Note that other DP slaves (ET 200M, ET 200X, ET 200S) can only be senders.
DP master
DP master
system 1
system 2
PROFIBUS
Diagnostic Addresses
In direct communication you allocate a diagnostic address in the receiver:
PROFIBUS
Diagnostic address
Figure 9-15 Diagnostic Address for the Receiver During Direct Communication
Event Detection
Table 9-18 shows how the CPU 31x-2 as receiver detects interruptions in the
transfer of data.
Table 9-18 Event Detection of the CPU 31x-2 as Receiver During Direct Communication
Table 9-19 Evaluation of the Station Failure of the Sender During Direct Communication
In This Chapter
Further Information
You will find further information on the processing times in ...
S ... the S7-300 instruction list. There you will find all the STEP 7 instructions
which can be processed on the various CPUs, together with their execution
time.
S ....see Appendix C. Here you will find a list of all the SFCs/SFBs integrated in
the CPUs, as well as the STEP 7 IEC functions and their execution times.
Factors Remarks
Operating system execution time
Process image transfer time (PII and See Section 10.2
PIQ)
User program execution time Can be calculated on the basis of the execution times of the
individual instructions (see the S7-300 Instruction List ) and a
CPU-specific factor (see Table 10-3)
S7 timer (not in the case of the
CPU 318-2)
PROFIBUS DP See Section 10.2
Integrated functions
Communication via the MPI You parameterize the maximum permissible cycle load produced
by communication in percent in STEP 7
Loading through interrupts See Sections 10.4 and 10.5
Operating
system
PII
User
program
Operating
system
Interrupts
User
program
PIQ
Factors
The response time depends on the cycle time and the following factors:
Factors Remarks
Delay of the inputs and outputs The delay times are given in the technical specifications
S In the Module Specifications Reference Manual for the
signal modules
S In Section 8.4.1 for the integrated inputs/outputs of the
CPU 312 IFM.
S In Section 8.4.4 for the integrated inputs/outputs of the
CPU 314 IFM.
Additional bus runtimes on the PROFIBUS CPU 31x-2 DP only
subnet
Range of Fluctuation
The actual response time lies between a shortest and a longest response time.
You must always reckon on the longest response time when configuring your
system.
The shortest and longest response times are considered below to let you get an
idea of the width of fluctuation of the response time.
system
The change in the input signal is processed
User
by the user program here.
program
The response of the user program to the
PIQ input signal change is passed on to the
outputs here.
Calculation
The (shortest) response time consists of the following:
S 1 process image transfer time for the inputs +
S 1 operating system execution time +
S 1 program execution time +
S 1 process image transfer time for outputs +
S Execution time of S7 timer
S Delay of the inputs and outputs
This corresponds to the sum of the cycle time and the delay of the inputs and
outputs.
User
program
Response Time
PIQ
Operating
system
Calculation
The (longest) response time consists of the following:
S 2 process image transfer time for the inputs +
S 2 process image transfer time for the outputs +
S 2 operating system execution time +
S 2 program execution time +
S 2 Bus runtime on the PROFIBUS-DP bus system (with CPU 31x-2 DP)
S Execution time of the S7 timer +
S Delay of the inputs and outputs
This corresponds to the sum of the double cycle time and the delay of the inputs
and outputs plus the double bus runtime.
Table 10-3 CPU-specific Factors for the User Program Processing Time
Se- CPU CPU 313 CPU 314 CPU CPU 315 CPU CPU CPU
quence 312 IFM 314 IFM 315-2 DP 316-2 DP 318-2
Factor 1,23 1,19 1,15 1,15 1,15 1,19 1,19 1,025
S7 timers
In the case of the CPU 318-2, the updating of the S7 timers does not extend the
cycle time.
The S7 timers are updated every 10 ms.
You can find out in Section 10.3 how to include the S7 timers in calculations of the
cycle and response times.
Sequence 312 IFM 313 314 314 IFM 315 315-2 DP 316-2 DP
Updating the S7 Number of Number of simultaneously active S7 timers 8 ms
timers (every 10 ms) simulta-
neously
active
S7 timers
10 ms
PROFIBUS-DP interface
In the case of the CPU 315-2 DP/316-2 DP, the cycle time is typically extended by
5% when the PROFIBUS-DP interface is used.
In the case of the CPU 318-2, there is no increase in cycle time when the
PROFIBUS-DP interface is used.
Integrated functions
In the case of the CPU 312-IFM and the CPU 314-IFM, the cycle time is increased
by a maximum of 10 % when integrated functions are used. In addition, you must,
where applicable, take into account the update of the instance DB at the scan
cycle checkpoint.
Table 10-5 shows the update times of the instance DB at the scan cycle
checkpoint, together with the corresponding SFB runtimes.
Bus runtime
7 ms
Transmission rate: 1.5 Mbps
6 ms
5 ms
4 ms
3 ms
2 ms
1 ms
Min. slave Transmission rate: 12 Mbps
interval
1 2 4 8 16 32 64 Number of DP slaves
Figure 10-4 Overview of the Bus Runtime on PROFIBUS-DP at 1.5 Mbps and 12 Mbps
If you run a PROFIBUS subnet with several masters, you must allow for the bus
runtime of each master (i.e. total bus runtime = bus runtime number of
masters).
Interrupts 312 IFM 313 314 314 IFM 315 315-2 DP 316-2 DP 318-2
Process approx. approx. approx. approx. approx. approx. approx. approx.
interrupt 840 ms 700 ms 700 ms 730 ms 480 ms 590 ms 590 ms to 340ms
Diagnostic – approx. approx. approx. approx. approx. approx. approx.
interrupt 880 ms 880 ms 1000 ms 700 ms 860 ms 860 ms 450 ms
Time-of- – – approx. approx. approx. approx. approx. approx.
day 680 ms 700 ms 460 ms 560 ms 560 ms 350 ms
interrupt
Delay – – approx. approx. approx. approx. approx. approx.
interrupt 550 ms 560 ms 370 ms 450 ms 450 ms 260 ms
Watchdog – – approx. approx. approx. approx. approx. approx.
interrupt 360 ms 380 ms 280 ms 220 ms 220 ms 260 ms
Program- – approx. approx. approx. approx. approx. approx. approx.
ming/ 740 ms 740 ms 760 ms 560 ms 490 ms 490 ms 130/ 155/
access 285 ms
error/
program
execution
error
Sample Configuration 1
You have configured an S7-300 with the following modules on one rack:
S 1 CPU 314
S 2 SM 321 DI 32 DC 24 V digital input modules (4 bytes each in the PI)
S 2 SM 322 DO 32 DC 24 V/0.5A digital output modules (4 bytes each in the PI)
According to the Instruction List, the user program has a runtime of 1.5 ms.
There is no communication.
Calculation
In this example, the cycle time is calculated from the following times:
S Process image transfer time
Process image of the inputs: 147 ms + 8 bytes 13.6 ms = ca. 0.26 ms
Process image of the outputs: 147 ms + 8 bytes 13.6 ms = ca. 0.26 ms
S Operating system runtime
Cyclic control: approx. 1 ms
S User program processing time:
approx. 1.5 ms CPU-specific factor 1.15 = approx. 1.8 ms
S Processing time of S7 timers
Assumption: 30 S7 timers are in operation.
For 30 S7 timers, the single update takes
30 8 ms = 240 ms.
Adding the process image transfer time, the operating system processing time
and the user program processing time gives us the time interval:
0.26 ms + 0.26 ms + 1 ms + 1.8 ms = 3.32 ms.
Since the S7 timers are called every 10 ms, a maximum of one call can be
made in this time interval, i.e. the cycle time can be increased through the S7
timers by a maximum of 240 ms.
The cycle time is calculated from the sum of the listed times:
Cycle time= 0.26 ms + 0.26 ms + 1 ms + 1.8 ms + 0.024 ms = 3.34 ms
Sample Configuration 2
You have configured an S7-300 with the following modules on two racks:
S 1 CPU 314
S 4 SM 321 DI 32 DC 24 V digital input modules (4 bytes each in the PI)
S 3 SM 322 DO 16 DC 24 V/0.5A digital output modules (2 bytes each in the
process image)
S 2 SM 331 AI 8 12Bit analog input modules (not in the process image)
S 2 SM 332 AOI 4 12Bit analog output modules (not in the process image)
User program
According to the Instruction List, the user program has a runtime of 2 ms. By
taking into account the CPU-specific factor of 1.15, the resulting runtime is approx.
2.3 ms. The user program employs up to 56 S7 timers simultaneously. No activities
are required at the scan cycle checkpoint.
Calculation
In this example, the response time is calculated from the following times:
S Process image transfer time
Process image of the inputs: 147 ms + 16 bytes 13.6 ms = ca. 0.36 ms
Process image of the outputs: 147 ms + 6 bytes 13.6 ms = ca. 0.23 ms
S Operating system processing time
Cyclic control: approx. 1 ms
S User program processing time: 2.3 ms
S 1st intermediate calculation The time base for calculating the processing time
of the S7 timers is the sum of all previously listed times:
2 0.36 ms (process image transfer time of inputs)
+ 2 0.23 ms (process image transfer time of outputs) +
2 1 ms (operating system processing time) +
2 2.3 ms (user program processing time) [7.8 ms.
S Processing time of S7 timers
A one-off update of 56 S7 timers takes 56 8 ms = 448 ms [ 0.45 ms.
Since the S7 timers are called every 10 ms, a maximum of one call can be
made in the cycle time, i.e. the cycle time can be increased through the S7
timers by a maximum of 0.45 ms.
S 2nd intermediate calculation: The response time excluding the delay times
of the inputs and outputs is calculated from the sum of:
8.0 ms (result of the first subtotal)
+ 0.45 ms (processing time of the S7 timers)
=8.45 ms.
S Delay times of the inputs and outputs
– The SM 321 DI 32 DC 24 V digital input module has an input delay of
4.8 ms per channel.
– The output delay of the SM 322; DO 16 DC 24 V/0.5A digital output group
can be ignored.
– The SM 331; AI 8 12Bit analog input module was parameterized for
interference frequency suppression of 50 Hz. This yields a conversion time
of 22 ms per channel. Since 8 channels are active, the cycle time for the
analog input module is 176 ms.
– The SM 332; AO 4 12Bit analog output module was parameterized for the
measurement range 0 ...10V. The conversion time is 0.8 ms per channel.
Since 4 channels are active, a cycle time of 3.2 ms is obtained. A settling
time of 0.1 ms for a resistive load must be added to this figure. This yields a
response time of 3.3 ms for an analog output.
S Response times with delay times for inputs and outputs:
S Case 1: An output channel of the digital output module is set when a digital
input signal is read in. This results in a response time of:
Response time = 4.8 ms + 8.45 ms = 13.25 ms.
S Case 2 An analog value is read in and an analog value is output. This results in
a response time of:
Response time = 176 ms + 8.45 ms + 3.3 ms = 187.75 ms.
Calculation
The interrupt response time is calculated as follows:
Shortest interrupt response time =
Minimum interrupt response time of the CPU +
Minimum interrupt response time of the signal modules +
Bus runtime on the PROFIBUS-DP
Longest interrupt response time =
Maximum interrupt response time of the CPU +
Maximum interrupt response time of the signal modules +
2 bus runtime on the PROFIBUS-DP bus system
Signal Modules
The process interrupt response time of the signal modules is composed of the
following components:
S Digital input modules
Process interrupt response time = internal interrupt preparation time + input
delay
You will find the times in the data sheet for the individual analog input module.
S Analog input modules
Process interrupt response time = internal interrupt preparation time +
conversion time
The internal interrupt preparation time for the analog input modules is negligible.
The conversion times can be found in the data sheet for the individual digital
input modules.
The diagnostic interrupt response time of the signal modules is the time that
elapses between the detection of a diagnostic event by the signal module and the
triggering of the diagnostics interrupt by the signal module. This time is negligible.
Calculation
The process interrupt response time in this example is calculated from the
following times:
S Process interrupt response time of the CPU 314: approx. 1.1 ms
S Process interrupt response time of the SM 321; DI 16 DC 24V:
– Internal interrupt preparation time: 0.25 ms
– Input delay 0.5 ms
The process interrupt response time is calculated from the sum of the listed times:
Process interrupt response time = 1.1 ms + 0.25 ms + 0.5 ms =
approx. 1.85 ms.
This process interrupt response time elapses from the time a signal is applied to
the digital input until the first instruction in OB 40.
Reproducibility – A Definition
Delay Interrupt:
The interval between the call-up of the first instruction in the OB and the
programmed time of the interrupt.
Watchdog Interrupt:
The fluctuation of the time interval between two successive call-ups, measured in
each case between the first instruction in the OB.
Reproducibility
Table 10-9 lists reproducibility of the delay and watchdog interrupts of the CPUs
(without communication).
Table 10-9 Reproducibility of the Delay and Watchdog Interrupts of the CPUs
CPU Reproducibility
Delay Interrupt Watchdog Interrupt
314 approx. –1/+0.4 ms approx. $0.2 ms
314 IFM approx. –1/+0.4 ms approx. $0.2 ms
315 approx. –1/+0.4 ms approx. $0.2 ms
315-2 DP approx. –1/+0.4 ms approx. $0.2 ms
316-2 DP approx. –1/+0.4 ms approx. $0.2 ms
318-2 approx. –0.8/+0.34 ms approx. $0.05 ms
4 accumulators
The following table shows you what to watch for if you want to use an STL user
program of a CPU 312 IFM to a CPU 316-2 DP for the CPU 318-2.
Instructions User Program from the CPU 312 IFM to 316-2 DP for the
CPU 318
Integer math instructions The CPU 318 transfers the contents of accumulators 3 and 4
(+D, –D, *D, /D, MOD) to accumulators 2 and 3 after these operations.
If accumulator 2 is evaluated in the (accepted) user program,
you now receive incorrect values with the CPU 318-2
because the value has been overwritten by the contents of
accumulator 3.
Configuration
The CPU 318-2 only accepts a project from a CPU 312 IFM to 316-2 DP if it has
been created for these CPUs with STEP 7 V 5.x.
You cannot use programs that contain configuration data for FMs (FM 353/354, for
example) or CPs (SDB 1xxx) for the CPU 318-2.
You must revise or recreate the relevant project.
MPI Addressing
You have an S7-300 configuration with FM/CP addressed via the MPI and want to
replace the CPU 312 IFM ... 316 with a CPU 318-2. Figure 11-1 on page 11-3
shows an example.
S7-300 PG
The CPU 316 is replaced
with a CPU 318-2
PG
After the CPUs have been swapped, you must proceed as follows (based on the
above example):
S Replace the CPU 316 with the CPU 318-2 in the STEP 7 project.
S Reconfigure the operator panel/programming device. This means reallocating
the programmable controller and reassigning the destination address (= MPI
address of the CPU 318-2 and the slot of the relevant FM)
S Reconfigure the configuration data for the FM/CP to be loaded onto the CPU.
This is necessary to ensure that the FM/CP in this configuration remain accessible
to the operator panel/programming device.
11.2 The Differences Between the CPUs 312 IFM to 316 and
Their Previous Versions
You can:
S Insert the 16 bit-wide memory cards:
256 KB FEPROM 6ES7 951-1KH00-0AA0
1 MB FEPROM 6ES7 951-1KK00-0AA0
2 MB FEPROM 6ES7 951-1KL00-0AA0
4 MB FEPROM 6ES7 951-1KM00-0AA0
S Back up the CPU firmware on memory card
MPI Addressing
You Have a CPU as of Order Number and You Have a CPU as of Order Number and
Version: Version:
6ES7 312-5AC01-0AB0, version 01
6ES7 313-1AD02-0AB0, version 01
6ES7 314-1AE03-0AB0, version 01
6ES7 314-5AE02-0AB0, version 01
6ES7 315-1AF02-0AB0, version 01
6ES7 315-2AF02-0AB0, version 01
6ES7 316-1AG00-0AB0, version 01 –
and STEP 7 as of V4.02 and STEP 7 < V4.02
The CPU accepts the MPI addresses configured by The CPU automatically establishes the MPI
you in STEP 7 for the relevant CP/FM in an S7-300 address of the CP/FM in an S7-300 on the
pattern MPI addr. CPU;MPI addr.+1 MPI addr.+2
or etc.
automatically determines the MPI address of the
CP/FM in an S7-300 on the pattern
MPI addr. CPU; MPI addr.+1 MPI addr.+2 etc.
CPU CP CP CPU CP CP
CPU 315-2 DP
IEC 1131
The S7-300 programmable controller meets the requirements and criteria to
standard IEC 1131, Part 2.
CE Symbol
Our products meet the requirements and protection guidelines of the following EC
Directives and comply with the harmonized European standards (EN) issued in the
Official Journal of the European Communities with regard to programmable
controllers:
S 89/336/EEC “Electromagnetic Compatibility” (EMC Directive)
S 73/23/EEC “Electrical Equipment Designed for Use between Certain Voltage
Limits” (Low-Voltage Directive)
The declarations of conformity are held at the address below, where they can be
obtained if and when required by the respective authorities:
Siemens Aktiengesellschaft
Automation Group
A&D AS E 4
P.O. Box 1963
D-92209 Amberg
Federal Republic of Germany
EMC Guidelines
SIMATIC products have been designed for use in the industrial area.
They can also be used in residential environments
(residential, commercial and light industry) with individual approval. You must
acquire the individual approval from the respective national authority or testing
body. In Germany individual approval is granted by the Bundesamt für Post und
Telekommunikation and its associated offices.
UL Recognition
UL Recognition Mark
Underwriters Laboratories (UL) to
UL standard 508, Report 116536
CSA Certification
CSA Certification Mark
Canadian Standard Association (CSA) to
Standard C22.2 No. 142, File No. LR 48323
FM Approval
FM Approval to Factory Mutual Approval Standard Class Number 3611, Class I,
Division 2, Group A, B, C, D.
Warning
! Personal injury or property damage can result.
In hazardous areas, personal injury or property damage can result if you withdraw
any connectors while an S7-300 is in operation.
Always isolate the S7-300 in hazardous areas before withdrawing connectors.
PNO
OB 121 and 122 (Special Features in the CPUs 313 to 316-2 DP)
Please note the following special feature of the S7-300 (except in the CPU 312
IFM/318-2) with OBs 121 and 122:
Note
Please note the following special features with OBs 121 and 122:
The CPU enters in the OBs’ local data value “0” in the following temporary
variables of the variable declaration table:
S Byte no. 3: OB121_BLK_TYPE or OB122_BLK_TYPE
(type of the block in which the error has occurred)
S Byte nos. 8 and 9: OB121_BLK_NUM or OB122_BLK_NUM
(number of the block in which the error has occurred)
S Byte nos. 10 and 11: OB121_PRG_ADDR or OB122_PRG_ADDR
(address of the block in which the error has occurred)
Contents
This Appendix shows the execution times for the SFCs/SFBs and for each IEC
function. The execution times depend on the CPU used.
* ms per request
* ms per byte
** ms per DB in stated area
*** ms per module
* ms per byte
*** ms per byte of a data record
* ms per byte
Functions for the integrated inputs/outputs (only 312 IFM and 314 IFM)
The CPUs 312 IFM and 314 IFM provide the following system functions for the
special channels of the onboard I/O:
The SFBs 29, 30, 38 and 39 are described in the Integrated Functions Manual.
The SFBs 41, 42 and 43 are described in the STEP 7 System and Standard
Functions Reference Manual.
CPU features –
0012H All records of the sublist
0112H Only those records of a group 0000H STEP 7 processing
of features 0100H Time system in the CPU
0300H STEP 7 operation set
0F12H Header information only
Table D-1 Sublists of the System Status List of the CPUs, continued
Table D-1 Sublists of the System Status List of the CPUs, continued
PROFIBUS-DP Sublists
Below you will find a list of the sublists that the CPU 315-2 DP can evaluate in its
role as DP master or DP slave in addition to those listed in Table D-2.
Table D-2 Sublists of the System Status List of the CPU 315-2 DP as DP Master
130
80 120
43 23 9 25
125
130
180
120
80 130
125
CPU 318-2
Figure E-3 shows the dimensioned drawing of the CPU 318-2, front view. The side
view is illustrated in Figure E-2
160
125
Figure E-3 Dimensioned Drawing of the CPU 318-2
160
125
Figure E-4 Dimensioned Drawing of the CPU 314 IFM, Front View
180
130
120
Figure E-5 Dimensioned Drawing of the CPU 314 IFM, Side View
Contents
This chapter contains the following sections on electrostatic sensitive devices:
Definition
All electronic modules are equipped with large-scale integrated ICs or components.
Due to their design, these electronic elements are very sensitive to overvoltages
and thus to any electrostatic discharge.
These electrostatic sensitive devices have the internationally recognized
shortformESD.
Electrostatic sensitive devices are labeled with the following symbol:
Caution
! Electrostatic sensitive devices are subject to voltages that are far below the
voltage values that can still be perceived by human beings. These voltages are
present if you touch a component or the electrical connections of a module without
previously being electrostatically discharged. In most cases, the damage caused
by an overvoltage is not immediately noticeable and results in total damage only
after a prolonged period of operation.
Charging
Every person with a non-conductive connection to the electrical potential of its
surroundings can be charged electrostatically.
Figure F-1 shows you the maximum values for electrostatic voltages to which a
person can be exposed by coming into contact with the materials indicated in the
figure. These values are in conformity with the specifications of IEC 801-2.
Voltage in kV
(kV)
16 1 Synthetic material
15
14 2 Wool
13
3 Antistatic material,
12 for example, wood
11 1 or concrete
10
9
8
7
6
5
4 2
3
2
3
1
5 10 20 30 40 50 60 70 80 90 100 Relative air
humidity in %
Title Contents
System Software for S7-300/400 The programming manual offers basic information on the design
Program Design of the operating system and a user program of an S7-300. For
Programming Manual novice users of an S7-300/400 it provides an overview of the
programming principles on which the design of user programs is
based.
Standard Software for S7 und M7 The STEP 7 User Manual describes the principle and functions of
STEP 7 the STEP 7 software for programmable logic controllers. The
User Manual manual provides both novice and experienced users of STEP 5
with an overview of the procedures used to configure, program
and start up an S7-300/400. STEP 7 includes an online help
system for detailed answers to questions regarding the use of the
software.
Statement List (STL) for S7-300/400 The manuals for the STL, LAD and SCL packages each comprise
Programming the user manual and the language description. For programming
Manual an S7-300/400 you need only one of the languages, but, if
required you can switch between the language to be used in a
required,
Ladder Logic (LAD) for S7-300 and project. If it is the first time that you use one of the languages, the
S7-400 manuals will help you in getting familiar with the programming
Programming principles.
Manual When working with the software, you can use the on
on-line
line hel
help,,
Structured Control Language (SCL)1 which provides you with detailed information on editors and
for S7-300 and S7-400 compilers.
Programming
Manual
Table H-1 Manuals for Configuring and Programming the S7-300, continued
Title Contents
GRAPH1 for S7-300 and S7-400 With the GRAPH, HiGraph, CFC languages, you can implement
Sequential Function Charts sequential function charts, state diagrams or graphic
Manual interconnections of blocks. Each of the manuals comprises a user
manual and a language description.
description If it is the first time that you
HiGraph1 for S7-300 and S7-400 use one of these languages, the manual will help you in getting
Programming State Diagrams familiar with the programming principles. When working with the
Manual software, you can also use the on-line help (not for HiGraph),
which
hi h provides
id you withith d
detailed
t il d iinformation
f ti on editors
dit andd
Continuous Function Charts (CFC)1
compilers.
for S7 and M7
Programming Continuous Function
Charts
Manual
System Software for S7-300 and The S7-CPU’s offer systems and standard functions which are
S7-400 integrated in the operating system. You can use these functions
System and Standard Functions when writing programs in one of the languages, that is STL, LAD
Reference Manual and SCL. The manual provides an overview of the functions
available with S7 and, for reference purposes, detailed interface
descriptions which you require in your user program.
1 Optional system software packages for S7-300/400
Communication Manual
The Communication with SIMATIC manual gives you an introduction to and
overview of the communication possible in SIMATIC.
Manual
ET 200 Distributed I/O System
SIMATIC NET - PROFIBUS Networks
ET 200M Distributed I/O Station
SINEC L2-DP Interface of the S5-95U Programmable Controller
ET 200B Distributed I/O Station
ET 200C Distributed I/O Station
ET 200U Distributed I/O Station
ET 200 Handheld Unit
Technical Overviews
S7/M7 Programmable Controllers
Distributed I/O with PROFIBUS-DP and AS-I
Technical Literature
Table H-3 lists a selection of technical literature which you can obtain directly from
Siemens or from book retailers.
Reliability
Maximum reliability of the SIMATIC systems and components is achieved by
implementing the following extensive and cost-effective measures during the
development and manufacture:
This includes the following:
S Use of high-quality components;
S Worst-case design of all circuits;
S Systematic and computer-controlled testing of all components supplied by
subcontractors;
S Burn-in of all LSI circuits (e.g. processors, memories, etc.);
S Measures to prevent static charge building up when handling MOS ICs;
S Visual checks at different stages of manufacture;
S Continuous heat-run test at elevated ambient temperature over a period of
several days;
S Careful computer-controlled final testing;
S Statistical evaluation of all faulty systems and components to enable the
immediate initiation of suitable corrective measures;
S Monitoring of the most important control components using on-line tests
(watchdog for the CPU, etc.).
These measures are basic measures. They prevent or rectify a large proportion of
possible faults.
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. For this type of application,
relevant, plant-specific regulations exist that must be observed on installing the
control systems (e.g. VDE 0116 for burner control systems).
For electronic control equipment with a safety function, the measures that have to
be taken to prevent or rectify faults are based on the risks involved in the
installation. Above a certain potential danger, the basic measures listed above are
no longer sufficient. In such cases, additional measures (e.g. redundant
configurations, tests, etc.) must be implemented for the control equipment and
certified (DIN VDE 0801). The S5-95F fail-safe programmable controller has been
prototype tested by the German Technical Inspectorate, BIA and GEM III and
several certificates have been granted. It is, therefore, just as able as the S5-115F
fail-safe PLC that has already been tested to control and monitor safety-related
areas of the installation.
Important Information
Even when electronic control equipment has been configured for maximum design
safety, for example using multi-channel setups, it is still of the utmost importance
that the instructions given in the operating manual are followed exactly. Incorrect
handling can render measures intended to prevent dangerous faults ineffective, or
generate additional sources of danger.
% (03 51) 40 222 77 % (0 71 31) 1 832 03 % (03 41) 2 1030 07 % (03 81) 7821 71
N 52066 Aachen Fax (03 51) 40 222 74 Fax (0 71 31) 1 833 20 Fax (03 41) 2 1030 63 Fax (03 81) 7821 75
AUT P 13, Mr Georgens
Kurbrunnenstr. 22
ZN 40219 Düsseldorf ZN 76185 Karlsruhe ZN 39106 Magdeburg ZN 66111 Saarbrücken
% (02 41) 4 512 52 AUT P 15, Mr Becker AUT 14 P, Mr Boltz
Bannwaldallee 48
AUT VG 33, Mr Ganschinietz AUT, Mr Müller
Fax (02 41) 4 513 98 Lahnweg 10 Sieverstorstr. 3233 MartinLutherStr. 25
% (02 11) 3 9916 64 % (07 21) 9 9224 13 % (03 91) 5 8817 21 % (06 81) 3 8622 89
N 86159 Augsburg Fax (02 11) 3 9918 48 Fax (07 21) 9 9225 85 Fax (03 91) 5 8817 22 Fax (06 81) 3 8621 11
AUT S11, Mr Hirth
WernervonSiemens Str. 6
ZN 99097 Erfurt ZN 34117 Kassel ZN 68165 Mannheim ZN 57072 Siegen
% (08 21) 25 954 50 AUT P 22, Mr Skudelny AUT P 13, Mr Uhlig AUT 16 P, Mr Sulzbacher AUT P 11, Mr Patz
Fax (08 21) 25 954 08 Haarbergstr. 47 BürgermeisterBrunnerStr.15 Dynamostr. 4 Sandstr. 4248
% (03 61) 4 2523 51 % (05 61) 78 863 32 % (06 21) 4 5628 43 % (02 71) 23 022 40
N 95448 Bayreuth Fax (03 61) 4 2523 50 Fax (05 61) 78 864 48 Fax (06 21) 4 5625 45 Fax (02 71) 23 022 38
AUT P/S 11, Ms Hösl
Weiherstr. 25
ZN 45128 Essen ZN 87439 Kempten ZN 81679 München ZN 70499 Stuttgart
% (09 21) 2 813 41 AUT P 14, Mr Klein AUT P, Mr Fink AUT P 14, Mr Schäfer AUT P 11, Mr Müller
Fax (09 21) 2 814 44 Kruppstr. 16 Lindauer Str. 112 RichardStraussStr. 76 Weissacherstr. 11
% (02 01) 8 1624 28 % (08 31) 58 182 25 % (0 89) 92 2130 64 % (07 11) 1 3726 44
N 10587 Berlin Fax (02 01) 8 1623 31 Fax (08 31) 58 182 40 Fax (0 89) 92 2143 99 Fax (07 11) 1 3729 46
AUT P 1, Mr Liebner
Salzufer 68
ZN 60329 Frankfurt ZN 24109 Kiel ZN 48153 Münster ZN 54292 Trier
% (0 30) 39 9323 97 AUT P 25, Mr W. Müller AUT 1, Ms Drews AUT S 13, Mr Schlieckmann AUT VG 14 P, Mr Baldauf
Fax (0 30) 39 9323 02 Rödelheimer Landstr. 13 Wittland 24 Siemensstr. 55 Löbstr. 15
% (0 69) 7 9734 18 % (04 31) 58 603 26 % (02 51) 76 054 25 % (06 51) 20 0923
N 33605 Bielefeld Fax (0 69) 7 9734 42 Fax (04 31) 58 602 48 Fax (02 51) 76 053 36 Fax (06 51) 20 0924
AUT P 12, Ms Schlüpmann
Schweriner Str. 1
ZN 79104 Freiburg ZN 56068 Koblenz ZN 90439 Nürnberg ZN 89079 Ulm
% (05 21) 2 915 21 AUT P, Mr Thoma AUT P 11, Mr Ricke AUT P 11, Mr Glas AUT ZR, Mr Birk
Fax (05 21) 2 915 90 Habsburgerstr. 132 Frankenstr. 21 VonderTannStr. 30 NikolausOttoStr. 4
% (07 61) 27 122 38 % (02 61) 1 322 44 % (09 11) 6 5435 87 % (07 31) 94 503 28
N 38126 Braunschweig Fax (07 61) 27 124 46 Fax (02 61) 1 322 55 Fax (09 11) 6 5473 84 Fax (07 31) 94 503 34
AUT P 11, Mr Pelka
Ackerstr. 20 ZN 20099 Hamburg ZN 50823 Köln ZN 49090 Osnabrück ZN 97084 Würzburg
AUT 1, Mr Rohde AUT P 14, Mr Prescher AUT S 13, Mr Pöhler
% (05 31) 27 123 05
Lindenplatz 2 FranzGeuer Str. 10 Eversburger Str. 32
AUT PIS 13, Mr Vogt
AndreasGrieser Str. 30
Fax (05 31) 27 124 16
% (0 40) 28 8930 03 % (02 21) 5 7627 62 % (05 41) 12 132 73 % (09 31) 61 014 59
N 28195 Bremen Fax (0 40) 28 8932 09 Fax (02 21) 5 7627 95 Fax (05 41) 12 133 50 Fax (09 31) 61 015 42
AUT P 12, Ms Ulbrich
Contrescarpe 72 ZN 30519 Laatzen (Hannover) ZN 78416 Konstanz ZN 93053 Regensburg ZN 42103 Wuppertal
AUT P 10, Ms Hoffmann AUT P, Ms Wiest AUT P/S 12, Mr Rewitzer siehe ZN 45128 Essen
% (04 21) 3 6424 27
Hildesheimer Str. 7 FritzArnoldStr. 16 Hornstr. 10 AUT P 14, Mr Klein
Fax (04 21) 3 6428 42 Kruppstr. 16
% (05 11) 8 7723 19 % (075 31) 9882 02 % (09 41) 40 071 97
Fax (05 11) 8 7727 39 Fax (075 31) 9881 40 Fax (09 41) 40 072 36
N 09114 Chemnitz % (02 01) 8 1624 28
AUT P 11, Ms Aurich Fax (02 01) 8 1623 31
Bornaer Str. 205
% (03 71) 4 7535 10
Fax (03 71) 4 7535 25
Indonesia Thailand
Vietnam
Iran
Hanoi
15914 Teheran Siemens AG, Representation Office
Siemens S.S.K., Mr DinPayuh Mr Nguyen Huang Giang
Khiabane Ayatollah Taleghani 32 18, Phan Boi Chau Street
Siemenshouse, P.O.B. 158754773, 15 % +84 (4) 25 60 61
Teheran Fax +84 (4) 26 62 27
% +98 (21) 61 41
Fax +98 (21) 6 40 23 89
Australia
Japan
Adelaide
Tokyo 14100 Siemens Ltd. Adelaide Office, CS/I.A.,
Mr J. Weiss, 315 Glen Osmond Road
Siemens K.K., ATT, Mr Nakamichi Glenunga, S.A. 5064
Siemens Fujikara Building, 8F % +61 (8) 3 79 66 66
1120, NishiGotanda 2chome Fax +61 (8) 3 79 08 99
Shinagawaku
% +81 (3) 34 90 44 37
Fax +81 (3) 34 95 97 92
Melbourne
Siemens Ltd., CS/I.A., Mr N. Gilholm,
544 Church Street
Richmond, Victoria 3121
Pakistan % +61 (3) 4 20 75 20
Fax +61 (3) 4 20 75 00
Karachi 74400
Siemens Pakistan Eng. Co. Ltd.,
Power Division, Mr IIyas Perth
ILACO House Siemens Ltd., CS/I.A., Mr A. Lostrom
Abdullah Haroon Road 153, Burswood Road
P.O. Box 7158 Victoria Park, W.A. 6100
% +92 (21) 51 60 61 % +61 (9) 3 62 01 42
Fax +92 (21) 5 68 46 79 Fax +61 (9) 3 62 01 47
Greenlane, Auckland 5
Siemens Ltd. Auckland Office,
Saudi Arabia CS/I.A., Mr A. Richmond
300 Great South Road
Jeddah 21412 P.O.B 17122
Arabia Electric Ltd. Service Center, % +64 (9) 5 20 30 33
Mr Kobeissi, P.O.B. 4621 Fax +64 (9) 5 20 15 56
% +9 66 (2) 6 65 84 20
Fax +9 66 (2) 6 65 84 90
Singapore
Singapore 1334
Siemens (Pte) Ltd. Singapore, AUT,
Mr Ulf Bexell,
2 Kallang Sector
% +65 8 41 35 28
Fax +65 8 41 35 29
South Korea
Seoul
Siemens Ltd., E+A, Mr Kang W. S.
Asia Tower Building, 9th Floor
726 Yeoksamdong, Kangnamku,
C.P.O. Box 3001
% +82 (2) 5 27 77 62
Fax +82 (2) 5 27 77 19
Accumulator
The accumulators are registers in the ³ CPU and are used as intermediate
memory for loading, transfer, comparison, calculation and conversion operations.
Address
An address is the identifier for a specific operand or operand area (e.g. input I
12.1, memory word MW 25, data block DB 3).
Analog module
Analog modules convert process values (e.g. temperature) into digital values, so
that they can be processed by the central processing unit, or convert digital values
into analog manipulated variables.
Automation system
An automation system is a ³ programmable controller in the context of
SIMATIC S7.
Backplane bus
The backplane bus is a serial data bus over which the modules communicate and
over which the necessary power is supplied to the modules. The connection
between the modules is established by bus connectors.
Backup battery
The backup battery ensures that the³ user program in the ³ CPU is stored in the
event of a power failure and that defined data areas and bit memories, timers and
counters are retentive.
Backup memory
The backup memory provides a backup of memory areas for the
³ CPU without a backup battery. A configurable number of timers, counters,
memories and data bytes (retentive timers, counters, memories and data bytes) is
backed up.
Bit memory
Bit memories are part of the³ system memory of the CPU for storing interim
results. They can be accessed in units of a bit, byte, word or doubleword.
Bus
A bus is a communication medium connecting several nodes. Data transmission
can be serial or parallel across electrical conductors or fiber-optic cables.
Bus segment
A bus segment is a self-contained section of a serial bus system. Bus segments
are interconnected using repeaters.
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.
Clock memories
Memories that can be used for clocking purposes in the user program (1 memory
byte).
Note
Note in the case of S7-300 CPUs that the clock memory byte is not exceeded in
the user program.
Code block
A code block in SIMATIC S7 is a block which contains a section of the STEP 7
user program (in contrast to a ³ data block which only contains data).
Communication processor
Communication processors are modules for point-to-point and bus links.
Compress
The programming device online function “Compress” is used to align all valid
blocks contiguously in the RAM of the CPU at the start of the user memory. This
eliminates all gaps which arose when blocks were deleted or modified.
Configuration
Assignment of modules to racks/slots and (e.g. for signal modules) addresses.
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.
Counter
Counters are part of the ³ system memory of the CPU. The content of the
“counter cells” can by modified by STEP 7 instructions (e.g. count up/down).
CP
³ Communication processor
CPU
Central processing unit of the S7 programmable controller with open and
closed-loop control systems, memory, operating system and interface for
programming device.
Cycle time
The scan time is the time taken by the ³ CPU to scan the ³ user program once.
Data block
Data blocks (DB) are data areas in the user program which contain user data.
Global data blocks can be accessed by all code blocks while instance data blocks
are assigned to a specific FB call.
Data, static
Static data is data which can only be used within a function block. The data is
saved in an instance data block belonging to the function block. The data stored in
the instance data block is retained until the next function block call.
Data, temporary
Temporary data is local data of a block which is stored in the L stack during
execution of a block and which is no longer available after execution.
Delay interrupt
³ Interrupt, time-delay
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
Diagnostics-capable modules use diagnostic interrupts to report system errors
which they have detected to the ³ CPU.
Diagnostics
³ System diagnostics
DP master
A ³ master which behaves in accordance with EN 50170, Part 3 is known as a DP
master.
DP slave
A ³ slave which is operated in the PROFIBUS bus system using the
PROFIBUS-DP protocol and which behaves in accordance with EN 50170, Part 3
is known as a DP slave.
Equipotential bonding
Electrical connection (equipotential bonding conductor) which gives the bodies of
electrical equipment and external conducting bodies the same or approximately the
same potential, in order to prevent disturbing or dangerous voltages from being
generated between these bodies.
Error display
The error display is one of the possible responses of the operating system to a ³
runtime error. The other possible responses are: ³ error response in the user
program, STOP status of the CPU.
Error response
Response to a ³ runtime error. The operating system can respond in the following
ways: conversion of the programmable controller to the STOP mode, call of an
organization block in which the user can program a response or display of the
error.
FB
³ Function block
FC
³ 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). They are used
on ³ memory cards.
Force
The “Force” function overwrites a variable (e.g. memory marker, output) with a
value defined by the S7 user. At the same time the variable is assigned write
protection so that this value cannot be modified from any point (including from the
STEP 7 user program). The value is retained after the programming device is
disconnected. The write protection is not canceled until the “Unforce” function is
called and the variable is written again with the value defined by the user program.
During commissioning, for example, the “Force” function allows certain outputs to
be set to the “ON” state for any length of time even if the logic operations of the
user program are not fulfilled (e.g. because inputs are not wired).
Function
A function (FC) in accordance with IEC 1131-3 is a ³ code block without ³ static
data. A function allows parameters to be passed in the user program. Functions
are therefore suitable for programming complex functions, e.g. calculations, which
are repeated frequently.
Function block
A function block (FB) in accordance with IEC 1131-3 is a ³ code block with
³ static data. An FB allows parameters to be passed in the user program.
Function blocks are therefore suitable for programming complex functions, e.g.
closed-loop controls, mode selections, which are repeated frequently.
Functional grounding
Grounding which has the sole purpose of safeguarding the intended function of the
electrical equipment. Functional grounding short-circuits interference voltage which
would otherwise have an impermissible impact on the equipment.
GD circle
A GD circle encompasses a number of CPUs which exchange data by means of
global data communication and which are used as follows:
S One CPU sends a GD packet to the other CPUs.
S One CPU sends and receives a GD packet from another CPU.
A GD circle is identified by a GD circle number.
GD element
A GD element is generated by assigning the ³ global data to be shared and is
identified by the global data identifier in the global data table.
GD packet
A GD packet can consist of one or more ³ GD objects which are transmitted
together in a frame.
Global data
Global data is data which 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 global data.
Ground
The conducting earth whose electrical potential can be set equal to zero at any
point.
In the vicinity of grounding electrodes, the earth can have a potential different to
zero. The term “reference ground” is frequently used to describe these
circumstances.
Ground (to)
To ground means to connect an electrically conducting component to the grounding
electrode (one or more conducting components which have a very good contact
with the earth) across a grounding system.
Interface, multipoint
³ MPI
Interrupt
The ³ operating system of the CPU recognizes 10 different priority classes which
control the execution of the user program. These runtime levels include interrupts,
e.g. process interrupts. When an interrupt is triggered, the operating system
automatically calls an assigned organization block in which the user can program
the desired response (for example in an FB).
Interrupt, delay
The time-delay interrupt belongs to one of the priority levels for program execution
in the SIMATIC S7 system. The interrupt is generated after expiry of a time delay
started in the user program. A corresponding organization block is then executed.
Interrupt, diagnostic
³ Diagnostic interrupt
Interrupt, process
³ Process interrupt
Interrupt, time-of-day
The time-of-day interrupt belongs to one of the runtime levels for program
execution on the SIMATIC S7 system. The interrupt is generated on a certain date
(or daily) at a certain time (e.g. 9:50 or every hour, every minute). A corresponding
organization block is then executed.
Interrupt, watchdog
A watchdog interrupt is generated periodically by the CPU in configurable time
intervals. A corresponding ³ organization block is then executed.
Isolated
On isolated I/O modules, the reference potentials of the control and load circuits
are galvanically isolated, for example by optocoupler, relay contact or transformer.
Input/output circuits can be connected to a common potential.
Load memory
The load memory is part of the central processing unit. It contains objects
generated by the programming device. It is implemented either as a plug-in
memory card or a permanently integrated memory.
Local data
³ Data, temporary
Master
When they are in possession of the ³ token, masters can send data to other
nodes and request data from other nodes (= active node).
Memory card
Memory cards are memory media in smart card format for CPUs and CPs. They
are implemented as ³ RAM or ³ FEPROM.
Module parameters
Module parameters are values which can be used to control the response of the
module. A distinction is made between static and dynamic module parameters.
MPI
The multipoint interface (MPI) is the programming device interface of SIMATIC S7.
It enables the simultaneous operation of several stations (programming devices,
text displays, operator panels) on one or more central processing units. Each
station is identified by a unique address (MPI address).
MPI address
³ MPI
Nesting depth
One block can be called from another by means of a block call. Nesting depth is
the number of ³ code blocks called at the same time.
Non-isolated
On non-isolated input/output modules, there is an electrical connection between
the reference potentials of the control and load circuits.
OB
³Organization block
OB priority
The ³ operating system of the CPU distinguishes between various priority
classes, such as cyclic program scanning, process interrupt-driven program
scanning, etc. Each priority class is assigned ³ organization blocks (OB) 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.
Organization block
Organization blocks (OBs) represent the interface between the operating system of
the CPU and the user program. The processing sequence of the user program is
defined in the organization blocks.
Operating mode
The SIMATIC S7 programmable controllers have the following operating modes:
STOP, ³START-UP, RUN.
Parameter
1. Variable of a STEP 7 code block
2. Variable for setting the behavior of a module (one or more per module). Each
module is delivered with a suitable default setting, which can be changed by
configuring the parameters in STEP 7.
Parameters can be ³ static parameters or ³ dynamic parameters
Parameters, dynamic
Unlike static parameters, dynamic parameters of modules can be changed during
operation by calling an SFC in the user program, for example limit values of an
analog signal input module.
Parameters, static
Unlike dynamic parameters, static parameters of modules cannot be changed by
the user program, but only by changing the configuration in STEP 7, for example
the input delay on a digital signal input module.
PG
³ Programming device
Priority class
The operating system of an S7-CPU provides up to 26 priority classes (or “runtime
levels”) to which various organization blocks are assigned. 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.
PROFIBUS-DP
Digital, analog and intelligent modules of the programmable controller as well as a
wide range of field devices to EN 50170, part 3, such as drivers or valve terminals,
are installed in a distributed configuration in the direct vicinity of the process -
across distances of up to 23 km (14.375 miles).
The modules and field devices are connected to the programmable controller via
the PROFIBUS-DP fieldbus and addressed in the same way as centralized I/Os.
PLC
³ Programmable controller
Programmable controller
Programmable controllers (PLCs) are electronic controllers whose function is
saved as a program in the control unit. The configuration and wiring of the unit are
therefore independent of the function of the control system. The programmable
controller has the structure of a computer; it consists of a ³ CPU (central
processing unit) with memory, input/output groups and an internal bus system. The
I/Os and the programming language are oriented to control engineering needs.
Process image
The process image is part of the ³ system memory of the CPU. The signal states
of the input modules are written into the process-image input table at the start of
the cyclic program. At the end of the cyclic program, the signal states in the
process-image output table are transferred to the output modules.
Process interrupt
A process interrupt is triggered by interrupt-triggering modules on the occurrence
of a specific event in the process. The process interrupt is reported to the CPU.
The assigned ³ organization block is then processed in accordance with the
priority of this interrupt.
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 programmable controllers.
RAM
A RAM (random access memory) is a semiconductor read/write memory.
The following can be made retentive:
S Bit memories
S S7 timers (not for CPU 312 IFM)
S S7 counters
S Data areas (only with memory card or integral EPROM)
Reference ground
³ Ground
Reference potential
Potential with reference to which the voltages of participating circuits are observed
and/or measured.
Restart
When a central processing unit is started up (e.g. by switching the mode selector
from STOP to RUN or by switching the power on), organization block OB 100
(complete restart) is executed before cyclic program execution commences (OB
1). On a complete restart, the process-image input table is read in and the STEP 7
user program is executed starting with the first command in OB 1.
Retentivity
A memory area is retentive if its contents are retained even after a power failure
and a change from STOP to RUN. The non-retentive area of memory markers,
timers and counters is reset following a power failure and a transition from the
STOP mode to the RUN mode.
Runtime error
Error which occurs during execution of the user program on the programmable
controller (and not in the process).
Segment
³ Bus segment
Set breakpoint
SFB
³ System function block
SFC
³ System function
Scan rate
The scan rate determines the frequency with which ³ GD packets are transmitted
and received on the basis of the CPU cycle.
Signal module
Signal modules (SM) represent the interface between the process and the
programmable controller. Input and output modules can be digital (input/output
module, digital) or analog (input/output module, analog).
Slave
A slave can only exchange data with a ³ master when so requested by the
master.
Start-up
RESTART mode is activated on a transition from STOP mode to RUN mode.
Can be triggered by the ³ mode selector or after power on or an operator action
on the programming device. In the case of the S7-300 a ³ restart is carried out.
STEP 7
Programming language for developing user programs for SIMATIC S7 PLCs.
Substitute value
Substitute values are configurable values which output modules transmit to the
process when the CPU switches to STOP mode.
System diagnostics
System diagnostics is the term used to describe the detection, evaluation and
signaling of errors which occur within the programmable controller. Examples of
such errors are program errors or module failures. System errors can be displayed
with LED indicators or in STEP 7.
System function
A system function (SFC) is a
³ function integrated in the operating system of the CPU that can be called, as
required, in the STEP 7 user program.
System memory
The system memory is integrated on the central processing unit and implemented
as a RAM memory. The system memory includes the operand areas (for example
timers, counters, bit memories, etc.) as well as the data areas (for example
communication buffers) required internally by the ³ operating system.
Terminating resistor
A terminating resistor is a resistor used to terminate a data communication line in
order to prevent reflection.
Time-of-day interrupt
³ Interrupt, time-of-day
Timer
³ Times
Token
Access right on bus
Transmission rate
Rate of data transfer (bps)
Ungrounded
Having no galvanic connection to ground
User memory
The user memory contains the ³ code and ³ data blocks of the user program.
The user memory can be integrated in the CPU or can be provided on plug-in
memory cards or memory modules. The user program is always executed in the ³
working memory of the CPU, however.
User program
The SIMATIC system distinguishes between the ³ operating system of the CPU
and user programs. The latter are created with the programming software ³ STEP
7 in the available programming languages (ladder logic and statement list) and
saved in code blocks. Data are stored in data blocks.
Varistor
Voltage-independent resistor
Version
The product version differentiates between products which have the same order
number. The product version is increased with each upwardly compatible function
extension, production-related modification (use of new components) or bug-fix.
Watchdog interrupt
³ Interrupt, watchdog
Working memory
The working memory is a random-access memory in the ³ CPU which the
processor accesses during program execution.
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).
Communication CPU
CPU, 8-11 clock, 8-9
CPU 318-2, 8-57 communication, 8-11
global data, 8-11 control elements, 8-2
PG/OP-CPU, 8-11 differences between the versions, 11-4
Communication SFCs for configured S7 dimensioned drawing, E-1
connections, 8-11 display elements, 8-2
Communication SFCs for non-configured S7 fault displays, 8-3
connections, 8-11 mode selector, 8-4
Communication via MPI, cycle load, 10-2 operating system, Glossary-10
Components resetting, 6-11
for MPI subnet, 5-6 runtime meter, 8-9
for PROFIBUS-DP subnet, 5-6 status displays, 8-3
for the MPI subnet, 5-15 system state list, D-1
for the PROFIBUS-DP subnet, 5-15 testing functions, 8-13
of an S7-300, 1-3 wiring, 4-32
Compression, Glossary-3 CPU 312 IFM, 8-18
Configuration, Glossary-3 basic circuit diagram, 8-27
arrangement of modules, 2-5 connecting the power supply, 8-27
grounded reference potential, 4-9 grounded configuration, 8-26
in the TN-S system, 4-7 integrated functions, 8-18
lightning protection, 4-20 short-circuit characteristics, 8-27
mechanical, 2-1, 2-2 technical specifications, 8-22
overvoltage protection, 4-20 terminal connections, 8-26
ungrounded reference potential, 4-9 CPU 313, 8-28
with isolated modules, 4-11 technical specifications, 8-28
with non-isolated modules, 4-13 CPU 314, 8-30
with process I/Os, 4-5 technical specifications, 8-30
Configuration frame, 9-32 CPU 314 IFM, 8-32
Connecting basic circuit diagrams, 8-45
a programming device, 6-5 integrated functions, 8-32
bus connector, 5-18 technical specifications, 8-36
Connecting cables, for interface modules, 2-7 wiring schematic, 8-44
Consistent data, Glossary-3 CPU 315, 8-48
CONT_C, CPU 314 IFM, 8-32 technical specifications, 8-48
CONT_S, CPU 314 IFM, 8-32 CPU 315-2 DP, 8-50
Contents of the manual, iii See also CPU 31x-2
Control elements, CPU, 8-2 commissioning as a DP master, 6-17
Counter, Glossary-3 commissioning as a DP slave, 6-18
CPU 312 IFM, 8-18 DP master, 9-3
CPU 314 IFM, 8-32 technical specifications, 8-50
Counter A/B, CPU 314 IFM, 8-32
E
D Electrical installation, configuring, 4-2
Data Electrical interference, protection against, 4-4
consistent, Glossary-3 EMC, cable/wiring routing, 4-17
statistic, Glossary-4 Emergency stop, 4-2
temporary, Glossary-4 Equipotential bonding, 4-22, Glossary-5
Data block, Glossary-3 Error display, Glossary-5
Default addressing, 3-2 Error response, Glossary-5
Delay, of inputs / outputs, 10-8 ESD guideline, F-1
Delay interrupt, Glossary-8 Execution time, user program, 10-2
reproducibility, 10-17
Device. See Node
Device master file, Glossary-4
L Modules
installation, 2-13
Labeling strip, 4-38
isolated, 4-11
Laying rules, PROFIBUS bus cable, 5-17
open, 2-1
Lightning protection, 4-20
replacing, 7-5
high-voltage protection, 4-23
MPI, Glossary-9
low-voltage protection, 4-27
MPI address
Lightning protection zones, 4-21
highest, 5-2
Lightning strike, effects, 4-21
recommendation, 5-4
Load circuit, grounding, 4-6
MPI addresses, rules, 5-3
Load memory, Glossary-8
MPI interface, 8-7
Load power supplies, features, 4-6
MPI subnet
Load power supply, from the PS 307, 4-8
cable lengths, 5-12
Local data, Glossary-9
components, 5-6, 5-15
configuration example, 5-9, 5-11
configuration rules, 5-5
M segment, 5-12
Mains voltage, set to the power supply, 4-34 MRES mode, 8-4
Maintenance. See Replacing
Manufacturer ID, CPU 31x-2 as DP slave, 9-24
Master PROFIBUS address, 9-24 N
Memory
Nesting depth, Glossary-9
backup, Glossary-2
Network components, 5-15
load, Glossary-8
Networking, 5-1
system, Glossary-14
Node, 5-2
user, Glossary-15
Non-isolated, Glossary-9
working, Glossary-16
Memory card, 8-6, Glossary-9
changing, 6-3–6-20
inserting, 6-3–6-20 O
purpose, 8-6 OB, B-1, Glossary-10
Memory reset, 6-11 OB 40
MPI parameters, 6-16 start information for inputs/outputs, 8-33
with mode selector, 6-12 start information for integrated
Mode selector, 8-4 inputs/outputs, 8-19
cold start, 6-12 OB priority, Glossary-10
cold start with, 6-14 Open modules, 2-1
resetting the memory with, 6-12 Operating an S7-300
Module guidelines, 4-2
accessories, G-1 rules, 4-2
arrangement, 2-5 Operating mode, Glossary-10
installation dimensions, 2-4 Operating system
non-isolated, 4-13 of the CPU, Glossary-10
removing, 7-6 processing time, 10-6
Module diagnosis, CPU 31x-2 as DP slave, Organization block, B-1, Glossary-10
9-25 Outputs, delay time, 10-8
Module parameter, Glossary-9 Overvoltage, 4-21
Module start address, 3-2 Overvoltage protection, 4-17, 4-20
From
Your Name: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Your Title: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Company Name: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Street: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
City, Zip Code: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Country: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Phone: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
r Automotive r Pharmaceutical
r Chemical r Plastic
r Electrical Machinery r Pulp and Paper
r Food r Textiles
r Instrument and Control r Transportation
r Nonelectrical Machinery r Other _ _ _ _ _ _ _ _ _ _ _ _ _
r Petrochemical
$
Please give each of the following questions your own personal mark within the range from 1 (very
good) to 5 (poor).
Additional comments:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
From
Your Name: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Your Title: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Company Name: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Street: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
City, Zip Code: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Country: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Phone: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
r Automotive r Pharmaceutical
r Chemical r Plastic
r Electrical Machinery r Pulp and Paper
r Food r Textiles
r Instrument and Control r Transportation
r Nonelectrical Machinery r Other _ _ _ _ _ _ _ _ _ _ _ _ _
r Petrochemical
$
Please give each of the following questions your own personal mark within the range from 1 (very
good) to 5 (poor).
Additional comments:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _