Siemens CPU 313C User manual

s
Contents
Preface 1
Guide to the S7-300
Documentation 2
Installation Order 3
S7-300 Modules 4
Configuring 5
Installation 6
Wiring 7
Addressing 8
Commissioning 9
Maintenance 10
Testing Functions, Diagnostics
and Fault Elimination 11
Appendix 12
Glossary 13
Index
SIMATIC
S7-300 Automation System,
Hardware and Installation:
CPU 31xC and CPU 31x
Installation Manual
This manual is part of the documentation
package with the order number:
6ES7398-8FA10-8BA0
Edition 06/2003
A5E00105492-03

Safety Guidelines
This manual contains notices intended to ensure personal safety, as well as to protect the products and
connected equipment against damage. These notices are highlighted by the symbols shown below and
graded according to severity by the following texts:
!
Danger
indicates that death, severe personal injury or substantial property damage will result if proper
precautions are not taken.
!
Warning
indicates that death, severe personal injury or substantial property damage can result if proper
precautions are not taken.
!
Caution
indicates that minor personal injury can result if proper precautions are not taken.
Caution
indicates that property damage can result if proper precautions are not taken.
Notice
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
systems 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 description, 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
correctly, and operated and maintained as recommended.
Trademarks
SIMATIC®, SIMATIC HMI® and SIMATIC NET® are registered trademarks of SIEMENS AG.
Third parties using for their own purposes any other names in this document which refer to trademarks
might infringe upon the rights of the trademark owners.
Copyright © Siemens AG 2002 All rights reserved
The reproduction, transmission or use of this document or its
contents is not permitted without express written authority.
Offenders will be liable for damages. All rights, including rights
created by patent grant or registration of a utility model or design,
are reserved.
Siemens AG
Disclaimer of Liability
We have checked the contents of this manual for agreement with
the hardware and software described. Since deviations cannot be
precluded entirely, we cannot guarantee full agreement. However,
the data in this manual are reviewed regularly and any necessary
corrections included in subsequent editions. Suggestions for
improvement are welcomed.
Bereich Automation and Drives
Geschaeftsgebiet Industrial Automation Systems
Postfach 4848, D- 90327 Nuernberg
©Siemens AG 2003
Technical data subject to change.
Siemens Aktiengesellschaft A5E00105492-03

S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
A5E00105492-03 iii
&RQWHQWV
3UHIDFH
*XLGHWRWKH6'RFXPHQWDWLRQ
,QVWDOODWLRQ2UGHU
6 RGXOHV
&RQILJXULQJ
5.1 Summary of the Content ...................................................................................5-1
5.2 Basic Principles of Planning..............................................................................5-2
5.3 Component Dimensions ....................................................................................5-4
5.4 Arranging Modules on a Single Rack................................................................5-7
5.5 Arranging Modules on Multiple Racks...............................................................5-8
5.6 Selection and installation of cabinets ..............................................................5-11
5.7 Example: Selecting a Cabinet .........................................................................5-14
5.8 Electrical Assembly, Protective Measures, and Grounding ............................5-16
5.8.1 Grounding concept and overall structure ........................................................5-16
5.8.2 Installing an S7-300 with Grounded Reference Potential ...............................5-18
5.8.3 Configuring an S7-300 with Ungrounded Reference Potential
(Not CPU 31xC)...............................................................................................5-19
5.8.4 Isolated or Non-Isolated Modules?..................................................................5-20
5.8.5 Grounding Measures.......................................................................................5-23
5.8.6 Overview: Grounding.......................................................................................5-26
5.9 Selecting the Load Power Supply ...................................................................5-28
5.10 Planning Subnets ............................................................................................5-30
5.10.1 Extending and Networking Subnets ................................................................5-30
5.10.2 Basic Principles of MPI, DP and PtP Subnets ................................................5-32
5.10.3 Interfaces.........................................................................................................5-35
5.10.4 Network Components......................................................................................5-38
5.10.5 Cable Length ...................................................................................................5-41
5.10.6 Sample Networks ............................................................................................5-43
,QVWDOODWLRQ
6.1 Installing an S7-300...........................................................................................6-1
6.2 Installing the rail.................................................................................................6-3
6.3 Installing Modules on the Rail ...........................................................................6-7
6.4 Label the modules .............................................................................................6-9

