Edition 08/2004
Manual
Preface
Safety Guidelines
Required basic knowledge
Purpose of the Manual
Area of application
Iii
CE label
Approvals
Tick mark
Standards
This manual is part of the S7-300 documentation package
Documentation classification
Additional information required
Recycling and Disposal
Table of contents
Table of contents
Index-1
Tables
Retentivity of the RAM
Xii
Table A-1
Overview
Selecting and configuring
Information on Is available
Guide to the S7-300 documentation
CPU performance
Programming Manual From Profibus DP to Profinet
Operating and display elements of CPU 31xC
Operating and display elements CPU 31xC
X11 X12
Integrated I/Os of CPU 31xC CPU 314C-2 PtP, for example
Slot for the Simatic Micro Memory Card MMC
Power supply connection
Mode selector switch
Reference
Differences between the CPUs
LED designation Color Meaning
Status and Error Indicators CPU 31xC
Operating and display elements CPU 312, 314, 315-2 DP
Operating and display elements CPU
Operating and display elements
Mode selector switch is used to set the CPU operating mode
Operating and display elements CPU 317-2 DP
Use the mode selector switch to set the CPU operating mode
Operating and display elements CPU 31x-2 PN/DP
Slot for the Simatic Micro Memory Card MMC
General status and error displays
Status and error displays of the CPU
Displays for the X1 and X2 interfaces
CPU 31xC and CPU 31x, Technical data
Multi-Point Interface MPI
Interfaces
Availability
Properties
Operating modes for CPUs with two DP interfaces
Devices capable of MPI communication
S7-300 / S7-400 with MPI interface S7-200 19.2 kbps only
MPI/DP interface Profibus DP interface
Devices capable of Profibus DP communication
Connecting to Industrial Ethernet
Requirements
Properties of Profinet interface
Devices capable of Profinet PN communication
See also
Profinet IO System
Transmission rate
Point to Point PtP
Drivers
Devices capable of PtP communication
Overview of communication services
Communication services
Selecting the communication service
Overview of communication services
OP communication
PG communication
Data exchanged by means of S7 basic communication
Configuration
Use in server mode for
5 S7 communication
Use as client
Reduction ratio
Global data communication MPI only
Send and receive conditions
GD resources of the CPUs
Routing
CPU 315-2 DP
315-2 PN/DP
Routing network nodes MPI DP
Number of routed connections
Routing network nodes MPI DP Ethernet
2 DP
317-2 PN/DP
Requirements
Configuration in Step
Real installation
Routing Example of a TeleService application
PtP communication
Data consistency
What is PROFINET??
Communication via Profinet only CPU 31x-2 PN/DP
With PUT/GET functions
Objectives in Profinet
What is Profinet CBA Component based Automation?
Implementation of Profinet by us
Further Information
Extent of Profinet CBA and Profinet IO
,2DWD9LHZ 352,17,2
Following graphic shows the new functions of Profinet IO
Profinet IO System Extended Functions of Profinet IO
Graphic displays
Compatibility of the New Blocks
Blocks in Profinet IO Chapter Content
Profinet PN
New
Blocks
Detailed Information
Compatibility of the new SSLs
System status lists SSLs in Profinet IO Chapter Content
Applicability
Data block for the configuration of the connection
How to use open IE communication
Open communication via Industrial Ethernet Requirements
Functionality
Establishing a connection for communication
Disconnecting
Data exchange
Communication interruptions
S7 connections
Snmp communication service Availability
1 S7 connection as communication path
Assignment of S7 connections
Reservation during configuration
Connection points
Transition point
Assigning connections in the program
Allocating connection resources to Ocms services
Time sequence for allocation of S7 connection resources
Example
Distribution and availability of S7 connection resources
Communication service Distribution
Distribution of connection resources
Total number Reserved for Free Connection S7 connections
Availability of connection resources
S7 basic
Resources
Number of connection resources for routing
Connection resources for routing
Example of a CPU 314C-2 DP
Example for a CPU 317-2 PN/DP
DPV1
Requirement for using the DPV1 functionality with DP slaves
Definition DPV1
Extended functions of DPV1
System blocks with DPV1 functionality
Interrupt blocks with DPV1 functionality
Profibus DP
Functionality
Communication 3.4 DPV1
CPU memory areas
Memory areas and retentivity
Three memory areas of your CPU
Load memory
System memory
Retentivity of the load memory, system memory and RAM
RAM
Retentive data in load memory
Retentive data in RAM
Retentivity of memory objects
Retentive behavior of memory objects
Retentive behavior of a DB for CPUs with firmware
RUN-STOP
Retentive behavior of a DB for CPUs with firmware =
Address areas of system memory
Address areas of system memory
Process image
Address areas Description
Time
Process image update
Configurable process image with CPU317 FW V2.3.0 or higher
Retentivity of the load memory, system memory and RAM
Local data
MMC as memory module for the CPU
Properties of the Micro Memory Card MMC
Properties of an MMC
Useful life of an MMC
MMC copy protection
General Memory functions
Memory functions
Loading user program from Micro Memory Card MMC to the CPU
Memory functions
Download of new blocks or delta downloads
Handling with modules
Uploading blocks
CPU memory reset
CPU memory reset and restart
Deleting blocks
Compressing blocks
Restart warm start
Introduction
Recipes
Processing sequence
Recipe Recipe n
Memory concept Memory functions
Measured values
Measured value log files
Working memory
Evaluation of measured values
Function principle
Backup of project data to a Micro Memory Card MMC
Memory concept Memory functions
Reference Cycle time
Overview
Reference Execution time
Overview
Cycle time
Meaning of the term cycle time
Time slice model
Time slices 1 ms each
Sequence of cyclic program processing
Step Sequence
Extending the cycle time
Calculating the cycle time
Process image update
+ 60 μs per rack
Extending the user program processing time
Const Portions CPU
Factor
Cycle control at the scan cycle check point CCP
Process Diagnostic Time-of-day
Watchdog
Interrupt
Programming errors Access errors
Extension of the cycle time due to error
Different cycle times
Block processing times may fluctuate
Maximum cycle time
Communication load
Example 20 % communication load
Example 50 % communication load
Influence on the physical cycle time
Physical cycle time depending on communication load
Tips
Cycle extension through component-based automation CBA
Configuration during parameter assignment
Runtimes
Extending the OB1 cycle time
Profibus
Base load through Profibus devices
Additional marginal conditions
Tips and notes
Response time
Update times for Profinet IO
Definition of response time
Fluctuation width
17 ms
DP cycle times in the Profibus DP network
Conditions for the shortest response time
Shortest response time
Calculation
Shortest response time is the sum
Delay of outputs + DP cycle time at Profibus DP
Delay of inputs + DP cycle time at Profibus DP
Longest response time
Conditions for the longest response time
Reducing the response time
Reducing the response time with direct I/O access
Longest response time is the sum
Shortest response time Longest response time
Cycle time
Calculating method for calculating the cycle/response time
Cycle extension through component-based automation CBA
Shortest response time Longest response time
Response time
Interrupt response time
Process/diagnostic interrupt response times of the CPUs
Definition of interrupt response time
Tv 200 μs + 1000 μs x n%
Signal modules
Process interrupt processing
Reproducibility of delay interrupts and watchdog interrupts
Definition of Reproducibility
Reproducibility
Example of cycle time calculation
Sample calculations
Calculating the longest response time
Sample of response time calculation
Calculation of the longest response time
Example of interrupt response time calculation
Cycle and reaction times 5.6 Sample calculations
Dimensions of CPU 31xC
General technical data
Width of CPU
Width
Plug-in Simatic Micro Memory Cards
Technical data of the Micro Memory Card MMC
Maximum number of loadable blocks in the MMC
Following memory modules are available
CPU 312C
Technical data
Data areas and their retentivity
Technical data
Address areas I/O
S7 signaling functions
Technical data Assembly
Testing and commissioning functions
Interfaces 1st interface
Communication functions
Dimensions
Technical data Functionality
Programming
Integrated functions
CPU 313C
Technical data of CPU 31xC 6.3 CPU 313C
Technical data Timers/counters and their retentivity
Technical data Address areas I/O
Technical data
MPI
KHz see the Manual Technological Functions
Technical data Integrated I/O
CPU 313C-2 PtP and CPU 313C-2 DP
Technical data CPU 313C-2 PtP CPU 313C-2 DP CPU and version
Memory CPU 313C-2 PtP CPU 313C-2 DP
Execution times CPU 313C-2 PtP CPU 313C-2 DP
Blocks CPU 313C-2 PtP CPU 313C-2 DP
Assembly CPU 313C-2 PtP CPU 313C-2 DP
Address areas I/O CPU 313C-2 PtP CPU 313C-2 DP
S7 signaling functions CPU 313C-2 PtP CPU 313C-2 DP
Technical data CPU 313C-2 PtP CPU 313C-2 DP
Time-of-day CPU 313C-2 PtP CPU 313C-2 DP
Interfaces CPU 313C-2 PtP CPU 313C-2 DP 1st interface
DP master
GSD file
Technical data CPU 313C-2 PtP CPU 313C-2 DP DP slave
Point-to-point communication
Programming CPU 313C-2 PtP CPU 313C-2 DP
Voltages and currents CPU 313C-2 PtP CPU 313C-2 DP
Dimensions CPU 313C-2 PtP CPU 313C-2 DP
CPU 314C-2 PtP and CPU 314C-2 DP
Technical data CPU 314C-2 PtP CPU 314C-2 DP CPU and version
Memory CPU 314C-2 PtP CPU 314C-2 DP
Execution times CPU 314C-2 PtP CPU 314C-2 DP
Blocks CPU 314C-2 PtP CPU 314C-2 DP
Assembly CPU 314C-2 PtP CPU 314C-2 DP
Address areas I/O CPU 314C-2 PtP CPU 314C-2 DP
S7 signaling functions CPU 314C-2 PtP CPU 314C-2 DP
Technical data CPU 314C-2 PtP CPU 314C-2 DP
Time-of-day CPU 314C-2 PtP CPU 314C-2 DP
Interfaces CPU 314C-2 PtP CPU 314C-2 DP 1st interface
2nd interface CPU 314C-2 PtP CPU 314C-2 DP
Programming CPU 314C-2 PtP CPU 314C-2 DP
Technical data CPU 314C-2 PtP CPU 314C-2 DP DP slave
Integrated I/O CPU 314C-2 PtP CPU 314C-2 DP
Voltages and currents CPU 314C-2 PtP CPU 314C-2 DP
Dimensions CPU 314C-2 PtP CPU 314C-2 DP
CPU 312C Pin-out of the integrated DI/DO connector
Technical data of the integrated I/O
Arrangement and usage of integrated I/Os
Block diagram of the integrated digital I/O
Standard Interrupt Count Posi-1 Input Tioning
1L+ 2L+
Controller
See also
Analog I/O
Wiring of the current/voltage inputs
Measurement principle
Maximum frequency of the input signal is 400 Hz
Integrated hardware low-pass filter
Principle of interference suppression with Step
Input filters software filter
50 Hz interference suppression
Outputs not connected
Inputs not connected
Value range Default Range of efficiency
Configuration
Parameters of standard DI
Byte 3 reserved
Byte
Byte 6
Byte 7 reserved
Parameters of standard AI
Parameters of standard do
There are no parameters for standard digital outputs
See also .3 in the Module Data Reference Manual
Parameters of standard AO
Parameters Value range Default Range of efficiency
\WH
\WH
\WH
\WH
\WH
Parameter for technological functions
\WH
Interrupt inputs
Interrupts
Start information for OB40
Byte Variables Data type Description
Digital inputs
Diagnostics
Standard I/O
Technological functions
Functions Manual
Fast digital outputs
Digital outputs
Technological functions use fast digital outputs
13 Technical data of digital outputs
CPU 31xC and CPU 31x, Technical data
Analog inputs
Technical data Module-specific data
Voltage, currents, potentials
Analog value generation
Status, interrupts, diagnostics
Interference suppression, error limits
Encoder selection data
Analog outputs
Actuator selection data
Technical data of CPU 31xC
CPU 31xC and CPU 31x, Technical data
Dimensions of CPU
Technical data of CPU
Technical data of CPU 31x 7.1 General technical data
CPU
Technical data Data areas and their retentivity
Technical data
Technical data Communication functions
Mounting dimensions W x H x D mm 40 x 125 x Weight 270 g
Technical data for the CPU
Technical data Data areas and their retentivity
Technical data
Number of entries not configurable Max
Mounting dimensions W x H x D mm 40 x 125 x Weight 280 g
CPU 315-2 DP
Technical data Data areas and their retentivity
Technical data
Diagnostic buffer Yes Number of entries not configurable Max
2nd interface
Technical data DP slave
CPU 315-2 PN/DP
Technical data
Technical data Assembly
Parameters of SFBs/FBs and SFC/FC of the S7
CBA at 50 % communication load
Transmission speed Up to 12 Mbps Number of DP slaves 124
Profinet IO
CPU 317-2 DP
Technical data Voltages and currents
Technical data Timers/counters and their retentivity
Technical data
CPU 317-2 DP
Technical data S7 signaling functions
MPI
DP slave Except for DP slave at both interfaces
GSD file
CPU 317-2 PN/DP
Technical data
Analog channels 4096/4096 Those local 256/256
Communication functions
Routing Interface X1 configured as Yes
MPI
Profinet IO
Technical data Voltages and currents
Area of applicability
Information about upgrading to a CPU 31xC or CPU
Who should read this information?
If you have used one of the following CPUs in the past
SFC 56, SFC 57 and SFC 13 which work asynchronously
Changed behavior of certain SFCs
DPV1
Hereafter called
SFC 54 Rddparm
SFC 20 Blkmov
Activating / deactivating DP slaves via SFC
SFCs that may return other results
Previous response by the CPU with Stop status
New response by the CPU
Converting the diagnostic addresses of DP slaves
Converting the diagnostic addresses of DP slaves
Runtimes that change while the program is running
Runtimes that change while the program is running
Reusing existing hardware configurations
Reusing existing hardware configurations
Replacing a CPU 31xC/31x
Replacing a CPU 31xC/31x
Consistent data
10 PG/OP functions
Load memory concept for the CPU 31xC/31x
Routing for the CPU 31xC/31x as an intelligent slave
Changed retentive behavior for CPUs with firmware =
Changed retentive behavior for CPUs with firmware =
Procedure
Asic
Bus
Backup memory
Bus segment
Clock flag bits
CPU
Data, temporary
Default Router
Determinism
Device
DPV1
Ertec
Functional ground
Function block
GD circuit
GD element
Hub
GSD file
Industrial Ethernet
Instance data block
Interrupt, diagnostic
Interrupt, delay
Interrupt, update
Interrupt, process
LAN
NCM PC
MPI
Network
Nesting depth
Non-isolated
OB priority
PNO
PLC
Profibus DP
Profibus
Profinet Asic
Profinet
Profinet CBA
Profinet Component
Profinet IO
Real Time
Proxy
Reduction factor
Reference ground
SFC
SFB
Simatic NCM PC
Simatic
Simatic NET
Snmp
Step
Timer
System diagnostics
Timers
System function
Topology
Token
Twisted Pair
Ungrounded
Glossary-23
WAN
Glossary-24
Index
Index
Index-3
Index