Siemens SIMATIC S7-400 Manual

Siemens SIMATIC S7-400 Manual

Cpu
Hide thumbs Also See for SIMATIC S7-400:
Table of Contents

Advertisement

SIMATIC S7-400 SIMATIC S7-400 S7-400 Automation System, CPU Specifications
SIMATIC
S7-400
S7-400 Automation System,
CPU Specifications
Manual
This manual is part of the documentation package
with the order number 6ES74898-8AA05-8BA0
10/2006
6ES7498-8AA04-8BA0
______________
Introduction
______________
Structure of a CPU 41x
Special functions of a
______________
CPU 41x
______________
Communication
______________
PROFIBUS DP
______________
PROFINET
______________
Consistent Data
Storage Concept and
______________
Startup Types
Cycle and Response Times
______________
of the S7-400
______________
Technical specifications
______________
IF 964-DP interface module
1
2
3
4
5
6
7
8
9
10
11

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SIMATIC S7-400

  • Page 1 ______________ Introduction SIMATIC S7-400 SIMATIC S7-400 S7-400 Automation System, CPU Specifications ______________ Structure of a CPU 41x Special functions of a ______________ CPU 41x SIMATIC ______________ Communication S7-400 S7-400 Automation System, ______________ PROFIBUS DP CPU Specifications ______________ PROFINET Manual ______________...
  • Page 2 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.
  • Page 3: Table Of Contents

    Table of contents Introduction............................. 1-1 Structure of a CPU 41x........................... 2-1 Control and display elements of the CPUs ................2-1 Monitoring functions of the CPU ....................2-5 Status and error displays ......................2-8 Mode selector switch ....................... 2-11 Running a memory reset......................2-13 Cold start / Warm restart / Hot restart..................
  • Page 4 Table of contents Communication............................4-1 interfaces............................ 4-1 4.1.1 Multi-Point Interface (MPI) ......................4-1 4.1.2 PROFIBUS DP........................... 4-2 4.1.3 PROFINET ..........................4-4 Communication services ......................4-6 4.2.1 Overview of communication services..................4-6 4.2.2 PG communication........................4-7 4.2.3 OP communication........................4-7 4.2.4 S7 basic communication ......................
  • Page 5 Table of contents Storage Concept and Startup Types....................... 8-1 Overview of the memory concept of S7-400 CPUs ..............8-1 Overview of the startup scenarios for S7-400 CPUs ..............8-4 Cycle and Response Times of the S7-400....................9-1 Cycle time ..........................9-1 Cycle Time Calculation ......................
  • Page 6 Table of contents Tables Table 2-1 LEDs of the CPUs ........................2-2 Table 2-2 Faults/Errors and the reactions of the CPU ................2-5 Table 2-3 Possible states of the RUN and STOP LEDs ................2-8 Table 2-4 Possible statuses of the INTF, EXTF and FRCE LEDs ............. 2-9 Table 2-5 Possible states of the BUS1F and BUS5F LEDs...............
  • Page 7 Table of contents Table 5-16 Structure of station status 3 (Byte 2) ..................5-22 Table 5-17 Structure of the master PROFIBUS address (byte 3).............. 5-23 Table 5-18 Diagnostic address for the recipient during direct data exchange........... 5-30 Table 5-19 Event detection of the 41x CPUs as recipients during direct communication ......5-30 Table 5-20 Evaluation of the station failure in the sender during direct data exchange ......
  • Page 9: Introduction

    Introduction Purpose of the manual The information contained in this manual can be used as a reference for operating, for descriptions of the functions, and for the technical specifications of the CPUs of the S7-400. How to configure, assemble and wire these and further modules in an S7-400 system is S7-400 Programmable Controller;...
  • Page 10 Further Assistance Please talk to your Siemens contact at one of our representatives or local offices if you have questions about the products described here and do not find the answers in this manual.
  • Page 11 ● The documents you need via our Search function in Service & Support. ● A forum is available for users and specialists to exchange experiences. ● Your local Siemens partner for Automation & Drives in our Partner database. ● Information about on-site services, repairs and spare parts. You will find much more under "Services."...
  • Page 12 Introduction S7-400 Automation System, CPU Specifications Manual, 10/2006, 6ES7498-8AA04-8BA0...
  • Page 13: Structure Of A Cpu 41X

    Structure of a CPU 41x Control and display elements of the CPUs Control and Display Elements of the CPU 41x-3PN/DP CPU 416-3 PN/DP 6ES7416-3ER05-0AB0 V5.0.0. INTF EXTF BUS1F BUS5F IFM1F FRCE MAINT STOP STOP MRES MPI/DP FOR LAN ONLY X5 P1 X5 P2 EXT.-BAT T 5 VDC to 15 VDC...
  • Page 14: Table 2-1 Leds Of The Cpus

    Structure of a CPU 41x 2.1 Control and display elements of the CPUs LEDs The table below gives you an overview of the LEDs on the individual CPUs. Table 2-1 LEDs of the CPUs Color Meaning Exists on CPU 414-3 PN/DP 416-3 PN/DP 416F-3 PN/DP INTF...
  • Page 15 Structure of a CPU 41x 2.1 Control and display elements of the CPUs MPI/DP Interface You can connect various devices to the MPI interface of the CPU, for example: ● Programming devices ● Operator control and monitoring devices ● Other S7-400 or S7-300 controllers S7-400 Use the bus connection connector with oblique cable outlet, see the manual Automation System, Hardware and Installation...
  • Page 16 Structure of a CPU 41x 2.1 Control and display elements of the CPUs You need a cable with a 2.5 mm Ø jack plug to connect the power supply to the "EXT.- BATT" jack, as shown in the following illustration. Make sure the polarity of the jack plug is correct.
  • Page 17: Monitoring Functions Of The Cpu

    Structure of a CPU 41x 2.2 Monitoring functions of the CPU Monitoring functions of the CPU Monitoring Functions and Error Messages The CPU hardware and the operating system monitoring functions ensure proper functioning of the system and a defined reaction to faults and errors. Certain error events also trigger a reaction in the user program.
  • Page 18 Structure of a CPU 41x 2.2 Monitoring functions of the CPU Type of error Cause of error Response of the operating system Fault LED Diagnostic interrupt An I/O module with interrupt capability OB 82 call EXTF reports a diagnostic interrupt (entering and exiting If the OB is not loaded: The CPU state)
  • Page 19 Structure of a CPU 41x 2.2 Monitoring functions of the CPU Type of error Cause of error Response of the operating system Fault LED Synchronous error Execution abort • OB 88 call INTF nesting depth (entering state) If the OB is not loaded: The CPU exceeded changes to STOP Too many nested...
  • Page 20: Status And Error Displays

    Structure of a CPU 41x 2.3 Status and error displays Status and error displays Status LEDs The RUN and STOP LEDs on the front panel of the CPU indicate the current CPU mode. Table 2-3 Possible states of the RUN and STOP LEDs Meaning STOP CPU is in RUN.
  • Page 21 Structure of a CPU 41x 2.3 Status and error displays Error and Fault Displays and Special Characteristics The three LEDs INTF, EXTF and FRCE on the front panel of the CPU indicate errors and special features in user program execution. Table 2-4 Possible statuses of the INTF, EXTF and FRCE LEDs Meaning...
  • Page 22: Table 2-7 Possible States Of The Link And Rx/Tx Leds

    Structure of a CPU 41x 2.3 Status and error displays Error and Fault Displays and Special Characteristics of the CPU 41x-3PN/DP The CPUs 41x-3PN/DP furthermore have the LINK LED and the RX/TX LED These LEDs indicate the current state of the PROFINET interface. Table 2-7 Possible states of the LINK and RX/TX LEDs Meaning...
  • Page 23: Mode Selector Switch

    Structure of a CPU 41x 2.4 Mode selector switch Mode selector switch Function of the Mode Selector Switch You can use the mode selector to set the CPU from RUN to STOP or reset CPU memory. STEP 7 offers further mode selection options. Positions The mode selector is designed as a toggle switch.
  • Page 24 Structure of a CPU 41x 2.4 Mode selector switch without particular authorization (password). On password level you can access all PG functions. Setting the Security Classes You can set the security classes (1 to 3) for a CPU in STEP 7 -> HW Config. You can delete the security class set STEP 7 ->...
  • Page 25: Running A Memory Reset

    Structure of a CPU 41x 2.5 Running a memory reset Running a memory reset Operating Sequence at Memory Reset Case A: You want to transfer a new, complete user program to the CPU. 1. Set the mode selector switch to STOP. Result: The STOP LED is lit.
  • Page 26 Structure of a CPU 41x 2.5 Running a memory reset Values Retained After a Memory Reset After the CPU has been reset, the following values remain: ● The content of the diagnostic buffer The content can be read out with the programming device using STEP 7. ●...
  • Page 27: Cold Start / Warm Restart / Hot Restart

    Structure of a CPU 41x 2.6 Cold start / Warm restart / Hot restart Cold start / Warm restart / Hot restart Cold start ● During a cold restart, all data (process image, bit memory, timers, counters and data blocks) are reset to the start values stored in the program (load memory), irrespective of whether they were configured as retentive or non-retentive.
  • Page 28 Structure of a CPU 41x 2.6 Cold start / Warm restart / Hot restart Operating Sequence at Hot Restart 1. Select the startup type "hot restart" on the PG The button is active only if this type of startup is possible on the specific CPU. Operating Sequence at Cold Start A manual cold restart can only be triggered on the programming device.
  • Page 29: Structure And Functions Of The Memory Cards

    Structure of a CPU 41x 2.7 Structure and Functions of the Memory Cards Structure and Functions of the Memory Cards Order numbers The order numbers for memory cards are listed in the technical specifications. Structure The memory card is slightly larger than a credit card and protected by a strong metal casing. It is inserted into a front slot of the CPU.
  • Page 30 Structure of a CPU 41x 2.7 Structure and Functions of the Memory Cards Serial Number As from Version 5 the memory cards have a serial number. This serial number is listed in INDEX 8 of the SZL Parts List W#16#xy1C. The parts list can be read out using the SFC 51 "RDSYSST".
  • Page 31: Use Of The Memory Cards

    ● RAM cards ● Flash cards (FEPROM cards) Note Parameters which determine the behavior of the CPU Non-Siemens memory cards cannot be used in the S7-400. Which Type of Memory Card Should Be Used? Whether you use a RAM card or a flash card depends on how you intend to use the memory card.
  • Page 32 Structure of a CPU 41x 2.8 Use of the Memory Cards Option 1: 1. Set the CPU mode switch to the STOP state with the mode selector switch. 2. Insert the flash card into the CPU. 3. Perform a memory reset. 4.
  • Page 33: Multipoint Interface (Mpi)

    Structure of a CPU 41x 2.9 Multipoint Interface (MPI) Multipoint Interface (MPI) Availability All the CPUs of the S7-400 feature an MPI interface. Connectable Devices You can connect the following stations to the MPI, for example: ● Programming devices (PG/PC) ●...
  • Page 34 Structure of a CPU 41x 2.9 Multipoint Interface (MPI) MPI interface as a PROFIBUS DP interface You can also configure the MPI interface for operation as a PROFIBUS DP interface. To do so, you can reconfigure the MPI interface under STEP 7 in HW Config. You can use this to set up a DP line consisting of up to 32 slaves.
  • Page 35: Profibus Dp Interface

    Structure of a CPU 41x 2.10 PROFIBUS DP Interface 2.10 PROFIBUS DP Interface Availability CPUs with a "PN" name suffix are equipped with a PROFINET DP interface as a plug-in module. To be able to use this interface, you must first configure it in HW Config and then load the configuration in the CPU.
  • Page 36: Profinet (Pn) Interface

    ● For detailed information about Ethernet networks, network configuration and network SIMATIC NET Manual: Twisted-Pair and Fiber Optic Networks components refer to the available under article ID 8763736 at http://support.automation.siemens.com. Component Based Automation, Commissioning SIMATIC iMap Systems - Tutorial, ●...
  • Page 37: Overview Of The Parameters For The S7-400 Cpus

    Structure of a CPU 41x 2.12 Overview of the parameters for the S7-400 CPUs 2.12 Overview of the parameters for the S7-400 CPUs Default Values When shipped all parameters are set to default values. These defaults are suitable for a whole range of standard applications, in other words, an S7-400 can be used immediately without requiring any further settings.
  • Page 38 Structure of a CPU 41x 2.12 Overview of the parameters for the S7-400 CPUs ● Assignment of interrupts, hardware interrupts, time-delay interrupts and asynchronous error interrupts to the priority classes ● Time-of-day interrupts, for example start, interval duration and priority ●...
  • Page 39: Special Functions Of A Cpu 41X

    Special functions of a CPU 41x Web Server Reading Out Information About the Web Server The web server can be used to read the following information out of the CPU: ● Start page with general CPU information – Module name –...
  • Page 40 Special functions of a CPU 41x 3.1 Web Server Activating Web Server The web server is activated in its factory state. It is deactivated in HW Config with its basic configuration. You can activate the web server in HW Config with the command "CPU ->...
  • Page 41: Multicomputing

    Special functions of a CPU 41x 3.2 Multicomputing Multicomputing 3.2.1 Fundamentals Multicomputing Mode Multicomputing mode is the simultaneous operation of several (maximum 4) CPUs with Multicomputing capability in a central controller of the S7-400. The CPUs involved automatically change their modes synchronized with each other; the CPUs start up together and change to STOP together.
  • Page 42 Special functions of a CPU 41x 3.2 Multicomputing Example The following figure shows an automation system operating in multicomputing mode. Each CPU can access the modules assigned to it (FM, CP, SM). Central rack Expansion rack CP, FM, CP, FM, CP, FM, CP, FM, CP, FM,...
  • Page 43: Special Features At Multicomputing

    Special functions of a CPU 41x 3.2 Multicomputing 3.2.2 Special Features at Multicomputing Slot Rules In multicomputing mode, up to four CPUs can be inserted in one central controller (CC) in any order. Bus Connection All the CPUs can be reached from the programming device if a corresponding configuration exists by means of the MPI interface or the PROFIBUS DP interface.
  • Page 44: Multicomputing Interrupt

    Special functions of a CPU 41x 3.2 Multicomputing Number of I/Os The number of I/Os of an automation system in multicomputing mode corresponds to the number of I/Os of the CPU with the most resources. The configuration limits for the specific CPU or specific DP master must not be exceeded in the individual CPUs.
  • Page 45: System Modifications During Operation

    You can download this manual free of charge from the Internet at the following address: http://www.siemens.com/automation/service&support System modifications during operation with CiR can be made in plant sections with distributed I/O. Such changes are only possible with the configuration as shown in the figure below.
  • Page 46: Hardware Requirements

    Special functions of a CPU 41x 3.3 System modifications during operation 3.3.2 Hardware requirements Hardware requirements for system modifications during operation To be able to make system modifications during operation, the following hardware requirements must be met during commissioning: ● If you want to make system changes to a DP master system with an external DP master (CP 443-5 extended) during operation, this must have at least firmware version V5.0.
  • Page 47: Software Requirements

    Special functions of a CPU 41x 3.3 System modifications during operation 3.3.3 Software requirements Software Requirements for System Modifications during Operation To be able to make configuration changes in RUN, the user program must meet the following requirement: It must be written so that, for example, station failures, module faults or timeouts do not cause the CPU to change to STOP.
  • Page 48: Permitted System Modifications

    Special functions of a CPU 41x 3.3 System modifications during operation 3.3.4 Permitted system modifications Overview During operation, you can make the following system modifications: ● Add modules to the ET 200M modular DP slave provided that you have not linked it as a DPV0 slave (using a GSD file).
  • Page 49: Resetting The Cpu To The Factory State

    Special functions of a CPU 41x 3.4 Resetting the CPU to the factory state Resetting the CPU to the factory state Factory state of the CPU A memory reset is performed when you reset the CPU to its factory state and the properties of the CPU are set to the following values: Table 3-1 Properties of the CPU in the factory state...
  • Page 50: Table 3-2 Led Patterns

    Special functions of a CPU 41x 3.4 Resetting the CPU to the factory state LED Patterns during CPU Reset While you are resetting the CPU to the factory state, the LEDs light up consecutively in the following LED patterns: Table 3-2 LED patterns LED pattern 1 LED pattern 2...
  • Page 51: Updating Firmware Online

    Special functions of a CPU 41x 3.5 Updating firmware online Updating firmware online Basic Procedure To update the firmware of a CPU, you receive the four files (*.UPD) containing the current firmware. Load these files in the CPU. You do not need a memory card to perform an online update.
  • Page 52: Reading Out Service Data

    Special functions of a CPU 41x 3.6 Reading out service data Reading out service data Requirement To use this function, you must install STEP 7, version 5.3 or higher. Use Case In a service situation in which you need to call Customer Support, it is possible that Customer Support will need special information about the status of a CPU in your system for diagnostic purposes.
  • Page 53: Communication

    Communication interfaces 4.1.1 Multi-Point Interface (MPI) Availability The MPI/DP interface of an S7-400 CPU in the factory state is set as an MPI interface with an address of 2. Properties The MPI represents the CPU interface for PG/OP connections or for communication on an MPI subnet.
  • Page 54: Profibus Dp

    Communication 4.1 interfaces MPI Interface as a PROFIBUS DP Interface You can also configure the MPI interface for operation as a PROFIBUS DP interface. To do so, you can reconfigure the MPI interface under STEP 7 in HW Config. You can use this to set up a DP line consisting of up to 32 slaves.
  • Page 55 Communication 4.1 interfaces Time synchronization via PROFIBUS DP As the time master, the CPU sends synchronization message frames to the PROFIBUS to synchronize further stations. As the time slave, the CPU receives the CPU synchronization message frames from other time masters. One of the following devices can be a time master: ●...
  • Page 56: Profinet

    Communication 4.1 interfaces 4.1.3 PROFINET Availability CPUs with a "PN" name suffix feature an ETHERNET interface with PROFINET functionality. Assigning an IP Address You have the following options to assign an IP address to the Ethernet interface: 1. With the SIMATIC Manager command "PLC -> Edit Ethernet Node". 2.
  • Page 57 ● For detailed information about Ethernet networks, network configuration and network SIMATIC NET Manual: Twisted-Pair and Fiber Optic Networks components refer to the available under article ID 8763736 at http://support.automation.siemens.com. Component Based Automation, Commissioning SIMATIC iMap Systems - Tutorial, ●...
  • Page 58: Communication Services

    Communication 4.2 Communication services Communication services 4.2.1 Overview of communication services Overview Table 4-1 Communication services of the CPUs Communication service Functionality Assignment of S7 via MPI via DP connection resources PN/IE Programming device Commissioning, test, diagnostics communication OP communication Operator control and process monitoring S7 basic communication...
  • Page 59: Pg Communication

    Communication 4.2 Communication services 4.2.2 PG communication Properties Programming device communication is used to exchange data between engineering stations (PG, PC, for example) and SIMATIC modules which are capable of communication. This service is available for MPI, PROFIBUS and Industrial Ethernet subnets. Routing between subnets is also supported.
  • Page 60: S7 Basic Communication

    Communication 4.2 Communication services 4.2.4 S7 basic communication Properties S7-based communication is used to exchange data between S7 CPUs and the communication-capable SIMATIC modules within an S7 station (acknowledged data communication). The service is available via MPI subnet, or within the station to function modules (FM).
  • Page 61: S7 Communication

    Communication 4.2 Communication services 4.2.5 S7 communication Properties A CPU can always operate as a server or client in S7 communication: A connection is configured permanently. The following connections are: ● One-sided configured connections (for PUT/GET only) ● Two-side configured connections (for USEND, URCV, BSEND, BRCV, PUT, GET) S7-400 PN CPUs provide an integrated Industrial Ethernet port on the CPU module, allowing you to use S7 communication over Industrial Ethernet without going through a communications processor (CP).
  • Page 62: Table 4-3 Sfbs For The Basic S7 Communication

    Communication 4.2 Communication services SFBs for the Basic S7 Communication The following SFBs are integrated in the operating system of the S7-400 CPUs: Table 4-3 SFBs for the basic S7 communication Block Block name Brief description SFB 8 USEND Send data to a remote partner SFB with the type "URCV" SFB 9 URCV Receive asynchronous data from a remote partner SFB with the type "USEND"...
  • Page 63: Global Data Communication

    Communication 4.2 Communication services 4.2.6 Global data communication Properties Global data communication is used for cyclic exchange of global data via MPI subnets (for example, I, Q, M) between SIMATIC S7 CPUs. The data communication is unacknowledged. One CPU broadcasts its data to all other CPUs on the MPI subnet. The integrated communication functions are called via SFCs in the user program.
  • Page 64: Table 4-5 Gd Resources Of The Cpus

    Communication 4.2 Communication services GD resources of the CPUs Table 4-5 GD resources of the CPUs Parameters CPU 414-3 PN/DP CPU 416-3 PN/DP Number of GD circuits per CPU Max. 8 Max. 16 GD packets transmitted by all GD circuits Max.
  • Page 65: Routing

    Communication 4.2 Communication services 4.2.7 Routing Properties You can access other stations on other subnets with the programming device / PC of your S7 stations. You can use this for the following actions: ● Downloading user programs ● Downloading a hardware configuration ●...
  • Page 66 Communication 4.2 Communication services Routing gateways: MPI - DP Gateways between subnets are routed in a SIMATIC station that is equipped with interfaces to the respective subnets. The following figure shows CPU 1 (DP master) acting as router for subnets 1 and 2. Figure 4-1 Routing S7-400 Automation System, CPU Specifications...
  • Page 67 Communication 4.2 Communication services Routing Gateways: MPI - DP - PROFINET The following figure shows access from MPI to PROFINET via PROFIBUS. CPU 1, for example 416-3, is the router for subnet 1 and 2; CPU 2 is the router for subnet 2 and 3. Figure 4-2 Routing gateways: MPI - DP - PROFINET S7-400 Automation System, CPU Specifications...
  • Page 68 Communication 4.2 Communication services Routing: Example of a TeleService application The following figure shows the example of an application for remote maintenance of an S7 station using a PG. The connection to other subnets is here established via modem connection. The lower section of the figure shows how this can be configured in STEP 7.
  • Page 69 ● You can find more basic information in the manual. ● You can find additional information about the TeleService adapter under article ID 20983182 on the Internet at http://support.automation.siemens.com. Instruction List ● You can find additional information on SFCs in the...
  • Page 70: S7 Connections

    Communication 4.3 S7 connections S7 connections 4.3.1 Communication path of an S7 connection An S7 connection is established as a communication channel when S7 modules communicate with one another. Note Global data communication, point-to-point connection via CP 341, PROFIBUS DP, PROFINET CBA, PROFINET IO, Web and SNMP require no S7 connections.
  • Page 71: Assignment Of S7 Connections

    Communication 4.3 S7 connections 4.3.2 Assignment of S7 connections There are several ways to allocate S7 connections on a communication-capable module: ● Reservation during configuration ● Assigning connections in the program ● Allocating connections during commissioning, testing and diagnostics routines ●...
  • Page 72 Communication 4.3 S7 connections Time sequence for allocation of S7 connection resources When you configure your project in STEP 7, the system generates parameter assignment blocks which are read by the modules during startup. This allows the module's operating system to reserve or allocate the relevant S7 connection resources. That is, for instance, OPs cannot access a reserved S7 connection resource for PG communication.
  • Page 73: Distribution And Availability Of S7 Connection Resources

    Communication 4.3 S7 connections 4.3.3 Distribution and availability of S7 connection resources Distribution of connection resources Table 4-6 Distribution of connections Communication service Distribution Programming device communication In order to avoid allocation of connection resources being dependent only on the chronological sequence in which various communication services are OP communication requested, connection resources can be reserved for these services.
  • Page 74 Communication 4.3 S7 connections S7-400 Automation System, CPU Specifications 4-22 Manual, 10/2006, 6ES7498-8AA04-8BA0...
  • Page 75: Profibus Dp

    PROFIBUS DP CPU 41x-3 PN/DP as DP master / DP slave 5.1.1 Overview Introduction This chapter describes the properties and technical specifications that you require when you use a CPU 41x-3 PN/DP as a DP master or as a DP slave and configure it for direct data exchange.
  • Page 76: Dp Address Areas Of 41X Cpus

    PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave 5.1.2 DP address areas of 41x CPUs Address Areas of 41x CPUs Table 5-1 41x CPUs (MPI/DP interface and DP module as PROFIBUS DP) Address area 414-3 416-3 MPI interface as PROFIBUS DP, both inputs and outputs (bytes) 2048 2048...
  • Page 77: Cpu 41X As Profibus Dp Master

    PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave 5.1.3 CPU 41x as PROFIBUS DP master Introduction This section describes the properties and technical specifications of the CPU if you operate it as a PROFIBUS DP master. Reference You can find the features and technical specifications of the 41x CPUs as of in this manual in Technical specifications...
  • Page 78 DPV1 slaves can be used in systems that are not converted to DPV1. In this case, their behavior corresponds with that of conventional slaves. SIEMENS DPV1 slaves can be operated in S7-compatible mode. For the DPV1 slaves of other manufacturers, you need a GSD file <...
  • Page 79 PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Isochronous Updating of Process Image Partitions SFC126 "SYNC_PI" is used for the isochronous update of the process image partition of inputs. An application program which is interconnected to a DP cycle can use the SFC for consistent updates of the data recorded in the process image partition of inputs in synchronism with this cycle.
  • Page 80: Diagnostics Of The Cpu 41X As Dp Master

    PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Startup of the DP Master System Use the following parameters to set startup monitoring of the DP master: ● Transfer of the parameters to modules ● "Ready" message from the module That is, the DP slaves must start up within the set time and be configured by the CPU (as DP master).
  • Page 81 PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Triggering Detection of the Bus Topology in a DP Master System with the SFC103 "DP_TOPOL" The diagnostic repeater is available to improve the ability to locate faulty modules or an interruption on the DP cable when failures occur in ongoing operation.
  • Page 82 PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Analysis of Diagnostic Data in the User Program The following figure shows you how to evaluate the diagnostic data in the user program. CPU 41x Diagnostic event OB82 is called For the diagnosis of the relevant Read out OB82_MDL_ADDR components:...
  • Page 83: Table 5-4 Diagnostic Addresses For The Dp Master And Dp Slave

    PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Diagnostic Addresses in Connection with DP Slave Functionality You assign diagnostic addresses for the PROFIBUS DP in the CPU 41x. Verify in your configuration that the DP diagnostic addresses are assigned once to the DP master and once to the DP slave.
  • Page 84 PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Evaluation in the User Program The following table shows you how, for example, you can evaluate RUN-STOP transitions of the DP slave in the DP master (see also table "Event detection of the CPUs 41x as DP master").
  • Page 85: Cpu 41X As Dp Slave

    Internet at http://www.ad.siemens.de/simatic-cs under the entry ID 1452338. Monitoring/Modifying and Programming via PROFIBUS As an alternative to the MPI interface, you can use the PROFIBUS DP interface to program the CPU or execute the programming device functions Monitor and Modify.
  • Page 86 PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Data Transfer Via an Transfer Memory As a DP slave the CPU 41x makes an transfer memory available to PROFIBUS DP. Data transfer between the CPU as DP slave and the DP master always takes place via this transfer memory.
  • Page 87 PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Rules You must adhere to the following rules when working with the transfer memory: ● Assignment of the address areas: – Input data of the DP slave is always output data of the DP master –...
  • Page 88 PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Sample Program The small sample program below illustrates data transfer between the DP master and DP slave. This example contains the addresses from the table "Configuration example for the address areas of the transfer memory".
  • Page 89: Diagnostics Of The Cpu 41X As Dp Slave

    PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave 5.1.6 Diagnostics of the CPU 41x as DP slave Diagnostics Using LEDs – CPU 41x The following table explains the meaning of the BUSF LEDs. The BUSF LED assigned to the interface configured as the PROFIBUS DP interface is always lit or flashing.
  • Page 90: Table 5-9 Reading Out The Diagnostic Data With Step 5 And Step 7 In The Master System

    The following applies to the DPV1 environment: To read out interrupt information within the associated interrupt OB FB125/FC125 To evaluate slave diagnostic The Internet page http://www.ad.siemens.d information e/simatic-cs ID 387 257 SIMATIC S5 with FB 192 "IM308C" Reading out slave diagnostics...
  • Page 91: Table 5-10 Step 5 User Program

    PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Example of Reading Slave Diagnostic Data, Using FB 192 "IM 308C" Here, you will find an example of how to use FB 192 to read out the slave diagnostics for a DP slave in the STEP 5 user program.
  • Page 92: Table 5-11 Diagnostic Addresses For The Dp Master And Dp Slave

    PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Diagnostic Addresses in Connection with DP Master Functionality You assign diagnostic addresses for the PROFIBUS DP in the CPU 41x. Verify in your configuration that the DP diagnostic addresses are assigned once to the DP master and once to the DP slave.
  • Page 93: Table 5-13 Evaluating Runstop Transitions In The Dp Master/Dp Slave

    PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Evaluation in the User Program The table below shows an example of you how you can evaluate RUN-STOP transitions of the DP master in the DP slave (see also the previous table). Table 5-13 Evaluating RUNSTOP transitions in the DP Master/DP Slave In the DP master...
  • Page 94: Cpu 41X As Dp Slave: Station Statuses 1 To 3

    PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave 5.1.7 CPU 41x as DP slave: Station statuses 1 to 3 Station statuses 1 to 3 Station status 1 to 3 provides an overview of the status of a DP slave. Table 5-14 Structure of station status 1 (Byte 0) Meaning...
  • Page 95 PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Meaning 0:The bit is always set to "0". 1:The DP slave is disabled; in other words, it has been removed from cyclic processing. Table 5-16 Structure of station status 3 (Byte 2) Meaning 0:The bits are always set to "0".
  • Page 96 PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Identifier-related diagnostics The ID-related diagnostic data tells you for which of the configured address areas of the transfer memory an entry has been made. Bit no. Byte 6 Length of the module diagnosis including byte 6 (depends on the number of configured address areas up to 6 bytes) Code for module diagnosis...
  • Page 97 PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Device-Related Diagnostics Device-related diagnostics provides detailed information on a DP slave. Device-related diagnostics starts at byte x and can include up to 20 bytes. The figure below illustrates the structure and contents of the bytes for a configured address area of the transfer memory.
  • Page 98 PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Bytes x +4 to x +7 for Diagnostic Interrupts The following figure illustrates the structure and contents of bytes x +4 to x +7 for the diagnostic interrupt. The data in these bytes correspond to the contents of data record 0 of diagnostic data in STEP 7 (in this case, not all bits are used).
  • Page 99 PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Interrupts with a Different DP Master If you are operating the CPU 41x with a different DP master, these interrupts are simulated in the device-related diagnostic data of the CPU 41x. You have to process the relevant diagnostic events in the DP master's user program.
  • Page 100: Direct Data Exchange

    PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave 5.1.8 Direct Data Exchange 5.1.8.1 Principle of direct data exchange Overview Direct data exchange is characterized by PROFIBUS DP nodes which "listen" on the bus and know which data a DP slave returns to its DP master. This mechanism allows the "listening node"...
  • Page 101: Diagnostics In Direct Data Exchange

    PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave 5.1.8.2 Diagnostics in direct data exchange Diagnostic addresses In direct data exchange you assign a diagnostic address in the recipient: Table 5-18 Diagnostic address for the recipient during direct data exchange S7-CPU as sender S7-CPU as recipient PROFIBUS...
  • Page 102 PROFIBUS DP 5.1 CPU 41x-3 PN/DP as DP master / DP slave Evaluation in the user program The following table shows you, for example, how you can evaluate a sender station failure in the recipient (see also table above). Table 5-20 Evaluation of the station failure in the sender during direct data exchange In the sender In the recipient...
  • Page 103: Profinet

    Documentation from PROFIBUS International on the Internet Numerous texts on the subject of PROFINET are available from the URL "http://www.profinet.com" from PROFIBUS International (formerly PROFIBUS Nutzer-Organisation, PNO) For further information, refer to Internet address "http://www.siemens.com\profinet\". S7-400 Automation System, CPU Specifications Manual, 10/2006, 6ES7498-8AA04-8BA0...
  • Page 104: Profinet Io And Profinet Cba

    PROFINET 6.2 PROFINET IO and PROFINET CBA PROFINET IO and PROFINET CBA PROFINET variations There are two varieties of PROFINET ● PROFINET IO: IO devices are connected to an S7-400 CPU (IO controller) via Ethernet. ● PROFINET CBA: A component-based automation solution in which full technological modules are used as standardized components into large plants.
  • Page 105 PROFINET 6.2 PROFINET IO and PROFINET CBA PROFINET CBA divides an entire plant into various functions. These functions are configured and programmed. PROFINET IO provides you with a view of the system that is very similar to the view obtained in PROFIBUS. You continue to configure and program the individual automation devices.
  • Page 106: Profinet Io Systems

    PROFINET 6.3 PROFINET IO Systems PROFINET IO Systems Extended Functions of PROFINET IO The graphic below shows the new functions of PROFINET IO. Figure 6-2 PROFINET IO S7-400 Automation System, CPU Specifications Manual, 10/2006, 6ES7498-8AA04-8BA0...
  • Page 107 PROFINET 6.3 PROFINET IO Systems The figures show Examples of connection paths The connection of company From PCs in your company network, you can access devices at the field level. network and field level Example: PC - Switch 1 - Router - Switch 2 - CPU 41x PN/DP ①. •...
  • Page 108: Blocks In Profinet Io

    PROFINET 6.4 Blocks in PROFINET IO Blocks in PROFINET IO Compatibility of the New Blocks For PROFINET IO, some new blocks were created, among other things, because larger configurations are now possible with PROFINET. You can also use the new blocks with PROFIBUS.
  • Page 109 PROFINET 6.4 Blocks in PROFINET IO Blocks PROFINET IO PROFIBUS DP SFC 71 Query the slot belonging to a logical address The following table provides an overview of the system and standard functions for SIMATIC, whose functionality must be implemented by other functions when converting from PROFIBUS DP to PROFINET IO.
  • Page 110: System Status Lists For Profinet Io

    PROFINET 6.5 System status lists for PROFINET IO Detailed Information System Software for For detailed descriptions of the individual blocks, refer to the manual S7-300/400 System and Standard Functions System status lists for PROFINET IO Introduction The CPU makes certain information available and stores this information in the "System status list".
  • Page 111 PROFINET 6.5 System status lists for PROFINET IO SSL-ID PROFINET IO PROFIBUS DP Applicability W#16#4C91 Yes, internal interface Module status information of a module Parameter adr1 changed attached to an external DP or PN No, external interface interface using the start address W#16#0D91 Yes, internal interface Module status information of all modules...
  • Page 112: Open Communication Via Industrial Ethernet

    PROFINET 6.6 Open Communication Via Industrial Ethernet Open Communication Via Industrial Ethernet Requirement ● STEP 7 V5.4 + Servicepack 1 or higher Functionality CPUs with Firmware V5.0 or higher and integrated PROFINET interface support the open open IE communication communication functionality via Industrial Ethernet (in short: Following services are available for open IE communication: ●...
  • Page 113 PROFINET 6.6 Open Communication Via Industrial Ethernet ● Connectionless protocol: UDP – FB 67 "TUSEND" for sending data – FB 68 "TURCV" for receiving data – FB 65 "TCON" for establishing the local communication access point – FB 66 "TDISCON" for resolving the local communication access point –...
  • Page 114 PROFINET 6.6 Open Communication Via Industrial Ethernet Establishing a Connection for Communication ● Use with TCP and IS-on-CP Both communication partners call FB 65 "TCON" to establish the connection. In your connection configuration, you define which communication partner activates the connection, and which communication partner responds to the request with a passive connection.
  • Page 115: Snmp Communication Service

    PROFINET 6.7 SNMP Communication Service SNMP Communication Service Availability The SNMP communication service is available for CPUs with integrated PROFINET interface and Firmware 5.0 or higher. Properties Network diagnostics SNMP (Simple Network Management Protocol) is the standardized protocol for diagnostics of the Ethernet network infrastructure. In the office setting and in automation engineering, devices from many different manufacturers support SNMP on the Ethernet.
  • Page 116: Pn/Io Address Areas Of The Cpus 41X-3Pn/Dp

    PROFINET 6.8 PN/IO Address Areas of the CPUs 41x-3PN/DP PN/IO Address Areas of the CPUs 41x-3PN/DP Address Areas of the CPUs 41x-3 PN/DP Table 6-5 PROFINET IO address areas of the CPUs Address area CPU 414-3 PN/DP CPU 416-3 PN/DP Size of the process image 8 KB 16 KB...
  • Page 117: Consistent Data

    Consistent Data Basics Overview Data that belongs together in terms of its content and describes a process state at a specific point in time is known as consistent data. To maintain consistency, the data should not be changed or updated during processing or transmission. Example To ensure that the CPU has a consistent image of the process signals for the duration of cyclic program scanning, the process signals are read from the process image inputs prior to...
  • Page 118: Consistency For Communication Blocks And Functions

    Consistent Data 7.2 Consistency for communication blocks and functions Consistency for communication blocks and functions Overview Using S7-400, the communication jobs are not processed at the scan cycle checkpoint; instead, in fixed time slices during the program cycle. In the system the byte, word and double word data formats can always be processed consistently, in other words, the transfer or processing of 1 byte, 1 word (= 2 bytes) or 1 double word (= 4 bytes) cannot be interrupted.
  • Page 119: Consistent Reading And Writing Of Data From And To Dp Standard Slaves/Io Devices

    Consistent Data 7.3 Consistent Reading and Writing of Data from and to DP Standard Slaves/IO Devices Consistent Reading and Writing of Data from and to DP Standard Slaves/IO Devices Reading Data Consistently from a DP Standard Slave/IO Device Using SFC 14 "DPRD_DAT" Using SFC14 "DPRD_DAT"...
  • Page 120 Consistent Data 7.3 Consistent Reading and Writing of Data from and to DP Standard Slaves/IO Devices System and For information on SFC 15, refer to the corresponding online help and to the Standard Functions manual. Note The PROFIBUS DP standard defines the upper limit for the transmission of consistent user data.
  • Page 121 Consistent Data 7.3 Consistent Reading and Writing of Data from and to DP Standard Slaves/IO Devices Example: The following example (of the process image partition 3 "TPA 3") shows such a configuration in HW Config: ● TPA 3 at output: These 50 bytes are stored consistent in the process image partition 3 (pull-down list "Consistent over ->...
  • Page 122 Consistent Data 7.3 Consistent Reading and Writing of Data from and to DP Standard Slaves/IO Devices S7-400 Automation System, CPU Specifications Manual, 10/2006, 6ES7498-8AA04-8BA0...
  • Page 123: Storage Concept And Startup Types

    Storage Concept and Startup Types Overview of the memory concept of S7-400 CPUs Organization of Memory Areas The memory of the S7 CPUs can be divided into the following areas: External load memory RAM with battery backup Load memory For project data (blocks, symbols, retentive flash memory comments, configuration and parameter assignment data)
  • Page 124 Storage Concept and Startup Types 8.1 Overview of the memory concept of S7-400 CPUs Important note for CPUs with selectable allocation of the work memory If you change the work memory allocation by modifying parameters, this work memory is reorganized when you load system data into the CPU. The result of this is that data blocks that were created with SFC are deleted, and the remaining data blocks are assigned initial values from the load memory.
  • Page 125 Storage Concept and Startup Types 8.1 Overview of the memory concept of S7-400 CPUs ● System memory of the CPU also makes temporary memory available (local data stack, diagnostic buffer and communication resources) that is assigned to the program for the temporary data of a called block.
  • Page 126: Overview Of The Startup Scenarios For S7-400 Cpus

    Storage Concept and Startup Types 8.2 Overview of the startup scenarios for S7-400 CPUs Overview of the startup scenarios for S7-400 CPUs Cold Start ● During a cold restart, all data (process image, bit memory, timers, counters and data blocks) are reset to the start values stored in the program (load memory), irrespective of whether they were configured as retentive or non-retentive.
  • Page 127: Cycle And Response Times Of The S7-400

    Cycle and Response Times of the S7-400 Cycle time Definition of the Cycle Time The cycle time represents the time that an operating system needs to execute a program, that is, one OB 1 cycle, including all program sections and system activities interrupting this cycle.
  • Page 128 Cycle and Response Times of the S7-400 9.1 Cycle time Parts of the Cycle Time PIQ: Process Image of Outputs PII: Process Image of Inputs SCC: Scan cycle checkpoint OS: Operating system Time slice (1 ms each) User program SCC (OS) Time slice (1 ms) Operating system User program...
  • Page 129: Cycle Time Calculation

    Cycle and Response Times of the S7-400 9.2 Cycle Time Calculation Cycle Time Calculation Increasing the Cycle Time Basically, you should note that the cycle time of a user program is increased by the following: ● Time-driven interrupt processing ● Hardware interrupt processing ●...
  • Page 130 Cycle and Response Times of the S7-400 9.2 Cycle Time Calculation Process Image Updating The table below shows the CPU times for process image updating (process image transfer time). The times listed in the table are "ideal values" that may be increased by the occurrence of interrupts and by CPU communications.
  • Page 131 Cycle and Response Times of the S7-400 9.2 Cycle Time Calculation Operating System Scan Time at the Scan Cycle Checkpoint The table below lists the operating system scan times at the scan cycle checkpoint of the CPUs. In the case of I/O modules that are plugged into the central rack or an expansion rack, the specified value contains the runtime of the I/O module Measured with the IM 460-3 and IM 461-3 with a connection length of 100 m The areas set in HW Config that are written once to the I/O or are read once from the I/O and are therefore consistent.
  • Page 132: Different Cycle Times

    Cycle and Response Times of the S7-400 9.3 Different cycle times Different cycle times Fundamentals The length of the cycle time (T ) is not identical in each cycle. The following figure shows different cycle times, T and T is longer than T , because the cyclically scanned cyc1 cyc2...
  • Page 133 Cycle and Response Times of the S7-400 9.3 Different cycle times Minimum Cycle Time You can set a minimum cycle time for a CPU in STEP 7. This is appropriate in the following cases: ● you want the intervals of time between the start of program scanning of OB1 (free cycle) to be roughly of the same length.
  • Page 134: Communication Load

    Cycle and Response Times of the S7-400 9.4 Communication Load Communication Load Overview The CPU operating system continually makes available to communications the percentage you configured for the overall CPU processing performance (time sharing). Processing performance not required for communication is made available to other processes. In the hardware configuration, you can set the load due to communications between 5% and 50%.
  • Page 135 Cycle and Response Times of the S7-400 9.4 Communication Load Example: 20% communication load You have configured a communication load of 20% in the hardware configuration. The calculated cycle time is 10 ms. A 20% communication load means that, on average, 200 μs and 800 μs of the time slice remain for communications and the user program, respectively.
  • Page 136 Cycle and Response Times of the S7-400 9.4 Communication Load Dependency of the Actual Cycle Time on the Communication Load The following figure describes the non-linear dependency of the actual cycle time on the communication load. This example uses a cycle time of 10 ms. Cycle time 30 ms You can set the communication load in this range...
  • Page 137: Reaction Time

    Cycle and Response Times of the S7-400 9.5 Reaction Time Reaction Time Definition of the Response Time The response time is the time from an input signal being detected to changing an output signal linked to it. Variation The actual response time is somewhere between a shortest and a longest response time. For configuring your system, you must always reckon with the longest response time.
  • Page 138 Cycle and Response Times of the S7-400 9.5 Reaction Time DP Cycle Times on the PROFIBUS-DP Network If you have configured your PROFIBUS-DP network with STEP 7, then STEP 7 will calculate the typical DP cycle time that must be expected. You can then have the DP cycle time of your configuration displayed for the bus parameters on the programming device.
  • Page 139 Cycle and Response Times of the S7-400 9.5 Reaction Time Update Cycle in PN/IO An overview of the duration of the update cycle depending on the number IO devices contained in the cycle in the following figure. Update cycle 1 ms 750 ms 500 ms 250 ms...
  • Page 140 Cycle and Response Times of the S7-400 9.5 Reaction Time Shortest Response Time The following figure illustrates the conditions under which the shortest response time can be achieved. SCC (OS) Delay in the inputs Immediately before the PII is read in, the status of the input under review changes.
  • Page 141 Cycle and Response Times of the S7-400 9.5 Reaction Time Longest Response Time The following figure shows you how the longest response time results. SCC (OS) Delay in the inputs +DP cycle time on PROFIBUS-DP While the PII is being read in, the status of the input under review changes.
  • Page 142 Cycle and Response Times of the S7-400 9.5 Reaction Time I/O Direct Accesses You can reach faster response times with direct access to the I/O in your user program. For example, you can partially circumvent the response times as described above by using one of the following commands: ●...
  • Page 143 Cycle and Response Times of the S7-400 9.5 Reaction Time Note You can similarly achieve fast response times by using hardware interrupts; refer to the section on the interrupt response time. S7-400 Automation System, CPU Specifications 9-17 Manual, 10/2006, 6ES7498-8AA04-8BA0...
  • Page 144: Calculating Cycle And Reaction Times

    Cycle and Response Times of the S7-400 9.6 Calculating cycle and reaction times Calculating cycle and reaction times Cycle Time 1. Using the Instruction List, determine the runtime of the user program. 2. Calculate and add the transfer time for the process image. You will find approximate values in the table "Portions of the process image transfer time".
  • Page 145: Examples Of Calculating The Cycle Time And Reaction Time

    Cycle and Response Times of the S7-400 9.7 Examples of Calculating the Cycle Time and Reaction Time Examples of Calculating the Cycle Time and Reaction Time Example I You have installed an S7-400 with the following modules in the central rack: ●...
  • Page 146 Cycle and Response Times of the S7-400 9.7 Examples of Calculating the Cycle Time and Reaction Time Example II You have installed an S7-400 with the following modules: ● One CPU 414-2 ● 4 digital input modules SM 421; DI 32xDC 24 V (4 bytes each in the PI) ●...
  • Page 147 Cycle and Response Times of the S7-400 9.7 Examples of Calculating the Cycle Time and Reaction Time Calculation of the Longest Response Time ● Longest response time 18.23 ms * 2 = 36.5 ms. ● Delays in the inputs and outputs –...
  • Page 148: Interrupt Reaction Time

    Cycle and Response Times of the S7-400 9.8 Interrupt Reaction Time Interrupt Reaction Time Definition of the Interrupt Response Time The interrupt response time is the time from when an interrupt signal first occurs to calling the first instruction in the interrupt OB. General rule: Interrupts having a higher priority take precedence.
  • Page 149 Cycle and Response Times of the S7-400 9.8 Interrupt Reaction Time Increasing the maximum interrupt response time with communication The maximum interrupt response time increases when communication functions are active. The increase is calculated with the following equation: tv = 100 µs + 1000 µs x n% where n = cycle load from communication Signal Modules The hardware interrupt response time of the signal modules is made up as follows:...
  • Page 150: Example: Calculating The Interrupt Reaction Time

    Cycle and Response Times of the S7-400 9.9 Example: Calculating the Interrupt Reaction Time Example: Calculating the Interrupt Reaction Time Parts of the Interrupt Response Time As a reminder: The hardware interrupt response time comprises the following: ● Hardware interrupt response time of the CPU ●...
  • Page 151: Reproducibility Of Time-Delay And Watchdog Interrupts

    Cycle and Response Times of the S7-400 9.10 Reproducibility of Time-Delay and Watchdog Interrupts 9.10 Reproducibility of Time-Delay and Watchdog Interrupts Definition of "Reproducibility" Time-delay interrupt: The deviation with time from the first instruction of the interrupt OB being called to the programmed interrupt time.
  • Page 152: Cba Response Times

    Cycle and Response Times of the S7-400 9.11 CBA response times 9.11 CBA response times Definition of the Response Time The response time is the time that it takes a value from the user program of a CPU to reach the user program of a second CPU.
  • Page 153 Cycle and Response Times of the S7-400 9.11 CBA response times Measurements for Cyclic Interconnections in an Example Configuration To be able to estimate the achievable CBA response time better, consider the following measurements. The processing times on the transmitting CPU and the receiving CPU basically depend on the sum of the input and output interconnections and the amount of data on them.
  • Page 154 Cycle and Response Times of the S7-400 9.11 CBA response times The following applies: CBA response times = Processing time on the transmitting CPU* + Cycle time based on the configured transmission frequency** + Processing time on the receiving CPU* *) Add all input and output interconnections of the CPU to determine the processing time.
  • Page 155 Cycle and Response Times of the S7-400 9.11 CBA response times General Information about Achievable CBA Response Times ● The CBA response time increases if the CPU is performing additional tasks, such as programmed block communication or S7 connections. ● If you frequently call SFCs "PN_IN", "PN_OUT" or "PN_DP", you increase the CBA processing times and therefore increase CBA response time.
  • Page 156 Cycle and Response Times of the S7-400 9.11 CBA response times S7-400 Automation System, CPU Specifications 9-30 Manual, 10/2006, 6ES7498-8AA04-8BA0...
  • Page 157: Technical Specifications

    Technical specifications 10.1 Technical Specification of the CPU 414-3 PN/DP; (6ES7414-3EM05-0AB0) Data CPU and firmware version Order no. [MLFB] 6ES7414-3EM05-0AB0 Firmware version • V 5.0 Associated programming package STEP 7 V 5.4 SP1 and higher Memory Working memory Integrated • 1.4 MB for code 1.4 MB for data Loading memory...
  • Page 158 Technical specifications 10.1 Technical Specification of the CPU 414-3 PN/DP; (6ES7414-3EM05-0AB0) CPU and firmware version S7 timers 2048 Retentive address areas, • From T 0 to T 2047 configurable Preset • No retentive timers Timer range • 10 ms to 9990 s IEC timers Type •...
  • Page 159 Technical specifications 10.1 Technical Specification of the CPU 414-3 PN/DP; (6ES7414-3EM05-0AB0) CPU and firmware version Consistent data • Max. 244 bytes S7-400 Automation System, CPU Specifications 10-3 Manual, 10/2006, 6ES7498-8AA04-8BA0...
  • Page 160 Technical specifications 10.1 Technical Specification of the CPU 414-3 PN/DP; (6ES7414-3EM05-0AB0) CPU and firmware version Digital channels Max. 65536 / Max. 65536 Centralized • Max. 65536 / Max. 65536 Analog channels Max. 4096 / Max. 4096 Centralized • Max. 4096 / Max. 4096 Removal Central racks/expansion units Max.
  • Page 161 Technical specifications 10.1 Technical Specification of the CPU 414-3 PN/DP; (6ES7414-3EM05-0AB0) CPU and firmware version Time synchronization In PLC, on MPI, DP and IF • As master or slave 964 DP On Ethernet via NTP • Yes (as client) S7 message functions Number of stations that can be used For block-specific messages (Alarm_S/SQ or Alarm_D/DQ)
  • Page 162 Technical specifications 10.1 Technical Specification of the CPU 414-3 PN/DP; (6ES7414-3EM05-0AB0) CPU and firmware version Preset • Number of breakpoints S7-400 Automation System, CPU Specifications 10-6 Manual, 10/2006, 6ES7498-8AA04-8BA0...
  • Page 163 Technical specifications 10.1 Technical Specification of the CPU 414-3 PN/DP; (6ES7414-3EM05-0AB0) CPU and firmware version Communication PG/OP communication Number of connectable OPs 31 with message processing Alarm S/SQ, Alarm D/DQ Number of connection resources for S7 32, with one each of those reserved for connections via all interfaces and CPs programming device and OP Global data communication...
  • Page 164 Technical specifications 10.1 Technical Specification of the CPU 414-3 PN/DP; (6ES7414-3EM05-0AB0) CPU and firmware version Data length, max. • 1472 bytes S7-400 Automation System, CPU Specifications 10-8 Manual, 10/2006, 6ES7498-8AA04-8BA0...
  • Page 165 Technical specifications 10.1 Technical Specification of the CPU 414-3 PN/DP; (6ES7414-3EM05-0AB0) CPU and firmware version PROFINET CBA Reference setting for the CPU communication load Number of remote interconnecting partners Number of master/slave functions Total of all master/slave connections 4500 Data length of all incoming master/slave 45000 bytes connections, max.
  • Page 166 Technical specifications 10.1 Technical Specification of the CPU 414-3 PN/DP; (6ES7414-3EM05-0AB0) CPU and firmware version Data length of all HMI • 32000 bytes variables, max. PROFIBUS proxy functionality supported • Number of coupled • PROFIBUS devices Data length per connection, •...
  • Page 167 Technical specifications 10.1 Technical Specification of the CPU 414-3 PN/DP; (6ES7414-3EM05-0AB0) CPU and firmware version User data per DP slave • Max. 244 bytes inputs, max.244 bytes outputs, max. 244 slots each with max. 128 bytes Note: The accumulated number of input bytes at the slots may not exceed 244 •...
  • Page 168 • Status/Control – Programming – Routing – Time synchronization – DDBF file • http://www.ad.siemens.de/csi_e/gsd Transmission speed • Up to 12 Mbaud Transfer memory • 244-byte inputs / 244-byte outputs Virtual slots – Max. 32 User data per address area –...
  • Page 169 Technical specifications 10.1 Technical Specification of the CPU 414-3 PN/DP; (6ES7414-3EM05-0AB0) CPU and firmware version PROFINET IO PNO ID (hexadecimal) 813C Number of integrated PROFINET IO controllers Number of PROFINET IO devices that can be connected Address area max. 8 KB inputs/outputs Number of submodules Maximum 8192 Mixed modules have a factor of 2...
  • Page 170 Technical specifications 10.1 Technical Specification of the CPU 414-3 PN/DP; (6ES7414-3EM05-0AB0) CPU and firmware version User data per DP slave • Max. 244 bytes inputs, max.244 bytes outputs, max. 244 slots each with max. 128 bytes Note: The accumulated number of input bytes at the slots may not exceed 244 •...
  • Page 171 Technical specifications 10.1 Technical Specification of the CPU 414-3 PN/DP; (6ES7414-3EM05-0AB0) CPU and firmware version Isochronous mode User data per clock synchronous slave Max. 244 bytes Maximum number of bytes and slaves in a The following must apply: process image partition Number of bytes/100 + number of slaves <...
  • Page 172: Technical Specification Of The Cpu 416-3 Pn/Dp; (6Es7416-3Er05-0Ab0)

    Technical specifications 10.2 Technical Specification of the CPU 416-3 PN/DP; (6ES7416-3ER05-0AB0) 10.2 Technical Specification of the CPU 416-3 PN/DP; (6ES7416-3ER05-0AB0) Data CPU and firmware version Order no. [MLFB] 6ES7416-3ER05-0AB0 Firmware version • V 5.0 Associated programming package STEP 7 V 5.4 SP1 and higher Memory Working memory Integrated...
  • Page 173 Technical specifications 10.2 Technical Specification of the CPU 416-3 PN/DP; (6ES7416-3ER05-0AB0) CPU and firmware version Data areas and their retentive address areas Total retentive data area (including memory Total working and load memory (with backup markers, timers, counters) battery) Bit memory 16 KB Retentive address areas, •...
  • Page 174 Technical specifications 10.2 Technical Specification of the CPU 416-3 PN/DP; (6ES7416-3ER05-0AB0) CPU and firmware version Extension Central racks/expansion units Max. 1/21 Multicomputing Max. 4 CPUs (with UR1 or UR2) Number of plug-in IMs (overall) Max. 6 IM 460 • Max. 6 IM 463-2 •...
  • Page 175 Technical specifications 10.2 Technical Specification of the CPU 416-3 PN/DP; (6ES7416-3ER05-0AB0) CPU and firmware version S7 message functions Number of stations that can be used For block-specific messages (Alarm_S/SQ or Alarm_D/DQ) For control-specific messages (ALARM_8 blocks, archive) Symbol-related messages Number of messages •...
  • Page 176 Technical specifications 10.2 Technical Specification of the CPU 416-3 PN/DP; (6ES7416-3ER05-0AB0) CPU and firmware version Communication PG/OP communication Number of connectable OPs 63 with message processing Number of connection resources for S7 64, with one each of those reserved for connections via all interfaces and CPs programming device and OP Global data communication...
  • Page 177 Technical specifications 10.2 Technical Specification of the CPU 416-3 PN/DP; (6ES7416-3ER05-0AB0) CPU and firmware version PROFINET CBA Reference setting for the CPU communication load Number of remote interconnecting partners Number of master/slave functions Total of all master/slave connections 6000 Data length of all incoming master/slave 65000 bytes connections, max.
  • Page 178 Technical specifications 10.2 Technical Specification of the CPU 416-3 PN/DP; (6ES7416-3ER05-0AB0) CPU and firmware version Data length of all HMI • 32000 bytes variables, max. PROFIBUS proxy functionality supported • Number of coupled • PROFIBUS devices Data length per connection, •...
  • Page 179 • Status/Control – Programming – Routing – Time synchronization – DDBF file • http://www.ad.siemens.de/csi_e/gsd Transmission speed • Up to 12 Mbaud Transfer memory • 244-byte inputs / 244-byte outputs Virtual slots – Max. 32 User data per address area –...
  • Page 180 Technical specifications 10.2 Technical Specification of the CPU 416-3 PN/DP; (6ES7416-3ER05-0AB0) CPU and firmware version Open IE communication via TCP/IP • ISO on TCP • • Time synchronization • S7-400 Automation System, CPU Specifications 10-24 Manual, 10/2006, 6ES7498-8AA04-8BA0...
  • Page 181 Technical specifications 10.2 Technical Specification of the CPU 416-3 PN/DP; (6ES7416-3ER05-0AB0) CPU and firmware version PROFINET IO PNO ID (hexadecimal) 813D Number of PROFINET IO devices that can be connected Address area max. 8 KB inputs/outputs Number of submodules Maximum 8192 Mixed modules have a factor of 2 Max.
  • Page 182 Technical specifications 10.2 Technical Specification of the CPU 416-3 PN/DP; (6ES7416-3ER05-0AB0) CPU and firmware version Note: The accumulated number of input bytes at the slots may not exceed 244 • The accumulated number of output bytes at the slots may not exceed 244 •...
  • Page 183 Technical specifications 10.2 Technical Specification of the CPU 416-3 PN/DP; (6ES7416-3ER05-0AB0) CPU and firmware version Dimensions Mounting dimensions WxHxD (mm) 50x290x219 Slots required Weight Approx. 0.9 kg Voltages, currents Current consumption from the S7-400 bus (5 Typical 1.2 A VDC) maximum 1.4 A Current consumption from S7-400 bus (24 V DC) Total current consumption of the components...
  • Page 184: Technical Specification Of The Cpu 416-3F Pn/Dp; (6Es7416-3Fr05-0Ab0)

    Technical specifications 10.3 Technical Specification of the CPU 416-3F PN/DP; (6ES7416-3FR05-0AB0) 10.3 Technical Specification of the CPU 416-3F PN/DP; (6ES7416-3FR05-0AB0) Data CPU and firmware version Order no. [MLFB] 6ES7416-3FR05-0AB0 Firmware version • V 5.0 Associated programming package STEP 7 V 5.4 SP1 and higher Memory Working memory Integrated...
  • Page 185 Technical specifications 10.3 Technical Specification of the CPU 416-3F PN/DP; (6ES7416-3FR05-0AB0) CPU and firmware version Data areas and their retentive address areas Total retentive data area (including memory Total working and load memory (with backup markers, timers, counters) battery) Bit memory 16 KB Retentive address areas, •...
  • Page 186 Technical specifications 10.3 Technical Specification of the CPU 416-3F PN/DP; (6ES7416-3FR05-0AB0) CPU and firmware version Removal Central racks/expansion units Max. 1/21 Multicomputing Max. 4 CPUs (with UR1 or UR2) Number of plug-in IMs (overall) Max. 6 IM 460 • Max. 6 IM 463-2 •...
  • Page 187 Technical specifications 10.3 Technical Specification of the CPU 416-3F PN/DP; (6ES7416-3FR05-0AB0) CPU and firmware version S7 message functions Number of stations that can be used For block-specific messages (Alarm_S/SQ or Alarm_D/DQ) For control-specific messages (ALARM_8 blocks, archive) Symbol-related messages Number of messages •...
  • Page 188 Technical specifications 10.3 Technical Specification of the CPU 416-3F PN/DP; (6ES7416-3FR05-0AB0) CPU and firmware version Communication PG/OP communication Number of connectable OPs 63 with message processing Number of connection resources for S7 64, with one each of those reserved for connections via all interfaces and CPs programming device and OP Global data communication...
  • Page 189 Technical specifications 10.3 Technical Specification of the CPU 416-3F PN/DP; (6ES7416-3FR05-0AB0) CPU and firmware version PROFINET CBA Reference setting for the CPU communication load Number of remote interconnecting partners Number of master/slave functions Total of all master/slave connections 6000 Data length of all incoming master/slave 65000 bytes connections, max.
  • Page 190 Technical specifications 10.3 Technical Specification of the CPU 416-3F PN/DP; (6ES7416-3FR05-0AB0) CPU and firmware version Data length of all HMI • 32000 bytes variables, max. PROFIBUS proxy functionality supported • Number of coupled • PROFIBUS devices Data length per connection, •...
  • Page 191 • Status/Control – Programming – Routing – Time synchronization – DDBF file • http://www.ad.siemens.de/csi_e/gsd Transmission speed • Up to 12 Mbaud Transfer memory • 244-byte inputs / 244-byte outputs Virtual slots – Max. 32 User data per address area –...
  • Page 192 Technical specifications 10.3 Technical Specification of the CPU 416-3F PN/DP; (6ES7416-3FR05-0AB0) CPU and firmware version Open IE communication via TCP/IP • ISO on TCP • • Time synchronization • S7-400 Automation System, CPU Specifications 10-36 Manual, 10/2006, 6ES7498-8AA04-8BA0...
  • Page 193 Technical specifications 10.3 Technical Specification of the CPU 416-3F PN/DP; (6ES7416-3FR05-0AB0) CPU and firmware version PROFINET IO PNO ID (hexadecimal) 813E Number of integrated PROFINET IO controllers Number of PROFINET IO devices that can be connected Address area max. 8 KB inputs/outputs Number of submodules Maximum 8192 Mixed modules have a factor of 2...
  • Page 194 Technical specifications 10.3 Technical Specification of the CPU 416-3F PN/DP; (6ES7416-3FR05-0AB0) CPU and firmware version User data per DP slave • Max. 244 bytes inputs, max.244 bytes outputs, max. 244 slots each with max. 128 bytes Note: The accumulated number of input bytes at the slots may not exceed 244 •...
  • Page 195 Technical specifications 10.3 Technical Specification of the CPU 416-3F PN/DP; (6ES7416-3FR05-0AB0) CPU and firmware version Isochronous mode User data per clock synchronous slave Max. 244 bytes Maximum number of bytes and slaves in a The following must apply: process image partition Number of bytes/100 + number of slaves <...
  • Page 196: Technical Specifications Of The Memory Cards

    Technical specifications 10.4 Technical specifications of the memory cards 10.4 Technical specifications of the memory cards Data Name Order No. Current consumption Backup currents at 5 V MC 952 / 64 Kbytes / RAM 6ES7952-0AF00-0AA0 typ. 20 mA Typical 0.5 µA Max.
  • Page 197: If 964-Dp Interface Module

    IF 964-DP interface module 11.1 Using the IF 964-DP interface module Order numbers You can use the IF 964-DP interface module with order number 6ES7964-2AA04-0AB0 in the CPUs of the S7-400 as of firmware version 4.0. The interface module identifier is on the front panel and can therefore be identified when it is installed.
  • Page 198 IF 964-DP interface module 11.1 Using the IF 964-DP interface module The system can be expanded up to 125 stations. Figure 11-1 IF 964-DP interface module Note The IF 964-DP may only be removed or inserted when the power is turned off. If you remove the interface module when the power is turned on, the CPU changes to the DEFECT mode.
  • Page 199: Pin Assignment Of The If 964-Dp Interface Module

    IF 964-DP interface module 11.2 Pin assignment of the IF 964-DP interface module 11.2 Pin assignment of the IF 964-DP interface module Connector X1 There is a 9-pin D-sub female connector on the front panel of the module for connecting the cable.
  • Page 200: Technical Specifications

    IF 964-DP interface module 11.3 Technical specifications 11.3 Technical specifications Technical specifications The IF 964-DP interface module obtains its power from the CPU. The technical specifications include the necessary current consumption to allow dimensioning of the power supply unit. Dimensions and weight Dimensions 26 x 54 x 130 W x H x D (mm)
  • Page 201 Index MPI interface, 2-22 Consistent data, 7-1 Access to the work memory, 7-2 Communication blocks, 7-2 Address area Communication functions, 7-2 CPU 31x-2, 5-2 DP standard slave, 7-3 Process image, 7-4 SFC 15 DPWR_DAT, 7-3 SFC 81 UBLKMOV, 7-1 Basic knowledge required SFC14 DPRD_DAT, 7-3 Required, 1-1 Block stack, 8-2...
  • Page 202 Index CPU 31x-2, 5-9, 5-19 Diagnostic interrupt Gateway, 4-14 CPU 31x-2 as DP slave, 5-26 GD communication, 4-11 Diagnostic interrupt response time, 9-26 Global data communication, 4-11 Diagnostics configured address area, 5-24 Device-related:CPU 31x-2 as DP slave, 5-25 Direct data exchange, 5-29 Direct data exchange Hardware interrupt Diagnostics, 5-29...
  • Page 203 Index LEDs, 2-2 Network functions S7 communication, 4-9 Manual Purpose, 1-1 OB 83, 6-7 Manual package, 1-2 OB 86, 6-7 Master PROFIBUS address, 5-22 Operating system Maximum cycle time, 9-7 scan time, 9-5 Memory areas Order No. Basis for the calculation, 8-2 6ES7 414-3EM05-0AB0, 10-1 Memory areas, 8-1 6ES7 416-3ER05-0AB0, 10-16...
  • Page 204 Index Reproducibility, 9-27 SFC 5, 6-6 Reset to factory setting, 3-12 SFC 58, 6-6 Response time, 9-13 SFC 59, 6-6 Calculation, 9-13 SFC 70, 6-6 Calculation of the, 9-16, 9-17 SFC 71, 6-7 Diagnostic interrupt, 9-26 SFC 81 UBLKMOV, 7-1 longest, 9-17 SIMATIC iMap, 6-2 Parts, 9-13...
  • Page 205 Index the firmware, 3-14 Web server Updating the firmware, 3-14 Display languages, 3-2 Safety, 3-2 Selecting display languages, 3-2 Web Server activate, 3-2 Warm restart, 2-15, 8-4 Web Server, 3-1 Web Access on the CPU, 3-2 S7-400 Automation System, CPU Specifications Index-5 Manual, 10/2006, 6ES7498-8AA04-8BA0...
  • Page 206: Index

    Index S7-400 Automation System, CPU Specifications Index-6 Manual, 10/2006, 6ES7498-8AA04-8BA0...

This manual is also suitable for:

Simatic s7-400 automation system

Table of Contents