&RQWHQWV
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
iv A5E00105492-03
:LULQJ
7.1 Wiring ................................................................................................................7-1
7.2 Connecting the Protective Conductor to the Rail ..............................................7-4
7.3 Adjusting the Power Supply Module to the Mains Voltage ...............................7-5
7.4 Wiring the Power Supply Module and the CPU ................................................7-6
7.5 Wiring Front Connectors ...................................................................................7-8
7.6 Inserting Front Connectors into Modules ........................................................7-12
7.7 Labeling the Module I/O ..................................................................................7-13
7.8 Connecting Shielded Cables to the Shielding Contact Element .....................7-14
7.9 Wiring the Bus Connector ...............................................................................7-17
$GGUHVVLQJ
8.1 Addressing.........................................................................................................8-1
8.2 Slot-Defined Addressing of Modules.................................................................8-1
8.3 User-Defined Addressing of Modules ...............................................................8-3
8.4 Addressing Signal Modules...............................................................................8-3
8.5 Addressing the Integrated I/O of the CPU.........................................................8-6
8.6 Consistent Data.................................................................................................8-8
&RPPLVVLRQLQJ
9.1 In this Chapter ...................................................................................................9-1
9.2 Commissioning Procedure ................................................................................9-1
9.3 Commissioning Checklist ..................................................................................9-4
9.4 Commissioning the Modules .............................................................................9-6
9.4.1 Connecting the PG ............................................................................................9-6
9.4.2 Inserting/Replacing a Micro Memory Card (MMC)..........................................9-10
9.4.3 Initial Power On ...............................................................................................9-12
9.4.4 Resetting Memory via the Mode Selector Switch of the CPU.........................9-13
9.4.5 Formatting the Micro Memory Card (MMC) ....................................................9-16
9.4.6 Starting SIMATIC Manager .............................................................................9-17
9.4.7 Monitoring and controlling I/Os........................................................................9-18
9.5 Commissioning PROFIBUS DP ......................................................................9-22
9.5.1 Commissioning PROFIBUS DP ......................................................................9-22
9.5.2 Commissioning the CPU as DP Master ..........................................................9-23
9.5.3 Commissioning the CPU as DP Slave ............................................................9-26
9.5.4 Direct Data Exchange .....................................................................................9-32
DLQWHQDQFH
10.1 In this Chapter .................................................................................................10-1
10.2 Operating System Back-Up.............................................................................10-1
10.3 Updating the Operating System ......................................................................10-3
10.4 Module replacement........................................................................................10-4
10.5 Digital output module AC 120/230 V: Replacing the fuses .............................10-9

