s7300 Cpu 31xc and Cpu 31x Manual en-US en-US
s7300 Cpu 31xc and Cpu 31x Manual en-US en-US
s7300 Cpu 31xc and Cpu 31x Manual en-US en-US
Preface
03/2011
A5E00105475-12
Legal information
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
CAUTION
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
NOTICE
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation for the specific task, in particular its warning notices and
safety instructions. Qualified personnel are those who, based on their training and experience, are capable of
identifying risks and avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be adhered to. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
이 기기는 업무용(A급) 전자파 적합기기로서 판매자 또는 사용자는 이 점을 주의하시기 바라며 가정 외의 지역에서 사용하는 것을 목적으로 합니다.
Scope
The name CPU 31xC summarizes all compact CPUs, as table below shows:
The name CPU 31x summarizes all standard CPUs, as table below shows:
All CPUs with PROFINET properties are grouped under the designation CPU 31x PN/DP, as
the following table shows:
Note
A description of the special features of the failsafe CPUs of the S7 product range is available
in the product information at the following Internet address
(http://support.automation.siemens.com/WW/view/en/11669702/133300).
Note
We reserve the right to include a product Information containing the latest information on
new modules or modules of a more recent version.
CPU 312 312C 313C 313C-2 313C-2 314 314C-2 314C-2 315-2 317-2
DP PtP DP PtP DP DP
Encryption of blocks X X X X X X X X X X
using S7-Block
Privacy
Integration of a X1, 2 X2 X2 X2 X2 X1, 2 X2 X2 X1, 2 X2
maintenance LED
Configurable - - - - - - - - X X
increase of control
and monitoring
performance
Improved operational - - X - - - X X - -
limits for PT100
Analog input
Data set routing - - - X - - X - X1 X
Configurable process X 1 X X X X X 1 X X X 1 X
image
Expansion of the X1 X X X X X1 X X X1 X
block number range
Number of displayed X1 X X X X X1 X X X1 X
diagnostic buffer
entries can be
configured in CPU
RUN mode
Reading out the X1 X X X X X1 X X X1 X
service data
Extension of SFC 12 - - - X - - X - X1 X
with 2 new modes to
trigger the OB 86
during
enabling/disabling
Copying of 512 bytes X 1 X X X X X1 X X X1 X
with SFC 81
CPU 312 312C 313C 313C-2 313C-2 314 314C-2 314C-2 315-2 317-2
DP PtP DP PtP DP DP
Increase
Main memory X1 X X X X X1 X X X1 X
Performance through X 1 X X X X X 1 X X X 1 X
shorter command
processing times
Status information X1 X X X X X1 X X X1 X
that can be
monitored by the
status block, in
STEP 7 V5.5 or
higher
Number of blocks X1 X X X X X1 X X X1 X
that can be
monitored by the
status block
(from 1 to 2)
Number of X1 X X X X X1 X X X1 X
breakpoints from 2 to
4
Local data stack X1 X X X X X1 X X X1 X
Number of block- X1 X X X X X1 X X X1 X
related messages
(Alarm_S) is
uniformly limited to
300
Number of the bit X1 X - - - - - - - -
memories, timers
and counters
Standardization
DB sizes: Max. X1, 3 X X X X X1 X X X1 X1
64 KB
Watchdog interrupts: X1 X X X X X1 X X X1 X1
OB 32 to OB 35
Global data X1 X X X X X1 X X X1 X1
communication of 8
GD circles
System function blocks for integrated technology functions:
SFB 41 to 43 - - X1 X1 X1 - X1 X1 - -
SFB 44 and 46 - - - - - - X1 X1 - -
SFB 47 to 49 - X 1 X 1 X 1 X 1 - X 1 X 1 - -
SFB 60 to 62 - - - - X 1 - - X 1 - -
SFB 63 to 65 - - - - - - - X1 - -
1 This function was already made available to the CPU in an earlier version
2 Available, but without function
3 Max. DB size 32 KB
Preface ...................................................................................................................................................... 3
1 Guide to the S7-300 documentation ........................................................................................................ 13
1.1 Documentation classification .......................................................................................................13
1.2 Guide to the S7-300 documentation ............................................................................................18
2 Operator controls and indicators.............................................................................................................. 21
2.1 Operator controls and indicators of the compact CPUs (CPU 31xC) ..........................................21
2.1.1 Operator controls and indicators: CPU 312C ..............................................................................21
2.1.2 Operator controls and indicators: CPU 313C ..............................................................................24
2.1.3 Operator controls and indicators: CPU 313C-2 PtP ....................................................................27
2.1.4 Operator controls and indicators: CPU 313C-2 DP .....................................................................30
2.1.5 Operator controls and indicators: CPU 314C-2 PtP ....................................................................33
2.1.6 Operator controls and indicators: CPU 314C-2 DP .....................................................................37
2.1.7 Operator controls and indicators: CPU 314C-2 PN/DP ...............................................................41
2.2 Operator controls and indicators of the standard CPUs (CPU 31x) ............................................45
2.2.1 Operator controls and indicators: CPU 312 and CPU 314 ..........................................................45
2.2.2 Operator controls and indicators: CPU 315-2 DP and CPU 317-2 DP........................................47
2.2.3 Operator controls and indicators: CPU 315-2 PN/DP and CPU 317-2 PN/DP............................50
2.2.4 Operator controls and indicators: CPU 319-3 PN/DP..................................................................52
3 Communication........................................................................................................................................ 57
3.1 Interfaces .....................................................................................................................................57
3.1.1 Multi-Point Interface (MPI) ...........................................................................................................57
3.1.2 PROFIBUS DP.............................................................................................................................58
3.1.3 PROFINET ...................................................................................................................................59
3.1.3.1 Configuring the port properties ....................................................................................................63
3.1.4 Point-to-point (PtP) ......................................................................................................................64
3.2 Communication services..............................................................................................................65
3.2.1 Overview of communication services ..........................................................................................65
3.2.2 PG communication.......................................................................................................................67
3.2.3 OP communication.......................................................................................................................68
3.2.4 S7 basic communication ..............................................................................................................68
3.2.5 S7 communication .......................................................................................................................69
3.2.6 Global data communication (MPI only)........................................................................................70
3.2.7 Routing.........................................................................................................................................71
3.2.8 Data record routing ......................................................................................................................75
3.2.9 Clock synchronization ..................................................................................................................77
3.2.10 Point-to-point connection .............................................................................................................79
3.2.11 Data consistency..........................................................................................................................79
3.3 SNMP communication service .....................................................................................................80
3.4 Open communication via Industrial Ethernet ...............................................................................81
3.5 S7 connections............................................................................................................................ 84
3.5.1 S7 connection as communication path ....................................................................................... 84
3.5.2 Allocation of S7 connections ....................................................................................................... 85
3.5.3 Distribution and availability of S7 connection resources............................................................. 87
3.5.4 Connection resources for routing................................................................................................ 89
3.6 DPV1 ........................................................................................................................................... 91
3.7 Web server .................................................................................................................................. 93
3.7.1 Language settings....................................................................................................................... 95
3.7.2 Settings in HW Config, "Web" tab ............................................................................................... 97
3.7.3 Updating and storing information .............................................................................................. 100
3.7.4 Web pages ................................................................................................................................ 101
3.7.4.1 Start page with general CPU information.................................................................................. 101
3.7.4.2 Identification .............................................................................................................................. 103
3.7.4.3 Diagnostic buffer ....................................................................................................................... 104
3.7.4.4 Module information.................................................................................................................... 106
3.7.4.5 Messages .................................................................................................................................. 113
3.7.4.6 Communication ......................................................................................................................... 114
3.7.4.7 Topology.................................................................................................................................... 120
3.7.4.8 Status of the variables............................................................................................................... 127
3.7.4.9 Variable tables .......................................................................................................................... 128
3.7.4.10 User pages ................................................................................................................................ 131
4 PROFINET ............................................................................................................................................ 135
4.1 Communication via PROFINET ................................................................................................ 135
4.1.1 Introduction ............................................................................................................................... 135
4.1.2 PROFINET IO System .............................................................................................................. 138
4.1.3 Blocks for PROFINET IO .......................................................................................................... 140
4.2 Isochronous real-time communication ...................................................................................... 143
4.3 Prioritized startup ...................................................................................................................... 144
4.4 Device replacement without removable medium/programming device .................................... 145
4.5 IO devices changing at runtime ................................................................................................ 145
4.6 Isochronous mode..................................................................................................................... 146
4.7 I-Device ..................................................................................................................................... 146
4.8 Shared Device........................................................................................................................... 147
4.9 Media redundancy..................................................................................................................... 148
5 Memory concept .................................................................................................................................... 149
5.1 Memory areas and retentivity.................................................................................................... 149
5.1.1 CPU memory areas................................................................................................................... 149
5.1.2 Retentivity of load memory, system memory, and main memory ............................................. 150
5.1.3 Retentivity of memory objects ................................................................................................... 151
5.1.4 Address areas of the system memory ...................................................................................... 153
5.1.5 Properties of the SIMATIC Micro Memory Card ....................................................................... 158
Documentation classification
The documentation listed below is part of the S7-300 documentation package.
You can also find this on the Internet and the corresponding entry ID.
Additional information
You also require information from the following descriptions:
See also
Documentation package S7-300
(http://support.automation.siemens.com/WW/view/en/10805159/133300)
Overview
The following tables contain a guide through the S7-300 documentation.
Isolation
How do I mount modules on racks / mounting rails? CPU 31xC and CPU 31x: Assembly – Installing modules on
Installation the mounting rail
What is the right power supply (PS) for my CPU 31xC and CPU 31x: Configuring
application? Installation
CPU performance
Communication
How do I network the various components? CPU 31xC and CPU 31x: Configuring – Configuring
Installation subnets
What to take into account when configuring SIMATC NET, twisted-pair and Network configuration
PROFINET networks fiber-optic networks
(6GK1970-1BA10-0AA0)
Software
Supplementary features
1 2 3
6)
6,(0(16
6,0$7,&
0HPRU\
0LFUR
&DUG
0$,17
'&9
)5&(
581
386+
6723
581
6723
05(6
5
;
/
'&9
; ;
0
Number Designation
① Status and error indicators
② Slot for the SIMATIC Micro Memory Card incl. the ejector
③ Terminals of the integrated inputs and outputs
④ Power supply connection
⑤ interface X1 (MPI)
⑥ Mode selector
The figure below shows the integrated digital inputs/outputs of the CPU with open front
doors.
;
6)
0$,17
'&9
)5&(
1
581
386+
6723
581
6723
05(6
Number Designation
① Digital inputs (PIN 2 to 10)
② Digital input (PIN 11) and digital outputs (PIN 14 to pin 19)
Note
Since these CPUs do not have an integrated load memory, they require a SIMATIC Micro
Memory Card for operation.
Mode selector
Use the mode selector to set the CPU operating mode.
Properties of the CPU in relation to interfaces, integrated inputs/outputs and technological functions
Table 2- 2 Properties of the CPUs 312C in relation to interfaces, integrated inputs/outputs and
technological functions
Reference
● CPU operating state: STEP 7 online help
● Information on CPU memory reset: CPU 31xC and CPU 31x operating instructions,
Commissioning, Commissioning Modules, Memory reset by means of Mode Selector of
the CPU
● Evaluation of the LEDs upon error or diagnostic event: CPU 31xC and CPU 31x
Operating Instructions, Test Functions, Diagnostics and Troubleshooting, Diagnostics
with the Help of Status and Error LEDs
1 2 3
6)
6,(0(16
6,0$7,&
0HPRU\
0LFUR
&DUG
0$,17
'&9
)5&(
581
386+
6723
581
6723
05(6
5
;
'&9
/
; ; ;
0
Number Designation
① Status and error indicators
② Slot for the SIMATIC Micro Memory Card incl. the ejector
③ Terminals of the integrated inputs and outputs
④ Power supply connection
⑤ interface X1 (MPI)
⑥ Mode selector
The figure below shows the integrated digital and analog inputs/outputs of the CPU with
open front covers.
; ;
6)
0$,17
'&9
)5&(
1 2 2 3
581
386+
6723
581
6723
05(6
1 2 3
Number Designation
① Analog inputs and analog outputs
② Digital inputs
③ Digital outputs
Note
Since these CPUs do not have an integrated load memory, they require a SIMATIC Micro
Memory Card for operation.
Mode selector
Use the mode selector to set the CPU operating mode.
Properties of the CPU in relation to interfaces, integrated inputs/outputs and technological functions
Table 2- 4 Properties of the CPUs 313C in relation to interfaces, integrated inputs/outputs and
technological functions
Reference
● CPU operating state: STEP 7 online help
● Information on CPU memory reset: CPU 31xC and CPU 31x operating instructions,
Commissioning, Commissioning Modules, Memory reset by means of Mode Selector of
the CPU
● Evaluation of the LEDs upon error or diagnostic event: CPU 31xC and CPU 31x
Operating Instructions, Test Functions, Diagnostics and Troubleshooting, Diagnostics
with the Help of Status and Error LEDs
1 2 3
6)
6,(0(16
6,0$7,&
0HPRU\
0LFUR
&DUG
0$,17
'&9
)5&(
581
386+
6723
581
6723
05(6
6
; ;
5
'&9
/
; ;
0
Number Designation
① Status and error indicators
② Slot for the SIMATIC Micro Memory Card incl. the ejector
③ Terminals of the integrated inputs and outputs
④ Power supply connection
⑤ 2. Interface X2 (PtP)
⑥ 1. interface X1 (MPI)
⑦ Mode selector
The figure below shows the integrated digital inputs/outputs of the CPU with open front
doors.
;
6)
0$,17
'&9
)5&(
1 2
581
386+
6723
581
6723
05(6
1 2
Numb Designation
er
① Digital inputs
② Digital outputs
Note
Since these CPUs do not have an integrated load memory, they require a SIMATIC Micro
Memory Card for operation.
Mode selector
Use the mode selector to set the CPU operating mode.
Properties of the CPU in relation to interfaces, integrated inputs/outputs and technological functions
Table 2- 6 Properties of the CPUs 313C-2 PtP in relation to interfaces, integrated inputs/outputs
and technological functions
Reference
● CPU operating state: STEP 7 online help
● Information on CPU memory reset: CPU 31xC and CPU 31x operating instructions,
Commissioning, Commissioning Modules, Memory reset by means of Mode Selector of
the CPU
● Evaluation of the LEDs upon error or diagnostic event: CPU 31xC and CPU 31x
Operating Instructions, Test Functions, Diagnostics and Troubleshooting, Diagnostics
with the Help of Status and Error LEDs
1 2 3
6)
%)
6,(0(16
6,0$7,&
0HPRU\
0LFUR
&DUG
0$,17
'&9
)5&(
581
386+
6723
581
6723
05(6
6
; ;
5
'&9
/
; ;
0
Number Designation
① Status and error indicators
② Slot for the SIMATIC Micro Memory Card incl. the ejector
③ Terminals of the integrated inputs and outputs
④ Power supply connection
⑤ 2. interface X2 (DP)
⑥ 1. interface X1 (MPI)
⑦ Mode selector
The figure below shows the integrated digital inputs/outputs of the CPU with open front
doors.
;
6)
%)
0$,17
'&9
)5&(
1 2
581
386+
6723
581
6723
05(6
1 2
Number Designation
① Digital inputs
② Digital outputs
Note
Since these CPUs do not have an integrated load memory, they require a SIMATIC Micro
Memory Card for operation.
Mode selector
Use the mode selector to set the CPU operating mode.
Properties of the CPU in relation to interfaces, integrated inputs/outputs and technological functions
Table 2- 8 Properties of the CPU 313C-2 DP in relation to interfaces, integrated inputs/outputs and
technological functions
Reference
● CPU operating state: STEP 7 online help
● Information on CPU memory reset: CPU 31xC and CPU 31x operating instructions,
Commissioning, Commissioning Modules, Memory reset by means of Mode Selector of
the CPU
● Evaluation of the LEDs upon error or diagnostic event: CPU 31xC and CPU 31x
Operating Instructions, Test Functions, Diagnostics and Troubleshooting, Diagnostics
with the Help of Status and Error LEDs
1 2 3
6)
6,(0(16
6,0$7,&
0HPRU\
0LFUR
&DUG
0$,17
'&9
)5&(
581
386+
6723
581
6723
05(6
6
; ;
5
'&9
/
; ; ;
0
Number Designation
① Status and error indicators
② Slot for the SIMATIC Micro Memory Card incl. the ejector
③ Terminals of the integrated inputs and outputs
④ Power supply connection
⑤ 2. Interface X2 (PtP)
⑥ 1. interface X1 (MPI)
⑦ Mode selector
The figure below shows the integrated digital and analog inputs/outputs of the CPU with
open front covers.
; ;
6)
0$,17
'&9
)5&(
1 2 2 3
581
386+
6723
581
6723
05(6
1 2 3
Number Designation
① Analog inputs and analog outputs
② Digital inputs
③ Digital outputs
Note
Since these CPUs do not have an integrated load memory, they require a SIMATIC Micro
Memory Card for operation.
Mode selector
Use the mode selector to set the CPU operating mode.
Properties of the CPU in relation to interfaces, integrated inputs/outputs and technological functions
Table 2- 10 Properties of the CPUs 314C-2 PtP in relation to interfaces, integrated inputs/outputs
and technological functions
Reference
● CPU operating state: STEP 7 online help
● Information on CPU memory reset: CPU 31xC and CPU 31x operating instructions,
Commissioning, Commissioning Modules, Memory reset by means of Mode Selector of
the CPU
● Evaluation of the LEDs upon error or diagnostic event: CPU 31xC and CPU 31x
Operating Instructions, Test Functions, Diagnostics and Troubleshooting, Diagnostics
with the Help of Status and Error LEDs
1 2 3
6)
%)
6,(0(16
6,0$7,&
0HPRU\
0LFUR
&DUG
0$,17
'&9
)5&(
581
386+
6723
581
6723
05(6
6
; ;
5
'&9
/
; ; ;
0
Number Designation
① Status and error indicators
② Slot for the SIMATIC Micro Memory Card incl. the ejector
③ Terminals of the integrated inputs and outputs
④ Power supply connection
⑤ 2. interface X2 (DP)
⑥ 1. interface X1 (MPI)
⑦ Mode selector
The figure below shows the integrated digital and analog inputs/outputs of the CPU with
open front covers.
; ;
6)
%)
0$,17
'&9
)5&(
1 2 2 3
581
386+
6723
581
6723
05(6
1 2 3
Number Designation
① Analog outputs and analog inputs
② Digital inputs
③ Digital outputs
Note
Since these CPUs do not have an integrated load memory, they require a SIMATIC Micro
Memory Card for operation.
Mode selector
Use the mode selector to set the CPU operating mode.
Properties of the CPU in relation to interfaces, integrated inputs/outputs and technological functions
Table 2- 12 Properties of the CPUs 314C-2 DP in relation to interfaces, integrated inputs/outputs and
technological functions
Reference
● CPU operating state: STEP 7 online help
● Information on CPU memory reset: CPU 31xC and CPU 31x operating instructions,
Commissioning, Commissioning Modules, Memory reset by means of Mode Selector of
the CPU
● Evaluation of the LEDs upon error or diagnostic event: CPU 31xC and CPU 31x
Operating Instructions, Test Functions, Diagnostics and Troubleshooting, Diagnostics
with the Help of Status and Error LEDs
1 2 3
6)
%)
6,(0(16
6,0$7,&
%)
0HPRU\
0LFUR
&DUG
0$,17
'&9
)5&(
581
386+
10 6723
581
9 6723
05(6
8
;
7
35 ;;;
; 35 ;;;
3
6
3
; 31/$1
5
; 03,'3
; ;
4
'&9
/
;
0
Number Description
① Status and error indicators
② Slot for the SIMATIC Micro Memory Card incl. the ejector
③ Terminals of the integrated inputs and outputs
④ Power supply connection
⑤ 1. interface X1 (MPI/DP)
⑥ 2. Interface X2 (PN), with dual-port switch
⑦ PROFINET Port 2
The Port 2 status is signaled using a dual-color LED (green/yellow):
LED lit green: LINK to a partner is active
LED changes to yellow: active data traffic (RX/TX)
R: Ring port for setting up a ring topology with media redundancy
⑧ PROFINET Port 1
The Port 1 status is signaled using a dual-color LED (green/yellow):
LED lit green: LINK to a partner is active
LED changes to yellow: active data traffic (RX/TX)
R: Ring port for setting up a ring topology with media redundancy
⑨ MAC address and 2D bar code
⑩ Mode selector
The figure below shows the locations of the integrated digital and analog inputs/outputs of
the CPU with open front covers.
; ;
6)
%)
%)
0$,17
'&9
)5&(
581
386+
6723
1 2 2 3
581
6723
05(6
1 2 3
Number Designation
① Analog inputs and analog outputs
② Digital inputs
③ Digital outputs
Note
Since these CPUs do not have an integrated load memory, they require a SIMATIC Micro
Memory Card for operation.
Mode selector
Use the mode selector to set the CPU operating mode.
Properties of the CPU in relation to interfaces, integrated inputs/outputs and technological functions
Table 2- 14 Properties of the CPUs 314C-2 PN/DP in relation to interfaces, integrated inputs/outputs
and technological functions
Reference
● CPU operating state: STEP 7 online help
● Information on CPU memory reset: CPU 31xC and CPU 31x operating instructions,
Commissioning, Commissioning Modules, Memory reset by means of Mode Selector of
the CPU
● Evaluation of the LEDs upon error or diagnostic event: CPU 31xC and CPU 31x
Operating Instructions, Test Functions, Diagnostics and Troubleshooting, Diagnostics
with the Help of Status and Error LEDs
2.2 Operator controls and indicators of the standard CPUs (CPU 31x)
2.2.1 Operator controls and indicators: CPU 312 and CPU 314
Operator controls and indicators of the CPU 312 and CPU 314
6)
6,(0(16
6,0$7,&
0HPRU\
0LFUR
&DUG
0$,17
'&9
)5&(
581
5 6723
386+
581
6723
05(6
4 ;
03,
3
'&9
/
;
0
Number Designation
① Slot for the SIMATIC Micro Memory Card incl. the ejector
② Power supply connection
③ interface X1 (MPI)
④ Mode selector
⑤ Status and error indicators
Note
Since these CPUs do not have an integrated load memory, they require a SIMATIC Micro
Memory Card for operation.
Mode selector
The mode selector switch is used to set the CPU operating mode.
Reference
● CPU operating state: STEP 7 online help
● Information on CPU memory reset: CPU 31xC and CPU 31x operating instructions,
Commissioning, Commissioning Modules, Memory reset by means of Mode Selector of
the CPU
● Evaluation of the LEDs upon error or diagnostic event: CPU 31xC and CPU 31x
Operating Instructions, Test Functions, Diagnostics and Troubleshooting, Diagnostics
with the Help of Status and Error LEDs
2.2.2 Operator controls and indicators: CPU 315-2 DP and CPU 317-2 DP
1 2
6)
%)
6,(0(16
6,0$7,&
%)
0HPRU\
0LFUR
&DUG
0$,17
'&9
)5&(
581
386+
6723
3
581
6723
05(6
6
; ;
'&9
/
;
0
Number Description
① Status and error CPU 315-2 DP has only one bus fault LED: BF
indicators: CPU 317-2 DP has two bus fault LEDs: BF1 and BF 2
② Slot for the SIMATIC Micro Memory Card incl. the ejector
③ Mode selector
④ 1. Interface X1 (MPI for CPU 315-2 DP, MPI/DP for CPU 317-2 DP)
⑤ 2. interface X2 (DP)
⑥ Power supply connection
Note
Since these CPUs do not have an integrated load memory, they require a SIMATIC Micro
Memory Card for operation.
Mode selector
Use the mode selector to set the CPU operating mode:
Reference
● CPU operating state: STEP 7 online help
● Information on CPU memory reset: CPU 31xC and CPU 31x operating instructions,
Commissioning, Commissioning Modules, Memory reset by means of Mode Selector of
the CPU
● Evaluation of the LEDs upon error or diagnostic event: CPU 31xC and CPU 31x
Operating Instructions, Test Functions, Diagnostics and Troubleshooting, Diagnostics
with the Help of Status and Error LEDs
2.2.3 Operator controls and indicators: CPU 315-2 PN/DP and CPU 317-2 PN/DP
Operator controls and indicators of CPU 315-2 PN/DP and CPU 317-2 PN/DP
1 2
6)
%)
6,(0(16
6,0$7,&
%)
0HPRU\
0LFUR
&DUG
0$,17
'&9
)5&(
581
386+
3
6723
581
6723
05(6
9
4
8 ; 35 ;;;
; 35 ;;;
3
5
7
3
; 31/$1
6
; 03,'3
'&9
/
;
0
Number Description
① Status and error indicators
② Slot for the SIMATIC Micro Memory Card incl. the ejector
③ Mode selector
④ MAC address and 2D bar code
⑤ 1. interface X1 (MPI/DP)
⑥ Power supply connection
⑦ 2. Interface X2 (PN), with dual-port switch
⑧ PROFINET Port 2
The Port 2 status is signaled using a dual-color LED (green/yellow):
LED lit green: LINK to a partner is active
LED changes to yellow: active data traffic (RX/TX)
R: Ring port for setting up a ring topology with media redundancy
⑨ PROFINET Port 1
The Port 1 status is signaled using a dual-color LED (green/yellow):
LED lit green: LINK to a partner is active
LED changes to yellow: active data traffic (RX/TX)
R: Ring port for setting up a ring topology with media redundancy
Note
Since these CPUs do not have an integrated load memory, they require a SIMATIC Micro
Memory Card for operation.
Mode selector
You can use the mode selector switch to set the current operating mode of the CPU.
Reference
● CPU operating state: STEP 7 online help
● Information on CPU memory reset: CPU 31xC and CPU 31x operating instructions,
Commissioning, Commissioning Modules, Memory reset by means of Mode Selector of
the CPU
● Evaluation of the LEDs upon error or diagnostic event: CPU 31xC and CPU 31x
Operating Instructions, Test Functions, Diagnostics and Troubleshooting, Diagnostics
with the Help of Status and Error LEDs
1 2 3
%) 6)
6,(0(16
6,0$7,&
6723 4
386+
5
581
6723
05(6
6
14 35
0$&$''
;;;
;;;
35
13
'&9
/
;
0
8
35
9
10
35
'&9
11
/
;
0
12
Number Designation
① Bus error indicators
② Status and error indicators
③ Slot for the SIMATIC Micro Memory Card incl. the ejector
④ Mode selector
⑤ 3. Interface X3 (PN), with dual-port switch
⑥ MAC address
⑦ Green LED - Port 1
LED designation: LINK
LED lit green: LINK to a partner is active
⑧ PROFINET- Port 1
R: Ring port for setting up a ring topology with media redundancy
⑨ Yellow LED - Port 1
LED designation: RX/TX
LED lit yellow: active data traffic (RX/TX)
⑩ Green LED - Port 2
LED designation: LINK
LED lit green: LINK to a partner is active
⑪ PROFINET- Port 2
R: Ring port for setting up a ring topology with media redundancy
⑫ Yellow LED - Port 2
LED designation: RX/TX
LED lit yellow: active data traffic (RX/TX)
⑬ Power supply connection
⑭ 1. interface X1 (MPI/DP)
⑮ 2. interface X2 (DP)
Note
Since these CPUs do not have an integrated load memory, they require a SIMATIC Micro
Memory Card for operation.
Mode selector
You can use the mode selector switch to set the current operating mode of the CPU.
Reference
● CPU operating state: STEP 7 online help
● Information on CPU memory reset: CPU 31xC and CPU 31x operating instructions,
Commissioning, Commissioning Modules, Memory reset by means of Mode Selector of
the CPU
● Evaluation of the LEDs upon error or diagnostic event: CPU 31xC and CPU 31x
Operating Instructions, Test Functions, Diagnostics and Troubleshooting, Diagnostics
with the Help of Status and Error LEDs
Availability
All the CPUs described here are equipped with an MPI interface
A CPU equipped with an MPI/DP interface is configured and supplied as
MPI interface.
Properties
The MPI (Multi-Point Interface) represents the CPU interface for PG/OP connections, or for
communication on an MPI subnet.
The default baud rate of all CPUs is 187.5 kbps. You can also set 19.2 kbps for
communication with an S7-200. Baud rates up to max. 12 Mbps are possible with the
CPU 314C-2 PN/DP, CPU 315-2 PN/DP, CPU 317-2 and with the CPU 319-3 PN/DP.
The CPU automatically broadcasts its bus configuration via the MPI interface (the
transmission rate, for example). A PG, for example, can thus receive the correct parameters
and automatically connect to a MPI subnet.
NOTICE
Clock synchronization
The CPU's MPI interface supports clock synchronization. Detailed information is available in
theManual CPU 31x and CPU 31x, Technical specifications, section Clock synchronization.
3.1.2 PROFIBUS DP
Availability
CPUs with the "DP" have at least one DP interface.
The CPU 314C-2 PN/DP, CPU 315-2 PN/DP and the CPU 317-2 PN/DP feature one MPI/DP
interface. The 317-2 DP and 319-3 PN/DP CPUs feature an MPI/DP interface plus an
additional DP interface. The factory setting of the CPU's MPI/DP interface is MPI mode. You
need to set DP mode in STEP 7 if you want to use the DP interface.
Properties
The PROFIBUS DP interface is mainly used to connect distributed I/O. PROFIBUS DP
allows you to create large subnets, for example.
The PROFIBUS DP interface can be configured for operation in master or slave mode, and
supports transmission rates up to 12 Mbps
The CPU broadcasts its bus parameters (transmission rate, for example) via the PROFIBUS
DP interface when master mode is set. This functionality automatically provides the correct
parameters for online operation of a programming device, for example. In your configuration
you can specify to disable bus parameter broadcasting.
Note
(for DP interface in slave mode only)
When you disable the "Test, Commissioning, Routing" check box in the DP interface
properties dialog box in STEP 7, the transmission rate settings of the master automatically
override corresponding user-specific settings. This disables the routing function at this
interface.
Clock synchronization
Clock synchronization is possible via the CPU's PROFIBUS DP interface. Detailed
information is available in the manual CPU 31x and CPU 31x Manual, Technical
specifications, Clock synchronization section.
Reference
Additional information on the PROFIBUS can be found on the Internet
(http://www.profibus.com).
3.1.3 PROFINET
CPUs with name suffix "PN" are equipped with a PROFINET interface.
The PROFINET interface on CPU31x PN/DP V3.1 or higher is equipped with an integrated
dual-port switch.
Special features of PROFINET devices with integrated switch:
● System configuration in line topology is possible
● You can set up a ring topology using Ports 1 and 2 which are identified as ring ports
(P1 R, P2 R)
● Connecting a programming device or an HMI device without additional switch
Note
To enable diagnostics and reconfiguration of Port 2 as well (e.g. configuration of
interrelations, or of the transmission medium/duplex mode), you must replace the old with
the new CPU in HW Config.
Properties
IEEE standard 802.3
Connector design 2 X RJ45
Dual-port switch (CPUs V3.1 or higher)
Transmission rate Max. 100 Mbps
Media Twisted Pair Cat5 (100 BASE-TX)
Media redundancy in accordance with IEC 61158
Note
Networking PROFINET components
The use of switches, rather than hubs, for networking PROFINET components brings about
a substantial improvement in decoupling bus traffic and improves runtime performance
especially under higher bus load. PROFINET CBA with cyclic PROFINET interconnections
requires the use of switches in order to maintain compliance with performance specifications.
Full-duplex mode at 100 Mbit is mandatory for cyclic PROFINET interconnections.
PROFINET IO also requires the use of switches and 100 Mbit full-duplex mode. In the case
of a PROFINET IO in IRT mode, all the PROFINET devices, including the switches, must be
IRT-capable in the synchronization domain.
The minimum update time is determined by the number of devices used, by the volume of
configured user data, and by the time slice for PROFINET IO communication. STEP 7
automatically makes allowances for these dependencies in your system configuration.
Odd number of send clocks for IRT with "high performance" option:
In addition to the "even-numbered" send clocks (250 µs,
500 µs, 1 ms, 2 ms, 4 ms), you can set any multiple of 125 ms as "odd-numbered" send
clock in the range from 250 µs and 4 ms for IRT with "high performance" option: 375 μs, 625
μs ... 3.875 ms
For "odd-numbered" send clocks, the following rule applies to all PROFINET IO devices:
● Update time = send clock
● IRT with "high performance" cannot be supplemented by means of RT devices
NOTICE
On CPUs with an integrated switch, memory resets/firmware updates/power-offs cause an
interruption of communication.
Note that the PROFINET interface and integrated switch are shut down during CPU
memory reset and firmware updates, or after POWER OFF. At a CPU configured for
operation in a line topology, communication is shut down to the following devices.
Reference
● For instructions on how to configure the integrated PROFINET interface, refer to the
S7-300, CPU 31xC and CPU 31x Setup operating instructions.
● For more information about PROFINET functionality, refer to the PROFINET System
Description (http://support.automation.siemens.com/WW/view/en/19292127).
● For detailed information on Ethernet networks, network configuration and network
components, refer to the SIMATIC NET Manual: Twisted-pair and fiber-optic networks, on
the Internet (http://support.automation.siemens.com/WW/view/en/8763736).
● For detailed information on CBA, refer to the Tutorial Component Based Automation,
Commissioning Systems on the Internet
(http://support.automation.siemens.com/WW/view/en/18403908).
● Additional information about PROFINET can be found on the Internet
(http://www.profibus.com).
Note
For additional information about configuring the ports of IO devices that are to carry out a
prioritized startup, refer to the special notes in the PROFINET System Description.
Availability
CPUs with the "PtP" name suffix have at least one PtP interface.
Properties
Using the PtP interface of your CPU, you can connect external devices with serial interface.
You can operate such a system at transmission rates up to 19.2 kbps in full duplex mode
(RS 422), and up to 38.4 kbps in half duplex mode (RS 485).
Baud rate
● Half duplex: 38,4 kbps
● Full duplex: 19,2 kbps
Drivers
PtP communication drivers installed in those CPUs:
● ASCII drivers
● 3964(R) Protocol
● RK 512 (CPU 314C-2 PtP only)
Reference
CPU 31xC: Technological functions manual
You need to decide on a communication service based on the required functionality. Your
choice of communication service determines
● the available functionality
● whether an S7 connection is required or not
● the time of connecting
The user interfaces can vary considerably (SFC, SFB, etc.) and is also determined by the
hardware used (SIMATIC CPU, PC, etc.).
Communication service Functionality Time at which the S7 via MPI via DP via via
connection is established ... PtP PN
PG communication Commissioning, test, From the PG, starting when X X – X
diagnostics the service is being used
OP communication Operator control and From the OP at POWER ON X X – X
monitoring
S7 basic communication Data exchange Programmed to take place via X X – –
blocks (SFC parameters)
S7 communication Data exchange in server Via active peer at POWER ON Only as Only as – X
and client mode: server server
Configuration of connection
required
Global data Cyclic data exchange (e.g. Does not require an S7 X – – –
communication bit memories) connection
Routing of PG functions E.g. testing, diagnostics From the PG, starting when X X – X
(only for CPUs with across network boundaries the service is being used
DP or PROFINET
interface)
Point-to-point connection Data exchange via serial Does not require an S7 – – X –
interface connection
PROFIBUS DP Data exchange between Does not require an S7 – X – –
master and slave connection
PROFINET CBA Data exchange by means Does not require an S7 – – – X
of component-based connection
communication
PROFINET IO Data exchange between IO Does not require an S7 – – – X
controllers and the IO connection
devices
Web server Diagnostics Does not require an S7 – – – X
connection
SNMP Standard protocol for Does not require an S7 – – – X
(Simple Network network diagnostics and connection
Management Protocol) parameterization
Open communication by Data exchange via Does not require an S7 – – – X
means of TCP/IP Industrial Ethernet with connection, is programmed to
TCP/IP protocol (by means take place via loadable FBs
of loadable FBs)
Open communication by Data exchange via Does not require an S7 – – – X
means of ISO-on-TCP Industrial Ethernet with connection, is programmed to
ISO-on-TCP protocol (by take place via loadable FBs
means of loadable FBs)
Open communication by Data exchange via Does not require an S7 – – – X
means of UDP Industrial Ethernet with connection, is programmed to
UDP protocol (by means of take place via loadable FBs
loadable FBs)
Communication service Functionality Time at which the S7 via MPI via DP via via
connection is established ... PtP PN
Data record routing for example, Takes place when the X X – X
parameterization and parameterization tool
diagnostics of field devices accesses the field device
on the PROFIBUS DP by
an engineering system
operated on an MPI or
PROFINET interface (e.g.
PDM)
Broadcast frames Does not require an S7 X X – –
Clock synchronization connection
NTP protocol Does not require an S7 – – – X
connection
See also
Distribution and availability of S7 connection resources (Page 87)
Connection resources for routing (Page 89)
3.2.2 PG communication
Properties
PG communication is used to exchange data between engineering stations (e.g. PG, PC)
and SIMATIC modules with communications capability. This service is possible via MPI,
PROFIBUS, and Industrial Ethernet subnets. Transition between subnets is also supported.
PG communication provides the functions needed to load programs and configuration data,
run tests, and evaluate diagnostic information. These functions are integrated in the
operating system of
SIMATIC S7 modules.
A CPU can maintain several simultaneous online connections to one or multiple PGs.
3.2.3 OP communication
Properties
Using OP communication, you can exchange data between operator stations (e.g. OP, TP,
WinCC) and SIMATIC modules which have communication functionality. This service is
possible via MPI, PROFIBUS, and Industrial Ethernet subnets.
OP communication provides functions you require for operator control and monitoring. These
functions are integrated in the operating system of SIMATIC S7 modules. A CPU can
maintain several simultaneous connections to one or several OPs.
OP communication can be accelerated enormously by activating "prioritized OCM
communication" in the CPU's properties dialog. The CPU must support this function (consult
the technical specifications of the relevant CPU).
Note
Effects of "prioritized OCM communication"
Consistency with user program data will be lost. Consistency must be ensured by means
of the user program (refer to the "Data consistency (Page 79)" chapter).
The cycle time increases.
Properties
S7 basic communication is used to exchange data between S7 CPUs and the
communication-capable SIMATIC modules within an S7 station (acknowledged data
exchange). Data is exchanged via non-configured S7 connections. The service is available
via the MPI subnet, or within the station to function modules (FM).
S7 basic communication provides the functions you require for data exchange. These
functions are integrated into the CPU operating system. The user can utilize this service via
the "System function" (SFC) user interface.
Reference
Additional information
● on SFCs can be found in the instruction list.
A detailed description is available in the STEP 7 Online Help or System and Standard
Functions Reference Manual
● on communication is found in the Communication with SIMATIC manual
3.2.5 S7 communication
Properties
A CPU can always operate in server or client mode in S7 communication: We distinguish
between
● connections configured at one end (for PUT/GET only)
● connections configured at both ends (for USEND, URCV, BSEND, BRCV, PUT, GET)
However, the available functionality depends on the CPU. A CP is therefore required in
certain situations.
Table 3- 3 Client and server in S7 communication using connections configured at one end/both
ends
CPU Use in server mode for Use in server mode for Use as client
connections configured at connections configured at
one end both ends
31xC ≥ V1.0.0 Generally possible on Only possible with CP and Only possible with CP and
MPI/DP interface without loadable FBs loadable FBs
programming of user
interface
31x ≥ V2.0.0 Generally possible on Only possible with CP and Only possible with CP and
MPI/DP interface without loadable FBs loadable FBs
programming of user
interface
31x ≥ V2.2.0 Generally possible on Possible on Possible on
MPI/DP/PN interface PROFINET interface PROFINET interface
without programming of with loadable FBs with loadable FBs
user interface
or or
with CP and loadable with CP and loadable
FBs FBs
The user interface is implemented using standard function blocks (FBs) from the standard
library of STEP 7, under communication blocks.
Reference
For additional information on communication, refer to the Communication with SIMATIC
manual.
Properties
Global data communication is used for cyclic exchange of global data via MPI subnets (for
example, I, Q, M) between SIMATIC S7 CPUs (data exchange without acknowledgement).
One CPU sends the data to all CPUs simultaneously in the MPI subnet. This function is
integrated in the CPU operating system.
Reduction ratio
The reduction ratio specifies the cyclic intervals for GD communication. You can set the
reduction ratio when you configure global data communication in STEP 7. For example, if
you set a reduction ratio of 7, global data is transferred only with every 7th cycle. This
reduces the CPU load.
3.2.7 Routing
Properties
STEP 7 V5.1 + SP4 or higher allows you to access your S7 stations in all subnets with your
PG/PC, for example, to
● download user programs
● download a hardware configuration
● perform test and diagnostic functions
Note
If the CPU is used as an intelligent DP slave, the routing function is only available when
the DP interface is set active. In STEP 7, activate the Test, Commission Routing
checkbox in the properties dialog of the DP interface. For detailed information, refer to the
Programming with STEP 7 manual, or directly to the STEP 7 Online Help.
6 6
3* &38'30DVWHU &38'36ODYH
6XEQHW352),%86'3IRUH[DPSOH
6XEQHW03,IRUH[DPSOH
The figure below shows the MPI access to PROFINET via PROFIBUS. CPU 1 (e.g. 315-2
DP) is the gateway between subnet 1 and 2;
CPU 2 is the gateway between subnet 2 and 3.
6XEQHW03,
3*
Requirements
● The station modules are "capable of routing" (CPUs or CPs)
● The network configuration does not exceed project limits
● The modules have loaded the configuration data containing the latest "knowledge" of the
entire network configuration of the project.
Reason: All modules participating in the gateway must receive the routing information
defining the paths to other subnets
● In your network configuration, the PG/PC you want to use to establish a connection via a
gateway must be assigned to the network it is physically connected to
● The CPU must set to master mode
● Or if the CPU is configured as slave, the Test, Commissioning, Routing functionality must
be enabled for DP slave by activating the checkbox in STEP 7 in the
DP interface properties dialog box
'3VODYH
'3PDVWHU
HJ[&'3
HJ[&'3
5HDOVWUXFWXUH
3*
7HOHVHUYLFH
DGDSWHU 6XEQHW
HJ352),%86'3
0RGHP 0RGHP
6XEQHW
HJ03,
&RQILJXUDWLRQLQ67(3 '3VODYH
'3PDVWHU
HJ&38[&'3 HJ&38[&'3
3*
6XEQHW
HJ352),%86'3
6XEQHW
HJ03,
Reference
Additional information
● on configuring in STEP 7 can be found in the Configuring Hardware and Connections in
STEP 7 manual
● on communication is found in the Communication with SIMATIC manual
● on the TeleService adapter can be found on the Internet
(http://support.automation.siemens.com/WW/view/en/20983182).
● on SFCs can be found in the instruction list.
For a detailed description, refer to the STEP 7 Online Help or System and Standard
Functions Reference Manual
Availability
The following CPUs support data record routing:
CPU As of version
CPU 313C-2 DP V3.3
CPU 314C-2 DP V3.3
CPU 314C-2 PN/DP V3.3
CPU 315-2 DP V3.0
CPU 315-2 PN/DP V3.1
CPU 317-2 DP V3.3
CPU 317-2 PN/DP V3.1
CPU 319-3 PN/DP V2.7
(QJLQHHULQJ6WDWLRQ
ZLWK6,0$7,&3'0
,QGXVWULDO(WKHUQHW
352),%86'3
P$ 352),%863$
+$57
6,02&2'(
See also
You can find additional information on SIMATIC PDM in The Process Device Manager
manual.
Introduction
The CPU interfaces support clock synchronization. The CPU can be programmed for
operation as time master (with default synchronization intervals) or as time slave.
Default: No clock synchronization
Interfaces
Clock synchronization is supported at the following interfaces:
● MPI interface
You can configure the CPU as time master or time slave.
● DP interface
You can configure the CPU as time master or time slave.
● PROFINET interface
Clock synchronization by means of NTP method and client CPU.
● On the automation system in the central rack
You can configure the CPU as time master or time slave.
Note
The CPU cannot be time slave on more than one of these interfaces.
Note
The real-time clock of the CPU is not set:
in factory state
after reset to factory settings by means of the mode selector switch
after firmware updates
Example 1
A CPU already set up as time slave on the DP interface must be set up as time master at the
MPI interface and/or on the automation system.
Note
The PROFINET interface cannot be operated as time-of-day server, that is, the CPU cannot
synchronize any other clocks on PROFINET.
Example 2
A CPU already synchronized over NTP with a time master by means of clock
synchronization via PROFINET interface (corresponds to time slave functionality) must be
operated as time master at the DP interface and/or MPI interface, or on the automation
system.
Properties
A point-to-point connection permits you to exchange data via a serial interface. A point-to-
point connection can be used to interconnect programmable controllers, computers or
communication-capable third-party systems. Adaptation to the procedure of the
communication peer is also possible.
Reference
Additional information
● on SFCs can be found in the instruction list.
A detailed description is available in the STEP 7 Online Help and in the Technological
Functions manual
● on communication is found in the Communication with SIMATIC manual
Properties
A data area is consistent if it can be read from or written to the operating system as one
block. Data exchanged collectively between the stations should belong together and
originate from a single processing cycle, that is, be consistent. If the user program contains a
programmed communication function, for example, access to shared data with XSEND/ X-
RCV, access to that data area can be coordinated by means of the "BUSY" parameter itself.
Note
Where defined data consistency is required, the length of communication variables in the
user program of the CPUs cannot exceed 240 bytes.
Availability
The SNMP V1, MIB-II communication service is available for CPUs with integrated
PROFINET interface firmware 2.2 or higher.
Properties
SNMP (Simple Network Management Protocol) is a standard protocol for TCP/IP networks.
Reference
For additonal information on the SNMP communication service and diagnostics with SNMP,
refer to the PROFINET system description and to the Operating Instructions S7-300
CPU 31xC and CPU 31x, Installation.
Requirements
● STEP 7 as of V5.4 + SP4
Functionality
The CPUs with integrated PROFINET interface as of firmware V2.3.0 or V2.4.0 support the
functionality of open communication via Industrial Ethernet (in short: open IE communication)
The following services are available for open IE communication:
● Connection-oriented protocols
– TCP according to RFC 793, connection type B#16#01, firmware V2.3.0 and higher
– TCP according to RFC 793, connection type B#16#11, firmware V2.4.0 and higher
– ISO-on-TCP according to RFC 1006, firmware V2.4.0 and higher
● Connectionless protocols
– UDP according to RFC 768, firmware V2.4.0 and higher
Note
Setting up the connection description (UDT 65)
The communication interface has to be entered in the "local_device_id" parameter in
UDT65 "TCON_PAR" (e.g. B#16#03: communication via the integrated IE interface of
CPU 319-3 PN/DP).
Disconnecting
● Use with TCP and ISO-on-TCP
FB 66 "TDISCON" disconnects a connection between CPU and communication peer.
● Use with UDP
FB 66 "TDISCON" disconnects the local communication access point, i.e. the connection
between user program and communication layer of the operating system is interrupted.
Communication diagnostics
In STEP 7 V5.4 SP5 and higher, you can select "Module state → Communication → Open
communication over Industrial Ethernet" to read additional information about the configured
connections.
Reference
For detailed information on the blocks described above, refer to the STEP 7 Online Help.
3.5 S7 connections
Note
S7 connections are not required for global data communication, point-to-point connection,
communication by way of PROFIBUS DP, PROFINET CBA, PROFINET IO, TCP/IP, ISO on
TCP, UDP, SNMP and web server.
Every connection requires S7 connection resources on the CPU for the entire duration of this
connection.
Each S7-CPU provides a specific number of S7 connection resources which are used by
various communication services (PG/OP communication, S7 communication, or S7 basic
communication).
Connection points
An S7 connection between communication-capable modules is established between
connection points. The S7 connection always has two connection points: The active and the
passive connection point:
● The active connection point is assigned to the module that establishes the S7 connection.
● The passive connection point is assigned to the module that accepts the S7 connection.
Any module that is capable of communication can thus act as an S7 connection point. At the
connection point, the established connection always occupies one S7 connection on the
relevant module.
Transition point
If you use the routing functionality, the S7 connection between two communication-capable
modules is established across a number of subnets. These subnets are interconnected via a
gateway. The module that implements this gateway is known as a router. The router is thus
the point through which an S7 connection passes.
Any CPU with a DP or PN interface can be the router for an S7 connection. You can
establish a specific number of routing connections. This does not limit the quantity
framework of S7 connections.
See also
Connection resources for routing (Page 89)
Example
If there is only one free S7 connection left on the CPU, you can connect a PG to the bus.
The PG can then communicate with the CPU. The S7 connection is only used, however,
when the PG is communicating with the CPU. If you connect an OP to the bus while the PG
is not communicating, the OP can establish a connection to the CPU. Since an OP maintains
its communication link at all times, in contrast to the PG, you cannot subsequently establish
another connection via the PG.
Note
When using a CPU 314C-2 PN/DP, you can configure up to 10 connection resources for S7
communication in NetPro: When using the CPU 315-2 PN/DP, you can configure up to 14
connection resources for S7 communication in NetPro:
These connections are then no longer available as free connections.
For CPU 317-2 PN/DP and CPU 319-3 PN/DP, you can configure up to 16 connection
resources for S7 communication in NetPro.
3.6 DPV1
New automation and process engineering tasks require the range of functions performed by
the existing DP protocol to be extended. In addition to cyclical communication functions,
acyclical access to non-S7 field devices is another important requirement of our customers
and was implemented in the standard EN 50170. In the past, acyclical access was only
possible to S7 slaves. The distributed I/O standard EN 50170 has been further developed.
All changes concerning new DPV1 functions are included in IEC 61158/EN 50170, volume 2,
PROFIBUS.
Definition DPV1
The term DPV1 is defined as a functional extension of the acyclical services (to include new
interrupts, for example) provided by the DP protocol.
Availability
All CPUs with DP interface(s) and serving as DP masters feature the enhanced DPV1
functionality.
Note
If you want to use the CPU as an intelligent DP slave, it does not have DPV1 functionality.
OB Functionality
OB 40 Hardware interrupt
OB 55 Status interrupt
OB 56 Update interrupt
OB 57 Vendor-specific interrupt
OB 82 Diagnostic interrupt
Note
You can now also use the organization blocks OB40 and OB82 for DPV1 interrupts.
SFB Functionality
SFB 52 Read data record from DP slave/IO device or central module
SFB 53 Write data record to DP slave/IO device or central module
SFB 54 Read additional alarm information from a DP slave/IO device or a centralized module in
the relevant OB
SFB 75 Send alarm to the DP master
Note
You can also use SFB 52 to SFB 54 for centralized I/O modules. SFB 52 to SFB 54 can also
be used for PROFINET IO.
Reference
For additional information on the blocks above, refer to the Reference Manual System
Software for S7-300/400: System and Standard Software, or directly to the STEP 7Online
Help.
See also
PROFIBUS DP (Page 58)
Introduction
The web server allows you to monitor the CPU via the Internet or the intranet of your
company. This permits evaluation and diagnostics over long distances.
Messages and status information are visualized on HTML pages.
Web browser
You need a web browser to access the HTML pages of the CPU.
The following web browsers are suitable for communication with the CPU:
● Internet Explorer (as of V6.0)
● Mozilla Firefox (as of V1.5)
● Opera (as of V9.0)
● Netscape Navigator (as of V8.1)
Display of the communication connections for open V3.3 V3.2.1 V3.2.1 V3.2.1
communication (OUC)
Display of the communication resources V3.3 V3.2.1 V3.2.1 V3.2.1
Topology V3.3 V3.1 V3.1 V2.7
Display of the actual topology V3.3 V3.1 V3.1 V2.8
On the following pages you will find detailed information on the HTML pages and
explanations.
Note
Up to 5 http-/https connections are supported.
Note
Using SIMATIC Micro Memory Card together with Web server
The configuration data for the Web server is stored on the SIMATIC Micro Memory Card. We
therefore recommend that you use a SIMATIC Micro Memory Card with at least 512 KB.
You can also use the web server without SIMATIC Micro Memory Card. The CPU must have
been assigned an IP address to permit operation.
The content of the diagnostic buffer is displayed in hexadecimal code.
Start page, identification and communication information, and variable status are
displayed in plain text.
Following displays remain empty:
– Module information
– Messages
– Topology
– Variable tables
– User pages
Automatic update of the pages is set by default until configured otherwise.
Security
The Web server provides the following security functions:
● Access via secure https transmission protocol
● User authorizations you can configure by means of user list
Safe-guard your CPUs that provide online access to the Web against intrusion by setting up
a firewall.
Introduction
The Web server provides messages and diagnostic information in the following languages:
● German (Germany)
● English (USA)
● French (France)
● Italian (Italy)
● Spanish (International Sort)
● Chinese (Simplified)
● Japanese
The two Asian languages can be combined as follows:
● Chinese with English
● Japanese with English
Note
Asian languages are not supported for SIMATIC HMI devices with Windows CE operating
system.
Set the regional language for the display devices in SIMATIC Manager
Select languages for display devices in SIMATIC Manager:
Options > Language for display devices
Requirements
You have opened the properties dialog of the CPU in HW Config.
Carry out the following settings in the "Web" tab to use the full functionality of the web
server:
● Enable the web server
● Set the regional web language
● Adding entries to the user list
● HTTPS access activation
● Activating automatic updates
● Selecting the display classes of the messages
In order to enjoy the full functionality of the module information reports, message system,
and topology of the project, you should also generate and load the "Report system errors"
function.
Note
The program displays messages and diagnostics information in hexadecimal code if you
enable the web server without selecting a language.
③ User list
The user list provides the following options:
● Creating users
● Specifying execution rights
● Assigning passwords.
This assignment restricts user access exclusively to the options linked permanently to the
execution rights.
● If no users were configured in HW Config, read-only access is granted to all Web pages.
● If users are configured, users who are not logged on can access the Intro and Start
pages only.
● Configured users who are logged on are allowed to access the Web pages in accordance
with their access rights.
● If you configured a specific user with "everybody" login, other users who are not logged
on do not have to enter a password in order to access pages released for the
"everybody" group.
For example, if the user group "everybody" is granted access rights to "Read variables",
the "Variable table" Web page is always displayed in the main menu bar without a
password having been entered.
You can create a maximum of 20 users and "everybody" users.
Note
Update time
The update interval set in HW Config is the shortest update time. Larger data volumes or
multiple http/https connections increase the update time.
Note
Reducing the memory requirements of the Web SDBs
You can reduce the memory requirements of the Web SDBs by selecting only those display
classes of the messages that are to be filled in the Web SDB.
Filter settings have no effect on the printout, The printout of the "Messages" and "Module
information" web pages always shows the complete content of the pages.
Re-enable automatic updates again using the <F5> function key, or the following icon:
A dialog opens in which you can specify the file name and target directory.
To prevent incorrect display of the data in Excel, do not open the csv file with double-click.
Import the file in Excel by selecting the "Data" and "Import external data" menu commands.
Intro
The screenshot below shows the first page (Intro) called by the Web server.
Note
Skipping the Intro Web page
Select the "Skip Intro" check box in order to skip the Intro. As of now, the Web server will
take you directly to its start page. To display the intro at the start of the web server again,
click the "Intro" link on the start page.
Start page
Before the log in, the Start page offers information as shown in the figure below. The CPU
image with LEDs returns the actual CPU status at the time of data request.
Log in
You must be logged in in order to use the full functionality of the Web pages. Log in with a
user name and password specified in the WEB configuration in HW Config. You now have
corresponding authorizations to access the Web pages released for this user. (For more
information, refer to chapter: Settings in HW Config, "Web" tab (Page 97)
① "General"
"General" contains information about the CPU with whose web server you are currently
connected.
② "Status"
"Status" contains information about the CPU at the moment of the query.
Reference
Information on http/https connections, see chapter: Settings in HW Config, "Web" tab
(Page 97)
3.7.4.2 Identification
Characteristics
The CPU parameters are available on the "Identification" Web page.
① "Identification"
The "Identification" info box contains the plant and location designation and the serial
number. Plant and location designations can be configured in HW Config in the properties
dialog box of the CPU, "General" tab.
② "Order number"
The "Order number" info box contains the order numbers for the hardware and firmware (if
applicable).
③ "Version"
You can find the hardware, firmware and bootloader versions in the "Version" field.
Diagnostic buffer
The browser displays the content of the diagnostic buffer on the "Diagnostic buffer" web
page.
Requirements
The web server is activated, languages are set, and the project is compiled and downloaded
in STEP 7.
② "Event"
The "Event" info box contains the diagnostic interrupts with date and time.
③ "Details"
This field outputs detailed information about a selected event.
Select the corresponding event from the ② "Event" info field.
Configuration
Configuration procedure:
1. Open the "Object properties" dialog box from the context menu of the corresponding
CPU.
2. Select the "Web" tab, and then activate the "Enable Web server on this module"
checkbox.
3. Select up to two languages for displaying plain text messages.
4. Save and compile the project and download the configuration to the CPU.
Requirements
● You have carried out the following settings in HW Config:
– Web server activated
– Language settings carried out
– "Report system error" generated and activated
● You have compiled the project using STEP 7 HW Config, loaded the SDB container and
the user program (in particular the user program blocks generated by "Report system
error")
● The CPU is in RUN mode
Note
"Report system error"
Duration of the display: Depending on the plant extension level, the "Report system
error" display requires some time to create the initial evaluation of the state of all the
configured I/O modules and I/O systems. During this time there is no concrete display
of the status on the "Module information" web page. A "?" is displayed in the "Status"
column.
Dynamic response: "Report system error" has to be called up cyclically at least every
100 ms.
Calling up can take place in OB 1, or if the cycle time amounts to more than 100 ms,
in the watchdog interrupt OB 3x (≤ 100 ms) and in the restart OB 100.
Diagnostics support: In the "Report system error" dialog box, the "Diagnostic status
DB" check box must be selected in the "Diagnostics support" tab and a DB number
entered. This check box is normally selected as default with configured Web servers.
During the migration of old project, it may however be necessary to select this check
box.
Module information
The state of a station is indicated by means of symbols and comments on the "Module
information" web page.
① "Module information"
Depending on the selected level, the table contains information about the rack, the DP
master system, the PNIO master system, about the nodes, the individual modules, or also
the modules or submodules of the station.
③ "Details"
Further information about the selected module is provided in the "Status" and "Identification"
tabs via the "Details" link.
④ "IP address"
If a link is available, you can use it to access this Web server of the configured device you
selected.
⑤ "Topology"
The two web pages, "Topology" and "Module information", are linked. A click on "Topology"
of the selected module automatically takes you to this module in the graphic view of the
target topology on the "Topology" Web page. The module appears in the visible area of the
"Topology" web page and the device head of the selected module flashes for a few seconds.
⑥ "Filter"
You can search in the table by selecting specific criteria:
1. Select a parameter from the drop-down list box.
2. If applicable, enter the value of the selected parameter.
3. Click "Filter".
The filter criteria are also retained when you update a page.
To deactivate the filter settings, click "Filter" again.
⑦ "Status" tab
The tab contains information about the status of the selected module when a fault or
message exists.
⑧ "Identification" tab
The tab contains data on the identification of the selected module.
Note
This tab displays only the data configured offline. Online data of the modules is not included.
Reference
Refer to the "Statistics" tab in the "Communication" (Page 114) chapter.
Reference
For additional information about "Module information" and about the topic "Configuring
'Report System Errors'", refer to the STEP 7 Online Help.
3.7.4.5 Messages
Requirements
The message texts were configured in the user-specific languages. For information about
configuring message texts refer to STEP 7 and to the Service&Support pages
(http://support.automation.siemens.com/WW/view/en/23872245).
Messages
The browser displays the content of the message buffer on the "Messages" web page.
The messages cannot be acknowledged on the web server.
① "Filter"
You can filter the table based on specific criteria.
1. Select a parameter from the drop-down list box.
2. If applicable, enter the value of the selected parameter.
3. Click "Filter".
The filter criteria remain active after automatic page updates.
To deactivate the filter settings, click "Filter" again.
Effects
● The filter settings are also retained when you update a page.
● Filter settings have no effect on the print-out. A printout always contains the entire
content of the message buffer.
② "Messages"
Messages of the CPU are displayed in the info field ② in chronological order, including date
and time.
The message text parameter is an entry which contains the message texts configured for the
corresponding fault definitions.
Sorting
You can also view the individual parameters in ascending or descending order. Click in the
column header of one of the parameters:
● Message number
● Date
● Time
● Message text
● Status
● Acknowledgment
The messages are returned in chronological order when you click the "Date" entry. Incoming
and outgoing events are output at the Status parameter.
3.7.4.6 Communication
Overview
The "Communication" Web page provides more information about the following tabs:
● Parameters
● Statistics
● Resources
● Open User Communication
① "Parameters" tab
A summary of the information related to the integrated PROFINET interface of the CPU is
available in the "Parameters" tab.
② "Network connection"
This page displays information for the identification of the integrated PROFINET interface of
the corresponding CPU.
③ "IP parameters"
Information about the configured IP address and number of the subnet to which the
corresponding CPU is connected.
④ "Physical properties"
Information available in the "Physical properties" info field:
● Port number
● Link status
● Settings
● Mode
"Statistics" tab
Information about the quality of data transfers is available in the ① "Statistics" tab.
② Number of connections
Provides information on the maximum number of connection resources currently not in use.
③ Connections
Provides information about the number of connections reserved or used for PG, OP, and S7
basic communication, S7 communication, and other communication functions.
② Status information
Provides an overview of Open User Communication connections on Industrial Ethernet
which are currently being set up and of those which are already active or configured.
The table contains the following information for each connection:
● "Status" column: Connection status, including the symbol
● "ID" column: Connection ID
● "Remote IP" column: Remote IP address
● "Type" column Connection type
The possible connection states depend on the connection type. This dependency is shown in
the following table:
③ Details
Provides more information about the connection selected.
Reference
For information about the error messages possibly displayed due to cancellation or failed
attempts to set up a connection, refer to the STEP 7 Online Help.
3.7.4.7 Topology
Target topology
In the Topology Editor of STEP 7, display of the configured topology of PROFINET devices
set up on a PROFINET IO system, including corresponding status information. The display
includes neighboring PROFINET devices, provided their topological layout is configured as
well. However, a status view is not provided at this point.
The view identifies the topological assignment of PROFINET devices that have failed, the
differences between the target and actual topology, and interchanged ports.
Note
The configured target topology is always displayed in the following scenarios:
When the "Topology" web page is called via the navigation bar
When you change from the overview of PROFINET IO devices on the "Module
information" Web page to the "Topology" Web page by means of "Topology" link
If no target topology was configured, the actual topology is called by default.
Actual topology
Displays the actual topological layout of the "configured" PROFINET devices and the directly
adjacent, non-configured PROFINET devices (display of the relations, provided these can be
determined. However, the status of these adjacent PROFINET devices is not displayed).
Requirements
For error-free operation of the topology, the following conditions must be met:
● You completed the language settings.
● In the Topology Editor of STEP 7, you configured the topological interconnection of ports
(requisite for the display of the target topology and corresponding topological target
connections).
● You compiled the configuration data in HW Config.
● "Report system errors" is generated.
● The download of all project data is completed (configuration and program data).
Connection Meaning
Target topology Actual topology
green The current actual connection matches the configured target Connections detected
connection.
red Mismatch between the current actual connection and the -
configured target connection (e.g., port interchanged).
yellow Connection diagnostics not possible. Causes: -
Malfunction of communication with a device (e.g. cable
was removed)
Connection to a passive component
Connection to devices/PROFINET devices on a different
IO controller or IO subsystem.
③ Deactivated nodes
All disabled configured PROFINET nodes are indicated in light gray.
④ Interchanged ports
Interchanged ports are highlighted in red color in the target topology view. The actual
topology view indicates the actually connected ports, while the target topology view displays
the configured target connections.
Note
Displaying faulty neighbor relationships
A firmware update of the affected component is required.
Symbol Meaning
Configured and accessible PROFINET nodes
Nodes for which neighbor relations cannot be determined or for which the neighbor
relationship could not be read out completely or only with errors
① Meaning of the symbols relating to the module status of the PROFINET nodes
① "Address"
In the "Address" text field, enter the address of the operand whose behavior you want to
monitor. Invalid addresses entered are displayed in red font.
② "Display format"
Select the required display format of a variable in the drop-down list box. The variable is
displayed in hexadecimal code if it cannot be displayed in the selected display format.
③ "Value"
Outputs the value of the corresponding operand in the selected format.
Variable tables
The browser displays the content of the variable tables which support Web functionality on
the Web page of the same name.
You can monitor up to 200 variables in each variable table.
① Selection
Select one of the configured variable tables from this drop-down list box.
③ "Format"
Select the display format of the corresponding operand using the drop-down list boxes. The
drop-down list box outputs a selection of all valid display formats.
④ "Value"
This column shows the values in the corresponding display format.
⑤ "Comment"
The comment you configured is shown in order to highlight the meaning of an operand.
4. Save and compile the project and download the configuration data to the CPU.
User pages
This Web page provides the link to your programmable user page.
The Web server allows you to create user-specific HTML pages with CPU data content.
Accordingly, create the user page in a Web Editor of your choice, using the symbols from the
STEP 7 user program. The Web2PLC application included with your STEP 7 package
converts the user page you created into data blocks. These DBs are downloaded to the
CPU. System function SFC 99 "WWW" links the user program to the internal Web server on
the CPU. At the first call of SFC 99 "WWW", the link to the user page is displayed on the
CPU's Web page. A click on the link opens the user page in a new window.
No more than two user pages can be activated at any given time.
Requirements
● In your STEP 7 project, you have created the symbols for the I/O variables you want to
use on your user page
● On the "Web" tab of the CPU properties dialog, you have at least:
– activated the Web server
– entered a user in the user list
– assigned this (and other) user read/write authorizations (see chapter "Settings in HW
Config, 'Web' tab" (Page 97))
● You completed all necessary communication settings (IP address parameter, subnet
mask, etc.)
● You saved and downloaded the hardware configuration
● You created your user page in an HTML Editor of your choice:
– Automatic HTML pages, if you want to disable control the page layout by means of the
user program (requires at least one call of SFC 99)
– Manual HTML pages, if you want to enable control the page layout by means of the
user program (requires the cyclic call of SFC 99)
● You installed the Web2PLC application for STEP 7 included on your product CD
(installation path: CD2: \Optional Components\S7 Web2PLC\)
Note
The CPU should be in STOP mode before you run this operation. If memory resources
are exceeded during the download of WEB DBs in RUN mode, synchronization errors
could develop when the user program accesses the control DB.
Reference
For more information and a description of the areas that you can modify, refer to the
Web2PLC Online Help.
For additional information about the SFC 99 block, refer to the STEP 7 Online Help.
For more information on visualization with user-defined web pages on SIMATIC CPUs with
PROFINET interface, refer to the Internet
(http://support.automation.siemens.com/WW/view/en/44212999).
4.1.1 Introduction
What is PROFINET?
Within the framework of Totally Integrated Automation (TIA), PROFINET represents a
consistent continuation of:
● PROFIBUS DP, the established fieldbus and
● Industrial Ethernet, the communication bus for the cell level
Experience gained from both systems was and is being integrated into PROFINET.
PROFINET is an Ethernet-based automation standard of PROFIBUS International
(previously PROFIBUS user organization) and defines a multi-vendor communication,
automation, and engineering model.
Objectives of PROFINET
The objectives of PROFINET are:
● Open Ethernet standard for automation based on Industrial Ethernet.
Although Industrial Ethernet and standard Ethernet components can be used together,
the Industrial Ethernet devices are more rugged and therefore better suited for industrial
environments (temperature, resistance, etc.)
● Use of TCP/IP and IT standards
● Automation with real-time Ethernet
● Seamless integration of fieldbus systems
352),1(7
&RPSRQHQWYLHZ ,2GDWDYLHZ
352),1(7&%$ 352),1(7,2
'LVWULEXWHGLQWHOOLJHQFH 'LVWULEXWHG,2V
3ODQWZLGHHQJLQHHULQJ 8VXDO,2YLHZLQ67(3
3&' *6'
352),1(7&RPSRQHQW'HVFULSWLRQ *HQHULF6WDWLRQ'HVFULSWLRQ
2QHFDEOH,7VWDQGDUGVVWDQGDUGDSSOLFDWLRQV
SURWRFROVFRQWUROOHUHWF
Component Based Automation divides the entire plant into various functions. These
functions are configured and programmed.
PROFINET IO provides you with a view of the plant that is very similar to the PROFIBUS
view. You continue to configure and program the individual programmable controllers.
Reference
Further information
● on PROFINET IO and PROFINET CBA is available in the PROFINET system description.
For differences and similarities between PROFIBUS DP and PROFINET IO, refer to the
From PROFIBUS DP to PROFINET IO programming manual.
● For detailed information about PROFINET CBA, refer to the documentation on
SIMATIC iMap and Component Based Automation.
Functions of PROFINET IO
The following graphic shows the new functions in PROFINET IO:
6ZLWFK
5RXWHU 3*3&
352),1(7,26\VWHP
,(
3 3 3 3
,(3%OLQN
6ZLWFK 3 3
3%
3 3
1 '3PDVWHU
2 '3PDVWHU
352),1(7,26\VWHP
8
&38 L'HYLFH 352),1(7,26\VWHP &38 ,GHYLFH
31'3 ,2
9 FRQWUROOHU 31'3
3
,2 (76 3 ,2 (76 ,2 (76 ,2 (76 ,2 (76
GHYLFH GHYLFH GHYLFH GHYLFH GHYLFH
3
3
3 3 3 3 7 3 3 6 3 3 3 3 3 4 5 '3PDVWHU
'3PDVWHU
6KDUHG'HYLFH
The CPU 319-3 PN/DP ① Here you can see that a CPU can be both the IO controller for an IO device and the DP
operates as IO controller for master for a DP slave:
PROFINET system 2 and, CPU 319-3 PN/DP ① is the IO controller for the IO devices
at the same time, as ET 200S ⑥ and ET 200S ⑦, and for the intelligent device CPU 319-3 PN/DP ⑧.
DP master on the
Moreover, CPU319-3 PN/DP ① shares the
PROFIBUS. In addition to
other IO devices, this IO IO device ET 200S ③ with IO controller IM 154-8 CPU ②, which means that the
controller is used to operate CPU319-3 PN/DP ① operating as controller can access only the (sub)modules it has
been assigned as controller for that
a CPU319-3 PN/DP ⑧
as intelligent device which, IO device.
in turn, operates a CPU319-3 ⑧, which is operated as intelligent device on CPU319-3 PN/DP ①, also acts
PROFINET subsystem as as IO controller and sets up its own PROFINET system 3 on which the IO device ET
IO controller. 200S ⑨ is operated.
The CPU 319-3 PN/DP ① is the DP master for one DP slave ⑪. The
DP slave ⑪ is assigned locally CPU 319-3 PN/DP ① and is not visible on the Industrial
Ethernet.
Further information
You will find further information about PROFINET in the documents listed below:
● In the System Description PROFINET
● In the From PROFIBUS DP to PROFINET IO programming manual.
This manual also provides a clear overview of the new PROFINET blocks and system
status lists.
Table 4- 1 System and standard functions which are new or have to be replaced
The table below provides an overview of SIMATIC system and standard functions which
must be emulated by other functions when migrating from PROFIBUS DP to PROFINET IO.
The following SIMATIC system and standard functions are not supported in PROFINET IO:
● SFC 7 (trigger hardware interrupt on DP master)
● SFC 11 (synchronize groups of DP slaves)
● SFC 72 (read data from communication peer within own S7 station)
● SFC 73 (write data to communication peer within own S7 station)
● SFC 74 (interrupt connection to a communication peer within own S7 station)
● SFC 103 (determine the bus topology in a DP master system)
Detailed information
For detailed information about the individual blocks, refer to the Reference Manual System
Software S7-300/400 System and Standard Functions.
Note
IO controller as sync master for IRT communication with IRT option "high performance"
For a configuration of IRT communication with "high performance" option, it is advisable
to operate the IO controller as sync master as well. Otherwise, IO devices with IRT and
RT configuration could fail as a result of sync master failure.
Additional information
For more information about the configuration of PROFINET devices, refer to the STEP 7
Online Help and to the PROFINET System Description
(http://support.automation.siemens.com/WW/view/en/19292127) manual.
Note
Startup times
The startup time depends on the number and type of modules.
Note
Prioritized startup and media redundancy
You cannot add an IO device with prioritized startup to a ring topology with media
redundancy.
Additional information
For additional information, refer to the STEP 7 Online Help and to the PROFINET System
Description (http://support.automation.siemens.com/WW/view/en/19292127) manual.
Additional information
For additional information, refer to the STEP 7 Online Help and to the PROFINET System
Description (http://support.automation.siemens.com/WW/view/en/19292127) manual.
Note
The CPU ports cannot be assigned the "changing partner ports" function unless you operate
the CPU as intelligent device. The function not available for CPU operation as IO controller.
Additional information
For additional information, refer to the STEP 7 Online Help and to the PROFINET System
Description (http://support.automation.siemens.com/WW/view/en/19292127) manual.
Note
The following components cannot be operated in isochronous mode:
Shared devices
Intelligent devices on the higher-level IO controller
Note
Restrictions of the send clocks for isochronous applications
The isochronous mode is possible on CPU 319-3 PN/DP starting at a send clock ≥ 500 μs
and on CPU 31x PN/DP starting at 1 ms. The size of the topology and length of user data
could make it necessary to increase the application cycle factor or the send clock in order to
meet time requirements.
Additional information
For additional information, refer to the STEP 7 Online Help and to the PROFINET System
Description (http://support.automation.siemens.com/WW/view/en/19292127) manual.
4.7 I-Device
The "I-Device" (intelligent IO device) functionality of a CPU facilitates data exchange with an
IO controller and operation of the CPU, for example, as intelligent preprocessing unit of sub
processes. In its role as an IO device, the I-Device is integrated accordingly into a "higher-
level" IO controller.
The functionality of the intelligent device ensures that the data is pre-processed in the user
program on the CPU. The process data acquired from central or distributed locations
(PROFINET IO or PROFIBUS DP) is preprocessed by the user program made available to a
higher-level station via
PROFINET IO device interface of the CPU.
Note
Isochronous mode
Intelligent IO devices cannot be operated in isochronous mode on higher-level IO controllers
Combination of functions
A CPU operated as intelligent IO device on a "higher-level" IO controller is, in turn, capable
of operating as sublevel IO controller that controls IO devices on a subnet.
An intelligent IO device can also be operated as shared device.
Additional information
For more information about the configuration of intelligent IO devices, refer to the STEP 7
Online Help and to the PROFINET System Description
(http://support.automation.siemens.com/WW/view/en/19292127) manual.
Note
Shared devices cannot be operated in isochronous mode.
Note
Note that the power modules and electronic modules belonging to the same potential group
of a shared IO device (e.g. ET 200S) must be assigned to the same IO controller in order to
enable the diagnosis of load voltage failure.
Additional information
For more information about shared devices and their configuration, refer to the STEP 7
Online Help and to the PROFINET System Description
(http://support.automation.siemens.com/WW/view/en/19292127) manual.
Note
IRT communication/prioritized startup
Media redundancy is not supported for operation with IRT communication or prioritized
startup.
Additional information
For additional information, refer to the STEP 7 Online Help and to the PROFINET System
Description (http://support.automation.siemens.com/WW/view/en/19292127) manual.
/RDGPHPRU\
6,(0(16
6,0$7,&
0HPRU\
&38 ORFDWHGRQ6,0$7,&
0LFUR
&DUG
0LFUR0HPRU\&DUG
6\VWHPPHPRU\
0DLQPHPRU\
Load memory
The load memory is located on the SIMATIC Micro Memory Card. The size of the load
memory corresponds exactly to the size of the SIMATIC Micro Memory Card. It is used to
store code blocks, data blocks, and system data (configuration, connections, module
parameters, etc.). Blocks that are identified as not relevant for execution are stored
exclusively in the load memory. You can also store all the configuration data for your project
on the SIMATIC Micro Memory Card.
Note
You must insert a SIMATIC Micro Memory Card into the CPU to enable loading of user
programs and operation of the CPU.
System memory
The system memory is integrated in the CPU and cannot be expanded.
It contains
● the address areas for bit memories, timers, and counters
● the process images of the inputs and outputs
● local data
Main memory
The main memory is integrated in the CPU and cannot be extended. It is used to execute the
code and process user program data. Programs only run in the main memory and system
memory.
See also
Properties of the SIMATIC Micro Memory Card (Page 158)
Retentive behavior of DBs on CPUs with firmware Can be set in the properties of the DBs in –
≥ V2.0.12 STEP 7 V5.2 + SP1 or higher.
Reference
For more information about the assignment of IP address parameters and device names,
refer to the S7-300 - Installation Operating Instructions, chapter: IP address parameters and
device name.
or or
A non-retentive DB was generated using a retentive DB was generated using SFC 82
SFC 82 "CREA_DBL" and the associated "CREA_DBL".
block attribute (ATTRIB → Bit
NON_RETAIN).
The size of the retentive main memory (for retentive data blocks) of the CPU can be found in
the chapters "Technical specifications of CPU 31x (Page 301)" and "Technical specifications
of CPU 31xC (Page 213)".
Reference
To find out which address areas are possible for your CPU, refer to the S7-300 instruction
lists and the chapters Technical specifications of the CPU 31x (Page 301) and Technical
specifications of the CPU 31xC (Page 213).
6WDUWXS 6WDUWXSSURJUDP
:ULWHSURFHVVLPDJHRIRXWSXWVWRPRGXOHV
3,2
&\FOHWLPH
3,, 5HDGLQSXWVIURPPRGXOHVDQGUHIUHVKGDWD
LQSURFHVVLPDJHRILQSXWV
8VHUSURJUDP
([HFXWHXVHUSURJUDP2%DQGDOOEORFNVFDOOHG
WKHUHLQ
=.3%H6\
CPU Firmware
CPU 312 V3.0 or higher
CPU 312C V3.3 or higher
CPU 313C V3.3 or higher
CPU 313C-2 DP V3.3 or higher
CPU 313C-2 PtP V3.3 or higher
CPU 314 V3.0 or higher
CPU 314C-2 DP V3.3 or higher
CPU 314C-2 PtP V3.3 or higher
CPU 314C-2 PN/DP V3.3 or higher
CPU 315-2 DP V3.0 or higher
CPU 315-2 PN/DP V2.5 or higher
CPU 317-2 DP V2.5 or higher
CPU 317-2 PN/DP V2.3 or higher
CPU 319-3 PN/DP V2.4 or higher
For information on the size of the process image of your CPU please refer to the technical
specifications.
Note
Currently, the variable setting of the process image only affects its update at the cycle
control point. This means that the process input image is updated up to the set PII size with
the corresponding values of the input modules existing within this address area, or the
values of the process output image up to the set POI limit are written to the output modules
existing within this address area.
This set size of the process image is ignored with respect to STEP 7 commands used to
access the process image (e.g.
A I100.0, L IW200, = Q20.0, T QD150, or also corresponding indirect addressing
commands).
These commands output up to the maximum size of the process image, however they do not
output any synchronous access errors (see technical specifications for size). Instead, they
only access the permanently existing internal memory area of the process image. The same
applies for the use of actual parameters of block call commands from the I/O area (area of
the process image).
Particularly if these process image limits were changed, you should check to which extent
your user program continues to access the process image in the area between the set and
the maximum process image size. If access to this area continues, this may mean that
changing inputs at the I/O module are no longer detected in the user program or that outputs
actually are not written to the output module and no alarm is generated.
You should also note that certain CPs may only be addressed outside of the process image.
Local data
Local data store the following:
● The temporary variables of code blocks
● The start information of the organization blocks
● Transfer parameters
● Intermediate results
Temporary variables
When you create blocks, you can declare temporary variables (TEMP) which are only
available during processing of the block and are then overwritten. These local data have a
fixed length in each OB. Local data must be initialized prior to the first read access.
Furthermore, each organization block requires 20 bytes of local data for its start information.
The CPU is equipped with a memory for storing temporary variables (local data) of blocks
which are being processed. The size of this memory area depends on the CPU. It is
distributed among the priority classes in partitions of equal size. Each priority class has its
own local data area.
CAUTION
All temporary variables (TEMP) of an OB and its subordinate blocks are stored in local
data. If you use complex nesting levels for block processing, this may cause an overflow of
the local data area.
The CPUs will change to STOP mode if you exceed the permissible size of local data for a
priority class.
Make allowances for local data required for synchronous error OBs. This is assigned to the
respective triggering priority class.
See also
Retentivity of load memory, system memory, and main memory (Page 150)
The SIMATIC Micro Memory Card as memory module for the CPU
The memory module used on your CPU is a SIMATIC Micro Memory Card. You can use
MMCs as load memory or as portable data carrier.
Note
The SIMATIC Micro Memory Card must be inserted in the CPU to permit operation.
Note
You can either store user and configuration data or the operating system on the SIMATIC
Micro Memory Card.
CAUTION
Data on a SIMATIC Micro Memory Card can be corrupted if you remove the card while it is
being accessed for writing. In this case, you may have to delete the SIMATIC Micro
Memory Card on your PG, or format the card in the CPU. Never remove a SIMATIC Micro
Memory Card in RUN mode. Always remove it when power is off, or when the CPU is in
STOP state, and when the PG is not writing to the card. When the CPU is in STOP mode
and you cannot not determine whether or not a PG is writing to the card (e.g. load/delete
block), disconnect the communication lines.
CAUTION
To prevent loss of data, do not exceed the maximum number of delete/write operations.
Reference
Additional information:
● on the SSL partial list can be found in the CPU 31xC and CPU 31x instruction list, or in
the Reference Manual System Software S7-300/400 System and Standard Functions
● on resetting the CPU can be found in the Operating Instructions CPU 31xC and CPU31x,
Commissioning, Commissioning Modules, CPU Memory Reset by means of Mode
Selector
See also
Operator controls and indicators: CPU 313C-2 DP (Page 30)
Operator controls and indicators: CPU 312 and CPU 314 (Page 45)
Operator controls and indicators: CPU 315-2 DP and CPU 317-2 DP (Page 47)
Operator controls and indicators: CPU 315-2 PN/DP and CPU 317-2 PN/DP (Page 50)
Operator controls and indicators: CPU 319-3 PN/DP (Page 52)
Memory functions
Memory functions are used to generate, modify or delete entire user programs or specific
blocks. You can also ensure that your project data is retained by archiving it. If you created a
new user program, use a PG/PC to download the complete program to the SIMATIC Micro
Memory Card
5.2.2 Download of the user program to the SIMATIC Micro Memory Card in the CPU
3URJUDPPLQJGHYLFH
&DUG
0HPRU\
0LFUR
6,0$7,&
6,(0(16
&RGHEORFNV &RGHEORFNV
5XQWLPHUHOHYDQW
3DUWVRIWKHFRGH
DQGGDWDEORFNV
'DWDEORFNV 'DWDEORFNV DVZHOODV
FRQILJXUDWLRQ
6\VWHPGDWDEORFNV 6\VWHPGDWDEORFNV GDWD
&RPPHQWV
,IDOORIWKHPDLQPHPRU\DUHDLVQRWUHWHQWLYHWKHUHWHQWLYHDUHDLV
LQGLFDWHGLQ67(3PRGXOHVWDWXVDVUHWHQWLYHPHPRU\<RXFDQQRW
UXQWKHSURJUDPXQWLODOOWKHEORFNVDUHGRZQORDGHG
6\PEROV
Note
This function is only permitted when the CPU is in STOP mode. The load memory is empty if
the load operation could not be completed due to power loss or impermissible blocks.
Important notes
Note
Supported blocks
S7-Block Privacy can only be used to encrypt function blocks (FBs) and functions (FCs).
Once encrypted, the blocks can no longer be edited or monitored in STEP 7. The encryption
also prevents execution of all test and commissioning functions, e.g. block status, or
breakpoints.
Requirements
You can download encrypted blocks to the following CPUs: CPU31x V3.2.1 or higher
The "S7-Block Privacy" add-on packages supplied with STEP 7 must be installed. This is the
only tool that you can use for strong encryption of the blocks.
General procedure
To encrypt the blocks, proceed as follows:
1. In STEP 7, right-click the block container and select "Block Privacy ...".
2. The S7BLP tool is launched.
3. Select the block (multiple selection is possible).
4. Right-click the block to be encoded and select "Encrypt Block...". The "Encrypt Block"
dialog opens.
5. Select whether to include decompilation data in the encryption.
Note
All attempts to decompile the block will fail if you deactivate the check box!
6. Enter a key string with a length of at least 12 characters in both fields. Make sure you
keep the key in a safe place. Click "OK" to launch the encryption.
Result: The block is encrypted. The following icons identify this status:
Note
Command execution time
Usually, the command execution time is prolonged because encrypted blocks cannot be
processed in fully optimized state. The final cycle time can only be determined with
encrypted blocks.
Note
Prolonged runtimes during POWER ON/CPU memory reset/download
The CPU startup time, the time required for CPU memory reset, and the block download
time can be prolonged significantly.
Additional information
For more information, refer to the STEP 7 Online Help, "S7-Block Privacy" section.
WARNING
When transferring blocks/a user program, all data stored under the same name on the
SIMATIC Micro Memory Card is overwritten.
After loading runtime-relevant blocks, their content is transferred to the main memory and
activated.
Uploading blocks
Unlike download operations, an upload operation is the transfer of specific blocks or a
complete user program from the CPU to the PG/PC. The block content is here identical with
that of the last download to the CPU. Runtime-relevant DBs are an exception, because their
actual values are transferred. An upload of blocks or of the user program from the CPU in
STEP 7 does not influence the assignment of CPU memory space.
Deleting blocks
When you delete a block, it is deleted from the load memory. In STEP 7, you can also delete
blocks in the user program (DBs also with SFC 23 "DEL_DB"). Main memory used by this
block is released.
Compressing blocks
When blocks are compressed, gaps between memory objects in the load memory/main
memory as a result of load/delete operations are eliminated. The free memory space is
made available as one block. Compressing is possible when the CPU is in RUN or in STOP
mode.
Note
This function is only permitted when the CPU is in STOP mode. The load memory will be
empty if the function cannot be completed due to a power failure.
Memory reset
After the insertion/removal of a Micro Memory Card, a memory reset restores defined
conditions to permit a CPU restart (warm restart). A memory reset restructures the CPU's
memory management. All blocks in the load memory are retained. All runtime-relevant
blocks are transferred once again from the load memory to the main memory, in particular to
initialize the data blocks in the main memory (restore initial values).
Reference
Also refer to Memory reset using the CPU's mode selector in the section Commissioning in
the CPU 31xC and CPU 31x Operating Instructions.
5.2.5 Recipes
Introduction
A recipe represents a collection of user data. You can implement a simple recipe concept
using non-runtime-relevant DBs. In this case, the recipes should have the same structure
(length). One DB should exist per recipe.
Processing sequence
Recipe is to be stored in the load memory:
● The various data records of recipes are created as non-runtime-relevant DBs in STEP 7
and then downloaded to the CPU. Therefore, recipes only occupy load memory space
and no main memory space.
Working with recipe data:
● With SFC83 "READ_DBL", the user programs reads the data record of the current recipe
from the DB in the load memory to a runtime-relevant DB in the main memory. As a
result, the main memory only has to accommodate the data of one record. The user
program can now access data of the current recipe. The figure below shows how to
handle recipe data:
/RDGPHPRU\
6,0$7,&0LFUR0HPRU\&DUG
0DLQPHPRU\
&38
5HFLSH 6)&5($'B'%/
&XUUHQW
5HFLSH UHFLSH
6)&:5,7B'%/
5HFLSHQ
Note
The active system functions SFC 82 to 84 (active access to the SIMATIC Micro Memory
Card) have a strong influence on PG functions (e.g. block status, variable status, load,
upload, open block). This typically reduces performance (compared to passive system
functions) by the factor 10.
Note
To prevent loss of data, do not exceed the maximum number of delete/write operations.
Also refer to the SIMATIC Micro Memory Card (MMC) section in the "Structure and
Connections of a CPU" chapter.
CAUTION
Data on a SIMATIC Micro Memory Card can be corrupted if you remove the card while it
is being accessed for writing. In this case, you may have to delete the SIMATIC Micro
Memory Card on your PG, or format the card in the CPU. Never remove a SIMATIC
Micro Memory Card in RUN mode. Always remove it when power is off, or when the
CPU is in STOP state, and when the PG is not writing to the card. When the CPU is in
STOP mode and you cannot not determine whether or not a PG is writing to the card
(e.g. load/delete block), disconnect the communication lines.
Introduction
Measured values are generated when the CPU executes the user program. These values
are to be logged and analyzed.
Processing sequence
Acquisition of measured values:
● The CPU writes all measured values to a DB (for alternating backup mode in several
DBs) which is located in main memory.
Measured value logging:
● Before the data volume can exceed the main memory capacity, you can call
SFC 84 "WRIT_DBL" in the user program to swap measured values from the DB to load
memory. The figure below shows how to handle measured value log files:
/RDGPHPRU\
6,0$7,&0LFUR0HPRU\&DUG
0DLQPHPRU\
0HDVXUHGYDOXH 6)&&5($B'%/ &38
&XUUHQW
0HDVXUHGYDOXH PHDVXUHG
6)&:5,7B'%/ YDOXHV
0HDVXUHGYDOXHQ
● You can call SFC 82 "CREA_DBL" in the user program to generate new (additional) non-
runtime-relevant DBs in load memory which do not require main memory space.
Reference
For detailed information on SFC 82, refer to the System Software for S7-300/400, System
and Standard Functions Reference Manual, or directly to the STEP 7 Online Help.
Note
SFC 82 is terminated and an error message is generated if a DB already exists under the
same number in load memory and/or main memory.
This data written to the load memory is portable and is retained in case of a memory reset.
Evaluation of measured values:
● Measured value DBs saved to the load memory can be uploaded and evaluated by other
communication peers (e.g. PG, PC, etc.).
Note
The active system functions SFC 82 to 84 (active access to the SIMATIC Micro Memory
Card) have a strong influence on PG functions (e.g. block status, variable status, load,
upload, open block). This typically reduces performance (compared to passive system
functions) by the factor 10.
Note
For CPUs with firmware V2.0.12 or higher, you can also generate non-retentive DBs
using SFC 82 (parameter ATTRIB → NON_RETAIN bit.)
Note
To prevent loss of data, do not exceed the maximum number of delete/write operations.
For additional information, refer to the technical specifications of the SIMATIC Micro
Memory Card in the "General Technical Specifications" of your CPU.
CAUTION
Data on a SIMATIC Micro Memory Card can be corrupted if you remove the card while it
is being accessed for writing. In this case, you may have to delete the SIMATIC Micro
Memory Card on your PG, or format the card in the CPU. Never remove a SIMATIC
Micro Memory Card in RUN mode. Always remove it when power is off, or when the
CPU is in STOP state, and when the PG is not writing to the card. When the CPU is in
STOP mode and you cannot not determine whether or not a PG is writing to the card
(e.g. load/delete block), disconnect the communication lines.
Functional principles
Using the Save project to Memory Card and Fetch project from Memory Card functions, you
can save all project data to a SIMATIC Micro Memory Card, and retrieve these at a later
time. For this operation, the SIMATIC Micro Memory Card can be located in a CPU or in the
MMC programming unit of a PG or PC.
Project data is compressed before it is saved to a SIMATIC Micro Memory Card, and
uncompressed on retrieval.
Note
In addition to project data, you may also have to store your user data on the MMC. You
should therefore select a SIMATIC Micro Memory Card with sufficient memory space.
A message warns you of insufficient memory capacity on your SIMATIC Micro Memory Card.
The volume of project data to be saved corresponds with the size of the project's archive file.
Note
For technical reasons, you can only transfer the entire contents (user program and project
data) using the Save project to memory card function.
Overview
This section contains detailed information about the following topics:
● Cycle time
● Response time
● Interrupt response time
● Sample calculations
Introduction
This section explains what we mean by the term "cycle time", what it consists of, and how
you can calculate it.
Process image
During cyclic program processing, the CPU requires a consistent image of the process
signals. To ensure this, the process signals are read/written prior to program execution.
Subsequently, during program processing the CPU does not access the signal modules
directly when addressing the input (I) and output (O) address areas, but rather it accesses
the CPU's system memory area containing the I/O process image.
Phase Sequence
1 The operating system initiates cycle time monitoring.
2 The CPU copies the values from the process output images to the output modules.
3 The CPU reads the status of the inputs at the input modules and updates the process input
image.
4 The CPU processes the user program in time slices and executes the instructions specified
in the program.
5 At the end of a cycle, the operating system executes pending tasks, e.g. loading and deleting
of blocks.
6 The CPU then returns to the start of the cycle, and restarts cycle time monitoring.
3,2 3URFHVVRXWSXWLPDJH
3,, 3URFHVVLQSXWLPDJH
6&& 6FDQF\FOHFKHFNSRLQW
2SV\V 2SHUDWLQJV\VWHP
3URFHVVLPDJHRIRXWSXWV 2
3,2
7LPHVOLFHVHDFKPV
3
&\FOHWLPH
3URFHVVLPDJHRILQSXWV
3,,
8VHUSURJUDP
4
&\FOHFRQWUROSRLQW&&3 5
2SHUDWLQJV\VWHPRSV\V
7LPHVOLFHVHDFKPV
2SHUDWLQJV\VWHP
8VHUSURJUDP
&RPPXQLFDWLRQ
With the S7-300 CPUs, the data are accessed with an OP/TP (operator control and
monitoring functions) exclusively at the cycle control point (for data consistency, see
Technical Specifications). Program execution is not interrupted by the operator control and
monitoring functions.
Introduction
The cycle time is derived from the sum of the following influencing factors.
Influencing factors
The table below shows the factors influencing the cycle time.
Factors Comment
Transfer time for the process image ... See table "Data for calculating the typical transfer time
output (PIQ) and the process image of for the process image"
the inputs (PII)
User program execution time ... Is calculated from the execution times of the different
instructions, see S7-300 instruction list
Operating system execution time at cycle ... See table "Typical operating system execution times at
control point the cycle control point"
Extension of cycle time due to ... You configure the maximum permitted communication
communication load load on the cycle as a percentage in STEP 7, see the
Programming with STEP 7. manual.
Load on cycle times due to interrupts Interrupt requests can always stop user program
execution. See table "Typical extended cycle time due to
nested interrupts".
Table 6- 3 Formula for calculating the typical transfer time for the process image (PI):
Table 6- 4 CPU 31xC: Data for calculating the process image (PI) transfer time
Table 6- 5 CPU 31x: Data for calculating the process image (PI) transfer time
Table 6- 6 Typical operating system processing time at the cycle control point (CCP)
Interrupt type
CPU Hardware Diagnostic Time-of-day Time-delay Cyclic interrupt
interrupt interrupt interrupt interrupt
312C 300 μs 300 μs 400 μs 250 μs 250 μs
313C 250 μs 250 μs 300 μs 220 μs 200 μs
313C-2 250 μs 250 μs 300 μs 220 μs 200 μs
314C-2 250 μs 250 μs 300 μs 200 μs 170 μs
312 300 μs 300 μs 400 μs 200 μs 200 μs
314 250 μs 250 μs 300 μs 170 μs 150 μs
315 200 μs 200 μs 200 μs 150 μs 140 μs
317 160 μs 180 μs 150 μs 80 μs 80 μs
319 120 μs 100 μs 100 μs 50 μs 40 μs
The program runtime at interrupt level must be added to this time extension.
The corresponding times are added together if the program contains nested interrupts.
You have to add the program execution time of the interrupt OB to this increase. The times
required for multiple nested interrupt/error organization blocks are added accordingly.
Overview
The cycle time (Tcyc) length is not the same in every cycle. The figure below shows different
cycle times Tcyc1 and Tcyc2. The cycle time Tcyc2 is longer than Tcyc1, because the cyclically
executed OB 1 is interrupted by a time-of-day interrupt OB (here: OB 10).
7]\N 7]\N
2%
Configured communication load for PG/OP communication, S7 communication and PROFINET CBA
The CPU operating system continuously provides a specified percentage of total CPU
processing performance (time slice technology) for communication tasks. Processing
performance not required for communication is made available to other processes.
In the hardware configuration you can specify a communication load value between 5% and
50%. The default value is 20%.
Maximum load generated by communication functions increases by approx. 10% (e.g. from
50% to 60%) if "prioritized OCM communication" is activated.
Cycle time prolongation depends on the load caused by communication processes and can
fluctuate.
To calculate the factor that determines maximum extension of the cycle time, you can use
the following formula:
● Prioritized OCM communication disabled:
100 / (100 – configured communication load in %)
● Prioritized OCM communication enabled:
100 / (100 – (configured communication load in % + 10%))
7LPHVOLFHPV
8VHUSURJUDPLQWHUUXSWLRQ
2SHUDWLQJV\VWHP
8VHUSURJUDP
$SHUFHQWDJHIURPDQGFDQEHVHWLQ
WKHSDUDPHWHUV
&RPPXQLFDWLRQ IRUSULRULWL]HG2&0FRPPXQLFDWLRQ
&\FOHWLPH
PV
,QWKLVDUHD\RXFDQVHWWKH
FRPPXQLFDWLRQORDG
PV
PV
PV
PV
PV
&RPPXQLFDWLRQORDG
Note
Change the value of the "communication load" parameter to check runtime effects on the
cycle time.
You must consider the communication load when setting the maximum cycle time, otherwise
time errors may occur.
Tips
● Use the default setting whenever possible.
● Increase this value only if the CPU is used primarily for communication and if the user
program is not time critical.
● In all other situations you should only reduce this value.
Runtimes
The runtimes of the testing and commissioning functions are operating system runtimes, so
they are the same for every CPU. How the cycle time is extended as a result of active testing
and commissioning functions is shown in the table below.
Setting process and test mode through parameter assignment (for CPUs < V2.8)
For process mode, the maximum permissible cycle load due to communication is not only
specified in "Cycle load due to communication". It must also be set via "Process mode ⇒
Maximum permitted increase of cycle time as a result of test functions". Thus, the
parameterized time is monitored absolutely in process mode, and data acquisition is stopped
if a timeout occurs. This is how STEP 7 stops data requests in loops before a loop ends, for
example. When running in test mode, the complete loop is executed in every cycle. This can
significantly increase cycle time.
Setting process and test mode in the LAD/FBD/STL editor (for CPUs ≥ V2.8)
With the CPUs ≥ V2.8, switching between process and test mode is carried out directly in the
LAD/FBD/STL editor in the "Test/Mode" menu.
Loops in the test and process mode are handled differently in the Status block.
● Process mode: First loop iteration is displayed
● Test mode: Last loop iteration is displayed. Leads to a significant cycle time increase for
many loop iterations.
In terms of function, there is also no difference between process mode and test mode.
Note
It is also possible to set breakpoints in test mode.
Reference
Information about the SFCs 112 to 114 is available in the STEP 7 Online Help.
Note
The use of CBA with cyclical PROFINET CBA interconnections requires the use of
switches to maintain the specified performance. 100 Mbps full-duplex operation is
mandatory with cyclical PROFINET CBA interconnections.
The following graphic shows the configuration that was used for the measurements.
+0,23&
,QGXVWULDO(WKHUQHW
1XPEHURIPRQLWRUHG
LQWHUFRQQHFWLRQVLQ
6,0$7,&L0DS 352),1(7 352),1(7
RU23& 5HPRWH 5HPRWH 1XPEHU
SHHU SHHU
352),1(7GHYLFH
ZLWKSUR[\IXQFWLRQDOLW\
&38[31'3
352),%86
The above graphic shows Number of connections for CPU Quantity for CPU 319
incoming/outgoing remote connections 315, CPU 317 and CPU 314C-2
PN/DP
Cyclic interconnection via Ethernet 200, scan cycle rate: every 10 ms 300, scan cycle rate: every 10 ms
Acyclic interconnection via Ethernet 100, scan cycle rate: every 500 ms 100, scan cycle rate: every 200 ms
Interconnections from the PROFINET device 16 x 4 16 x 4
with proxy functionality to the PROFIBUS
devices
Interconnections of PROFIBUS devices 16 x 6 16 x 6
among each other
&\FOHWLPHLQ˩V
&38b&b31'3
:LWKUHPRWHSDUWQHUV
&38b&b31'3
:LWKUHPRWHSDUWQHUV
1XPEHURIF\FOLF352),1(7&%$LQWHUFRQQHFWLRQV
&\FOHWLPHLQ˩V
&38ZLWKUHPRWH
SDUWQHUV
&38ZLWKUHPRWH
SDUWQHUV
1XPEHURIF\FOLF352),1(7&%$LQWHUFRQQHFWLRQV
&38ZLWKUHPRWH
SDUWQHUV
&38ZLWKUHPRWH
SDUWQHUV
1XPEHURIF\FOLF352),1(7&%$LQWHUFRQQHFWLRQV
&\FOHWLPHLQ˩V
&38ZLWKUHPRWH
SDUWQHUV
&38ZLWKUHPRWH
SDUWQHUV
1XPEHURIF\FOLF352),1(7&%$LQWHUFRQQHFWLRQV
Fluctuation range
The actual response time lies between the shortest and the longest response time. You must
always assume the longest response time when configuring your system.
The shortest and longest response times are contemplated below to give you an idea of the
fluctuation range of the response time.
Factors
The response time depends on the cycle time and the following factors:
● Delay of the inputs and outputs of signal modules or integrated I/Os.
● Additional update times for PROFINET IO
● Additional DP cycle times on PROFIBUS DP
● Execution in the user program
Delay of inputs/outputs
Make allowances for the following module-specific delay times:
The delay times can be found in the technical specifications of the signal modules S7-300
Automation System Module Data.
%XVF\FOHWLPH
PV
PV
%DXGUDWH0ESV
PV
PV
PV
PV
PV
%DXGUDWH0ESV
PV
PLQ
VODYHLQWHUYDO 1XPEHURI'3VODYHV
PD[QXPEHUGHSHQGLQJRQ&38
With multi-master operation on a PROFIBUS DP network, you must make allowances for the
DP cycle time for each master. That is, you will have to calculate the times for each master
separately and then add up the results.
=.3%H6\
,QSXWGHOD\
3,2 ,PPHGLDWHO\EHIRUHWKH3,,LVUHDGWKHVWDWHRIWKH
UHOHYDQWLQSXWFKDQJHV7KHFKDQJHLQLQSXWVLJQDOLV
3,, WKHUHIRUHDOVRLQFOXGHGLQWKH3,,
5HVSRQVHWLPH
8VHUSURJUDP 7KHFKDQJHLQLQSXWVLJQDOLVSURFHVVHGKHUHE\WKHXVHU
SURJUDP
=.3%H6\
7KHXVHUSURJUDPUHDFWLRQWRWKHFKDQJHLQLQSXWVLJQDOLVWUDQVIHUUHGWR
3,2 WKHRXWSXWVKHUH
2XWSXWGHOD\
Calculation
The (shortest) response time is calculated as follows:
See also
Overview: Response time (Page 187)
7KHVWDWXVFKDQJHVDWWKHPRQLWRUHGLQSXWZKLOH
3,, UHDGLQJWKH3,,7KHFKDQJHRIWKHLQSXWVLJQDOLV
QRZLJQRUHGLQWKH3,,
8VHUSURJUDP
=.3%H6\
5HVSRQVHWLPH
3,2
+HUHWKHFKDQJHRIWKHLQSXWVLJQDOLVLQFOXGHGLQWKH3,,
3,,
8VHUSURJUDP +HUHWKHFKDQJHRIWKHLQSXWVLJQDOLVSURFHVVHGE\WKHXVHUSURJUDP
=.3%H6\
+HUHWKHXVHUSURJUDPUHVSRQVHWRWKHFKDQJHRIWKHLQSXWVLJQDO
3,2 LVWUDQVIHUUHGWRWKHRXWSXWV
'HOD\RIRXWSXWV
XSGDWHWLPHIRU352),1(7,2RU'3F\FOHWLPHRQ
352),%86'3
GHSHQGVRQZKHWKHU352),1(7,2RU
352),%86'3LVXVHG
Calculation
The (longest) response time is calculated as follows:
See also
Overview: Response time (Page 187)
See also
Shortest response time (Page 189)
Longest response time (Page 190)
Introduction
This section gives you an overview of how to calculate the cycle/response time.
Cycle time
1. Determine the user program runtime with the help of the instruction list.
2. Add 10% to the value of the user program runtime.
3. Calculate and add the transfer time for the process image (refer to Chapter Calculating
the cycle time (Page 174)). Corresponding guide values are found in the table Data for
calculating the process image transfer time.
4. Add the processing time at the cycle control point. Corresponding guide values are found
in the table Operating system processing time at the cycle control point.
5. Include in your calculation the extensions as a result of test and commissioning functions,
as well as cyclic PROFINET interconnections. You can find these values in the table
Cycle time extension due to test and commissioning functions.
The final result is the cycle time.
Cycle time extension due to interrupts and communication and the shortest/longest response time
1. Multiply the cycle time by the following factor:
100 / (100 – configured communication load in %)
2. Use the instruction list to calculate the runtime of the program sections which process the
interrupts. To do this, add the corresponding value from the table "Typical cycle time
extension due to nested interrupts".
3. Multiply this value by the factor from step 1.
4. Add the value of the interrupt-processing program sequences to the theoretical cycle
time, multiplied by the number of times that the interrupt will be triggered/probably will be
triggered.
The result is an approximated actual cycle time. Note down the result.
See also
Cycle extension through Component Based Automation (CBA) (Page 183)
Example I
You have set up an S7300 and equipped it with following modules in rack 0:
● a CPU 314C-2 PN/DP
● 2 digital input modules SM 321; DI 32 x DC 24 V (each with 4 bytes in the PI)
⇒ 8 bytes in the process image
● 2 digital output modules SM 322; DO 32 x DC 24 V/0,5 A (each with 4 bytes in the PI)
⇒ 8 bytes in the process image
User program
● According to the instruction list, the user program runtime is 5 ms.
● There is no active communication.
Example II
You have configured an S7300 and equipped it with the following modules in 2 racks:
● a CPU 314C-2 PN/DP
Parameterization of the cycle load as a result of communication: 40 %
● 4 digital input modules SM 321; DI 32 x DC 24 V(each with 4 bytes in the PI)
⇒ 16 bytes in the process image
● 3 digital output modules SM 322; DO 16 x DC 24 V/0.5 A(each with 2 bytes in the PI)
⇒ 6 bytes in the process image
● 2 analog input modules SM 331; AI 8 x 12 Bit (not in the PI)
⇒ 0 bytes in the process image
● 2 analog output modules SM 332; AO 4 x 12 Bit (not in the PI)
⇒ 0 bytes in the process image
User program
● According to the instruction list, the user program runtime is 10.0 ms.
Calculation
The formulas below show how you can calculate the minimum and maximum interrupt
response times.
Calculation of the minimum interrupt response Calculation of the maximum interrupt response
time time
Minimum interrupt response time of the CPU Maximum interrupt response time of the CPU
+ Minimum interrupt response time of the signal + Maximum interrupt response time of the signal
modules modules
+ PROFINET IO update time + 2 x PROFINET IO update time
(only if PROFINET IO is used) (only if PROFINET IO is used)
+ DP cycle time on PROFIBUS DP + 2 x DP cycle time on PROFIBUS DP
(only if PROFIBUS DP is used) (only if PROFIBUS DP is used)
__________________________________________ __________________________________________
= Shortest interrupt response time = Longest interrupt response time
Signal modules
The hardware interrupt response time of signal modules is determined by the following
factors:
● Digital input modules
Hardware interrupt response time = internal interrupt processing time + input delay
You will find these times in the data sheet for the respective digital input module.
● Analog input modules
Hardware interrupt response time = internal interrupt processing time + conversion time
The internal interrupt processing time for analog input modules can be neglected. The
conversion times can be found in the data sheet for the individual analog input modules.
The diagnostic interrupt response time of signal modules is equivalent to the period that
expires between the time a signal module detects a diagnostic event and the time this signal
module triggers the diagnostic interrupt. This short time can be neglected.
Definition of "reproducibility"
Time-delay interrupt:
The time between the call of the first instruction of the interrupt OBs up to the programmed
time of interrupt.
Cyclic interrupt:
The fluctuation range of the interval between two successive calls, measured between the
respective initial operations of the interrupt OB.
Reproducibility
The following times apply for the CPUs described in this manual, with the exception of CPU
319:
● Time-delay interrupt: ±100 μs
● Cyclic interrupt: ±100 μs
The following times apply in the case of CPU 319:
● Time-delay interrupt: ±60 μs
● Cyclic interrupt: ±60 μs
These times only apply if the interrupt can actually be executed at this time and if it is not
delayed, for example, by higher-priority interrupts or queued interrupts of equal priority.
Design
You have set up an S7-300, consisting of a CPU 314C-2 PN/DP and 4 digital modules, in the
central rack. One digital input module is the SM 321; DI 16 x DC 24 V, with hardware and
diagnostic interrupts.
You have enabled only the hardware interrupt in your CPU and SM parameterization. You
decided not to use time-driven processing, diagnostics or error handling. You have set a
cycle load of 20% due to communication.
You have parameterized an input delay of 0.5 ms for the digital input modules.
No activities are required at the cycle control point.
Calculation
In this example, the hardware interrupt response time is based on following time factors:
● Hardware interrupt response time of CPU 314C-2 PN/DP: 0.5 ms
● Extension due to communication according to the formula (refer to Overview: Interrupt
response time (Page 196)):
200 μs + 1000 μs x 20% = 400 μs = 0.4 ms
● The hardware interrupt response time of the SM 321; DI 16 x DC 24 V:
– Internal interrupt processing time: 0.25 ms
– Input delay: 0.5 ms
● Since neither PROFIBUS DP nor PROFINET IO are being used, you do not have to
make allowances for any DP cycle times on PROFIBUS DP or for PROFINET IO update
times.
The hardware interrupt response time is equivalent to the sum of the listed time factors:
Process interrupt response time = 0.5 ms + 0.4 ms + 0.25 ms + 0.5 ms = 1.65 ms.
This calculated hardware interrupt response time expires between the time a signal is
received at the digital input and the first operation in OB 40.
Introduction
Contents of general technical specifications:
● standards and test values satisfied by modules of the S7-300 automation system
● test criteria of S7-300 modules.
Note
Information about the nameplate
You will find the current identifiers and approvals on the rating plate of the respective
product.
Safety information
WARNING
WARNING
Explosion hazard
If you replace components, compliance with Class I, DIV. 2 could be compromised.
WARNING
This device is only appropriate for use in Class I, Div. 2, Group A, B, C, D, or in non-
hazardous areas.
CE Label
UL approval
CSA approval
cULus approval
FM approval
ATEX approval
,,*([Q$,,77
WARNING
Note
The UL/CSA or cULus approvals for your product are specified by the identifiers on the
rating plate.
IEC 61131
The S7-300 automation system satisfies requirements and criteria to
IEC 61131-2 (Programmable Controllers, Part 2: Equipment requirements and tests).
Marine approval
Classification societies:
● ABS (American Bureau of Shipping)
● BV (Bureau Veritas)
● DNV (Det Norske Veritas)
● GL (Germanischer Lloyd)
● LRS (Lloyds Register of Shipping)
● Class NK (Nippon Kaiji Kyokai)
Note
The S7-300 is intended for use in industrial environments and can cause interference on
radio/television reception if operated in residential areas.
To operate an S7-300 in a residential area, it's RF emission must comply with Limit Value
Class B to EN 55011.
Suitable measures for achieving RF interference level Class B include, for example:
● S7-300 installation in grounded switch cabinets / cubicles
● Use of noise filters in the supply lines
Definition
Electromagnetic compatibility (EMC) is the ability of an electrical installation to function
satisfactorily in its electromagnetic environment without interfering with that environment.
The S7-300 modules also satisfy requirements of EMC legislation for the European domestic
market. Compliance of the S7-300 system with specifications and directives on electric
design is prerequisite.
Pulse-shaped disturbance
The table below shows the electromagnetic compatibility of S7 modules in areas subject to
pulse-shaped interference.
Additional measures
When connecting an S7-300 system to the public network, always ensure compliance with
Limit Value Class B to EN 55022.
Sinusoidal disturbance
The table below shows the electromagnetic compatibility of the S7-300 modules in areas
subject to sinusoidal interference.
● RF radiation
● RF coupling
Introduction
The shipping and storage conditions of S7-300 modules surpass requirements to IEC 61131-
2. The data below apply to modules shipped or put on shelf in their original packing.
The modules are compliant with climatic conditions to IEC 60721-3-3, Class 3K7 (storage),
and with IEC 60721-3-2, Class 2K4 (shipping.)
Mechanical conditions are compliant with IEC 60721-3-2, Class 2M2.
Operating conditions
S7-300 systems are designed for stationary use in weather-proof locations. The operating
conditions surpass requirements to DIN IEC 60721-3-3.
● Class 3M3 (mechanical requirements)
● Class 3K3 (climatic requirements)
Reducing vibrations
If your S7-300 modules are exposed to severe shock or vibration, take appropriate measures
to reduce acceleration or the amplitude.
We recommend the installation of the S7-300 on damping materials (for example, rubber-
bonded-to-metal mounting.)
Test voltage
Proof of dielectric strength must be provided in the type test at a test voltage to IEC 61131-2:
Protection class
Protection class I to IEC 60536, i.e., a protective conductor must be connected to the
mounting rail!
Width of CPU
CPU Width
CPU 312C 80 mm
CPU 313C 120 mm
CPU 313C-2 PtP 80 mm
CPU 313C-2 DP 80 mm
CPU 314C-2 PtP 120 mm
CPU 314C-2 DP 120 mm
CPU 314C2 PN/DP 120 mm
Type of Micro Memory Order number Required for a firmware update via SIMATIC
Card Micro Memory Card
64 KB 6ES7953-8LFxx-0AA0 -
128 KB 6ES7953-8LGxx-0AA0 -
512 KB 6ES7953-8LJxx-0AA0 -
2 MB 6ES7953-8LLxx-0AA0 Minimum requirement for CPUs without DP
interface
4 MB 6ES7953-8LMxx-0AA0 Minimum requirements for CPUs with DP
interface, but without PN interface
8 MB 6ES7953-8LPxx-0AA0 Minimum requirements for CPUs with DP and
PN interface
Table 8- 2 Maximum number of loadable blocks on the SIMATIC Micro Memory Card
Size of SIMATIC Micro Memory Card ... Maximum number of blocks that can be loaded
64 KB 768
128 KB 1024
512 KB 2560
2 MB The maximum number of blocks that can be loaded on a
4 MB specific CPU is less than the number of blocks that can be
stored on the SIMATIC Micro Memory Card.
8 MB For information about the maximum number of blocks that can
be loaded on a specific CPU, refer to the corresponding
technical specification.
Technical specifications
Technical specifications
CPU and version
MLFB 6ES7312-5BF04-0AB0
Hardware version 01
Expandable No
Execution times
For bit operation, min. 0.1 μs
Technical specifications
Retentivity
Configurable Yes
Default Z 0 to Z 7
Counting range
Low limit 0
IEC counter
Available Yes
Type SFB
S7 timers
Number 256
Retentivity
Configurable Yes
Default No retentivity
IEC timer
Available Yes
Type SFB
Data blocks
Number, max. 1024
(in the number range 1 to 16000)
Size, max. 64 kB
Local data
Per priority class, max. 32 KB (max. 2048 bytes per block)
Technical specifications
Blocks
Number of blocks (total) 1024 (DBs, FCs, FBs)
The maximum number of blocks that can be
loaded may be reduced due to the Micro Memory
Card you are using.
OB See instruction list
Size, max. 64 KB
Nesting depth
Per priority class 16
Distributed
Inputs -
Outputs -
Technical specifications
Outputs, adjustable 1024 bytes
Digital channels
Integrated channels (DI) 10
Inputs 266
Outputs 262
Analog channels
Integrated channels (AI) -
Inputs 64
Outputs 64
Hardware configuration
Racks, max. 1
Number of DP masters
Integrated -
Via CP 4
CP, point-to-point 8
CP, LAN 4
Time
Clock
Software clock Yes
Buffered No
Behavior of the real-time clock after POWER The clock continues at the time of day it had
ON when power was switched off.
Technical specifications
Deviation per day, max. 10 s, typ.: 2 s
Runtime meter
Number 1
Number/number range 0
S7 signaling functions
Number of stations that can be logged on for 6
reporting functions, max. (depends on the number of connections
configured for PG/OP and S7 basic
communication)
Process error diagnostic messages Yes
Forcing
Forcing Yes
Technical specifications
Diagnostic buffer
Available Yes
Configurable No
Of which are power-failure-proof 100, only the last 100 entries are retentive
Service data
Can be read out Yes
Monitoring function
Status LEDs Yes
Communication functions
PG/OP communication Yes
Prioritized OCM communication
Supported No
Routing No
Number of routing connections 0
S7 basic communication
Supported Yes
User data per job, consistent, max. 76 bytes (for X_SEND or X_RCV)
64 bytes (for X_PUT or X_GET as the server)
S7 communication
Supported Yes
As server Yes
Technical specifications
As client Yes, via CP and loadable FBs
S5-compatible communication
Supported Yes, via CP and loadable FCs
Number of connections
Total 6
Connection system
Required front connector 1 X 40-pin
Interfaces
1st interface
Interface designation X1
Type of interface Integrated RS 485 interface
Hardware RS 485
electrically disconnected No
DP master No
DP slave No
Point-to-point connection No
MPI
Services
Technical specifications
PG/OP communication Yes
Routing No
FBD Yes
STL Yes
SCL Yes
GRAPH Yes
HiGraph® Yes
Know-how protection
User program/password security Yes
Integrated functions
Number of counters 2 (see the Manual Technological Functions)
Technical specifications
Integrated function blocks (rules) No
Dimensions
Mounting dimensions W x H x D (mm) 80 x 125 x 130
Weight 410 g
I2 t 0.7 A2s
Reference
In the chapter Technical specifications of the integrated I/O you can find:
● the technical specifications of integrated I/Os under Digital inputs of CPUs 31xC and
Digital outputs of CPUs 31xC.
● the block diagrams of the integrated I/Os under Arrangement and use of integrated I/Os.
Technical specifications
Technical specifications
CPU and version
MLFB 6ES7313-5BG04-0AB0
Hardware version 01
Expandable No
Execution times
For bit operation, min. 0.07 μs
Retentivity
Configurable Yes
Default Z 0 to Z 7
Technical specifications
Counting range
Low limit 0
IEC counter
Available Yes
Type SFB
S7 timers
Number 256
Retentivity
Configurable Yes
Default No retentivity
IEC timer
Available Yes
Type SFB
Data blocks
Number, max. Max. 1024
(In the number range 1 to 16000)
Size, max. 64 KB
Local data
Per priority class, max. 32 KB, max. 2048 bytes per block
Blocks
Technical specifications
Number of blocks (total) 1024 (DBs, FCs, FBs)
The maximum number of blocks that can be
loaded may be reduced due to the Micro Memory
Card you are using.
OB See instruction list
Size, max. 64 KB
Nesting depth
Per priority class 16
Digital channels
Technical specifications
Integrated channels (DI) 24
Inputs 1016
Outputs 1008
Analog channels
Integrated channels (AI) 5 (4 x current/voltage, 1 x resistance)
Inputs 253
Outputs 250
Hardware configuration
Racks, max. 4
Number of DP masters
Integrated -
Via CP 4
CP, point-to-point 8
CP, LAN 6
Time
Clock
Hardware clock (real-time) Yes
Behavior of the clock on expiration of the The clock continues at the time of day it had
buffered period when power was switched off.
Technical specifications
Runtime meter
Number 1
Number/number range 0
S7 signaling functions
Number of stations that can be logged on for 8
signaling functions, max. (depends on the number of connections
configured for PG/OP and S7 basic
communication)
Process error diagnostic messages Yes
Forcing
Forcing Yes
Technical specifications
Diagnostic buffer
Available Yes
Configurable No
of which are power-failure-proof 100; only the last 100 entries are retentive
Service data
Can be read out Yes
Monitoring function
Status LEDs Yes
Communication functions
PG/OP communication Yes
Prioritized OCM communication
Supported No
Routing No
Number of routing connections 0
S7 basic communication
Supported Yes
User data per job, consistent, max. 76 bytes (for X_SEND or X_RCV)
64 bytes (for X_PUT or X_GET as the server)
S7 communication
Supported Yes
As server Yes
Technical specifications
As client Yes (via CP and loadable FBs)
S5-compatible communication
Supported Yes (via CP and loadable FCs)
Number of connections
Total 8
Connection system
Required front connector 2 X 40-pin
Interfaces
1st interface
Interface designation X1
Type of interface Integrated RS 485 interface
Hardware RS 485
electrically disconnected No
DP master No
DP slave No
Point-to-point connection No
Technical specifications
MPI
Services
PG/OP communication Yes
Routing No
FBD Yes
STL Yes
SCL Yes
CFC Yes
GRAPH Yes
HiGraph® Yes
Know-how protection
User program/password security Yes
Technical specifications
Integrated functions
Number of counters 3 (see the manual Technological Functions)
Weight 660 g
I2 t 0.7 A2s
Reference
In the chapter Technical specifications of the integrated I/O you can find:
● the technical specifications of the integrated I/Os under Digital inputs of CPUs 31xC,
Digital outputs of CPUs 31xC, Analog inputs of CPUs 31xC and Analog outputs of
CPUs 31xC.
● the block diagrams of the integrated I/Os under Arrangement and use of integrated I/Os.
Technical specifications
Technical specifications
CPU 313C-2 PtP CPU 313C-2 DP
CPU and version CPU 313C-2 PtP CPU 313C-2 DP
MLFB 6ES7313-6BG04-0AB0 6ES7313-6CG04-0AB0
Hardware version 01 01
Expandable No
Technical specifications
CPU 313C-2 PtP CPU 313C-2 DP
Retentivity
Configurable Yes
Default From C 0 to C 7
Counting range
Low limit 0
IEC counter
Available Yes
Type SFB
S7 timers
Number 256
Retentivity
Configurable Yes
Default No retentivity
IEC timer
Available Yes
Type SFB
Data areas and their retentivity CPU 313C-2 PtP CPU 313C-2 DP
Bit memory
Number, max. 256 bytes
Data blocks
Number, max. 1024
(in the number range 1 to 16000)
Size, max. 64 KB
Technical specifications
CPU 313C-2 PtP CPU 313C-2 DP
Local data
Per priority class, max. 32 kByte, Max. 2048 bytes per block
Number of asynchronous error OBs 4 (OB 80, 82, 85, 87) 5 (OB 80, 82, 85, 86, 87)
Nesting depth
Per priority class 16
Distributed
Inputs - 2030 bytes
Technical specifications
CPU 313C-2 PtP CPU 313C-2 DP
I/O process image
Inputs 1024 bytes 2048 bytes
Digital channels
Integrated channels (DI) 16
Analog channels
Integrated channels - -
Integrated channels - -
Number of DP masters
Integrated No 1
Via CP 4 4
CP, point-to-point 8
CP, LAN 6
Technical specifications
CPU 313C-2 PtP CPU 313C-2 DP
Time CPU 313C-2 PtP CPU 313C-2 DP
Clock
Hardware clock (real-time) Yes
Behavior of the real-time clock after The clock continues running after POWER OFF
POWER ON
Behavior after expiration of the buffered The clock continues at the time of day it had when
period power was switched off.
Runtime meter
Number 1
Number/number range 0
Clock synchronization
Supported Yes
Technical specifications
CPU 313C-2 PtP CPU 313C-2 DP
Test and startup functions CPU 313C-2 PtP CPU 313C-2 DP
Status/modify
Status/modify variable Yes
Forcing
Forcing Yes
Diagnostic buffer
Available Yes
Configurable No
Of which are power-failure-proof 100, only the last 100 entries are retentive
Service data
Can be read out Yes
Routing No Yes
Number of routing connections - Max. 4
Technical specifications
CPU 313C-2 PtP CPU 313C-2 DP
Global data communication
Supported Yes
User data per job, consistent, max. 76 bytes (for X_SEND or X_RCV)
64 bytes (for X_PUT or X_GET as the server)
S7 communication
Supported Yes
As server Yes
User data per job, consistent, max. 240 bytes (as server)
S5-compatible communication
Supported Yes, via CP and loadable FCs
Number of connections
Total 8
Technical specifications
CPU 313C-2 PtP CPU 313C-2 DP
Suitable for S7 basic communication 4
S7 basic communication, reserved 0
DP master No
DP slave No
Point-to-point connection No
MPI
Services
PG/OP communication Yes
Routing No Yes
Technical specifications
CPU 313C-2 PtP CPU 313C-2 DP
2nd interface
Interface designation X2
Type of interface Integrated RS 422/485 Integrated RS 485
interface interface
Hardware RS 422/485 RS 485
electrically disconnected Yes Yes
DP master No Yes
DP slave No Yes
PROFINET IO controller No No
PROFINET IO device No No
PROFINET CBA No No
DP master
Services
PG/OP communication - Yes
Routing - Yes
Isochronous mode - No
SYNC/FREEZE - Yes
DPV1 - Yes
Technical specifications
CPU 313C-2 PtP CPU 313C-2 DP
Number of DP slaves, max. - 124
Address range
Inputs, max. - 2 KB
Outputs, max. - 2 KB
DP slave
Services
PG/OP communication - Yes
S7 basic communication - No
DPV1 - No
Technical specifications
CPU 313C-2 PtP CPU 313C-2 DP
Point-to-point connection
Transmission rates 38.4kbps half duplex -
19.2 kbps full duplex
Max. cable length 1200 m -
FBD Yes
STL Yes
SCL Yes
CFC Yes
GRAPH Yes
HiGraph® Yes
Know-how protection
User program/ Yes
password security
Technical specifications
CPU 313C-2 PtP CPU 313C-2 DP
Integrated functions
Number of counters 3 (see the manual Technological Functions)
Integrated function blocks (rules) PID controller (see the manual Technological
Functions)
Dimensions CPU 313C-2 PtP CPU 313C-2 DP
Mounting dimensions W x H x D (mm) 80 x 125 x 130
I2 t 0.7 A2s
Reference
In the chapter Technical specifications of the integrated I/O you can find:
● the technical specifications of integrated I/Os under Digital inputs of CPUs 31xC and
Digital outputs of CPUs 31xC.
● the block diagrams of the integrated I/Os under Arrangement and use of integrated I/Os.
Technical specifications
Technical specifications
CPU 314C-2 PtP CPU 314C-2 DP
CPU and version CPU 314C-2 PtP CPU 314C-2 DP
MLFB 6ES7314-6BH04-0AB0 6ES7314-6CH04-0AB0
Hardware version 01 01
Expandable No
Technical specifications
CPU 314C-2 PtP CPU 314C-2 DP
Timers/counters and their retentivity CPU 314C-2 PtP CPU 314C-2 DP
S7 counters
Number 256
Retentivity
Configurable Yes
Default From C 0 to C 7
Counting range
Low limit 0
IEC counter
Available Yes
Type SFB
S7 timers
Number 256
Retentivity
Configurable Yes
Default No retentivity
IEC timer
Available Yes
Type SFB
Data areas and their retentivity CPU 314C-2 PtP CPU 314C-2 DP
Bit memory
Number, max. 256 bytes
Retentivity, default MB 0 to MB 15
Technical specifications
CPU 314C-2 PtP CPU 314C-2 DP
Data blocks
Number, max. 1024
(in the number range 1 to 16000)
Size, max. 64 KB
Local data
Per priority class, max. 32 KB, max. 2048 bytes per block
Number of asynchronous error OBs 4 (OB 80, 82, 85, 87) 5 (OB 80, 82, 85, 86, 87)
Nesting depth
Per priority class 16
Technical specifications
CPU 314C-2 PtP CPU 314C-2 DP
Address ranges (inputs/outputs) CPU 314C-2 PtP CPU 314C-2 DP
I/O address area
Inputs 1024 bytes 2048 bytes
(freely addressable) (freely addressable)
Outputs 1024 bytes 2048 bytes
(freely addressable) (freely addressable)
Distributed
Inputs - 2003 bytes
Digital channels
Integrated channels (DI) 24
Analog channels
Integrated channels (AI) 5 (4 x current/voltage, 1 x resistance)
Technical specifications
CPU 314C-2 PtP CPU 314C-2 DP
Number of DP masters
Integrated - 1
Via CP 4 4
CP, point-to-point 8
CP, LAN 10
Behavior of the real-time clock after The clock continues running after POWER OFF
POWER ON
Behavior after expiration of the buffered The clock continues at the time of day it had when
period power was switched off.
Runtime meter
Number 1
Number/number range 0
Clock synchronization
Supported Yes
Technical specifications
CPU 314C-2 PtP CPU 314C-2 DP
S7 signaling functions CPU 314C-2 PtP CPU 314C-2 DP
Number of stations that can be logged 12
on for signaling functions (e.g. OS) (depends on the number of connections configured for
PG/OP and S7 basic communication)
Process error diagnostic messages Yes
Forcing
Forcing Yes
Diagnostic buffer
Available Yes
Configurable No
Of which are power-failure-proof 100, only the last 100 entries are retentive
Service data
Can be read out Yes
Monitoring function
Status LEDs Yes
Technical specifications
CPU 314C-2 PtP CPU 314C-2 DP
Communication functions CPU 314C-2 PtP CPU 314C-2 DP
PG/OP communication Yes
Prioritized OCM communication
Supported No
Routing No Yes
Number of routing connections - Max. 4
User data per job, consistent, max. 76 bytes (for X_SEND or X_RCV)
64 bytes (for X_PUT or X_GET as the server)
S7 communication
Supported Yes
As server Yes
User data per job, consistent, max. 240 bytes (as server)
S5-compatible communication
Supported Yes (via CP and loadable FCs)
Number of connections
Total 12
Technical specifications
CPU 314C-2 PtP CPU 314C-2 DP
Suitable for OP communication 11
OP communication, reserved 1
DP master No
DP slave No
Point-to-point connection No
MPI
Services
PG/OP communication Yes
Routing No Yes
Technical specifications
CPU 314C-2 PtP CPU 314C-2 DP
2nd interface CPU 314C-2 PtP CPU 314C-2 DP
Interface designation X2
Type of interface Integrated RS 422/485 Integrated RS 485
interface interface
Hardware RS 422/485 RS 485
Electrically isolated Yes Yes
DP master No Yes
DP slave No Yes
PROFINET IO controller No
PROFINET IO device No
PROFINET CBA No
DP master
Services
PG/OP communication - Yes
Routing - Yes
Isochronous mode - No
SYNC/FREEZE - Yes
DPV1 - Yes
Technical specifications
CPU 314C-2 PtP CPU 314C-2 DP
Transmission rate, max. - Up to 12 mbps
Number of DP slaves, max. - 124
Address range
Inputs, max. - 2 KB
Outputs, max. - 2 KB
DP slave
Services
PG/OP communication - Yes
S7 basic communication - No
DPV1 - No
Technical specifications
CPU 314C-2 PtP CPU 314C-2 DP
Point-to-point connection
Transmission rates 38.4kbps half duplex -
19.2kbps full duplex
Max. cable length 1200 m -
FBD Yes
STL Yes
SCL Yes
CFC Yes
GRAPH Yes
HiGraph® Yes
Know-how protection
User program/ Yes
password security
Technical specifications
CPU 314C-2 PtP CPU 314C-2 DP
Integrated functions
Number of counters 4 (see the manual Technological Functions)
I2 t 0.7 A2s
Reference
In the chapter Technical specifications of the integrated I/O you can find:
● the technical specifications of integrated I/Os under Digital inputs of CPUs 31xC and
Digital outputs of CPUs 31xC.
● the block diagrams of the integrated I/Os under Arrangement and use of integrated I/Os.
Technical specifications
Technical specifications
CPU and version
MLFB 6ES7314-6EH04-0AB0
Hardware version 01
Memory
Main memory
Integrated 192 KB
Expandable No
Execution times
For bit operation, min. 0.06 μs
Retentivity
Configurable Yes
Default Z 0 to Z 7
Technical specifications
Counting range
Low limit 0
IEC counter
Available Yes
Type SFB
Number Unlimited
(limited only by main memory size)
S7 timers
Number 256
Retentivity
Configurable Yes
Default No retentivity
IEC timer
Available Yes
Type SFB
Number Unlimited
(limited only by main memory size)
Data areas and their retentivity
Bit memory
Number, max. 256 bytes
Retentivity, default MB 0 to MB 15
Data blocks
Number, max. 1024
(in the number range 1 to 16000)
Size, max. 64 KB
Local data
Per priority class, max. 32 KB, max. 2048 KB per block
Technical specifications
Blocks
Number of blocks (total) 1024 (DBs, FCs, FBs)
The maximum number of blocks that can be
loaded may be reduced due to the Micro Memory
Card you are using.
OB See instruction list
Size, max. 64 KB
Number of asynchronous error OBs 6 (OB 80, 82, 83, 85, 86, 87)
(OB 83 for PROFINET IO)
Number of synchronous error OBs 2 (OB 121, 122)
Nesting depth
Per priority class 16
Distributed
Inputs 2003 bytes
Technical specifications
Outputs 2048 bytes
Inputs 16048
Outputs 16096
Analog channels
Integrated channels (AI) 5 (4 x current/voltage, 1 x resistance)
Inputs 1006
Outputs 1007
Hardware configuration
Racks, max. 4
Number of DP masters
Integrated 1
Via CP 4
CP, point-to-point 8
CP, LAN 10
Technical specifications
Time
Clock
Hardware clock (real-time) Yes
Behavior of the clock on expiration of the The clock continues at the time of day it had
buffered period when power was switched off.
Runtime meter
Number 1
Number/number range 0
S7 signaling functions
Number of stations that can be logged on for 12
signaling functions, max. (depends on the number of connections
configured for PG/OP and S7 basic
communication)
Process error diagnostic messages Yes
Technical specifications
Test and startup functions
Status/modify
Status/modify variable Yes
Forcing
Forcing Yes
Variables Inputs/outputs
Diagnostic buffer
Available Yes
Configurable No
Of which are power-failure-proof 100, only the last 100 entries are retentive
Service data
Can be read out Yes
Monitoring function
Status LEDs Yes
Communication functions
PG/OP communication Yes
Prioritized OCM communication No
Routing Yes
Number of routing connections X1 as MPI: max. 10;
X1 as DP master: max. 24
X1 as DP slave (active): max. 14
X2 as PROFINET: Max. 24
Data record routing Yes
Technical specifications
Global data communication
Supported Yes
As server Yes
Web server
Supported Yes
Open IE communication
Supported Yes
Local port number used at the system end 0, 20, 21, 23, 25, 80, 102, 135, 161, 8080, 34962,
34963, 34964, 65532, 65533, 65535
TCP/IP Yes (via integrated PROFINET interface and
loadable FBs)
Maximum number of connections 8
Technical specifications
Multiple passive connections per port Yes
(multiport), supported
ISO on TCP (RFC1006) Yes (via integrated PROFINET interface and
loadable FBs)
Maximum number of connections 8
iPAR server
Supported Yes
Number of connections
Total 12
Technical specifications
Data length of all incoming 4000 bytes
master/slave connections, max.
Technical specifications
Number of coupled PROFIBUS devices 16
Interfaces
1st interface
Interface designation X1
Type of interface Integrated RS 485 interface
Hardware RS 485
electrically disconnected Yes
DP master Yes
DP slave Yes
PROFINET IO device No
PROFINET IO controller No
PROFINET CBA No
Open IE communication No
Web server No
Point-to-point connection No
MPI
Services
PG/OP communication Yes
Routing Yes
Routing Yes
Technical specifications
S7 basic communication Yes (only I blocks)
S7 communication Yes
(server only, connections configured at one end)
Constant bus cycle time supported Yes
Isochronous mode No
SYNC/FREEZE Yes
DPV1 Yes
Outputs, max. 2 KB
DP slave
Services
PG/OP communication Yes
S7 basic communication No
S7 communication Yes
(only server; connection configured at one end)
Direct data exchange (cross-traffic) Yes
DPV1 No
Technical specifications
GSD file The current GSD file is available for download
from the Internet
(http://www.siemens.com/profibus-gsd).
2nd interface
Interface designation X2
Type of interface PROFINET
Hardware Ethernet RJ 45
electrically disconnected Yes
Number of ports 2
Autonegotiation Yes
Autocrossing Yes
Media redundancy
Supported Yes
DP master No
DP slave No
PROFINET IO controller
Services
PG/OP communication Yes
Routing Yes
Technical specifications
Open IE communication Yes; via TCP/IP, ISO on TCP, UDP
Technical specifications
For IRT with "high flexibility" option
for send clock of 250 μs 250 μs to 128 ms
For IRT with "high performance" option and Update time = "odd-numbered" send clock set
parameter assignment for "odd-numbered" send (any multiple of 125 μs: 375 μs, 625 μs to 3.875
clocks ms
Address range
Inputs, max. 2048 bytes
PROFINET IO device
Services
PG/OP communication Yes
Routing Yes
Technical specifications
Transfer memory
Inputs, max. 1440 bytes, per controller for shared devices
Submodules
Number, max. 64
Programming
Programming language
LAD Yes
FBD Yes
STL Yes
SCL Yes
CFC Yes
GRAPH Yes
HiGraph® Yes
Know-how protection
User program/password security Yes
Technical specifications
Dimensions
Mounting dimensions W x H x D (mm) 120 x 125 x 130
Weight 730 g
I2 t 0.7 A2s
Reference
In the chapter Technical specifications of the integrated I/O you can find:
● the technical specifications of integrated I/Os under Digital inputs of CPUs 31xC and
Digital outputs of CPUs 31xC.
● the block diagrams of the integrated I/Os under Arrangement and use of integrated I/Os.
Introduction
The integrated inputs/outputs of the 31xC CPUs can be used for technological functions or
as standard I/Os.
The figures below illustrate the possible usage of I/Os integrated in the CPUs.
Reference
Additional information on integrated I/Os can be found in the Manual Technical Functions.
;
6WDQGDUG ,QWHUUXSW &RXQWLQJ
LQSXW
', ; =$ ',
', ; =% ',
', ; =+:7RU ',
', ; =$ ',
', ; =% ',
', ; =+:7RU ',
', ; /DWFK ',
', ; /DWFK ',
', ; DI+1. 0
; ',
0
/
'2 9 '2
'2 9 '2
'2 '2
'2 '2
'2 '2
'2 '2
0
=Q &RXQWHUQ
$% 6HQVRUVLJQDOV
9Q &RPSDUDWRUQ
; 3LQFDQEHXVHGSURYLGHGLWLVQRWLQXVHE\WHFKQRORJLFDOIXQFWLRQV
+:7RU *DWHFRQWURO
/DWFK 6DYHFRXQWHUYDOXH
&38LQWHUIDFHPRGXOH
0
/
0
CPU 313C, CPU 313C-2 DP/PtP, CPU 314C-2 DP/PtP, CPU 314C-2 PN/DP: DI/DO (connectors X11
and X12)
;RIWKH&38&3W3&38&'3
;RIWKH&38&&38&3W3&38&'3&38&31'3
=Q &RXQWHUQ
$% (QFRGHUVLJQDOV
+:JDWH *DWH&RQWURO
/DWFK 6DYHFRXQWHUYDOXH
9Q &RPSDUDWRUQ
3UREH 3UREH
%HUR 5HIHUHQFHSRLQWVZLWFK
55 'LUHFWLRQDOVLJQDO
5DSLGWUDYHUVH 5DSLGWUDYHUVH
6ORZDFWLRQ &UHHSVSHHG
&219B(1 (QDEOHSRZHUXQLW
&219B',5 'LUHFWLRQVLJQDORQO\ZLWKFRQWUROPRGHYROWDJHWR9
RUFXUUHQWIURPP$WRP$DQGGLUHFWLRQVLJQDO
;
3LQFDQEHXVHGSURYLGHGLWLVQRWLQXVHE\WHFKQRORJLFDOIXQFWLRQV
&38&RQO\
Reference
Additional information can be found in the Manual Technical Functions under Counting,
Frequency Measurement and Pulse Width Modulation
/ /
&38LQWHUIDFHPRGXOH
0
/
0 0
;
6WDQGDUG 3RVLWLRQ 6WDQGDUG', ,QWHUUXSWLQSXW
9 ', ; ;
$,&K , 3(:[ ', ; ;
& ', ; ;
9 ', ; ;
$,&K , 3(:[ ', ; ;
& ', ; ;
9 ', ; ;
$,&K , 3(:[ ', ; ;
& 0
9
$,&K , 3(:[
&
37&K 3(:[
9 0DQLSXODWHG 3$:[
$2&K
$ YDOXH
9
$2&K 3$:[
$
0$1$
RQO\&38&
9 $,
$
&+
$,
&38LQWHUIDFHPRGXOH
9 $,
$
&+
$,
9
$,
$
&+
$, 0
9
$,
$
&+
$,
5 $,
&RQWUROOHU
37
$,
9 8 $
$2
, &+
$
9 8 $
$2
, &+
$
0$1$
See also
CPU 312C (Page 215)
CPU 313C (Page 224)
CPU 313C-2 PtP and CPU 313C-2 DP (Page 233)
CPU 314C-2 PtP and CPU 314C-2 DP (Page 245)
CPU 314C-2 PN/DP (Page 257)
M Ground connection
Mx+ Measuring line "+" (positive), for channel x
Mx- Measuring line "-" (negative), for channel x
MANA Reference potential of the analog measuring circuit
AIXU Voltage input "+" for channel x
AIXI Current input "+" for channel x
AIXC Common current and voltage input "-" for channel x
AIX Analog input channel x
$,3LQWR
$,3LQWR
ZLUH
WUDQVGXFHU
$,3LQWR
$,X 9
0 $, 3LQWR
$,,
0
$,F
0$1$ 0
:HUHFRPPHQGWKDW\RXXVHDMXPSHUWRLQWHUFRQQHFW$,[&ZLWK0$1$
/ 0 $,3LQWR
$,3LQWR
$,X
0 0
$,, ZLUH $,3LQWR
0 0 WUDQVGXFHU
$,F
$,3LQWR
$,X
$,, 0
$,F
6KRUWFLUFXLWXQXVHGLQSXWFKDQQHOV
DQGLQWHUFRQQHFW$O[&ZLWK0$1$
0$1$ ,IXVLQJDZLUHWUDQVGXFHUZHUHFRPPHQGWKDW\RX
LQWHUFRQQHFW$O[&ZLWK0$1$
Measuring principle
31xC CPUs use the measuring principle of actual value encoding. They operate with a
sampling rate of 1 kHz. That is, a new value is available at the peripheral input word register
once every millisecond and can then be read via the user program (e.g. L PEW). The
"previous" value is read again if access times are shorter than 1 ms.
$WWHQXDWLRQ
,QWHUQDO $WWHQXDWLRQ
VLJQDOOHYHO
+LJKOHYHO
$WWHQXDWLRQ
,QYDOLG
LQSXWIUHTXHQF\
Note
The maximum frequency of the input signal is 400 Hz.
6HOHFWLRQLQ67(3
VRIWZDUHILOWHU
+]SDUDPHWHUL]DWLRQ
PHDQYDOXHILOWHU
+]SDUDPHWHUL]DWLRQ
PHDQYDOXHILOWHU
$QDORJWR +]SDUDPHWHUL]DWLRQ
GLJLWDOFRQYHUWHU
$,[
+DUGZDUHORZSDVVILOWHU
5&HOHPHQW
The two graphics below illustrate the principle of operation of 50 Hz and 60 Hz interference
frequency suppression
([DPSOHRID+]LQWHUIHUHQFHVXSSUHVVLRQLQWHJUDWLRQWLPHFRUUHVSRQGVWRPV
&\FOH
DYHUDJHGPHDVXUHGYDOXH
&\FOH
DYHUDJHGPHDVXUHGYDOXH
([DPSOHRID+]LQWHUIHUHQFHVXSSUHVVLRQLQWHJUDWLRQWLPHFRUUHVSRQGVWRPV
DYHUDJHGPHDVXUHGYDOXH
DYHUDJHGPHDVXUHGYDOXH
Note
If the interference frequency is not 50/60 Hz or a multiple thereof, the input signal must be
filtered externally.
In this case, 400 Hz interference frequency suppression must be configured for the
respective input. This is equivalent to a "deactivation" of the software filter.
Reference
For detailed information (e.g. visualization and processing of analog values), refer to
Chapter 4 of the Module Data Manual.
8.7.3 Parameterization
Introduction
You configure the integrated I/O of CPU 31xC with STEP 7. Always make these settings
when the CPU is in STOP mode. The generated parameters are downloaded from the PG to
the S7-300 and written to CPU memory .
You can also choose to change the parameters with SFC 55 in the user program (see the
Reference Manual System and Standard Functions). Refer to the structure of record 1 for
the respective parameters.
Parameters of standard DI
The table below gives you an overview of the parameters for standard digital inputs.
The table below gives you an overview of the parameters when using digital inputs as
interrupt inputs.
%\WH %LWQR
,QWHUUXSWLQSXW',
,QWHUUXSWLQSXW',
,QWHUUXSWLQSXW',
%\WH %LWQR
,QWHUUXSWLQSXW',
,QWHUUXSWLQSXW',
,QWHUUXSWLQSXW',
%\WH %LWQR
,QWHUUXSWLQSXW',
,QWHUUXSWLQSXW',
,QWHUUXSWLQSXW', GHDFWLYDWHG
ULVLQJHGJH
'HIDXOWVHWWLQJ
%\WHUHVHUYHG
%\WH %LWQR
,QWHUUXSWLQSXW',
,QWHUUXSWLQSXW',
,QWHUUXSWLQSXW',
%\WH %LWQR
,QWHUUXSWLQSXW',
,QWHUUXSWLQSXW',
,QWHUUXSWLQSXW',
%\WH %LWQR
,QWHUUXSWLQSXW',
,QWHUUXSWLQSXW',
,QWHUUXSWLQSXW', GHDFWLYDWHG
IDOOLQJHGJH
'HIDXOWVHWWLQJ
%\WHUHVHUYHG
%\WH %LWQR
,QSXWGHOD\',WR',
,QSXWGHOD\',WR',
,QSXWGHOD\',WR',
,QSXWGHOD\',WR',
%\WH %LWQR
,QSXWGHOD\',WR',
,QSXWGHOD\',WR',
5HVHUYHG
%PV
%PV
%PV
%PV
'HIDXOWVHWWLQJ%
Figure 8-7 Structure of the data record 1 for standard DI and interrupt inputs (length of 10 bytes)
Parameters of standard DO
There are no parameters for standard digital outputs.
Parameters of standard AI
The table below gives you an overview of the parameters for standard analog inputs.
Reference
See also Chapter 4.3 in the Module Data Reference Manual.
Parameters of standard AO
The table below gives you an overview of standard analog output parameters (see also
Chapter 4.3 in the Module Data Reference Manual).
%\WH
%LW
5HVHUYHG
8QLWRIPHDVXUHPHQW
% &HOVLXV
% )DKUHQKHLW
%\WH %LW
,QWHJUDWLRQWLPHLQWHUIHUHQFHIUHTXHQF\VXSSUHVVLRQFKDQQHO$,
,QWHJUDWLRQWLPHLQWHUIHUHQFHIUHTXHQF\VXSSUHVVLRQFKDQQHO$,
,QWHJUDWLRQWLPHLQWHUIHUHQFHIUHTXHQF\VXSSUHVVLRQFKDQQHO$,
,QWHJUDWLRQWLPHLQWHUIHUHQFHIUHTXHQF\VXSSUHVVLRQFKDQQHO$,
% PV+]
% PV+]
% PV+]
'HIDXOWVHWWLQJ%
6RIWZDUHILOWHUIRUWKHLQWHUIHUHQFHIUHTXHQF\VXSSUHVVLRQLVGHDFWLYDWHGZKHQSDUDPHWHUVDUHVHWWR+]
%\WH 5HVHUYHG
%\WH %LW
0HDVXUHPHQWUDQJHRIFKDQQHO$,VHH%\WHIRUVHWWLQJV
0HDVXUHPHQWW\SHRIFKDQQHO$,VHH%\WHIRUVHWWLQJV
%\WH %LW
0HDVXUHPHQWUDQJHRIFKDQQHO$,VHH%\WHIRUVHWWLQJV
0HDVXUHPHQWW\SHRIFKDQQHO$,VHH%\WHIRUVHWWLQJV
%\WH
0HDVXULQJUDQJHFKDQQHO$,bVHHE\WHIRUVHWWLQJV
0HDVXULQJPHWKRGFKDQQHO$,bVHHE\WHIRUVHWWLQJV
%\WH
0HDVXULQJUDQJHFKDQQHO$,
+GHDFWLYDWHG
0HDVXULQJPHWKRGFKDQQHO$, +P$
+P$
+GHDFWLYDWHG
+P$
+9YROWDJH
+9
+,&XUUHQW
+9
+,&XUUHQW
'HIDXOWVHWWLQJ+
'HIDXOWVHWWLQJ+
%\WH
0HDVXULQJUDQJHFKDQQHO$,
+GHDFWLYDWHG
0HDVXULQJPHWKRGFKDQQHO$,
+RKP
+GHDFWLYDWHG +3W
+5HVLVWRU 'HIDXOWVHWWLQJ+
+7KHUPRUHVLVWRU
'HIDXOWVHWWLQJ+
%\WHVWR 5HVHUYHG
%\WH %LWQR
2XWSXWUDQJHFKDQQHO$2
VHHE\WHIRUVHWWLQJV
2XWSXWW\SHFKDQQHO$2
VHHE\WHIRUVHWWLQJV
%\WH %LWQR
2XWSXWUDQJHFKDQQHO$2
+GHDFWLYDWHG
2XWSXWW\SHFKDQQHO$2 +P$
+GHDFWLYDWHG +P$
+99ROWDJH +P$
+,&XUUHQW +9
'HIDXOWVHWWLQJ+ +9
'HIDXOWVHWWLQJ+
Figure 8-8 Structure of the data record 1 for standard AI/AO (length of 13 bytes)
8.7.4 Interrupts
Interrupt inputs
All digital inputs of the on-board I/O of the CPUs 31xC can be used as interrupt inputs.
You can specify the interrupt behavior for each individual input in your parameterization.
Options are:
● No interrupt
● Interrupt when edge is rising
● Interrupt when edge is falling
● Interrupt when edge is rising or falling
Note
Every channel will retain 1 event if the rate of incoming interrupts exceeds the handling
capacity of OB40. Further events (interrupts) will be lost, without diagnostics or explicit
message.
Table 8- 12 Start information for OB40, relating to the interrupt inputs of the integrated I/O
The following figure shows an example of the states for the interrupt-triggering integrated
alarm inputs for the default addresses I124.0 to I126.7.
ಹ ಹ %LWQR
5HVHUYHG
+DUGZDUHLQWHUUXSWRI(
+DUGZDUHLQWHUUXSWRI(
+DUGZDUHLQWHUUXSWRI(
+DUGZDUHLQWHUUXSWRI(
+DUGZDUHLQWHUUXSWRI(
+DUGZDUHLQWHUUXSWRI(
Figure 8-9 Example of the display of states of CPU 31xC interrupt inputs
8.7.5 Diagnostics
Standard I/O
Diagnostic is not available for integrated inputs/outputs used as standard I/O (see also the
Reference Manual Module Data).
Technological functions
Diagnostics options for the respective technological function are found in the Manual
Technological Functions.
Introduction
This section specifies the technical specifications of the digital inputs for the CPUs 31xC.
The table includes the following CPUs:
● under CPU 313C-2, the CPUs 313C-2 DP and 313C-2 PtP
● Under CPU 314C-2, the CPU 314C-2 DP, CPU 314C-2 PtP and CPU 314C-2 PN/DP
Technical specifications
Technical specifications
CPU 312C CPU 313C CPU 313C-2 CPU 314C-2
Module-specific data CPU 312C CPU 313C CPU 313C-2 CPU 314C-2
Number of inputs 10 24 16 24
Inputs which can be used for technological 8 12 12 16
functions
Cable length
unshielded, max. 600 m; for technological functions: No
Vertical arrangement
– Up to 40 °C 5 12 8 12
Isolation
Between channels and the backplane bus Yes
Between channels No
Status, interrupts, diagnostics CPU 312C CPU 313C CPU 313C-2 CPU 314C-2
Status indication Green LED per channel
Interrupts Yes, if the corresponding channel is configured as interrupt input
For using technological functions, please refer to the Technological
Functions Manual.
Diagnostic functions No diagnostics when operated as standard I/O
For using technological functions, please refer to the Technological
Functions Manual.
Technical specifications
CPU 312C CPU 313C CPU 313C-2 CPU 314C-2
Data for the selection of an encoder for CPU 312C CPU 313C CPU 313C-2 CPU 314C-2
standard DI
Input voltage
Rated value 24 V DC
Input current
with "1" signal, typ. 8 mA
Introduction
This chapter contains the technical specifications of the digital outputs for the CPUs 31xC.
The table includes the following CPUs:
● under CPU 313C-2, the CPUs 313C-2 DP and 313C-2 PtP
● Under CPU 314C-2, the CPU 314C-2 DP, CPU 314C-2 PtP and CPU 314C-2PN/DP
Technical specifications
Technical specifications
CPU 312C CPU 313C CPU 313C-2 CPU 314C-2
Module-specific data CPU 312C CPU 313C CPU 313C-2 CPU 314C-2
Number of outputs 6 16 16 16
Of those as fast outputs 2 4 4 4
Notice:
You cannot connect the fast outputs of your CPU in parallel.
Cable length
unshielded, max. 600 m
Voltage, currents, potentials CPU 312C CPU 313C CPU 313C-2 CPU 314C-2
Rated load voltage L+ 24 V DC
Reverse polarity protection No
Isolation
Between channels and the backplane bus Yes
Status, interrupts, diagnostics CPU 312C CPU 313C CPU 313C-2 CPU 314C-2
Status indication Green LED per channel
Interrupts No interrupts when operated as standard I/O
For using technological functions, please refer to the Technological
Functions Manual.
Diagnostic functions No diagnostics when operated as standard I/O
For using technological functions, please refer to the Technological
Functions Manual.
Technical specifications
CPU 312C CPU 313C CPU 313C-2 CPU 314C-2
Data for the selection of an actuator for CPU 312C CPU 313C CPU 313C-2 CPU 314C-2
standard DO
Output voltage
with "1" signal, min. L+ (-0.8 V)
Output current
With "1" signal
- Rated value 0.5 A
- Permissible range 5 mA to 0.6 A
With "0" signal (residual current), max. 0.5 mA
Introduction
This chapter contains the technical specifications of analog inputs for the CPUs 31xC.
The table includes the following CPUs:
● CPU 313C
● CPU 314C-2 DP
● CPU 314C-2 PtP
● CPU 314C-2 PN/DP
Technical specifications
Technical specifications
Module-specific data
Number of inputs 4 channels current/voltage input
1 channel resistance input
Cable length
Shielded, max. 100 m
Isolation
Between channels and the backplane bus Yes
Between channels No
Technical specifications
Voltage/current <1 %
Resistance <1 %
Technical specifications
For resistance measurement
- With 2-wire connection Possible, without compensation of the
line resistances
- With 3-wire connection Not possible
- With 4-wire connection Not possible
Temperature compensation No
Technical unit of temperature measurement Degrees Celsius (°C
)Degrees Fahrenheit (°F)
Kelvin (K)
Introduction
This chapter contains the technical specifications of the analog outputs for the CPUs 31xC.
The table includes the following CPUs:
● CPU 313C
● CPU 314C-2 DP
● CPU 314C-2 PtP
● CPU 314C-2 PN/DP
Technical specifications
Technical specifications
Module-specific data
Number of outputs 2
Cable length
Shielded, max. 200 m
Potentials
Isolation
Between channels and the backplane bus Yes
Between channels No
Technical specifications
Analog value generation
Resolution (including overrange) 11 bits + sign
Conversion time (per channel) 1 ms
Settling time
With resistive load 0.6 ms
Voltage output
Short-circuit protection Yes
Technical specifications
Short-circuit current, typically: 55 mA
Current output
Open-circuit voltage, typically 14 V
Width of CPU
Table 9- 2 Maximum number of loadable blocks on the SIMATIC Micro Memory Card
Size of SIMATIC Micro Memory Card ... Maximum number of blocks that can be loaded
64 KB 768
128 KB 1024
512 KB 2560
2 MB The maximum number of blocks that can be loaded on a
4 MB specific CPU is less than the number of blocks that can
be stored on the SIMATIC Micro Memory Card.
8 MB For information about the maximum number of blocks
that can be loaded on a specific CPU, refer to the
corresponding technical specification.
Technical specifications
Technical specifications
CPU and version
MLFB 6ES7312-1AE14-0AB0
Hardware version 01
Expandable No
Execution times
for bit operation, min. 0.1 μs
Retentivity
Configurable Yes
Default Z 0 to Z 7
Technical specifications
Counting range
Low limit 0
IEC counter
Available Yes
Type SFB
Number Unlimited
(limited only by main memory size)
S7 timers
Number 256
Retentivity
Configurable Yes
Default No retentivity
IEC timer
Available Yes
Type SFB
Number Unlimited
(limited only by main memory size)
Data areas and their retentivity
Bit memory
Number, max. 256 bytes
Retentivity, default MB 0 to MB 15
Data blocks
Number, max. 1024
(in the number range 1 to 16000)
Size, max. 32 KB
Local data
Per priority class, max. 32 KB per execution level,
2 KB per block
Technical specifications
Blocks
Number of blocks (total) 1024 (DBs, FCs, FBs)
The maximum number of blocks that can be
loaded may be reduced due to the Micro Memory
Card you are using.
OB See instruction list
Size, max. 32 KB
Nesting depth
Per priority class 16
Technical specifications
Digital channels
Inputs 256
Outputs 256
Analog channels
Inputs 64
Outputs 64
Hardware configuration
Racks, max. 1
Number of DP masters
Integrated 0
Via CP 4
CP, point-to-point 8
CP, LAN 4
Time-of-day
Clock
Software clock Yes
Behavior of the real-time clock after POWER The clock continues at the time of day it had
ON when power was switched off.
Runtime meter
Number 1
Number/number range 0
Technical specifications
Clock synchronization
supported Yes
In AS, Slave No
S7 signaling functions
Number of stations that can be logged on for 6
signaling functions, max. (depends on the number of connections
configured for PG/OP and S7 basic
communication)
Process error diagnostic messages Yes
Forcing
Forcing Yes
Diagnostic buffer
Available Yes
Configurable No
of which are power-failure-proof 100, only the last 100 entries are retentive
Technical specifications
Service data
Can be read out Yes
Monitoring function
Status LEDs Yes
Communication functions
PG/OP communication Yes
Prioritized OCM communication
Supported No
Routing No
Number of routing connections -
As server Yes
User data per job, consistent, max. 240 bytes (as server)
S5-compatible communication
Supported Yes (via CP and loadable FCs)
Technical specifications
Suitable for PG communication 5
PG communication, reserved 1
Interfaces
1st interface
Interface designation X1
Type of interface Integrated RS 485 interface
Hardware RS 485
electrically disconnected No
DP master No
DP slave No
Point-to-point connection No
MPI
Services
PG/OP communication Yes
Routing No
Technical specifications
Programming
Programming language
LAD Yes
FBD Yes
STL Yes
SCL Yes
GRAPH Yes
HiGraph® Yes
Know-how protection
User program/password security Yes
Weight 270 g
I2 t 1 A2s
Technical specifications
CPU and version
MLFB 6ES7314-1AG14-0AB0
Hardware version 01
Expandable No
Execution times
For bit operation, min. 0.06 μs
Retentivity
Configurable Yes
Default Z 0 to Z 7
Technical specifications
Counting range
Low limit 0
IEC counter
Available Yes
Type SFB
S7 timers
Number 256
Retentivity
Configurable Yes
Default No retentivity
IEC timer
Available Yes
Type SFB
Retentivity, default MB 0 to MB 15
Data blocks
Number, max. 1024
(in the number range 1 to 16000)
Size, max. 64 KB
Local data
Per priority class, max. 32 KB per execution level,
2 KB per block
Technical specifications
Blocks
Number of blocks (total) 1024 (DBs, FCs, FBs)
The maximum number of blocks that can be
loaded may be reduced due to the Micro Memory
Card you are using.
OB See instruction list
Size, max. 64 KB
Nesting depth
Per priority class 16
Technical specifications
Digital channels
Inputs 1024
Outputs 1024
Analog channels
Inputs 256
Outputs 256
Hardware configuration
Racks, max. 4
Number of DP masters
Integrated 0
Via CP 4
CP, point-to-point 8
CP, LAN 10
Time-of-day
Clock
Hardware clock (real-time) Yes
Behavior after expiration of the buffered The clock continues at the time of day it had
period when power was switched off.
Runtime meter
Number 1
Number/number range 0
Technical specifications
Range of values 0 to 231 hours
(using the SFC 101)
Granularity 1 hour
S7 signaling functions
Number of stations that can be logged on for 12
signaling functions (e.g. OS) (depends on the number of connections
configured for PG/OP and S7 basic
communication)
Process error diagnostic messages Yes
Forcing
Forcing Yes
Variables Inputs/outputs
Diagnostic buffer
Available Yes
Configurable No
Technical specifications
Of which are power-failure-proof 100, only the last 100 entries are retentive
Service data
Can be read out Yes
Monitoring function
Status LEDs Yes
Communication functions
PG/OP communication Yes
Prioritized OCM communication
supported No
Routing No
Number of routing connections -
As server Yes
User data per job, max. 180 bytes (with PUT / GET)
Technical specifications
S5-compatible communication
Supported Yes (via CP and loadable FCs)
Number of connections
Total 12
Interfaces
1st interface
Interface designation X1
Type of interface Integrated RS 485 interface
Hardware RS 485
electrically disconnected No
DP master No
DP slave No
Point-to-point connection No
MPI
Services
PG/OP communication Yes
Routing No
Technical specifications
S7 communication, as client No
FBD Yes
STL Yes
SCL Yes
CFC Yes
GRAPH Yes
HiGraph® Yes
Know-how protection
User program/password security Yes
Weight 280 g
I2 t 1 A2s
Technical specifications
Technical specifications
CPU and version
MLFB 6ES7315-2AH14-0AB0
Hardware version 01
Expandable No
Execution times
For bit operation, min. 0.05 μs
Retentivity
Configurable Yes
Default Z 0 to Z 7
Technical specifications
Counting range
Low limit 0
IEC counter
Available Yes
Type SFB
S7 timers
Number 256
Retentivity
Configurable Yes
Default No retentivity
IEC timer
Available Yes
Type SFB
Retentivity, default MB 0 to MB 15
Data blocks
Number, max. 1024
(in the number range 1 to 16000)
Size, max. 64 KB
Local data
Per priority class, max. 32 KB per execution level,
2 KB per block
Technical specifications
Blocks
Number of blocks (total) 1024 (DBs, FCs, FBs)
The maximum number of blocks that can be
loaded may be reduced due to the Micro Memory
Card you are using.
OB See instruction list
Size 64 KB
Number of asynchronous error OBs 5 (OB 80, 82, 85, 86, 87)
Nesting depth
Per priority class 16
Distributed
Inputs 2048 bytes
Technical specifications
Outputs 2048 bytes
Digital channels
Inputs 16384
Outputs 16384
Analog channels
Inputs 1024
Outputs 1024
Hardware configuration
Racks, max. 4
Number of DP masters
Integrated 1
Via CP 4
CP, point-to-point 8
CP, LAN 10
Time-of-day
Clock
Hardware clock (real-time) Yes
Technical specifications
Behavior after expiration of the buffered The clock continues at the time of day it had
period when power was switched off.
Runtime meter
Number 1
Number/number range 0
S7 signaling functions
Number of stations that can be logged on for 16
signaling functions (e.g. OS) (depends on the number of connections
configured for PG/OP and S7 basic
communication)
Process error diagnostic messages Yes
Forcing
Forcing Yes
Technical specifications
Maximum number of tags 10
Diagnostic buffer
Available Yes
Configurable No
Of which are power-failure-proof 100, only the last 100 entries are retentive
Service data
Can be read out Yes
Monitoring function
Status LEDs Yes
Communication functions
PG/OP communication Yes
Prioritized OCM communication
Supported Yes
Routing Yes
Number of routing connections, max. 4
Technical specifications
User data per job, consistent, max. 76 bytes (for X_SEND/RCV);
64 bytes (for X_PUT/GET as server)
S7 communication
Supported Yes
As server Yes
User data per job, consistent, max. 240 bytes (as server)
S5-compatible communication
Supported Yes (via CP and loadable FCs)
Number of connections
Total 16
Interfaces
1st interface
Interface designation X1
Type of interface Integrated RS 485 interface
Hardware RS 485
electrically disconnected No
DP master No
DP slave No
Technical specifications
Point-to-point connection No
MPI
Services
PG/OP communication Yes
Routing Yes
DP master Yes
DP slave Yes
Point-to-point connection No
DP master
Services
PG/OP communication Yes
Routing Yes
Technical specifications
Direct data exchange (cross-traffic) Yes (as subscriber)
SYNC/FREEZE Yes
DPV1 Yes
DP slave
Services
PG/OP communication Yes
S7 basic communication No
DPV1 No
Technical specifications
Programming
Programming language
LAD Yes
FBD Yes
STL Yes
SCL Yes
CFC Yes
GRAPH Yes
HiGraph® Yes
Know-how protection
User program/password security Yes
Weight 290 g
I2 t 1 A2s
Technical specifications
Technical specifications
CPU and version
MLFB 6ES7315-2EH14-0AB0
Hardware version 01
Memory
Main memory
Integrated 384 KB
Expandable No
Execution times
for bit operation, min. 0.05 μs
Retentivity
Configurable Yes
Default Z 0 to Z 7
Technical specifications
Counting range
Low limit 0
IEC counter
Available Yes
Type SFB
Number Unlimited
(limited only by main memory size)
S7 timers
Number 256
Retentivity
Configurable Yes
Default No retentivity
IEC timer
Available Yes
Type SFB
Number Unlimited
(limited only by main memory size)
Data areas and their retentivity
Bit memory
Number, max. 2048 bytes
Retentivity, default MB 0 to MB 15
Data blocks
Number, max. 1024
(in the number range 1 to 16000)
Size, max. 64 KB
Local data
Per priority class, max. 32 KB per execution level,
2 KB per block
Technical specifications
Blocks
Number of blocks (total) 1024 (DBs, FCs, FBs)
The maximum number of blocks that can be
loaded may be reduced due to the Micro Memory
Card you are using.
OB See instruction list
Size, max. 64 KB
Number of asynchronous error OBs 6 (OB 80, 82, 83, 85, 86, 87)
(OB83 for PROFINET IO)
Number of synchronous error OBs 2 (OB 121, 122)
Nesting depth
Per priority class 16
Distributed
Inputs 2048 bytes
Technical specifications
Outputs 2048 bytes
Outputs 16384
Analog channels
Inputs 1024
Outputs 1024
Hardware configuration
Racks, max. 4
Number of DP masters
Integrated 1
Via CP 4
CP, point-to-point 8
CP, LAN 10
Time
Clock
Hardware clock (real-time) Yes
Technical specifications
Buffered period Typically 6 weeks
(at an ambient temperature of 40 °C)
Behavior of the clock on expiration of the The clock continues at the time of day it had
buffered period when power was switched off.
Behavior of the real-time clock after POWER The clock continues running after POWER OFF.
ON
Runtime meter
Number 1
Number/number range 0
S7 signaling functions
Number of stations that can be logged on for 16
signaling functions, max. (depends on the number of connections
configured for PG/OP and S7 basic
communication)
Process error diagnostic messages Yes
Technical specifications
Modify variables, max. 14
Forcing
Forcing Yes
Diagnostic buffer
Available Yes
Configurable No
of which are power-failure-proof 100, only the last 100 entries are retentive
Service data
Can be read out Yes
Monitoring function
Status LEDs Yes
Communication functions
PG/OP communication Yes
Prioritized OCM communication
Supported Yes
Routing Yes
Number of routing connections X1 as MPI max. 10;
X1 as DP master max. 24
X1 as DP slave (active) max. 14
X2 as PROFINET max. 24
Data record routing Yes
Technical specifications
Size of GD packets, max. 22 bytes
S7 basic communication
Supported Yes
As server Yes
Web server
Supported Yes
Open IE communication
Supported Yes
Local port number used at the system end 0, 20, 21, 23, 25, 102, 135, 161, 8080, 34962,
34963, 34964, 65532, 65533, 65534, 65535
TCP/IP Yes (via integrated PROFINET interface and
loadable FBs)
Maximum number of connections 8
Technical specifications
UDP Yes (via integrated PROFINET interface and
loadable FBs)
Maximum number of connections 8
iPAR server
Supported Yes
Number of connections
Total 16
Technical specifications
Data length of the device-internal and 4000 bytes
PROFIBUS interconnections, max.
Interfaces
1st interface
Interface designation X1
Type of interface Integrated RS 485 interface
Technical specifications
Hardware RS 485
electrically disconnected Yes
DP master Yes
DP slave Yes
Point-to-point connection No
MPI
Services
PG/OP communication Yes
Routing Yes
Routing Yes
DPV1 Yes
Technical specifications
Transmission rate, max. 12 Mbps
Number of DP slaves, max. 124
Address range
Inputs, max. 2 KB
Outputs, max. 2 KB
DP slave
Services
PG/OP communication Yes
S7 basic communication No
DPV1 No
Number of ports 2
Autonegotiation Yes
Technical specifications
Autocrossing Yes
Media redundancy
Supported Yes
DP master No
DP slave No
PROFINET IO controller
Services
PG/OP communication Yes
Routing Yes
Technical specifications
of which in line, max. 64
Technical specifications
For IRT with "high performance" option and Update time = "odd-numbered" send clock set
parameter assignment for "odd-numbered" send (any multiple of 125 μs: 375 μs, 625 μs to 3.875
clocks ms
Address range
Inputs, max. 2 KB
Outputs, max. 2 KB
S7 routing Yes
Submodules
Number, max. 64
Programming
Programming language
LAD Yes
FBD Yes
STL Yes
SCL Yes
Technical specifications
CFC Yes
GRAPH Yes
HiGraph® Yes
Know-how protection
User program/password security Yes
Weight 340 g
I2 t 1 A2s
Technical specifications
Technical specifications
CPU and version
MLFB 6ES7317-2AK14-0AB0
Hardware version 01
Expandable No
Execution times
For bit operation, min. 0.025 μs
Retentivity
Configurable Yes
Default Z 0 to Z 7
Technical specifications
Counting range
Low limit 0
IEC counter
Available Yes
Type SFB
Number Unlimited
(limited only by main memory size)
S7 timers
Number 512
Retentivity
Configurable Yes
Default No retentivity
IEC timer
Available Yes
Type SFB
Number Unlimited
(limited only by main memory size)
Data areas and their retentivity
Bit memory
Number, max. 4096 bytes
Retentivity, default MB 0 to MB 15
Data blocks
Number, max. 2048
(in the number range 1 to 16000)
Size, max. 64 KB
Local data
Per priority class, max. 32 KB per execution level,
2 KB per block
Technical specifications
Blocks
Number of blocks (total) 2048 (DBs, FCs, FBs)
The maximum number of blocks that can be
loaded may be reduced due to the Micro Memory
Card you are using.
OB See instruction list
Size, max. 64 KB
Number of asynchronous error OBs 5 (OB 80, 82, 85, 86, 87)
Nesting depth
Per priority class 16
Distributed
Inputs 8192 bytes
Technical specifications
Outputs 8192 bytes
Digital channels
Inputs, max. 65636
Analog channels
Inputs, max. 4096
Hardware configuration
Racks, max. 4
Number of DP masters
Integrated 2
Via CP 4
CP, point-to-point 8
CP, LAN 10
Time-of-day
Clock
Hardware clock (real-time) Yes
Technical specifications
Behavior of the real-time clock after POWER The clock continues running after POWER OFF
ON
Behavior after expiration of the buffered The clock continues at the time of day it had
period when power was switched off.
Runtime meter
Number 4
Number/number range 0 to 3
S7 signaling functions
Number of stations that can be logged on for 32
signaling functions, max. (depends on the number of connections
configured for PG/OP and S7 basic
communication)
Process error diagnostic messages Yes
Technical specifications
Forcing
Forcing Yes
Diagnostic buffer
Available Yes
Configurable No
Of which are power-failure-proof 100, only the last 100 entries are retentive
Service data
Can be read out Yes
Monitoring function
Status LEDs Yes
Communication functions
PG/OP communication Yes
Prioritized OCM communication
Supported Yes
Routing Yes
Number of routing connections X1 as MPI max. 10
X1 as DP master max. 24
X1 as DP slave (active) max. 14
X2 as DP master max. 24
X2 as DP slave (active) max. 14
Data record routing Yes
Technical specifications
Size of GD packets, max. 22 bytes
S7 basic communication
Supported Yes
As server Yes
User data per job, consistent, max. 240 bytes (as server)
S5-compatible communication
Supported Yes (via CP and loadable FCs)
Number of connections
Total 32
Interfaces
1st interface
Interface designation X1
Type of interface Integrated RS 485 interface
Hardware RS 485
electrically disconnected Yes
Technical specifications
Interface power supply 200 mA
(15 V DC to 30 V DC), max.
Functionality
MPI Yes
DP master Yes
DP slave Yes
Point-to-point connection No
MPI
Services
PG/OP communication Yes
Routing Yes
Routing Yes
Isochronous mode No
SYNC/FREEZE Yes
DPV1 Yes
Technical specifications
Inputs, max. 8192 bytes
S7 basic communication No
DPV1 No
DP master Yes
DP slave Yes
Point-to-point connection No
Technical specifications
DP master
Services
PG/OP communication Yes
Routing Yes
SYNC/FREEZE Yes
DPV1 Yes
S7 basic communication No
Technical specifications
Direct data exchange (cross-traffic) Yes
DPV1 No
Programming
Programming language
LAD Yes
FBD Yes
STL Yes
SCL Yes
CFC Yes
GRAPH Yes
HiGraph® Yes
Know-how protection
User program/password security Yes
Weight 360 g
Technical specifications
Current consumption (rated value) 870 mA
I2 t 1 A2s
Technical specifications
Technical specifications
CPU and version
MLFB 6ES7317-2EK14-0AB0
Hardware version 01
Memory
Main memory
Integrated 1 MB
Expandable No
Technical specifications
Execution times
For bit operation, min. 0.025 μs
Retentivity
Configurable Yes
Default Z 0 to Z 7
Counting range
Low limit 0
IEC counter
Available Yes
Type SFB
Number Unlimited
(limited only by main memory size)
S7 timers
Number 512
Retentivity
Configurable Yes
Default No retentivity
IEC timer
Available Yes
Type SFB
Number Unlimited
(limited only by main memory size)
Data areas and their retentivity
Bit memory
Number, max. 4096 bytes
Retentivity, default MB 0 to MB 15
Technical specifications
Number of clock memories 8 (1 memory byte)
Data blocks
Number, max. 2048
(in the number range 1 to 16000)
Size, max. 64 KB
Local data
Per priority class, max. 32 KB per execution level,
2 KB per block
Blocks
Number of blocks (total) 2048 (DBs, FCs, FBs)
The maximum number of blocks that can be
loaded may be reduced due to the Micro Memory
Card you are using.
OB See instruction list
Size, max. 64 KB
Number of asynchronous error OBs 6 (OB 80, 82, 83, 85, 86, 87)
(OB83 for PROFINET IO)
Number of synchronous error OBs 2 (OB 121, 122)
Nesting depth
Per priority class 16
Technical specifications
Size 64 KB
Distributed
Inputs 8192 bytes
Outputs 65536
Analog channels
Inputs 4096
Outputs 4096
Hardware configuration
Racks, max. 4
Number of DP masters
Integrated 1
Via CP 4
Technical specifications
Number of usable FMs and CPs (recommended)
FM 8
CP, point-to-point 8
CP, LAN 10
Time-of-day
Clock
Hardware clock (real-time) Yes
Behavior of the real-time clock after POWER The clock continues running after POWER OFF.
ON
Runtime meter
Number 4
Number/number range 0 to 3
S7 signaling functions
Number of stations that can be logged on for 32
signaling functions, max. (depends on the number of connections
configured for PG/OP and S7 basic
communication)
Technical specifications
Process error diagnostic messages Yes
Forcing
Forcing Yes
Diagnostic buffer
Available Yes
Configurable No
Of which are power-failure-proof 100, only the last 100 entries are retentive
Service data
Can be read out Yes
Monitoring function
Status LEDs Yes
Communication functions
PG/OP communication Yes
Prioritized OCM communication
Supported Yes
Routing Yes
Technical specifications
Number of routing connections X1 as MPI max. 10;
X1 as DP master max. 24
X1 as DP slave (active) max. 24
X2 as PROFINET max. 24
Data record routing Yes
S7 basic communication
Supported Yes
As server Yes
Web server
Supported Yes
Open IE communication
Supported Yes
Local port number used at the system end 0, 20, 21, 23, 25, 80, 102, 135, 161, 8080, 34962,
34963, 34964, 65532, 65533, 65534, 65535
Technical specifications
TCP/IP Yes (via integrated PROFINET interface and
loadable FBs)
Maximum number of connections 16
iPAR server
Supported Yes
Number of connections
Total 32
Technical specifications
PROFINET CBA (with communication load setpoint)
Reference setting for CPU communication 50 %
Technical specifications
Number of stations that can be logged on for 3 (2 x PN OPC/1 x iMAP)
HMI variables (PN OPC/iMAP)
Interfaces
1st interface
Interface designation X1
Type of interface Integrated RS 485 interface
Hardware RS 485
electrically disconnected Yes
DP master Yes
DP slave Yes
Point-to-point connection No
PROFINET No
MPI
Services
PG/OP communication Yes
Routing Yes
Routing Yes
Technical specifications
Global data communication No
DPV1 Yes
Outputs, max. 8 KB
DP slave
Services
PG/OP communication Yes
S7 basic communication No
DPV1 No
Technical specifications
Address areas, max. 32
Number of ports 2
Autonegotiation Yes
Autocrossing Yes
Media redundancy
Supported Yes
DP master No
DP slave No
PROFINET IO controller
Services
PG/OP communication Yes
Routing Yes
Technical specifications
S7 communication Yes (with loadable FBs, max. configurable
connections: 16; maximum number of instances:
32)
Open IE communication Yes; via TCP/IP, ISO on TCP, UDP
Technical specifications
for send clock of 2 ms 2 ms to 512 ms
For IRT with "high performance" option and Update time = "odd-numbered" send clock set
parameter assignment for "odd-numbered" send (any multiple of 125 μs: 375 μs, 625 μs to 3.875
clocks ms
Address range
Inputs, max. 8 KB
Outputs, max. 8 KB
S7 routing Yes
Technical specifications
Transfer memory
Inputs, max. 1440 bytes; per controller for shared devices
FBD Yes
STL Yes
SCL Yes
CFC Yes
GRAPH Yes
HiGraph® Yes
Instruction set See instruction list
Nesting levels 8
Know-how protection
User program/password security Yes
Weight 340 g
Voltages and currents
Power supply (rated value) 24 V DC
I2 t 1 A2s
Technical specifications
Technical specifications
CPU and version
MLFB 6ES7318-3EL01-0AB0
Hardware version 01
Memory
Main memory
Integrated 2048 KB
Expandable No
Execution times
For bit operations, min. 0.004 μs
Retentivity
Configurable Yes
Default Z 0 to Z 7
Technical specifications
Counting range
Low limit 0
IEC counter
Available Yes
Type SFB
Number Unlimited
(limited only by main memory size)
S7 timers
Number 2048
Retentivity
Configurable Yes
Default No retentivity
IEC timer
Available Yes
Type SFB
Number Unlimited
(limited only by main memory size)
Data areas and their retentivity
Bit memory
Number, max. 8192 bytes
Retentivity, default MB 0 to MB 15
Data blocks
Number, max. 4096
(in the number range 1 to 16000)
Size, max. 64 KB
Local data
Per priority class, max. 32 KB per execution level,
2 KB per block
Technical specifications
Blocks
Number of blocks (total) 4096 (DBs, FCs, FBs)
The maximum number of blocks that can be
loaded may be reduced due to the Micro Memory
Card you are using.
OB See instruction list
Size, max. 64 KB
Number of asynchronous error OBs 6 (OB 80, 82, 83, 85, 86, 87)
(OB 83 only for PROFINET IO)
Number of restart OBs 1 (OB 100)
Nesting depth
Per priority class 16
Distributed
Inputs 8192 bytes
Technical specifications
Inputs 8192 bytes
Outputs 65536
Analog channels
Inputs 4096
Outputs 4096
Hardware configuration
Racks, max. 4
Number of DP masters
Integrated 2
Via CP 4
CP, point-to-point 8
CP, LAN 10
Time-of-day
Clock
Hardware clock (real-time) Yes
Technical specifications
Buffered period Typically 6 weeks
(at an ambient temperature of 40 °C)
Behavior of the clock on expiration of the The clock continues at the time of day it had
buffered period when power was switched off.
Behavior of the real-time clock after POWER The clock continues running after POWER OFF.
ON
Runtime meter
Number 4
Number/number range 0 to 3
S7 signaling functions
Number of stations that can be logged on for 32
signaling functions, max. (depends on the number of connections
configured for PG/OP and S7 basic
communication)
Process error diagnostic messages Yes
Technical specifications
Modify variables, max. 14
Forcing
Forcing Yes
Diagnostic buffer
Available Yes
Configurable No
of which are power-failure-proof 100, only the last 100 entries are retentive
Service data
Can be read out Yes
Monitoring functions
Status LEDs Yes
Communication functions
PG/OP communication Yes
Prioritized OCM communication
supported Yes
Routing Yes
Number of routing connections X1 as MPI: max. 10
X1 as DP master: max. 24
X1 as DP slave (active): max. 14
X2 as DP master: max. 24
X2 as DP slave (active): max. 14
X3 as PROFINET: Max. 48
Data record routing Yes
Technical specifications
Number of GD packets, receiver, max. 8
S7 basic communication
supported Yes
User data per job, consistent, max. 76 bytes (for X_SEND or X_RCV)
64 bytes (for X_PUT or X_GET as server)
S7 communication
supported Yes
As server Yes
Web server
supported Yes
Open IE communication
supported Yes
Local port number used at the system end 0, 20, 21, 23, 25, 80, 102, 135, 161, 8080, 34962,
34963, 34964, 65532, 65533, 65534, 65535
TCP/IP Yes (via integrated PROFINET interface and
loadable FBs)
Maximum number of connections 32
Technical specifications
UDP Yes (via integrated PROFINET interface and
loadable FBs)
Maximum number of connections 32
iPAR server
supported Yes
Number of connections
Total 32
Technical specifications
Number of device-internal and PROFIBUS 1000
interconnections
Technical specifications
Interfaces
1st interface
Interface designation X1
Type of interface Integrated RS 485 interface
Hardware RS 485
electrically disconnected Yes
DP master Yes
DP slave Yes
Point-to-point connection No
PROFINET No
MPI
Services
PG/OP communication Yes
Routing Yes
Routing Yes
Isochronous mode No
SYNC/FREEZE Yes
Technical specifications
Activate/deactivate DP slaves Yes
– Max. number of DP slaves that can be 8
enabled / disabled simultaneously
DPV1 Yes
Outputs, max. 8 KB
S7 basic communication No
DPV1 No
Technical specifications
Interface power supply 200 mA
(15 VDC to 30 VDC), max.
Functionality
MPI No
DP master Yes
DP slave Yes
PROFINET IO controller No
PROFINET IO device No
PROFINET CBA No
Open IE communication No
Web server No
DP master
Services
PG/OP communication Yes
Routing Yes
DPV1 Yes
Outputs, max. 8 KB
Technical specifications
Inputs, max. 244 bytes
S7 basic communication No
DPV1 No
3rd interface
Interface designation X3
Type of interface PROFINET
Hardware RJ45 Ethernet
electrically disconnected Yes
Number of ports 2
Autonegotiation Yes
Autocrossing Yes
Media redundancy
supported Yes
Technical specifications
Changeover time on line break, typically 200 ms (PROFINET MRP)
DP master No
DP slave No
PROFINET IO controller
Services
PG/OP communication Yes
Routing Yes
Technical specifications
Isochronous mode Yes (OB 61 - operation in isochronous mode is
possible either on DP, or on PROFINET IO (not
concurrently))
Prioritized startup, supported Yes
Maximum number of IO devices with 32
prioritized startup
Activating/deactivating of PROFINET IO Devices Yes
Number of IO devices that can be enabled / 8
disabled simultaneously, max.
IO devices changing during runtime (partner Yes
ports), supported
Number of IO devices per tool, max. 8
For IRT with "high performance" option and Update time = "odd-numbered" send clock set
parameter assignment for "odd-numbered" send (any multiple of 125 μs: 375 μs, 625 μs to 3.875
clocks ms
Technical specifications
Address range
Inputs, max. 8192 bytes
PROFINET IO device
Services
PG/OP communication Yes
Routing Yes
Submodules
Number, max. 64
Programming
Programming language
LAD Yes
FBD Yes
STL Yes
SCL Yes
CFC Yes
GRAPH Yes
Technical specifications
HiGraph® Yes
Know-how protection
User program protection / password Yes
protection
Weight 1250 g
I2 t 1.2 A2s
Accumulator
Accumulators represent CPU register and are used as buffer memory for download, transfer,
comparison, calculation and conversion operations.
Address
An address is the identifier of a specific address or address area. Examples: Input I 12.1;
Flag Word MW 25; Data Block DB 3.
Analog module
Analog modules convert process values (e.g. temperature) into digital values which can be
processed in the CPU, or they convert digital values into analog manipulated variables.
Application
An application is a program that runs directly on the MS-DOS / Windows operating system.
Applications on the programming device are for example STEP 7.
ASIC
ASIC is the acronym for Application Specific Integrated Circuits.
PROFINET ASICs are components with a wide range of functions for the development of
your own devices. They implement the requirements of the PROFINET standard in a circuit
and allow extremely high packing densities and performance.
Because PROFINET is an open standard, SIMATIC NET offers PROFINET ASICs for the
development of your old devices under the name ERTEC .
Backplane bus
The backplane bus is a serial data bus. It supplies power to the modules and is also used by
the modules to communicate with each other. Bus connectors interconnect the modules.
Backup memory
Backup memory ensures buffering of the memory areas of a CPU without backup battery. It
backs up a configurable number of timers, counters, memory and data bytes,retentive
timers, counters, memory bits and data bytes.
Bit memory
Bit memories are part of the CPU's system memory. They store intermediate results of
calculations. They can be accessed in bit, word or dword operations.
See System memory
Bus
A bus is a communication medium connecting several nodes. Data can be transferred via
serial or parallel circuits, that is, via electrical conductors or fiber optic.
Bus segment
A bus segment is a self-contained section of a serial bus system. Bus segments are
interconnected by way of repeaters, for example, in PROFIBUS DP.
Central module
→ CPU
Clock memory
flag bit which can be used to generate clock pulses in the user program (1 byte per flag bit).
Note
When operating with S7-300 CPUs, make sure that the byte of the clock memory bit is not
overwritten in the user program!
Coaxial cable
A coaxial cable, also known as "coax", is a metal conductor system used in HF transmission
circuits, for example, as radio and TV antenna cable, and in modern networks demanding
high data transmission rates. The inner conductor of a coaxial cable is sheathed by a tube-
like outer conductor. These conductors are separated by plastic insulation. In contrast to
other cables, this type of cable provides a high degree of immunity to interference and EMC
compatibility.
Code block
A SIMATIC S7 code block contains part of the STEP 7 user program. (in contrast to a DB:
this contains only data.)
Communication processor
Communication processors are modules used for point-to-point and bus topologies.
Compress
The PG online function "Compress" is used to rearrange all valid blocks in CPU RAM in a
contiguous area of load memory, starting at the lowest address. This eliminates
fragmentation which occurs when blocks are deleted or edited.
Configuration
Assignment of modules to module racks/slots and (e.g. for signal modules) addresses.
Consistent data
Data which belongs together in terms of content and must not be separated is known as
consistent data.
For example, the values of analog modules must always be handled as a whole, that is, the
value of an analog module must not be corrupted as a result of read access at two different
points of time.
Counters
Counters are part of CPU system memory. The content of "Counter cells" can be modified by
STEP 7 instructions (for example, up/down count.)
See also System memory
CP
→ Communication processor
CPU
Central processing unit = CPU of the S7 automation system with a control and arithmetic
unit, memory, operating system, and interface for programming device.
Cycle time
The cycle time represents the time a CPU requires for one execution of the user program.
Cyclic interrupt
→ Interrupt, cyclic interrupt
Data block
Data blocks (DB) are data areas in the user program which contain user data. There are
global data blocks which can be accessed by all code blocks, and instance data blocks
which are assigned to a specific FB call.
Data, static
Static data can only be used within a function block. These data are saved in an instance
data block that belongs to a function block. Data stored in an instance data block are
retained until the next function block call.
Data, temporary
Temporary data represent local data of a block. They are stored in the L-stack when the
block is executed. After the block has been processed, these data are no longer available.
DB
→ Data block
DCP
DCP (Discovery and Basic Configuration Protocol). Enables the assignment of device
parameters (e.g. the IP address) using manufacturer-specific configuration/programming
tools.
Default router
The default router is the router that is used when data must be forwarded to a partner
located within the same subnet.
In STEP 7, the default router is named Router. STEP 7 assigns the local IP address to the
default router.
Determinism
→ Real Time
Device
Within the context of PROFINET, "device" is the generic term for:
● Automation systems,
● Field devices (e.g. PLC, PC)
● Active network components (for example, distributed I/O, valve blocks, drives),
● hydraulic devices and
● pneumatic devices.
The main characteristic of a device is its integration in PROFINET communication over
Ethernet or PROFIBUS.
The following device types are distinguished based on their attachment to the bus:
● PROFINET devices
● PROFIBUS devices
Device Name
Before an IO device can be addressed by an IO controller, it must have a device name. In
PROFINET, this method was selected because it is simpler to work with names than with
complex IP addresses.
The assignment of a device name for a concrete IO device can be compared with setting the
PROFIBUS address of a DP slave.
When it ships, an IO device does not have a device name. An IO device can only be
addressed by an IO controller, for example for the transfer of project engineering data
(including the IP address) during startup or for user data exchange in cyclic operation, after it
has been assigned a device name with the PG/PC .
Diagnostic buffer
The diagnostics buffer represents a buffered memory area in the CPU. It stores diagnostic
events in the order of their occurrence.
Diagnostic interrupt
Modules capable of diagnostics operations report detected system errors to the CPU by
means of diagnostic interrupts.
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 operated on PROFIBUS with PROFIBUS DP protocol and in accordance with EN
50170, Part 3 is referred to as DP slave.
DPV1
The designation DPV1 means extension of the functionality of the acyclical services (to
include new interrupts, for example) provided by the DP protocol. The DPV1 functionality has
been incorporated into IEC 61158/EN 50170, volume 2, PROFIBUS.
Electrically isolated
The reference potentials of the control and load circuit of isolated I/O modules are electrically
isolated, for example, by means of optocouplers, relays or transformers. Input/output circuits
may be grouped.
Equipotential bonding
Electrical connection (equipotential bonding conductor) which eliminates potential difference
between electrical equipment and external conductive bodies by drawing potential to the
same or near the same level, in order to prevent disturbing or dangerous voltages between
these bodies.
Error display
One of the possible reactions of the operating system to a runtime error is to output an error
message. Additional reactions: Error reaction in the user program, CPU in STOP.
Error response
Reaction to a runtime error. Reactions of the operating system: It sets the automation
system to STOP, indicates the error, or calls an OB in which the user can program a
reaction.
ERTEC
→ ASIC
Fast Ethernet
Fast Ethernet describes the standard with which data is transmitted at 100 Mbps. Fast
Ethernet uses the 100 Base-T standard.
FB
→ Function block
FC
→ Function
FEPROM
→ Memory Card (MC)
Flash EPROM
FEPROMs can retain data in the event of power loss, same as electrically erasable
EEPROMs. However, they can be erased within a considerably shorter time (FEPROM =
Flash Erasable Programmable Read Only Memory). They are used on Memory Cards.
Force
The Force function can be used to assign the variables of a user program or CPU (also:
inputs and outputs) constant values.
In this context, please note the limitations listed in the Overview of the test functions section
in the chapter entitled Test functions, Diagnostics and Troubleshooting in the S7-300
Installation manual.
Function
According to IEC 1131-3, a function (FC) is a code block without static data. A function
allows parameters to be passed in the user program. Functions are therefore suitable for
programming frequently occurring complex functions, e.g. calculations.
Function block
According to IEC 1131-3, a function block (FB) is a code block with static data. A function
block allows parameters to be transferred to the user program. Function blocks are therefore
suitable for programming frequently recurring, complex functions, e.g., rules, mode selection.
Functional ground
Grounding which has the sole purpose of safeguarding the intended function of electrical
equipment. With functional grounding you short-circuit interference voltage which would
otherwise have an unacceptable impact on equipment.
GD circuit
A GD circuit comprises a number of CPUs sharing data by means of global data
communication, and is used as follows:
● A CPU broadcasts a GD packet to the other CPUs.
● A CPU sends and receives a GD packet from another CPU.
A GD circuit is identified by a GD circuit number.
GD element
A GD element is generated by assigning shared global data. It is identified by a unique
global data ID in the global data table.
GD packet
A GD packet can consist of one or several GD elements transmitted in a single message
frame.
Global data
Global data can be addressed from any code block (FC, FB, OB). In particular, this refers to
bit memories M, inputs I, outputs Q, timers, counters and data blocks DB. Global data can be
accessed via absolute or symbolic addressing.
Ground
The conductive earth whose electrical potential can be set equal to zero at any point.
Ground potential can be different from zero in the area of grounding electrodes. The term
reference ground is frequently used to describe this situation.
Grounding means, to connect an electrically conductive component via an equipotential
grounding system to a grounding electrode (one or more conductive components with highly
conductive contact to earth).
Chassis ground is the totality of all the interconnected passive parts of a piece of equipment
on which dangerous fault-voltage cannot occur.
Ground
The conductive earth whose electrical potential can be set equal to zero at any point.
Ground potential can be different from zero in the area of grounding electrodes. The term
reference ground is frequently used to describe this situation.
Grounding means, to connect an electrically conductive component via an equipotential
grounding system to a grounding electrode (one or more conductive components with highly
conductive contact to earth).
Chassis ground is the totality of all the interconnected passive parts of a piece of equipment
on which dangerous fault-voltage cannot occur.
GSD file
The properties of a PROFINET device are described in a GSD file (General Station
Description) that contains all the information required for configuration.
As with PROFIBUS, you can link a PROFINET device in STEP 7 by means of a GSD file.
In PROFINET IO, the GSD file is in XML format. The structure of the GSD file conforms to
ISO 15734, which is the world-wide standard for device descriptions.
In PROFIBUS, the GSD file is in ASCII format.
Hardware interrupt
A hardware interrupt is triggered by interrupt-triggering modules as a result of a specific
event in the process. The hardware interrupt is reported to the CPU. The assigned
organization block will be processed according to interrupt priority.
HART
English: Highway Addressable Remote Transducer
I-Device
The "I-Device" (intelligent IO device) functionality of a CPU facilitates data exchange with an
IO controller and operation of the CPU, for example, as intelligent preprocessing unit of sub
processes. Accordingly, the intelligent device is integrated into a "higher-level" IO controller,
acting as IO device.
The functionality of the intelligent device ensures that the data is pre-processed in the user
program on the CPU. The process values acquired from central or distributed locations
(PROFINET IO or PROFIBUS DP) are pre-processed in the user program and provided to a
higher-level station via PROFINET IO device interface of the CPU.
Industrial Ethernet
Industrial Ethernet (formerly SINEC H1) is a technology that allows data to be transmitted
free of interference in an industrial environment.
Due to the openness of PROFINET, you can use standard Ethernet components. We
recommend, however, that you install PROFINET as Industrial Ethernet.
Interface, MPI-compatible
→ MPI
Interrupt
The CPU's operating system distinguishes between different priority classes for user
program execution. These priority classes include interrupts, e.g. process interrupts. When
an interrupt is triggered, the operating system automatically calls an assigned OB. In this OB
the user can program the desired response (e.g. in an FB).
Interrupt, diagnostic
→ Diagnostic interrupt
Interrupt, hardware
→ Hardware interrupt
Interrupt, status
A status interrupt can be generated by a DPV1 slave or a PNIO device respectively. At the
DPV1 master or the PNIO controller respectively the receipt of the interrupt causes the OB
55 to be called up.
For detailed information on OB 56, refer to the Reference Manual System Software for
S7-300/400: System and Standard Functions.
Interrupt, time-delay
The delay interrupt belongs to one of the priority classes in SIMATIC S7 program
processing. It is generated on expiration of a time started in the user program. A
corresponding OB will be processed.
Interrupt, time-delay
→ Interrupt, time-delay
Interrupt, time-of-day
The time-of-day interrupt belongs to one of the priority classes in
SIMATIC S7 program processing. It is generated at a specific date (or daily) and time-of-day
(e.g. 9:50 or hourly, or every minute). A corresponding OB will be processed.
Interrupt, update
An update interrupt can be generated by a DPV1 slave or a PNIO device respectively. At the
DPV1 master or the PNIO controller respectively the receipt of the interrupt causes the OB
56 to be called up.
For detailed information on OB 56, refer to the Reference Manual System Software for S7-
300/400: System and Standard Functions.
Interrupt, vendor-specific
A vendor-specific interrupt can be generated by a DPV1 slave or a PNIO device respectively.
At the DPV1 master or the PNIO controller respectively, receipt of the interrupt causes the
OB 57 to be called.
For detailed information on OB 57, refer to the Reference Manual System Software for S7-
300/400: System and Standard Functions.
IP address
To allow a PROFINET device to be addressed as a node on Industrial Ethernet, this device
also requires an IP address that is unique within the network. The IP address is made up of
4 decimal numbers with a range of values from 0 through 255. The decimal numbers are
separated by a period.
The IP address is made up of
● The address of the (subnet) network and
● The address of the node (generally called the host or network node).
IRT
→ Isochronous Real Time communications
Isochronous mode
In order to maximize deterministic performance, the process data, the transmission cycle via
PROFIBUS DP or PROFINET IO, as well as the user program are synchronized. The input
and output data of the distributed IO devices in the system is acquired and output
simultaneously. The isochronous PROFIBUS DP cycle/PROFINET IO cycle acts as the
corresponding clock generator.
LAN
Local Area Network; interconnects multiple computers within a company. The geographical
topology of a LAN is limited to the local premises and is only available to the operating
company or institution.
LLDP
LLDP (Link Layer Discovery Protocol) is a protocol that is used to detect the closest
neighbors. It enables a device to send information about itself and to save information
received from neighboring devices in the LLDP MIB. This information can be looked up via
the SNMP. This information allows a network management system to determine the network
topology.
Load memory
This memory contains objects generated by the programming device. Load memory is
implemented by means of a plug-in Micro Memory Card of different memory capacities. The
SIMATIC Micro Memory Card must be inserted to allow CPU operation.
Local data
→ Data, temporary
MAC address
Each PROFINET device is assigned a worldwide unique device identifier in the factory. This
6-byte long device identifier is the MAC address.
The MAC address is divided up as follows:
● 3 bytes vendor identifier and
● 3 bytes device identifier (consecutive number).
The MAC address is normally printed on the front of the device.
Example: 08-00-06-6B-80-C0
Main memory
The main memory is integrated in the CPU and cannot be extended. It is used to run the
code and process user program data. Programs only run in the main memory and system
memory.
Master
When a master has the token, it can send data to other nodes and request data from other
nodes (= active node).
Media redundancy
Function that ensures network and system availability. Redundant transmission links (ring
topology) ensure that an alternative communication path is made available if a transmission
link fails.
Module parameters
Module parameters are values which can be used to configure module behavior. A
distinction is made between static and dynamic module parameters.
MPI
The multipoint interface (MPI) represents the programming device interface of SIMATIC S7.
It enables multiple nodes (PGs, text-based displays, OPs) to be operated simultaneously by
one or more CPUs. Each node is identified by its unique (MPI) address.
MPI address
→ MPI
NCM PC
→ SIMATIC NCM PC
Nesting depth
A block can be called from another by means of a block call. Nesting depth is referred to as
the number of simultaneously called code blocks.
Network
A network consists of one or more interconnected subnets with any number of nodes.
Several networks can exist alongside each other.
Network
A network is a larger communication system that allows data exchange between a large
number of nodes.
All the subnets together form a network.
Non-isolated
The reference potential of the control and on-load power circuits of non-isolated I/O modules
is electrically interconnected.
NTP
The Network Time Protocol (NTP) is a standard for synchronizing clocks in automation
systems via Industrial Ethernet. NTP uses the UDP wireless network protocol.
OB
→ Organization blocks
OB priority
The CPU operating system distinguishes between different priority classes, for example,
cyclic program processing, hardware interrupt controlled program processing. Each priority
class is assigned organization blocks (OBs) in which the S7 user can program a response.
The OBs are assigned different default priority classes. These determine the order in which
OBs are executed or interrupt each other when they appear simultaneously.
Operating state
SIMATIC S7 automation systems know the following operating states: STOP, START, RUN.
Operating system
The CPU operating system organizes all the CPU functions and processes which are not
associated with a specific control task.
Organization blocks
Organization blocks (OBs) form the interface between the CPU operating system and the
user program. The order in which the user program is executed is defined in the organization
blocks.
Parameters
1. Variable of a STEP 7 code block
2. Variable for declaring module response (one or several per module). All modules have a
suitable basic factory setting which can be customized in STEP 7.
There are static and dynamic parameters.
Parameters, dynamic
Unlike static parameters, you can change dynamic module parameters during runtime by
calling an SFC in the user program, e.g. limit values of an analog signal input module.
Parameters, static
Unlike dynamic parameters, static parameters of modules cannot be changed by the user
program. You can only modify these parameters by editing your configuration in STEP 7, for
example, modification of the input delay parameters of a digital signal input module.
PC station
→ SIMATIC PC station
PG
→ Programming device
PLC
→ Programmable logic controller
PLC
A PLC in the context of SIMATIC S7 --> is a programmable logic controller.
PNO
Technical committee that defines and additional develops the PROFIBUS and PROFINET
standards with the following homepage: http://www.profinet.com.
Prioritized startup
The term prioritized startup denotes the PROFINET functionality for accelerating the startup
of IO devices operated on a PROFINET IO system with RT and IRT communication.
The function reduces the time that configured IO devices require in order to return to cyclic
user data exchange in the following scenarios:
● After the power supply has returned
● After a station has come back online
● After the activation of IO devices
Priority class
The S7 CPU operating system provides up to 26 priority classes (or "Program execution
levels"). Specific OBs are assigned to these classes. The priority classes determine which
OBs interrupt other OBs. Multiple OBs of the same priority class do not interrupt each other.
In this case, they are executed sequentially.
Process image
The process image is part of CPU system memory. At the start of cyclic program execution,
the signal states at the input modules are written to the process image of the inputs. At the
end of cyclic program execution, the signal status of the process image of the outputs is
transferred to the output modules.
Process-Related Function
→ PROFINET components
Product version
The product version identifies differences between products which have the same order
number. The product version is incremented when forward-compatible functions are
enhanced, after production-related modifications (use of new parts/components) and for bug
fixes.
PROFIBUS
Process Field Bus - European field bus standard.
PROFIBUS device
A PROFIBUS device has at least one PROFIBUS connection to an electric interface
(RS485), or to an optoelectronic interface (polymer optical fiber, POF).
A PROFIBUS device cannot take part directly in PROFINET communication but must be
included over a PROFIBUS master with a PROFINET port or an Industrial
Ethernet/PROFIBUS link (IE/PB Link) with proxy functionality.
PROFIBUS DP
A PROFIBUS with the DP protocol that complies with EN 50170. DP stands for distributed
peripheral (IO) = fast, real-time, cyclic data exchange. From the perspective of the user
program, the distributed IOs are addressed in exactly the same way as the central IOs.
PROFINET
Within the framework of Totally Integrated Automation (TIA), PROFINET represents a
consistent continuation of:
● PROFIBUS DP, the established fieldbus and
● Industrial Ethernet, the communication bus for the cell level
Experience gained from both systems was and is being integrated into PROFINET.
PROFINET is an Ethernet-based automation standard of PROFIBUS International
(previously PROFIBUS user organization) and defines a multi-vendor communication,
automation, and engineering model.
PROFINET ASIC
→ ASIC
PROFINET CBA
Within the PROFINET system, PROFINET CBA (Component Based Automation) is an
automation concept that focuses on the following:
● Implementation of modular applications
● Machine to machine communication
PROFINET CBA lets you create distributed automation solutions based on ready-to-use
components and partial solutions. This concept meets demands for a higher degree of
modularity in the field of mechanical and systems engineering through extensive distribution
of intelligent processes.
Component Based Automation allows you to implement complete technological modules
form operation as standardized components in large-scale systems.
You create the modular, intelligent components of PROFINET CBA using an engineering
tool that could differ depending on the device manufacturer. Components that consist of
SIMATIC devices are created in STEP 7 and interconnected using the SIMATIC iMAP tool.
PROFINET components
A PROFINET component includes the entire data of the hardware configuration, the
parameters of the modules, and the corresponding user program. The PROFINET
component is made up as follows:
● Technological Function
The (optional) technological (software) function includes the interface to other PROFINET
components in the form of interconnectable inputs and outputs.
● Device
The device is the representation of the physical programmable controller or field device
including the I/O, sensors and actuators, mechanical parts, and the device firmware.
PROFINET device
A PROFINET device always has at least one Industrial Ethernet port. PROFINET devices
also support optional operation as proxy acting as representative that safeguards Ethernet
communication between PROFIBUS devices (PROFIBUS-Slaves) connected to a
PROFIBUS interface and additional PROFINET devices on the Ethernet.
PROFINET IO
Within the framework of PROFINET, PROFINET IO is a communication concept for the
implementation of modular, distributed applications.
PROFINET IO allows you to create automation solutions which are familiar to you from
PROFIBUS.
PROFINET IO is implemented based on the PROFINET standard for programmable
controllers.
The STEP 7 engineering tool supports engineering and configuring of an automation
solution.
STEP 7 therefore provides the same application view, regardless of whether you are
configuring PROFINET or PROFIBUS devices. Generally speaking, the programs for your
PROFINET IO and PROFIBUS DP applications are identical, however, for PROFINET IO
you must use the extended SFCs/SFBs and system status lists.
PROFINET IO controller
Device used to address the connected IO devices. This means that the IO controller
exchanges input and output signals with assigned field devices. The IO controller is often the
controller on which the automation program runs.
PROFINET IO device
A distributed field device that is assigned to one of the IO controllers (e.g. remote IO, valve
terminals, frequency converters, switches)
PROFINET IO Supervisor
Programming device, PC or HMI device used for commissioning and diagnostics.
PROFINET IO system
PROFINET IO controller with assigned PROFINET IO devices.
Programming device
Programming devices are essentially compact and portable PCs which are suitable for
industrial applications. They are identified by a special hardware and software for
programmable logic controllers.
Proxy
The PROFINET device with proxy functionality is the substitute for a PROFIBUS device on
Ethernet. The proxy functionality allows a PROFIBUS device to communicate not only with
its master but also with all nodes on PROFINET.
You can integrate existing PROFIBUS systems into PROFINET communication, for example
with the help of an IE/PB Link or a CPU 31x PN/DP. The IE/PB Link then handles
communication over PROFINET as a substitute for the PROFIBUS components.
RAM
RAM (Random Access Memory) is a semiconductor read/write memory.
Real Time
Real time means that a system processes external events within a defined time.
Determinism means that a system reacts in a predictable (deterministic) manner.
In industrial networks, both these requirements are important. PROFINET meets these
requirements. PROFINET is implemented as a deterministic real-time network as follows:
● The transfer of time-critical data between different stations over a network within a
defined interval is guaranteed.
To achieve this, PROFINET provides an optimized communication channel for real-time
communication : Real Time (RT).
● An exact prediction of the time at which the data transfer takes place is possible.
● It is ensured that problem-free communication using other standard protocols, for
example industrial communication for PG/PC can take place within the same network.
Real Time
→ Real Time
Reduction ratio
The reduction rate determines the send/receive frequency for GD packets on the basis of the
CPU cycle.
Reference ground
→ Ground
Reference potential
Voltages of participating circuits are referenced to this potential when they are viewed and/or
measured.
Restart
On CPU start-up (e.g. after is switched from STOP to RUN mode via selector switch or with
POWER ON), OB100 (restart) is initially executed, prior to cyclic program execution (OB1).
On restart, the input process image is read in and the STEP 7 user program is executed,
starting at the first instruction in OB1.
Retentivity
A memory area is considered retentive if its contents are retained even after a power loss
and transitions from STOP to RUN. The non-retentive area of memory flag bits, timers and
counters is reset following a power failure and a transition from the STOP mode to the RUN
mode.
Retentive can be the:
● Bit memory
● S7 timers
● S7 counters
● Data areas
Router
A router interconnects two subnets. A router works in a similar way to a switch. With a router,
however, you can also specify which communication nodes may communicate via the router
and which may not. The communication nodes on various sides of a router can only
communicate with one another if you have explicitly enabled communication between these
nodes via the router. Real-time data cannot be exchanged beyond subnet boundaries.
RT
→ Real Time
Runtime error
Errors occurred in the PLC (that is, not in the process itself) during user program execution.
Segment
→ Bus segment
SFB
→ System function block
SFC
→ System function
Shared Device
The "Shared Device" functionality makes it possible to distribute the submodules of an IO
devices to different IO controllers.
Signal module
Signal modules (SM) form the interface between the process and the PLC. There are digital
input and output modules (input/output module, digital) and analog input and output
modules. (Input/output module, analog)
SIMATIC
The term denotes Siemens AG products and systems for industrial automation.
SIMATIC NCM PC
SIMATIC NCM PC is a version of STEP 7 tailored to PC configuration. For PC stations, it
offers the full range of functions of STEP 7.
SIMATIC NCM PC is the central tool with which you configure the communication services
for your PC station. The configuration data generated with this tool must be downloaded to
the PC station or exported. This makes the PC station ready for communication.
SIMATIC NET
Siemens Industrial Communication division for Networks and Network Components.
SIMATIC PC station
A "PC station" is a PC with communication modules and software components within a
SIMATIC automation solution.
Slave
A slave can only exchange data after being requested to do so by the master.
SNMP
SNMP (Simple Network Management Protocol) makes use of the wireless UDP transport
protocol. It consists of two network components, similar to the client/server model. The
SNMP Manager monitors the network nodes, and the SNMP agents collect the various
network-specific information in the individual network nodes and places it in a structured
form in the MIB (Management Information Base). This information allows a network
management system to run detailed network diagnostics.
SSL
→ System status list
STARTUP
A START-UP routine is executed at the transition from STOP to RUN mode. Can be
triggered by means of the mode selector switch, or after power on, or by an operator action
on the programming device. An S7-300 performs a restart.
STEP 7
STEP 7 is an engineering system and contains programming software for the creation of
user programs for SIMATIC S7 controllers.
Subnet mask
The bits set in the subnet mask decides the part of the IP address that contains the address
of the subnet/network.
In general:
● The network address is obtained by an AND operation on the IP address and subnet
mask.
● The node address is obtained by an AND NOT operation on the IP address and subnet
mask.
Subnetwork
All the devices interconnected by switches are nodes of the same network or subnet. All the
devices in a subnet can communicate directly with each other.
All devices in the same subnet have the same subnet mask.
A subnet is physically restricted by a router.
Substitute
→ Proxy
Substitute value
Substitute values are configurable values which output modules transfer to the process when
the CPU switches to STOP mode.
In the event of an I/O access error, a substitute value can be written to the accumulator
instead of the input value which could not be read (SFC 44).
Switch
In contrast to PROFIBUS DP, Industrial Ethernet is made up of point-to-point links: Each
communication node is connected directly to one other communication node.
Multiple communication nodes are interconnected at the port of an active network
component, that is, at the switch. Other communications nodes (including switches) can then
be connected to the other ports of the switch. The connection between a communication
node and the switch remains a point-to-point link.
The task of a switch is therefore to regenerate and distribute received signals. The switch
"learns" the Ethernet address(es) of a connected PROFINET device or other switches and
forwards only the signals intended for the connected PROFINET device or connected switch.
A switch has a certain number of ports. At each port, connect a maximum of one PROFINET
device or a further switch.
Two switch models are available in PROFINET IO systems: as external switch with
enclosure, or as component of an S7 CPU or S7 CP, or of a distributed I/O system ET 200,
e.g., as in the S7 CPU 317-2 PN/DP.
In our SCALANCE X device family you will find switches with electrical and optical ports or
with a combination of both variants. The SCALANCE X202-2IRT, for example, has 2
electrical ports and 2 optical ports and supports IRT communication.
With STEP 7, you can configure and perform diagnostics on and address switches from the
SCALANCE X device family as PROFINET IO devices.
System diagnostics
System diagnostics refers to the detection, evaluation, and signaling of errors that occur
within the PLC, for example programming errors or module failures. System errors can be
indicated by LEDs or in STEP 7.
System function
A system function (SFC) is a function that is integrated in the operating system of the CPU
and can be called in the STEP 7 user program, when necessary.
System memory
System memory is an integrated RAM memory in the CPU. System memory contains the
address areas (e.g. timers, counters, bit memories) and data areas that are required
internally by the operating system (for example, communication buffers).
Terminating resistor
The terminating resistor is used to avoid reflections on data links.
Timer
→ Timers
Timers
Timers are part of CPU system memory. The content of timer cells is automatically updated
by the operating system, asynchronously to the user program. STEP 7 instructions are used
to define the precise function of the timer cell (for example, on-delay) and to initiate their
execution (for example, start).
TOD interrupt
→ Interrupt, time-of-day
Token
Allows access to the bus for a limited time.
Topology
Network structure. Commonly used structures:
● Linear bus topology
● Ring topology
● Star topology
● Tree topology
Topology configuration
All the interconnected ports of the PROFINET devices in STEP 7 projects and their
relationships to each other.
Transmission rate
Data transfer rate (in bps)
Twisted-pair
Fast Ethernet via twisted-pair cables is based on the IEEE 802.3u standard (100 Base-TX).
The transmission medium is a shielded 2x2 twisted-pair cable with an impedance of 100 Ω
(AWG 22). The transmission characteristics of this cable must meet the requirements of
category 5.
The maximum length of the connection between the terminal and the network component
must not exceed 100 m. The connections are implemented according to the 100 Base-TX
standard with the RJ-45 connector system.
UDT
User Defined Type: User-defined data type with any design.
Ungrounded
Having no direct electrical connection to ground
Update time
Within this interval new data are supplied to an IO device / IO controller in the PROFINET IO
system by the IO controller / IO device. The send cycle can be configured separately for
each IO device and determines the interval at which data are sent from the IO controller to
the IO device (outputs) as well as data from the IO device to the IO controller (inputs).
User program
In SIMATIC, we distinguish between the operating systems of the CPU and user programs.
The user program contains all instructions, declarations and data for signal processing
through which a system or process can be controlled. It is assigned to a programmable
module (for example CPU, FM) and can be structured in smaller units (blocks).
Varistor
Voltage-dependent resistor
WAN
A network beyond LAN boundaries which allows, for example, intercontinental
communication. Legal rights do not belong to the user but to the provider of the
communication network.
D H
Data consistency, 79 Hardware interrupt processing, 197
Data record routing, 76
DB
Instructions List, 151 I
Retentive behavior, 151
I/O, integrated, 272
Degree of protection IP 20, 211
Analog I/O devices, 278
Delete, 163
Analog inputs, 294
Diagnostics, 290
Analog outputs, 297
Digital inputs, 290
Diagnostics, 290
Parameterization, 284
Digital inputs, 290
Technical specifications, 291
Digital outputs, 292
Digital outputs, 292
Interrupt inputs, 289
Parameterization, 285
Parameterization, 283
Technical specifications, 293
I-Device, 146
Display elements, 41
IEC 61131, 204
CPU 317-2 DP, 47
Industrial Ethernet, 81, 135
CPU 319-3 PN/DP, 52
Insulation test, 211
CPU 31x, 45
Integrated inputs and outputs, 272
CPU 31x-2 PN/DP, 50
Technological functions and standard I/Os, 277
CPU 31xC, 30
Usage, 272
Download, user program, 160
Interface
DPV1, 91
MPI, 57
PROFIBUS DP, 58
PROFINET, 59
E
PtP, 64
Electromagnetic compatibility (EMC), 206 Interrupt inputs, 289
U
UL approval, 202
Update time
CPU 31x PN/DP, 62
PROFINET interface, 61
Upload, 163
User program
Download, 160
Measured value archive, 167
Recipe, 165
Upload, 163
W
Warm restart, 164
Web access