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