&RQWHQWV
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
A5E00105492-03 v
7HVWLQJ)XQFWLRQV'LDJQRVWLFVDQG)DXOW(OLPLQDWLRQ
11.1 In this Chapter .................................................................................................11-1
11.2 Overview: Testing Functions...........................................................................11-1
11.3 Overview: Diagnostics.....................................................................................11-4
11.4 Diagnostic options with STEP 7 ......................................................................11-6
11.5 Diagnostics with LEDs.....................................................................................11-7
11.6 Diagnostics of DP CPUs ...............................................................................11-12
11.6.1 Diagnostics of DP CPUs Operating as DP Master........................................11-12
11.6.2 Reading slave diagnostic data ......................................................................11-15
11.6.3 Interrupts on the DP Master ..........................................................................11-21
11.6.4 Structure of the Slave Diagnostic Data when the CPU is used as
an Intelligent Slave ........................................................................................11-22
$SSHQGL[
12.1 Assembly.........................................................................................................12-1
12.1.1 General Rules and Regulations for S7-300 Operation....................................12-1
12.2 Protection against Electromagnetic Interference ............................................12-3
12.2.1 Basic Points for System Installations Conforming with EMC Requirements...12-3
12.2.2 Five Basic Rules for Ensuring EMC ................................................................12-5
12.2.3 EMC Compatible Installation of PLC...............................................................12-7
12.2.4 Examples of an EMC Compatible Installation .................................................12-9
12.2.5 Shielding of Cables .......................................................................................12-12
12.2.6 Equipotential bonding....................................................................................12-13
12.2.7 Cable Routing inside Buildings......................................................................12-15
12.2.8 Outdoor cable routing....................................................................................12-17
12.3 Lightning and Surge Voltage Protection........................................................12-18
12.3.1 In the following sections ... ............................................................................12-18
12.3.2 Lightning Protection Zone Concept...............................................................12-18
12.3.3 Rules for the Transition Point between Lightning Protection
Zones 0 <-> 1 ................................................................................................12-20
12.3.4 Rules for the Transition Points between Lightning Protection
Zones 1 <-> 2 and Higher .............................................................................12-22
12.3.5 Sample of a Surge Protection Circuit for Networked S7-300 PLCs ..............12-25
12.3.6 1 How to Protect Digital Output Modules against Inductive Surge Voltage ..12-27
12.4 Safety of electronic control equipment ..........................................................12-29
*ORVVDU\
,QGH[

&RQWHQWV
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
vi A5E00105492-03
)LJXUHV
1-1 Information Landscape of S7-300................................................................1-3
1-2 Additional Documentation ............................................................................1-4
1-3 SIMATIC Technical Support.........................................................................1-5
3-1 Installing an S7 system ................................................................................3-1
5-1 Modules in an S7-300 ..................................................................................4-1
4-1 Horizontal and vertical installation................................................................5-3
4-2 Shielding contact element ............................................................................5-5
4-3 Clearance .....................................................................................................5-6
4-4 Rack with eight signal modules....................................................................5-8
4-5 Full assembly using racks ..........................................................................5-10
4-6 Power loss dissipated.................................................................................5-15
4-7 CPU with grounded reference potential (as supplied) ...............................5-18
4-8 Creating an ungrounded reference potential on a CPU.............................5-19
4-9 Configuration with isolated modules ..........................................................5-21
4-10 Configuration with non-isolated modules ...................................................5-22
4-11 Grounding concept for the S7-300 with CPU 31xC ...................................5-26
4-12 Grounding concept for the S7-300 (excluding CPU 31xC) ........................5-27
4-13 Example: S7-300 with load power supply from PS 307.............................5-29
4-14 Example of an MPI subnet .........................................................................5-43
4-15 Example: Maximum distances in the MPI subnet ......................................5-44
4-16 Example of a PROFIBUS subnet ...............................................................5-45
4-17 Example: CPU 314C-2 DP as MPI and PROFIBUS nodes .......................5-46
4-18 Example of PG access across network boundaries (routing) ....................5-47
4-19 Installing the terminating resistors in an MPI subnet .................................5-48
6-1 Holes for mounting the 2 m rail ....................................................................6-4
6-2 Free space required for an S7-300 installation ............................................6-6
6-3 Inserting slot numbers in modules .............................................................6-10
7-1 connecting the protective conductor to the rail ............................................7-4
7-2 Setting the mains voltage selector switch for the PS 307............................7-5
7-3 Wiring the power supply module and the CPU ............................................7-7
7-4 Move the front connector into wiring position.............................................7-10
7-5 Slide the labeled strips into the front panel ................................................7-13
7-6 Shielding contact element underneath two signal modules.......................7-15
7-7 Connecting 2-wire cables to the shielding contact element.......................7-16
7-8 Bus connector: Enabled and disabled terminating resistor........................7-18
8-1 S7-300 slots and the associated module start addresses ...........................8-2
8-2 Addresses of the I/O of digital modules .......................................................8-4
8-3 I/O Addresses of a digital module in Slot 4 ..................................................8-5
8-4 I/O addresses of an analog module in Slot 4 ...............................................8-6
9-1 Connecting a PG to an S7-300 ....................................................................9-6
9-2 Connecting a PG to multiple S7-300 PLCs..................................................9-7
9-3 Connecting a PG to a subnet .......................................................................9-8
9-4 PG connected to an ungrounded S7-300.....................................................9-9
9-5 Insert the micro memory card into the CPU...............................................9-11
9-6 Using the mode selector switch to reset the memory ................................9-14
9-7 Intermediate memory in a DP CPU operating as a DP slave ....................9-29
9-8 Direct data exchange with CPUs 31x-2 DP/31xC-2 DP.............................9-33
10-1 Unlocking the front connector and removing the module...........................10-5
10-2 Removing the front connector coding pin...................................................10-6
10-3 Installing a new module..............................................................................10-7
10-4 Inserting the front connector ......................................................................10-8
10-5 Location of fuses in the digital output module 120/230 VAC ...................10-10

&RQWHQWV
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
A5E00105492-03 vii
11-1 Principle of forcing in S7-300 CPUs...........................................................11-3
11-2 Diagnostics with CPU 31x-2.....................................................................11-12
11-3 Diagnostic addresses for DP masters and DP slaves .............................11-13
11-4 Diagnostic address for the receiving station with direct data exchange ..11-15
11-5 Diagnostic addresses for DP masters and DP slaves .............................11-19
11-6 Structure of slave diagnostic data............................................................11-22
11-7 Structure of the ID-specific diagnostics for CPU 31x-2............................11-25
11-8 Structure of the module status .................................................................11-26
11-9 Structure of the interrupt status................................................................11-27
11-10 Bytes y+4 to y+7 for a diagnostic interrupt (operating status
change by intelligent slave)......................................................................11-28
11-11 Bytes y+4 to y+7 for the diagnostic interrupt (SFB 75) ............................11-29
12-1 Possible paths of electromagnetic interference .........................................12-3
12-2 Example of an EMC compatible cabinet installation ..................................12-9
12-3 Example of EMC compatible wall-mounting ............................................12-11
12-4 Mounting cable shielding..........................................................................12-13
12-5 Equipotential bonding...............................................................................12-14
12-6 Lightning protection zones of a building...................................................12-19
12-7 Sample circuit for networked S7-300 PLCs .............................................12-25
12-8 EMERGENCY-OFF relay contact in the output circuit.............................12-27
12-9 Circuit for coils operated with DC voltage ................................................12-28
12-10 Circuit for coils operated with AC voltage ................................................12-28

&RQWHQWV
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
viii A5E00105492-03
7DEOHV
2-1 Influence of the ambient conditions on the automation system (AS)............2-1
2-2 Electrical isolation .........................................................................................2-1
2-3 Communication between sensors/actuators and the automation system ....2-2
2-4 Use of centralized and decentralized peripherals.........................................2-2
2-5 Configuration consisting of the central processing unit (CPU) and
expansion modules (EMs)............................................................................2-2
2-6 CPU performance .........................................................................................2-2
2-7 Communication .............................................................................................2-3
2-8 Software ........................................................................................................2-3
2-9 Supplementary features ................................................................................2-3
5-1 Components of an S7-300: ...........................................................................4-2
4-1 Rails - overview.............................................................................................5-4
4-2 Module width .................................................................................................5-4
4-3 Shielding terminals - overview ......................................................................5-5
4-4 Interface modules - Overview .......................................................................5-8
4-5 Types of cabinet..........................................................................................5-13
4-6 Choice of cabinets.......................................................................................5-15
4-7 VDE specifications for the installation of a PLC system .............................5-17
4-8 Protective grounding measures ..................................................................5-23
4-9 Connection of the load voltage reference potential ....................................5-25
4-10 Connection of the load voltage reference potential....................................5-26
4-11 Connection of the load voltage reference potential....................................5-27
4-12 Characteristics of load power supply units.................................................5-28
4-13 Nodes on the subnet ..................................................................................5-32
4-14 MPI/PROFIBUS DP addresses..................................................................5-33
4-15 MPI addresses of CPs/FMs in an S7-300..................................................5-34
4-16 Possible interface operating modes for CPU 317-2 DP.............................5-36
4-17 The following devices may be connected ..................................................5-37
4-18 Available bus cables...................................................................................5-38
4-19 Marginal conditions for wiring interior bus cables ......................................5-39
4-20 Bus connector ............................................................................................5-39
4-21 RS 485 repeater .........................................................................................5-40
4-22 PG patch cord ............................................................................................5-40
4-23 Permitted cable lengths in an MPI subnet segment...................................5-41
4-24 Permitted cable lengths in a PROFIBUS subnet segment.........................5-41
4-25 Stub cable lengths per segment.................................................................5-42
6-1 Module accessories ......................................................................................6-2
6-2 Installation tools and materials......................................................................6-3
6-3 Mounting holes for rails .................................................................................6-5
6-4 Slot numbers for S7 modules........................................................................6-9
7-1 Wiring accessories ........................................................................................7-1
7-2 Conditions for connecting the PS and CPU ..................................................7-2
7-3 Wiring conditions for front connectors...........................................................7-3
7-4 Assignment of front connectors to modules..................................................7-8
7-5 Assignment of front connectors to modules................................................7-10
7-6 Wiring the front connector ...........................................................................7-11
7-7 Assigning the labeling strips to modules.....................................................7-13
7-8 Assigning the shielding diameter to shielding terminals .............................7-14
8-1 Integrated inputs and outputs on the CPU 312C ..........................................8-6
8-2 Integrated inputs and outputs on the CPU 313C ..........................................8-7
8-3 Integrated inputs and outputs on the CPU 313C-2 PtP/DP ..........................8-7
8-4 Integrated inputs and outputs on the CPU 314C-2 PtP/DP ..........................8-8

&RQWHQWV
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
A5E00105492-03 ix
9-1 Recommended commissioning procedure - part I: Hardware ......................9-2
9-2 Recommended commissioning procedure - part II: software .......................9-3
9-3 Possible causes for the CPU memory reset request ..................................9-13
9-4 Procedure for resetting the CPU memory...................................................9-13
9-5 Operations in the CPU during a memory reset...........................................9-15
9-6 Software requirements ................................................................................9-22
9-7 DP address areas of the CPUs...................................................................9-23
9-8 Event recognition by CPUs 31x-2 DP/31xC-2 DP as the DP master .........9-25
9-9 Event recognition for CPUs 31x-2 DP/31xC-2 DP as the DP slave............9-28
9-10 Configuration example for the address areas in intermediate memory .....9-29
10-1 Back-up of operating system on MMC.......................................................10-2
10-2 Updating the operating system with MC/MMC...........................................10-3
11-1 The differences between forcing and modifying variables.........................11-3
11-2 Status and error displays ...........................................................................11-7
11-3 Evaluation of the SF LED (software error) .................................................11-8
11-4 Evaluation of the SF LED (hardware error)................................................11-9
11-5 The BUSF, BUSF1 and BUSF2 LEDs .....................................................11-10
11-6 The BUSF LED lights up. .........................................................................11-11
11-7 The BUSF LED flashes ............................................................................11-11
11-8 Event recognition by CPUs 31x-2 as the DP master ...............................11-14
11-9 Evaluation in the DP master of RUN to STOP transitions by the
DP slave ...................................................................................................11-14
11-10 Reading the diagnostic information using STEP 5 and STEP 7
in the masters system ..............................................................................11-16
11-11 Event recognition by CPUs 31x-2 acting as the DP slave .......................11-20
11-12 Evaluation of RUN to STOP transitions in the DP master/DP slave........11-20
11-13 Structure of station status 1 (byte 0) ........................................................11-23
11-14 Structure of station status 2 (byte 1) ........................................................11-23
11-15 Structure of station status 3 (byte 2) ........................................................11-24
11-16 Structure of the master PROFIBUS address (byte 3)..............................11-24
11-17 Structure of the vendor ID (byte 4, 5).......................................................11-24
12-1 Starting the system after specific events....................................................12-1
12-2 Mains voltage .............................................................................................12-2
12-3 Protection against external electrical interference .....................................12-2
12-4 Protection against external electrical interference .....................................12-2
12-5 Coupling mechanisms................................................................................12-4
12-6 Key to example 1......................................................................................12-10
12-7 Routing cables inside buildings................................................................12-15
12-8 High-voltage protection of cables with surge voltage protection
components..............................................................................................12-21
12-9 Surge voltage protection components for lightning protection
zones 1 <-> 2 ...........................................................................................12-23
12-10 Surge voltage protection components for lightning protection
zones 2 <-> 3 ...........................................................................................12-24
12-11 Example of a lightning-protected structure (key to figure above) ............12-26

&RQWHQWV
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
xA5E00105492-03

S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
A5E00105492-03 1-1
3UHIDFH
3XUSRVHRIWKLVPDQXDO
To get you started, this manual contains the information you will need to plan,
assemble, wire up, address and commission a S7-300.
You will then get to know the tools you can use to diagnose and eliminate errors in
hardware and software.
%DVLFNQRZOHGJHUHTXLUHG
To understand this manual you will require a general knowledge of automation
technology, backed up by a knowledge of the STEP 7 basic software. You may find
it useful to read the Programming with STEP 7 V5.1 manual first.
6FRSHRIWKHPDQXDO
This manual is applicable to the following CPUs and hardware and software
versions:
$VRIYHUVLRQ&38 &RQYHQWLRQ
7KH&38VDUHUHIHUUHG
WRLQWKLVPDQXDODV
IROORZV
2UGHU1R
)LUPZDUH +DUGZDUH
CPU 312C 6ES7312-5BD01-0AB0 V2.0.0 01
CPU 313C 6ES7313-5BE01-0AB0 V2.0.0 01
CPU 313C-2 PtP 6ES7313-6BE01-0AB0 V2.0.0 01
CPU 313C-2 DP 6ES7313-6CE01-0AB0 V2.0.0 01
CPU 314C-2 PtP 6ES7314-6BF01-0AB0 V2.0.0 01
CPU 314C-2 DP
CPU 31xC
6ES7314-6CF01-0AB0 V2.0.0 01
CPU 312 6ES7312-1AD10-0AB0 V2.0.0 01
CPU 314 6ES7314-1AF10-0AB0 V2.0.0 01
CPU 315-2 DP 6ES7315-2AG10-0AB0 V2.0.0 01
CPU 317-2 DP
CPU 31x
6ES7317-2AJ10-0AB0 V2.1.0 01
1RWH
This manual describes all modules available at the time of publication.
We reserve the right to enclose Product Information for new modules or new
versions of modules containing up-to-date information.

3UHIDFH
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
1-2 A5E00105492-03
$SSURYDOV
The SIMATIC S7-300 product series has the following approvals:
• Underwriters Laboratories, Inc.: UL 508 (Industrial Control Equipment)
• Canadian Standards Association: CSA C22.2 No. 142, (Process Control
Equipment)
• Factory Mutual Research: Approval Standard Class Number 3611
&(PDUN
The SIMATIC S7-300 product series conforms to the requirements and safety
specifications of following EU directives:
• EU directive 73/23/EWE "Low-voltage directive"
• EU directive 89/336/EEC "EMC directive“
&WLFNPDUN
The SIMATIC S7-300 product series is compliant with AS/NZS 2064 (Australia).
6WDQGDUGV
The SIMATIC S7-300 product series is compliant with the requirements and criteria
for IEC 61131-2.

3UHIDFH
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
A5E00105492-03 1-3
'RFXPHQWDWLRQUHTXLUHG
This manual is part of the documentation package for the S7-300.
Reference Manual
Examples
CPU Specifications: CPU 312 IFM to 318-2 DP
CPU Specifications: CPU 31xC and CPU 31x
Manual
CPU 31xC: Technological Functions Description of the individual technological functions:
- Positioning
- Counting
- Point-to-point connection
- Control
The CD contains examples of the technological
functions.
Installation Manual
S7-300 Automation System,
Hardware and Installation:
CPU 312 IFM - 318-2 DP
Configuration, installation, wiring, network and
commissioning descriptions of a S7-300
Description of the operation, the functions and the
technical data of the CPU
Reference Manual
S7-300 Programmable Controller
Module Specifications
Function descriptions and the technical data of the
signal modules, power supply modules and the
interface modules
Instruction List
CPU 312 IFM to 318-2 DP
CPU 31xC, CPU 31x
IM 151-7 CPU, BM 147-1 CPU, BM 147-2 CPU
List of stored instructions of the CPUs and their
execution times.
List of executable blocks (OBs/SFCs/SFBs) and their
execution times.
Getting Started
Getting Starteds take you through each
commissioning step up to a functioning
application by running through a
concrete example.
The following Getting Starteds are available
to you:
You are reading this manual
- CPU 31x:
- CPU 31xC:
- CPU 314C:
- CPU 314C:
- CPU 31xC:
- CPU 31xC:
- CPU 31xC:
S7-300 Automation System,
Hardware and Installation:
CPU 31xC and CPU 31x
Commission
Commission
Positioning with Analog Output
Positioning with Digital Output
Counting
Point-to-Point Connection
Controlling
Figure 1-1 Information Landscape of S7-300

3UHIDFH
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
1-4 A5E00105492-03
You also require the following manuals in addition to this documentation package:
Reference Manual System Software for
S7-300/400 System and Standard Functions
Reference Manual
part of the STEP 7 documentation package
Description of the SFCs, SFBs and OBS of the CPU.
You can also find the description in the
STEP 7 Online Help.
Figure 1-2 Additional Documentation
)XUWKHUVXSSRUW
If you still have questions about how to use the products described in this manual,
then please contact your local Siemens dealer.
http://www.siemens.com/automation/partner
7UDLQLQJ&HQWHU
We can provide training courses to help you get started with your S7-300 PLC.
Please contact your local Training Center or the Central Training Center in
Nuremberg, D-90327, Germany
Phone +499 (911) 895-3200..
http://www.sitrain.com
6, $7,&GRFXPHQWDWLRQRQWKH,QWHUQHW
Public documentation is available on the Internet at:
http://www.siemens.com/automation/service&support
Use the quick search of the Knowledge Manager to find your required
documentation. If you have questions or suggestions concerning the
documentation, you can post them on the forum, and they will be answered
quickly.

3UHIDFH
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
A5E00105492-03 1-5
6, $7,&7HFKQLFDO6XSSRUW
In addition to your local dealer, you can also contact one of three Support Centers:
Johnson City
Johnson City
Nuernberg
Nuernberg
Beijing
Beijing
Figure 1-3 SIMATIC Technical Support
:RUOGZLGH (Nuremberg)
7HFKQLFDO6XSSRUW
Local time: 0:00 to 24:00 / 365
days a year
Phone: +49 (0) 180 5050 222
Fax: +49 (0) 180 5050 223
GMT: +1:00
(XURSH$IULFD (Nuremberg)
$XWKRUL]DWLRQ
Local time: Mo.-Fr. 8:00 to 17:00
Phone: +49 (0) 180 5050-222
Fax: +49 (0) 180 5050-223
GMT: +1:00
$PHULFD (Johnson City)
7HFKQLFDO6XSSRUWDQG
$XWKRUL]DWLRQ
Local time: Mo.-Fr. 8:00 to 17:00
Phone: +1 (0) 770 740 3505
Fax: +1 (0) 770 740 3699
E-Mail: isd-
callcenter@sea.siemens.com
GMT: -5:00
$VLD$XVWUDOLD (Beijing)
7HFKQLFDO6XSSRUWDQG
$XWKRUL]DWLRQ
Local time: Mo.-Fr. 8:00 to 17:00
Phone: +65 (0) 740-7000
Fax: +65 (0) 740-7001
E-mail:
simatic.hotline@sea.siemens.com.sg
GMT: +8:00
Technical Support and Authorization personnel generally speak both German and English.

3UHIDFH
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
1-6 A5E00105492-03
6HUYLFH6XSSRUWRQWKH,QWHUQHW
We offer you our complete knowledge base online on the Internet as a supplement
to our documentation.
http://www.siemens.com/automation/service&support
There you can find:
• Up-to-date product information (What's new), FAQs (Frequently Asked
Questions), Downloads, Tips and Tricks.
• Our Newsletter always offers you the latest information on your products.
• The Knowledge Manager finds the documents you require.
• Users and specialists all over the world share their experience in our Forum.
• You can find your local service partner for Automation & Drives in our Partner
Database.
• Information relating to on-site service, repairs, spare parts and lots more is
available to you in the "Service" section.

S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
A5E00105492-03 2-1
*XLGHWRWKH6'RFXPHQWDWLRQ
,QWKLV&KDSWHU
you will find a guide to the documentation for the S7-300.
6HOHFWLQJDQGFRQILJXULQJ
Table 2-1 Influence of the ambient conditions on the automation system (AS)
,QIRUPDWLRQRQ LVDYDLODEOHLQ
What provisions do I have to make for PLC
installation space?
Chapter &RQILJXULQJ0RXQWLQJGLPHQVLRQVRI
PRGXOHVand 0RXQWLQJPRXQWLQJWKHUDLO, in the
,QVWDOODWLRQ0DQXDO
How do environmental conditions influence the
PLC?
$SSHQGL[RIWKH,QVWDOODWLRQ0DQXDO
Table 2-2 Electrical isolation
,QIRUPDWLRQRQ LVDYDLODEOHLQ
Which modules can I use if electrical isolation is
required between sensors/actuators?
Chapter &RQILJXULQJ(OHFWULFDODVVHPEO\
SURWHFWLYHPHDVXUHVDQGJURXQGLQJLQWKH
,QVWDOODWLRQ0DQXDO
Reference Manual 0RGXOH'DWD
When do I need to isolate the potential of individual
components?
How do I wire that?
Chapter &RQILJXULQJ(OHFWULFDODVVHPEO\
SURWHFWLYHPHDVXUHVDQGJURXQGLQJLQWKH
,QVWDOODWLRQ0DQXDO
Chapter LULQJLQWKH,QVWDOODWLRQ0DQXDO
When do I need to isolate the potential of specific
stations?
How do I wire that?
Chapter &RQILJXULQJ&RQILJXULQJDVXEQHWLQWKH
,QVWDOODWLRQ0DQXDO
Chapter LULQJLQWKH,QVWDOODWLRQ0DQXDO

*XLGHWRWKH6'RFXPHQWDWLRQ
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
2-2 A5E00105492-03
Table 2-3 Communication between sensors/actuators and the automation system
,QIRUPDWLRQRQ LVDYDLODEOHLQ
Which module is suitable for my sensor/actuator? for CPU: in applicable &38'DWDReference
Manual
for signal modules: 0RGXOH'DWDReference Manual
How many sensors/actuators can I connect to the
module?
for CPU: in applicable &38'DWDReference
Manual
for signal modules: 0RGXOH'DWDReference Manual
To connect my sensors/actuators to the PLC, how
do I wire the front connector ?
Chapter LULQJ LULQJIURQWFRQQHFWRUVLQWKH
,QVWDOODWLRQ0DQXDO
When do I require expansion modules (EM), and
how are they connected?
Chapter &RQILJXULQJRSWLRQDOH[SDQVLRQVDQG
QHWZRUNLQJLQWKH,QVWDOODWLRQ0DQXDO
How do I mount modules in module racks / on
profile rails?
Chapter 0RXQWLQJ0RXQWLQJPRGXOHVRQDUDLOLQ
WKH,QVWDOODWLRQ0DQXDO
Table 2-4 Use of centralized and decentralized peripherals
,QIRUPDWLRQRQ LVDYDLODEOHLQ
Which range of modules do I want to use? for local I/O / expansion modules (EMs): 0RGXOH
'DWDReference Manual
for distributed I/Os / PROFIBUS DP: Manual of the
relevant I/O device, e.g. 0DQXDO(7%
Table 2-5 Configuration consisting of the central processing unit (CPU) and expansion modules (EMs)
,QIRUPDWLRQRQ LVDYDLODEOHLQ
Which rack / rail is best suited to my application? Chapter &RQILJXULQJLQWKH,QVWDOODWLRQ0DQXDO
Which Interface modules (IM) do I need to connect
EMs to the CPU?
Chapter &RQILJXULQJ$UUDQJLQJPRGXOHVRQ
PXOWLSOHUDFNVLQWKH,QVWDOODWLRQ0DQXDO
What is the right power supply (PS) for my
application?
Chapter &RQILJXULQJLQWKH,QVWDOODWLRQ0DQXDO
Table 2-6 CPU performance
,QIRUPDWLRQRQ LVDYDLODEOHLQ
Which memory concept is best suited for my
application?
in applicable &38'DWDReference Manual
How do I insert and remove Micro Memory Cards? Chapter &RPPLVVLRQLQJ5HPRYLQJ,QVWDOOLQJ0LFUR
0HPRU\&DUGVLQWKH,QVWDOODWLRQ0DQXDO
Which CPU meets my requirements on
performance ?
,QVWUXFWLRQOLVW; Reference Manual &38'DWD
How fast is the response / processing time of the
CPU?
in applicable &38'DWDReference Manual
Which technological functions are implemented? 7HFKQRORJLFDOIXQFWLRQVManual
How can I use these technological functions? 7HFKQRORJLFDOIXQFWLRQVManual

*XLGHWRWKH6'RFXPHQWDWLRQ
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
A5E00105492-03 2-3
Table 2-7 Communication
,QIRUPDWLRQRQ LVDYDLODEOHLQ
Which principles do I have to take into account? &RPPXQLFDWLRQZLWK6,0$7,&Manual
Which options and resources are available on the
CPU ?
in applicable &38'DWDReference Manual
How do I optimize communication with the help of
communication processors (CPs)?
the respective manual
Which type of communication network is best
suited to my application?
Chapter &RQILJXULQJ&RQILJXULQJDVXEQHWLQWKH
,QVWDOODWLRQ0DQXDO
&RPPXQLFDWLRQZLWK6,0$7,&Manual
How do I network the individual components? Chapter &RQILJXULQJ and ZLULQJLQWKH,QVWDOODWLRQ
0DQXDO
Table 2-8 Software
,QIRUPDWLRQRQ LVDYDLODEOHLQ
Which software do I require for my S7-300 system? Chapter 7HFKQLFDO6SHFLILFDWLRQ; applicable &38
'DWDReference Manual
Table 2-9 Supplementary features
,QIRUPDWLRQRQ LVDYDLODEOHLQ
How do I implement operator control and
monitoring?
(Human Machine Interface)
for text-based display units: the relevant device
manual
for OPs: the relevant device manual
for WinCC: the relevant device manual
How can I integrate process control modules? for PCS 7: the respective device manual
What options are offered by redundant and fail-safe
systems?
Manual 6+5HGXQGDQW6\VWHPV; Manual
)DLOVDIH6\VWHPV

*XLGHWRWKH6'RFXPHQWDWLRQ
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
2-4 A5E00105492-03
This manual suits for next models
9
Table of contents
Other Siemens Processor manuals
Popular Processor manuals by other brands

Texas Instruments
Texas Instruments TMS320DM643x reference guide

DAPAudio
DAPAudio DSM-26 user manual

Dolby Laboratories
Dolby Laboratories CP650 installation manual

Freescale Semiconductor
Freescale Semiconductor Symphony DSP56724 Reference manual

Intel
Intel 8008 user manual

National Instruments
National Instruments NI 9212 Getting started guide