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.
Preface Purpose of the documentation This function manual provides an overview of the PROFINET communication system with SIMATIC STEP 7 V14. STEP 7 V14 is integrated into the powerful graphical Totally Integrated Automation Portal (TIA Portal), the new integration platform for all automation software tools. This function manual supports you in planning a PROFINET system.
A note contains important information on the product, on handling of the product and on the section of the documentation to which you should pay particular attention. See also PRODIS (http://www.siemens.com/simatic-tech-doku-portal) Catalog (http://mall.industry.siemens.com) PROFINET with STEP 7 V14 Function Manual, 09/2016, A5E03444486-AG...
In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept. Siemens’ products and solutions only form one element of such a concept. Customer is responsible to prevent unauthorized access to its plants, systems, machines and networks.
Preface Industry Mall The Industry Mall is the catalog and order system of Siemens AG for automation and drive solutions on the basis of Totally Integrated Automation (TIA) and Totally Integrated Power (TIP). Catalogs for all the products in automation and drives are available on the Internet (https://mall.industry.siemens.com).
Table of contents Preface ..............................4 Documentation guide ..........................11 Description ............................15 Introduction to PROFINET ..................... 15 2.1.1 PROFINET terms ........................17 2.1.2 Basic terminology of communication ..................20 2.1.3 PROFINET interface ......................23 2.1.4 Implementation of the PROFINET device model in SIMATIC ..........26 Setting up PROFINET ......................
Table of contents Diagnostics via the display of the S7-1500 CPUs ..............76 Diagnostics via Web server ....................80 Diagnostics in STEP 7 ......................83 Extended maintenance concept ..................... 86 Diagnostics of the network topology ..................88 Diagnostics in the user program ..................... 89 4.8.1 Diagnostics and configuration data records ................
Table of contents PROFINET with performance upgrade ................172 5.6.1 Dynamic frame packing ....................... 173 5.6.2 Fragmentation ........................175 5.6.3 Fast forwarding ........................176 5.6.4 Configuration of IRT with high performance ................ 177 5.6.5 Sample configuration for IRT with high performance............181 Isochronous mode .......................
Documentation guide The documentation for the SIMATIC S7-1500 automation system, for CPU 1516pro-2 PN based on SIMATIC S7-1500, and for the distributed I/O systems SIMATIC ET 200MP, ET 200SP and ET 200AL is divided into three areas. This division allows you easier access to the specific information you require. Basic information System manuals and Getting Started manuals describe in detail the configuration, installation, wiring and commissioning of the SIMATIC S7-1500, ET 200MP, ET 200SP and...
You must register once to use the full functionality of "mySupport". You can find "mySupport" on the Internet (https://support.industry.siemens.com/My/ww/en). "mySupport" - Documentation In the Documentation area in "mySupport" you can combine entire manuals or only parts of these to your own manual.
● Manuals, characteristics, operating manuals, certificates ● Product master data You can find "mySupport" - CAx data on the Internet (http://support.industry.siemens.com/my/ww/en/CAxOnline). Application examples The application examples support you with various tools and examples for solving your automation tasks. Solutions are shown in interplay with multiple components in the system - separated from the focus on individual products.
You can find the SIMATIC Automation Tool on the Internet (https://support.industry.siemens.com/cs/ww/en/view/98161300). PRONETA With SIEMENS PRONETA (PROFINET network analysis), you analyze the plant network during commissioning. PRONETA features two core functions: ● The topology overview independently scans PROFINET and all connected components.
Description Introduction to PROFINET What is PROFINET IO? Within the framework of Totally Integrated Automation (TIA), PROFINET IO is the logical further development of: ● PROFIBUS DP, the established fieldbus and ● Industrial Ethernet PROFINET IO is based on 20 years of experience with the successful PROFIBUS DP and combines the normal user operations with the simultaneous use of innovative concepts of Ethernet technology.
Description 2.1 Introduction to PROFINET Implementation of PROFINET in SIMATIC PROFINET is implemented in SIMATIC as follows: ● We have implemented communication between field devices in SIMATIC with PROFINET IO. ● Installation technology and network components are available as SIMATIC NET products. ●...
(http://www.profibus.com) of the "PROFIBUS & PROFINET International" PROFIBUS user organization, which is also responsible for PROFINET. Additional information can be found on the Internet (http://www.siemens.com/profinet). Overview of the most important documents and links A compilation of the most important PROFINET application examples, FAQs and other contributions in the Industry Online Support is available in this FAQ (https://support.industry.siemens.com/cs/ww/en/view/108165711).
Description 2.1 Introduction to PROFINET PROFINET IO devices The following graphic shows the general names used for the most important devices in PROFINET. In the table below the graphic you can find the names of the individual components in the PROFINET IO context. Number PROFINET Explanation ①...
Description 2.1 Introduction to PROFINET IO communication via PROFINET IO The inputs and outputs of distributed I/O devices are read and written by means of PROFINET IO using what is referred to as IO communication. The following figure provides an overview of IO communication by means of PROFINET IO. IO controller - IO controller communication via PN/PN coupler IO controller - I-device communication IO controller - IO-device communication...
Data transfer takes place using load- and transfer operations via the process image or via direct access. See also Network security (Page 36) Functions (Page 93) Communication (http://support.automation.siemens.com/WW/view/en/59192925) 2.1.2 Basic terminology of communication PROFINET communication PROFINET communication takes place via Industrial Ethernet. The following transmission types are supported: ●...
Description 2.1 Introduction to PROFINET Transparent data access Access to process data from different levels of the factory is supported by PROFINET communication. By using Industrial Ethernet, standard mechanisms of communication and information technology such as OPC/XML can now be used along with standard protocols such as UDP/TCP/IP and HTTP in automation engineering.
Description 2.1 Introduction to PROFINET Update time The update time is a time interval. IO controller and IO device/I-device exchange IO data cyclically in the IO system within this time interval. The update time can be configured separately for each IO device and determines the interval at which output data is sent from the IO controller to the IO device (output module/submodule) as well as input data from the IO device to the IO controller (input module/submodule).
Description 2.1 Introduction to PROFINET 2.1.3 PROFINET interface Overview PROFINET devices of the SIMATIC product family have one or more PROFINET interfaces (Ethernet controller/interface). The PROFINET interfaces have one or more ports (physical connection options). In the case of PROFINET interfaces with multiple ports, the devices have an integrated switch.
Description 2.1 Introduction to PROFINET Representation of PROFINET Interfaces in the Topology Overview in STEP 7 You can find the PROFINET interface in the topology overview in STEP 7. The PROFINET interface for an IO controller and an IO device is represented as follows in STEP 7: Num- Description ①...
Description 2.1 Introduction to PROFINET Functional differences of the PROFINET interfaces PROFINET interfaces can provide different functions. PROFINET interface functions include identification, configuration, diagnostics and communication services (e.g., open communication). PROFINET interfaces that provide PROFINET IO functions and network security functions are also available. The following table illustrates the differences using the example of the CPU 1516-3 PN/DP (as of firmware version V2.0), which features two PROFINET interfaces with different functionality.
Description 2.1 Introduction to PROFINET 2.1.4 Implementation of the PROFINET device model in SIMATIC Slots and modules A PROFINET device can have a modular and compact structure. A modular PROFINET device consists of slots into which the modules are inserted. The modules have channels which are used to read and output process signals.
Description 2.2 Setting up PROFINET Representation of PROFINET Device Model in the Device View of STEP 7 The following figure shows the representation of the PROFINET device model in the device view of STEP 7, based on the example of a distributed I/O system ET 200MP: Figure 2-8 PROFINET device model in the device view of STEP 7 Setting up PROFINET...
Description 2.2 Setting up PROFINET PROFINET devices and cabling technology in SIMATIC are suited for industrial use, as they are based on Fast Ethernet and Industrial Ethernet. ● Fast Ethernet You can use Fast Ethernet to transfer data at a speed of 100 Mbps. This transmission technology uses the 100 Base-T standard for this.
"IRT PROFINET IO switch". To select appropriate switches, we recommend the SIMATIC NET Selection Tool on the Internet (http://support.automation.siemens.com/WW/view/en/39134641). Switches of the SCALANCE product family Use the switches of the SCALANCE product family if you want to use the full scope of PROFINET.
Ethernet Fast Connect RJ45 plugs using the cut-and-clamp method. For more information on installation, refer to the installation instructions in the "SIMATIC NET Industrial Ethernet Network Manual" (http://support.automation.siemens.com/WW/view/en/8763736). Note A maximum of four plug-in pairs are allowed between two switches per Ethernet path.
Description 2.2 Setting up PROFINET Simple method for the prefabrication of fiber-optic cables The FastConnect FO cabling system is available for the easy, fast and error-free prefabrication of fiber-optic cables. The glass-fiber optic cable consists of: ● FC FO Termination Kit for SC and BFOC plug (cleave tool, Kevlar scissors, buffer grip, fiber remains container) ●...
Applies for fiber-optic cables only See also PROFINET interface (Page 23) Assembly Instructions for SIMATIC NET Industrial Ethernet (http://support.automation.siemens.com/WW/view/en/27069465) PROFINET Installation Guideline (http://www.profibus.com/nc/download/installation- guide/downloads/profinet-installation-guide/display/) PROFINET with STEP 7 V14 Function Manual, 09/2016, A5E03444486-AG...
Description 2.2 Setting up PROFINET 2.2.3 Wireless design 22.214.171.124 Basics What is Industrial Wireless LAN? In addition to data communication in accordance with the IEEE 802.11 standard, the SIMATIC NET Industrial Wireless LAN provides a number of enhancements which offer significant benefits for industrial customers.
Description 2.2 Setting up PROFINET The following graphic illustrates the many possible applications and configurations for SIMATIC device family wireless networks. Figure 2-9 Application example for the use of Industrial Wireless LAN Data transmission rate In Industrial Wireless LAN, gross data transmission rates of 11 Mbps or 54 Mbps without full duplex are permitted.
Description 2.2 Setting up PROFINET Range With SCALANCE W (access points), wireless networks can be set up indoors and outdoors. Multiple access points can be installed to create large wireless networks in which mobile subscribers are transferred seamlessly from one access point to another (roaming). As an alternative to a wireless network, point-to-point connections of Industrial Ethernet segments can also be set up over large distances (several hundred meters).
More information about SCALANCE W Industrial Wireless LAN components can be found in the manual SIMATIC NET SCALANCE W-700 (http://support.automation.siemens.com/WW/view/en/42784493). More information about wired data transmission can be found in the manual SIMATIC NET Twisted Pair and Fiber Optic Networks (http://support.automation.siemens.com/WW/view/en/8763736).
Description 2.2 Setting up PROFINET Definition of security Generic term for all the measures taken to protect against: ● Loss of confidentiality due to unauthorized access to data ● Loss of integrity due to manipulation of data ● Loss of availability due to destruction of data, for example, through faulty configuration and denial-of-service attacks Threats Threats can arise from external and internal manipulation.
Description 2.2 Setting up PROFINET Protective measures The most important precautions to prevent manipulation and loss of data security in the industrial environment are: ● Filtering and control of data traffic by means of firewall ● A virtual private network (VPN) is used to exchange private data on a public network (Internet, for example).
Description 2.2 Setting up PROFINET 126.96.36.199 Application example Data security at the office and production levels The following graphic contains an application example with protected areas at different levels of the company created using SCALANCE S and the security client. The protected areas are highlighted in light gray.
(http://support.automation.siemens.com/WW/view/en/56577508) manual ● In the SCALANCE S and SOFTNET Security Client (http://support.automation.siemens.com/WW/view/en/21718449) manual You can find general information on industrial security concepts, functions and news on the Industrial Security website (http://www.siemens.com/industrialsecurity). PROFINET with STEP 7 V14 Function Manual, 09/2016, A5E03444486-AG...
Parameter assignment/addressing To set up an automation system, you will need to configure, assign parameters and interlink the individual hardware components. In STEP 7, the work needed for this is undertaken in the device, topology and network view. Configuring "Configuring" is understood to mean arranging, setting and networking devices and modules within the device, topology or network view.
Parameter assignment/addressing 3.1 Assigning an IO device to an IO controller Adjusting the hardware to the project requirements You need to configure hardware if you want to set up, expand or change an automation project. To do this, add hardware components to your structure, link these with existing components, and adapt the hardware properties to the tasks.
Parameter assignment/addressing 3.1 Assigning an IO device to an IO controller Procedure To assign IO devices to an IO controller, proceed as follows: 1. Place the pointer of the mouse over the interface of the IO device. 2. Press and hold down the left mouse button. 3.
Parameter assignment/addressing 3.2 Device name and IP address Device name and IP address Introduction In order that the PROFINET device can be addressed as node on PROFINET, the following are required: ● A unique PROFINET device name ● A unique IP address in the relevant IP subnet STEP 7 assigns a device name during the arrangement of a PROFINET device in the hardware and network editor.
Parameter assignment/addressing 3.2 Device name and IP address 3.2.1 Device name Device names 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.
Parameter assignment/addressing 3.2 Device name and IP address Device number In addition to the device name, STEP 7 also assigns a device number beginning with "1" when an IO device is allocated. The device number is located in the Inspector window in the properties of the PROFINET interface, under "Ethernet addresses"...
Parameter assignment/addressing 3.2 Device name and IP address Generating IP addresses The IP addresses of the IO devices are generated by STEP 7 and first assigned to the IO devices when the CPU starts up. In addition, for some IO devices (e.g., SCALANCE X, S7-300 CPs), it is possible not to obtain the IP address during startup of the IO controller, but rather to set it beforehand on the device (see Permitting changes to the device name and IP address directly on the device (Page 57)).
Reading out an IP address in the user program You can read out the IP address of a PROFINET device in the user program of a S7-1500 CPU. You can find information in this FAQ (https://support.industry.siemens.com/cs/ww/en/view/82947835). PROFINET with STEP 7 V14 Function Manual, 09/2016, A5E03444486-AG...
Parameter assignment/addressing 3.2 Device name and IP address 3.2.3 Assigning a device name and IP address Assigning an IP address and subnet mask for an IO controller for the first time You have the following options: ● Using a programming device or PC: Connect your programming device/PC to the same network as the relevant PROFINET device.
Parameter assignment/addressing 3.2 Device name and IP address IP address assignment when replacing IO devices with exchangeable mediumPG The following is contained on the memory card of the programmable logic controller: ● On the IO controller: Device name and IP address ●...
Parameter assignment/addressing 3.2 Device name and IP address Alternative procedure: Changing the device name of a PROFINET device in the network view Requirement: The "Generate PROFINET device name automatically" check box is selected. 1. In STEP 7, select the "Network overview" tab in the tabular area of the network view. 2.
Parameter assignment/addressing 3.2 Device name and IP address 3. Check that the option "Set IP address in the project" is selected. 4. Enter the new IP address in the relevant field. Figure 3-6 Changing the IP address of a PROFINET device in STEP 7 Downloading configured device name to IO device To load the configured device names to the IO device, follow these steps: 1.
Parameter assignment/addressing 3.2 Device name and IP address Identification of the PROFINET device To clearly identify a device from several identical devices in a control cabinet, for example, you can flash the link LED of the PROFINET device. To do this, select the menu command Online > Accessible devices... in STEP 7. In the "Accessible devices"...
3.2 Device name and IP address Additional information You can find a detailed description of the operation and functions of the display of the S7-1500 CPUs in the system manual S7-1500, ET 200MP (http://support.automation.siemens.com/WW/view/en/59191792). 3.2.4 Assign device name via communication table Introduction You can assign the device names of PROFINET IO devices configured offline to the devices online.
Parameter assignment/addressing 3.2 Device name and IP address General procedure To assign PROFINET device names, you must first detect the IO devices available online. With this procedure, it matters whether the MAC addresses are known or unknown. This results in a general procedure in two steps: 1.
Parameter assignment/addressing 3.2 Device name and IP address Note The icon "Ready for assignment" appears when a MAC address exists and matching device data was found, but no PROFINET device name was found online. You can update the data of the detected devices again via their MAC addresses at any time. To do this, you specify the MAC address and the status of the device is displayed immediately without having to re-detect the device.
Parameter assignment/addressing 3.2 Device name and IP address 3.2.5 Permitting changes to the device name and IP address directly on the device Introduction Machines are frequently commissioned on site or integrated into the existing infrastructure without STEP 7. You can find typical applications in all areas of the series machine building. Alternative means for assigning the IP address are available for this.
For information on the "T_CONFIG" instruction and on downloading to the target system, refer to the STEP 7 online help. A free Download (http://support.automation.siemens.com/WW/view/en/14929629) of the Primary Setup Tool (PST) can be found on the Internet. On this Internet page, you will also find a list of devices for which the PST is approved.
Parameter assignment/addressing 3.3 Configuring topology Configuring topology Introduction If an IO device is assigned to an IO controller, this does not yet specify how the ports are connected to each other. A port interconnection is not required to use RT, but it provides the following advantages: ●...
Parameter assignment/addressing 3.3 Configuring topology Example for topology The following example shows a combination of different topologies. Number Meaning ① S7-1500 as IO controller ② S7-300 as IO controller ③ Industrial WLAN with SCALANCE W ④ SCALANCE X 307-3 with seven electrical and three optical ports ⑤...
PROFIBUS User Organization when planning your PROFINET topology. For more detailed information, see the SIMATIC NET Twisted Pair and Fiber Optic Networks (http://support.automation.siemens.com/WW/view/en/8763736) manual. You can find basic information in the Communication with SIMATIC (http://support.automation.siemens.com/WW/view/en/1254686) manual. 3.3.1...
Parameter assignment/addressing 3.3 Configuring topology Graphic area The graphic area of the topology view displays PROFINET devices with their appropriate ports and port connections. Here you can add more PROFINET devices. The following figure shows the graphic area of the topology view. ①...
Parameter assignment/addressing 3.3 Configuring topology Table area ● Topology overview: This displays the Ethernet or PROFINET devices with their appropriate ports and port connections in a table. This table corresponds to the network overview table in the network view. ● Topology comparison: Here you can import devices and port interconnections automatically through offline/online comparison or extended Offline/Online comparison into STEP 7.
Parameter assignment/addressing 3.3 Configuring topology 3.3.2 Interconnecting ports in the topology view Requirement You are in the graphic view of the topology view. Procedure To interconnect ports in the topology view, follow these steps: 1. Place the pointer of the mouse on the port you want to interconnect. 2.
Parameter assignment/addressing 3.3 Configuring topology 3.3.3 Interconnecting ports - Inspector window Interconnecting ports in the Inspector window To interconnect ports, follow these steps: 1. In the device or network view, select the PROFINET device or PROFINET interface. 2. In the Inspector window, navigate to the port property "Port interconnection". When the PROFINET interface is selected, you can find this setting in the Inspector window as follows: "Properties >...
Parameter assignment/addressing 3.3 Configuring topology 3.3.4 Automatic assignment of devices by offline/online comparison Overview During the offline/online comparison, the configured topology is compared with the actual existing topology. Devices identified online are automatically assigned to configured devices as far as this is possible. Start of availability detection You start the availability detection the first time by clicking the "Compare offline/online"...
Parameter assignment/addressing 3.3 Configuring topology 3.3.5 Apply the port interconnections identified online manually to the project Requirements You have run an offline/online comparison in the topology view. The result of this is that at least one device identified online was automatically assigned to a configured device, but that there are differences relating to the interconnection.
Parameter assignment/addressing 3.3 Configuring topology 3.3.6 Include the devices identified online manually in the project Requirements You have run an offline/online comparison in the topology view. The result of this is that at least one device identified online could not be assigned to any configured device. Procedure To adopt one more devices identified online in the project manually, follow these steps: 1.
The following sections provide basic information on using diagnostics via PROFINET IO. You can find a detailed description of the system diagnostics for S7-1500, ET 200MP, ET 200SP and ET 200AL in the Diagnostics (http://support.automation.siemens.com/WW/view/en/59192926) function manual. PROFINET with STEP 7 V14 Function Manual, 09/2016, A5E03444486-AG...
Diagnostics 4.1 Diagnostics mechanisms of PROFINET IO Accessing the status of an IO device with a PG/PC or an HMI device If you are connected to the Industrial Ethernet via a PG/PC with STEP 7 or an HMI device, you can also call up diagnostics information online. This is illustrated by the following graphic.
Diagnostics 4.1 Diagnostics mechanisms of PROFINET IO 4.1.1 Diagnostics levels in PROFINET IO Concept The IO device sends all error messages that occur to the IO controller. The scope and volume of diagnostics information varies according to the level of diagnostics data evaluation and the PROFINET devices you are using.
Which PROFINET nodes support the extended PROFINET diagnostics? An overview of the PROFINET nodes that support extended PROFINET diagnostics and of what you have to configure is provided in this FAQ (https://support.industry.siemens.com/cs/ww/en/view/23678970). PROFINET with STEP 7 V14 Function Manual, 09/2016, A5E03444486-AG...
Diagnostics 4.1 Diagnostics mechanisms of PROFINET IO 4.1.2 I&M data (identification and maintenance) Definition and properties Identification and maintenance data (I&M) is information saved to module memory in order to provide support when: ● Checking the plant configuration ● Locating hardware changes in a plant Identification data (I data) is module information (some of which may be printed on the module housing) such as the order and serial number.
Diagnostics 4.1 Diagnostics mechanisms of PROFINET IO Where do I specify which I&M data is downloaded to which PROFINET IO devices? You specify which I&M data you want to download to which PROFINET IO devices in the "Load preview" dialog. You will find the following alternatives in the drop-down list of the "Identification and maintenance data (I&M)"...
Diagnostics 4.2 Diagnostics using status LEDs Diagnostics using status LEDs LEDs for diagnostics on PROFINET Each port of a PROFINET interface of a SIMATIC device has one LED. The following table shows a summary of the meaning of these LEDs in the S7-1500, ET 200MP, ET 200SP and ET 200AL systems.
Diagnostics 4.3 Diagnostics via the display of the S7-1500 CPUs Diagnostics via the display of the S7-1500 CPUs Display of the S7-1500 CPUs Each CPU in the S7-1500 automation system has a front cover with a display. Control and status information is shown in various menus on the display. You use the operating keys to navigate through the menus.
Diagnostics 4.3 Diagnostics via the display of the S7-1500 CPUs Module status To show the module status, navigate on the display through the menu items "Module" > "PROFINET I/O (X1)" > "Station" > "Slot" > "Status" > "Module status". The module status indicates that a fault has occurred in the module. The "lower-level status" is the status of the module in the diagnostics level below this.
Diagnostics 4.3 Diagnostics via the display of the S7-1500 CPUs Error and alarm texts You can show diagnostics buffer entries and alarm messages for the relevant automation system on the display. To show the diagnostics buffer entries of the CPU, navigate on the display via the menu items "Diagnostics"...
Display of alarms Figure 4-8 Display of alarm message Additional information You can find the description of the operation and functions of the display in the SIMATIC S7-1500 Display Simulator (http://www.automation.siemens.com/salesmaterial- as/interactive-manuals/getting-started_simatic-s7-1500/disp_tool/start_de.html). PROFINET with STEP 7 V14 Function Manual, 09/2016, A5E03444486-AG...
Diagnostics 4.4 Diagnostics via Web server Diagnostics via Web server The CPUs belonging to the S7 family have their own integrated Web server with a wide range of functions. For diagnostics, the Web server supports you with the following displays: ●...
Diagnostics 4.4 Diagnostics via Web server Meaning of the colored connections in the set/actual topology: Table 4- 2 Meaning of the colored connections in the set/actual topology: Connection Meaning Set topology Actual topology green The current actual connection matches the configured set connec- detected connec- tion.
You can find these views, additional topology examples, and detailed information on the operation and the functions of the Web server in the Web server (http://support.automation.siemens.com/WW/view/en/59193560) manual. PROFINET with STEP 7 V14 Function Manual, 09/2016, A5E03444486-AG...
Diagnostics 4.5 Diagnostics in STEP 7 Diagnostics in STEP 7 For PROFINET, you have the following options to evaluate diagnostics in STEP 7: ● Online & diagnostics - Devices & networks ● Online & diagnostics - diagnostics of PROFINET ports Online &...
Diagnostics 4.5 Diagnostics in STEP 7 Online & diagnostics device view In STEP 7, you can display an overview of the modules in which faults have occurred. To do this, select the menu command "Online > Online & diagnostics". Once you are connected, you can see the status of the accessible devices in the project tree.
Additional information You can find information on the system diagnostics for S7-1500, ET 200MP, ET 200SP and ET 200AL in the Diagnostics (http://support.automation.siemens.com/WW/view/en/59192926) function manual and online help for STEP 7. PROFINET with STEP 7 V14 Function Manual, 09/2016, A5E03444486-AG...
Diagnostics 4.6 Extended maintenance concept Extended maintenance concept Extended maintenance concept The PROFINET interfaces with integrated switch of the SIMATIC devices support the four- level diagnostics concept in accordance with PROFINET specification Version V2.3 or higher with the following status: Table 4- 3 Classification of the diagnostic status Diagnostic status...
Diagnostics 4.6 Extended maintenance concept Example: Maintenance demanded for a PROFINET cable The following graphic illustrates how diagnostics information is exchanged when the transmission quality on the optical cable decreases due to ageing, for example. In this example, the scenario is considered after a maintenance required has already been diagnosed.
Diagnostics 4.7 Diagnostics of the network topology Diagnostics of the network topology Availability As an open standard, you can use any SNMP based systems or software solutions for diagnostics in PROFINET. Network diagnostics The network management protocol SNMP (Simple Network Management Protocol) uses the wireless UDP transport protocol.
Diagnostics 4.8 Diagnostics in the user program Diagnostics in the user program 4.8.1 Diagnostics and configuration data records Diagnostics mechanism The IO device outputs a diagnostics interrupt to the IO controller when it detects faults such as wire break on an IO module. This interrupt calls a corresponding organization block in the user program (diagnostics interrupt OB82), in order to generate a defined (programmed) response to the fault and passes a diagnostics data record.
Diagnostics 4.8 Diagnostics in the user program A group of diagnostics and configuration data records are available for each address level (exception: device level always 0xF80c). In HEX representation, the individual groups of data records are distinguished by the first letter of the data record number. Figure 4-14 Addressing levels of diagnostics data records The information for each IO device (addressing level AR), module (addressing level slot) or...
Diagnostics 4.8 Diagnostics in the user program 4.8.2 Evaluate diagnostics in the user program Diagnostics in the user program For PROFINET IO, a cross-vendor structure of data records with diagnostics information applies. Diagnostics information is created only for channels on which a fault has occurred. With PROFINET, there are two basic ways to obtain diagnostics information.
Diagnostics 4.8 Diagnostics in the user program 2. Evaluation of interrupts When the error OB (OB 82) is called, the OB's start information provides you with information on the cause and location of the error. Detailed information on the error event can be obtained in the error OB using the instruction "RALRM"...
Refer to the documentation for the respective device to see to what extent the PROFINET devices support the described functions. You can find a tabular overview of the PROFINET devices and the functions these support on the Internet (https://support.industry.siemens.com/cs/ww/en/view/102325771). PROFINET with STEP 7 V14 Function Manual, 09/2016, A5E03444486-AG...
Ethernet-based subsystems. This allows a continuous exchange of information. Figure 5-1 Gateways on PROFINET IO Gateways of an S7-1500 CPU An overview of the gateways at an S7-1500 CPU is provided in this FAQ (https://support.industry.siemens.com/cs/ww/en/view/88778900). PROFINET with STEP 7 V14 Function Manual, 09/2016, A5E03444486-AG...
Functions 5.1 Connecting other bus systems 5.1.2 Linking PROFINET and PROFIBUS Linking PROFINET and PROFIBUS With a proxy-capable PROFINET device which is equipped with a PROFINET interface in addition to a PROFIBUS interface (for example, IE/PB Link PN IO), you can integrate existing PROFIBUS configurations into the PROFINET configuration.
Functions 5.1 Connecting other bus systems Diagnostic options with a CPU S7-1500 as IO controller The CPU S7-1500 (as of firmware version 1.7) as IO controller detects disrupted DP slaves behind the IP/PB link. 5.1.3 Connect the DP slave via the IE/PB Link to a PROFINET IO system Requirements ●...
Assigning PN device numbers for IE/PB link Result You have connected the DP slave to the PROFINET IO system. Reference Additional information on the IE/PB link is available in the manual Gateway IE/PB Link PN IO (http://support.automation.siemens.com/WW/view/en/19299692). PROFINET with STEP 7 V14 Function Manual, 09/2016, A5E03444486-AG...
In the remainder of this description, a CPU or a CP with I-device functionality is simply called an "I-device". Application example: Configuration and application of the PROFINET I-device function A detailed application example is available here (https://support.industry.siemens.com/cs/ww/en/view/109478798). PROFINET with STEP 7 V14 Function Manual, 09/2016, A5E03444486-AG...
Functions 5.2 Intelligent IO devices (I-devices) 5.2.2 Properties and Advantages of the I-Device Fields of application Fields of application of the I-device: ● Distributed processing A complex automation task can be divided into smaller units/subprocesses. This results in manageable processes which lead to simplified subtasks. ●...
Functions 5.2 Intelligent IO devices (I-devices) 5.2.3 Characteristics of an I-Device Principle An I-device is included in an IO system like a standard IO device. I-device without lower-level PROFINET IO system The I-device does not have its own distributed I/O. The configuration and parameter assignment of the I-devices in the role of an IO device is the same as for a distributed I/O system (for example ET 200).
Functions 5.2 Intelligent IO devices (I-devices) I-device with lower-level PROFINET IO system Depending on the configuration, an I-device can also be an IO controller on a PROFINET interface in addition to having the role of an IO device. This means that the I-device can be part of a higher-level IO system via its PROFINET interface and as an IO controller can support its own lower-level IO system.
Functions 5.2 Intelligent IO devices (I-devices) Example - the I-device as IO device and IO controller The I-device as IO device and IO controller is explained based on the example of a print process. The I-device controls a unit (a subprocess). One unit is used, for example, to insert additional sheets such as flyers or brochures in a package of printed material.
Functions 5.2 Intelligent IO devices (I-devices) I-device as a shared device An I-device can also be used simultaneously by multiple IO controllers as a shared device. Figure 5-10 I-device as a shared device Information about configuring an I-device as a shared device is available in the section Configuring an I-device as a shared device (Page 128).
Functions 5.2 Intelligent IO devices (I-devices) 5.2.4 Data Exchange between higher- and lower-level IO system Introduction The next chapter shows the data exchange between the higher- and lower-level IO system. Transfer areas Transfer areas are an interface to the user program of the I-device CPU. Inputs are processed in the user program and outputs are the result of the processing in the user program.
Functions 5.2 Intelligent IO devices (I-devices) The next figure shows the data exchange between the higher- and lower-level IO system. The individual communication relations are explained below based on the numbers. Figure 5-11 Data exchange between higher- and lower-level IO system ①...
Functions 5.2 Intelligent IO devices (I-devices) ② Data exchange between higher-level IO controller and I-device In this way, the IO controller and the I-device exchange data through PROFINET. The data exchange between a higher-level IO controller and an I-device is based on the conventional IO controller / IO device relationship.
Functions 5.2 Intelligent IO devices (I-devices) 5. Now you have the option of choosing the IO controller in the "Assigned IO controller" drop-down list. Once you have chosen the IO controller, the networking and the IO system between both devices are displayed in the network view. Figure 5-12 Configuring the I-device 6.
Functions 5.2 Intelligent IO devices (I-devices) 7. Configure the transfer areas. The transfer areas are found in the area navigation section "I-device communication". – Click in the first field of the "Transfer area" column. STEP 7 assigns a default name which you can change.
Functions 5.2 Intelligent IO devices (I-devices) 5.2.6 Program examples Introduction This simple program example shows how you use the transfer areas of an I-device. Requirements You have configured an I-device. Task The result of an "AND logic operation" of two inputs (preprocessing) in the I-device is to be provided to the higher-level IO controller.
Functions 5.2 Intelligent IO devices (I-devices) Configuring the transfer area Configure a transfer area with the following properties in the I-device: Figure 5-14 I-device transfer area, sample program Programming I-device To program the sample program for the I-device, follow these steps: 1.
Functions 5.2 Intelligent IO devices (I-devices) 4. Call the function "preprocessing" in a program cycle OB, for example, in OB1. 5. Wire the function "preprocessing" in the program cycle OB as follows: Figure 5-15 I-device sample program Programming IO controller To program the sample program for the IO controller, follow these steps: 1.
Functions 5.2 Intelligent IO devices (I-devices) 5.2.7 Diagnostics and interrupt characteristics Diagnostics and interrupt characteristics S7 CPUs have numerous diagnostics and interrupt functions that can, for example, report errors or failures of lower-level IO systems. These diagnostics messages reduce down times and simplify localization and elimination of problems.
Functions 5.2 Intelligent IO devices (I-devices) Initial status Event I-device response Higher-level IO controller I-device CPU is The higher-level During the updating of the process in RUN, higher- IO controller image with the instructions level IO control- changes to STOP "UPDAT_PI"...
Functions 5.2 Intelligent IO devices (I-devices) Note Special characteristic during startup of the higher-level IO controller In contrast to the station return message from IO devices in the IO controller, which are covered completely by the call of the OB 86, the station return message of a higher-level IO controller in the I-device is separated into 2 parts: 1.
Functions 5.2 Intelligent IO devices (I-devices) I-device with one port Connect an I-device with only one port to a PROFINET switch that is uncoupled from the higher-level IO system. Connect the lower-level IO system to another port of the switch as shown in the following figure.
Functions 5.2 Intelligent IO devices (I-devices) I-device with two ports With an I-device with two ports, connect one port, uncoupled from the higher-level IO system, to the port of the PROFINET switch. Use the second port for the lower-level IO system as shown in the following figure. Figure 5-18 I-device with two ports PROFINET with STEP 7 V14...
Functions 5.2 Intelligent IO devices (I-devices) I-device with three or more ports If you have an I-device with three or more ports, connect the I-device to one or both ports to the higher-level IO system in a linear bus topology. Connect the third port to the lower-level IO system uncoupled from the linear bus topology as shown in the following figure.
Functions 5.2 Intelligent IO devices (I-devices) 5.2.9 Boundary conditions when using I-devices Note the following boundary conditions when using I-devices: Bandwidth The number of addresses of the configured transfer areas affects the usable bandwidth of the I-device: ● Bandwidth of the transfer areas + bandwidth of the lower-level IO system = total bandwidth used on the I-device If the address space of the transfer areas is too large, this indicates a larger bandwidth requirement and can thus lead to longer update times.
Functions 5.2 Intelligent IO devices (I-devices) Requirements ● STEP 7 as of V13 service pack 1 ● CPU supports PROFIenergy with I-devices, for example CPU 1215C DC/DC/DC as of firmware version 4.2 ● You use the PROFINET IO interface as an I-device and have created transfer areas. ●...
Functions 5.2 Intelligent IO devices (I-devices) Once the I-device is fully configured, generate the GSD file for the I-device and import this file in the project for the I/O controller. The GSD file generated is compatible with GSD version 2.31 and contains an entry that specifies that the I-device supports the PROFIenergy profile.
Functions 5.3 Shared device Shared device 5.3.1 Useful information on shared devices shared device functionality Numerous IO controllers are often used in larger or widely distributed systems. Without the "Shared Device" function, each I/O module of an IO device is assigned to the same IO controller.
Functions 5.3 Shared device Principle Access to the submodules of the shared device is then divided up among the individual IO controllers. Each submodule of the shared device is assigned exclusively to one IO controller. Requirements ● STEP 7 V12 Service Pack 1 or higher ●...
Functions 5.3 Shared device Setting of the real-time properties STEP 7 calculates the communication load and thus the resulting update times. You must enter the number of project-external IO controllers in the project in which the PROFINET interface of the shared device is assigned to the IO controller so that a calculation is possible with shared device configurations.
Response in the event of fault Information about how PROFINET IO controllers behave in the event of a fault when accessing the data of a shared device is available in this FAQ (https://support.industry.siemens.com/cs/ww/en/view/109572804). 5.3.2 Configuring shared device Below, you will find a description of how to configure a distributed I/O system as a shared device with STEP 7 V12, Service Pack 1 or higher.
Functions 5.3 Shared device Procedure - Creating project 1 To create the first project with a shared device, follow these steps: 1. Start STEP 7. 2. Create a new project with the name "Shared-Device-1". 3. Insert, for example, a CPU 1513-1 PN from the hardware catalog in the network view. Name it "PLC1".
Functions 5.3 Shared device Select the setting "---" for all modules and submodules that are to be located in the address range of the CPU from the "Shared-Device-2" project (PLC2). This means that an IO controller outside the project is to have access to the module or submodule. Figure 5-22 Configuring shared device 4.
Functions 5.3 Shared device Procedure - Adjusting the real-time settings To ensure that all IO controllers and shared devices are operated with the appropriate send clock and that the update times are calculated correctly based on the communication load, you must adjust and check the following settings: 1.
Functions 5.3 Shared device These errors do not show up until operation and are output as configuration errors, for example. Note After a configuration has been loaded in the IO controller, non-assigned modules or submodules retain their current parameterization state to ensure the independence from the parameterizations of other IO controllers.
Functions 5.3 Shared device You export a PROFINET GSD file from the I-device configuration. Figure 5-23 Exporting an I-device as a GSD file PROFINET with STEP 7 V14 Function Manual, 09/2016, A5E03444486-AG...
Functions 5.3 Shared device Operator view You must install the PROFINET GSD file created from the I-device configuration in all engineering systems that are involved in configuring a PROFINET IO system with this shared I-device. If all uses of this I-device will be configured with STEP 7 V13, it is sufficient to install the GSD file in STEP 7.
Functions 5.3 Shared device In each of the projects involved, you define which transfer areas are assigned exclusively to the higher-level IO controller (default setting: all). You set the other transfer areas to "---" (not assigned). As a result of this setting, the local IO controller has no access to this transfer area and it can therefore be assigned to another IO controller in another project.
Functions 5.3 Shared device Requirements ● STEP 7 as of V13 Procedure - Creating the PLC-I-device project To create the project with a shared I-device, follow these steps: 1. Start STEP 7. 2. Create a new project with the name "PLC-I-device". 3.
Functions 5.3 Shared device 5. Assign the module parameters. In particular, the following settings for the CPU are necessary in the area of the PROFINET interface [X1]: – Enable the "IO device" option in the "Operating mode" area. – Configure the transfer areas in the "Operating mode" > "I-device configuration" area. The "Address in IO controller"...
(GSD)" section). If you do not change the name in the Export dialog, the GSD file has a name in the form "GSDML-V2.31-#Siemens-PreConf_PLC-I-Device-20130925-123456", for example. Procedure - Creating the PLC_1 project To create the first project with a shared I-device, follow these steps: 1.
Functions 5.3 Shared device 7. Adapt the parameters of the subnet and PROFINET interface. Because the shared I-device involves the same device in different projects, these data must match. 8. Save the project. Both projects now have an identically configured shared I-device. The IO controller access and the parameters of the PROFINET interface should still be checked in the different projects during the next step.
Functions 5.3 Shared device Procedure - Adjusting the real-time settings To ensure that all IO controllers and shared devices are operated with the appropriate send clock and that the update times are calculated correctly based on the communication load, you must adjust and check the following settings: 1.
Functions 5.3 Shared device 5.3.4 Module-internal shared input/shared output (MSI/MSO) Introduction This section describes the module-internal shared input/shared output (MSI/MSO) functionality for I/O modules that are operated on PROFINET. Module-internal shared input/shared output functionality The module-internal shared input (MSI) function allows an input module to make its input data available to up to four IO controllers.
Functions 5.3 Shared device The following figure shows the MSO functionality. ① CPU 1516-3 PN/DP as IO controller ② CPU 1511-1 PN as IO controller ③ Output module with MSO ④ Write access to the output channels of the output module ⑤...
Functions 5.3 Shared device Requirements for the use of MSI/MSO Observe the following requirements: ● MSI/MSO can only be used with PROFINET IO ● Configuration software: STEP 7 (TIA Portal) as of V12 SP1 with GSD file; the modules are integrated in the hardware catalog as of V13. ●...
Functions 5.3 Shared device MSI submodules The input values of all channels are copied to a basic submodule and up to three other MSI submodules during MSI configuration of an input module. The channels of the module are then available with identical input values in the basic submodule and the MSI submodules. The MSI submodules can be assigned to up to three IO controllers when the module is used in a shared device.
Functions 5.3 Shared device MSO submodules During MSO configuration of an output module, the output values of all channels of the module are copied from a basic submodule to up to three other MSO submodules. The channels of the module are then available with identical values in the basic submodule and the MSO submodules.
Functions 5.3 Shared device Value status (Quality Information, QI) The meaning of the value status depends on the submodule to which it pertains. With basic submodule (= 1st submodule), the "0" value status indicates that the value is incorrect. With MSO submodule (= 2nd to 4th submodule) the "0" value status indicates that the value is incorrect or one of the following errors has occurred: ●...
Configuring access to a shared device and the module-internal shared input / shared output (MSI /MSO) function You can learn how to access a shared device and the MSI /MSO function in STEP 7 with this FAQ (https://support.industry.siemens.com/cs/ww/en/view/109736536). PROFINET with STEP 7 V14 Function Manual, 09/2016, A5E03444486-AG...
Functions 5.4 Media redundancy (ring topologies) Media redundancy (ring topologies) In order to increase the network availability of an Industrial Ethernet network with optical or electrical linear bus topologies, you can convert a linear bus topology to a ring topology by joining the ends together.
Functions 5.4 Media redundancy (ring topologies) How media redundancy works in a ring topology The data paths between the individual devices are automatically reconfigured if the ring is interrupted at any point. The devices are available again after reconfiguration. In the redundancy manager, one of the two ring ports is blocked in uninterrupted network operation for normal communication so that no data frames are circulated.
Functions 5.4 Media redundancy (ring topologies) Topology The following schematic shows a possible topology for devices in a ring with MRP. The devices inside the shaded oval are in the redundancy domain. Example of a ring topology with the MRP media redundancy protocol: Figure 5-34 Example of a ring topology with the MRP media redundancy protocol: The following rules apply to a ring topology with media redundancy using MRP:...
Functions 5.4 Media redundancy (ring topologies) Rules for loading the devices of an MRP domain When loading devices of an MRP domain, frame loops can occur and result in network failure if there is an invalid MRP configuration. Example: You change the MRP roles of several devices and consecutively load the configuration into the devices involved.
Functions 5.4 Media redundancy (ring topologies) 5.4.2 Configuring media redundancy Configuring MRP Proceed as follows to create a PROFINET IO configuration with MRP in STEP 7: 1. Generate a ring via the port interconnections in the topology view. First interconnect the devices to a line topology.
Functions 5.4 Media redundancy (ring topologies) 4. Select the ring generated above in the "Ring interconnections" field. The table below it shows all the PROFINET devices in the ring. 5. Set the media redundancy role for the PROFINET devices in the MRP role column. Figure 5-36 MRP domain Automatic MRP configuration...
Functions 5.4 Media redundancy (ring topologies) Ring port 1 / Ring port 2 Select one at a time those ports you want to configure as ring port 1 or ring port 2. The drop- down list box shows the selection of possible ports for each device type. If the ports are set at the factory, then the fields are unavailable.
Functions 5.4 Media redundancy (ring topologies) Configuring MRPD You do not have to explicitly activate MRPD in STEP 7. The function is available automatically as soon as all the requirements for MRPD are fulfilled. Redundancy levels of IO devices with MRPD The redundancy level of an IO device specifies how strongly the real-time communication is influenced in the case of a power interruption between an IO device and its IO controller.
Functions 5.4 Media redundancy (ring topologies) The figure below shows the display of the redundancy levels in STEP 7 for the example configuration. Figure 5-38 Display of the redundancy levels in STEP 7 5.4.4 Multiple rings Multiple rings Use multiple rings to achieve higher availability for PROFINET IO networks with star topology.
Functions 5.4 Media redundancy (ring topologies) The manager monitors all the rings individually: It checks for each particular ring (an MRP domain) whether the transmission path is intact. To do this, it uses an MRP instance in each case. An MRP instance is required for each connected ring (set up automatically by STEP 7).
Functions 5.4 Media redundancy (ring topologies) Configuring multiple rings To configure an MRP configuration with multiple rings, follow these steps: 1. In the topology view, interconnect the ring ports of the devices that are intended to belong to an MRP domain to form a ring. 2.
Functions 5.4 Media redundancy (ring topologies) You can configure each MRP instance separately. The following figure shows the two MRP instances in the manager (PROFINET interface of the switch). Here in the example, MRP instance 1 checks whether the devices in the MRP domain "mrpdomain-1"...
Functions 5.4 Media redundancy (ring topologies) The following figure shows Ring 1 (mrpdomain-1). The participants of the mrpdomain-1 are the PROFINET interface of the CPU as the "Client" and the MRP interface 1 of the PROFINET interface of the switch as the "Manager". Figure 5-42 Ring 1 The following figure shows Ring 2 (mrpdomain-2).
Functions 5.5 Real-time communication Real-time communication 5.5.1 Introduction Properties PROFINET IO is a scalable real-time communication system based on the Layer 2 protocol for Fast Ethernet. With the RT transmission method, two real-time-support performance levels are available for time-critical process data and IRT for high-accuracy and also isochronous processes .
Functions 5.5 Real-time communication Fields of application of PROFINET with IRT PROFINET with IRT is particularly suitable for: ● Considerable deterministics with large quantity structures concerning the I/O user data communication (productive data) ● Considerable performance also with many devices concerning the I/O user data communication (productive data) ●...
Functions 5.5 Real-time communication Cut through In the Cut through process the entire data package is not stored temporarily in a buffer, it is passed directly onto the target port as soon as the target address and the target port have been determined.
Functions 5.5 Real-time communication Properties of isochronous real-time Topology configuration is a prerequisite for IRT. In addition to the reserved bandwidth, the frames from defined transmission paths are exchanged for the further optimization of data transfers. For this, the topological information from the configuration is used for planning the communication.
Functions 5.5 Real-time communication Time ranges of the communication cycle The communication cycle is divided into three time ranges, which are shown in the following chart: Figure 5-45 Reserving bandwidth ● IRT data (synchronized communication) This time range can be reserved in specific steps, depending on the send clock. Only IRT data is transmitted during this time range.
Functions 5.5 Real-time communication 5.5.4 Comparison of RT and IRT The most important differences between RT and IRT Table 5- 2 Comparison between RT and IRT Property Transmission method Prioritizing the RT frames through Ethernet Path-based switching on the basis of a priority (VLAN tag) communication path plan;...
Functions 5.5 Real-time communication Procedure Proceed as follows to enable an existing IO system for the use of IRT: 1. Select the PROFINET interface of the IO controller. 2. In the Inspector window, navigate to "Advanced options > Real time settings > Synchronization".
Functions 5.5 Real-time communication 5. In the Inspector window, navigate to "Advanced options > Real time settings > Synchronization". Figure 5-47 IRT configuring sync slave 6. Activate the RT class "IRT". The IO device will then automatically be assigned the synchronization role "sync slave".
Functions 5.5 Real-time communication 3. Navigate to the device of the required sync domain in the Inspector window. Figure 5-48 IRT configuring sync domain 4. Enter all necessary settings in the tables: – Select an IO system. – Set the synchronization role "sync master" for the IO controller. –...
Functions 5.5 Real-time communication 5.5.6 Setting the bandwidth usage for the send clock Bandwidth level For PROFINET IO with IRT, you can specify the maximum portion of the send cycle that you want to use for cyclic IO communication. You have the following setting options for the bandwidth usage in STEP 7. ●...
Functions 5.5 Real-time communication 5.5.7 Setup recommendations for optimizing PROFINET Optimizing PROFINET with RT PROFINET provides you with high-performance communication on all levels. The following figures shows an example of an optimized PROFINET topology. Figure 5-50 Optimized PROFINET topology When setting up your PN network topology, take care that the various automation applications are distributed among separate network branches so that a sufficient bandwidth reserve will be available for future expansions.
Functions 5.5 Real-time communication Setting up PROFINET with IRT Keep in mind the following rules for setting up and operating a PROFINET IO system in IRT mode. These rules will ensure best possible operation of your PROFINET IO system. ● When using IRT, you must configure the topology. This will enable exact calculation of the update time, bandwidth, and other parameters.
● CPU 1515T-2 PN ● CPU 1516(F)-3 PN/DP ● CPU 1516(F)pro-2 PN You can find additional information in the section PROFINET interface (Page 23) and in the Cycle and Response Times (https://support.industry.siemens.com/cs/ww/en/view/59193558) function manual. PROFINET with STEP 7 V14 Function Manual, 09/2016, A5E03444486-AG...
Functions 5.5 Real-time communication Topological overlap of IO systems in multi-controller applications In a configuration with multiple IO controllers, shared paths are subject to the combined network loads of all connected PROFINET IO systems. To avoid high communication loads in multi-controller applications, observe the following recommendations: ●...
Functions 5.5 Real-time communication 5.5.8 Limitation of the data infeed into the network Limiting the data infeed into the network on PROFINET interfaces The "Limit data infeed into the network" function limits the network load of standard Ethernet communication which is fed into the network by the interface to a maximum value. This does not apply to cyclic real-time communication (RT/IRT).
Functions 5.6 PROFINET with performance upgrade Setting limitation of the data infeed into the network for a CPU To set the limitation of the data infeed into the network, follow these steps: 1. In the network view of STEP 7, select the interface of the CPU. 2.
Functions 5.6 PROFINET with performance upgrade 5.6.1 Dynamic frame packing Dynamic frame packing Previously, individual PROFINET IO frames were sent for every PROFINET IO device. The performance upgrade uses the dynamic frame packing procedure that is based on the summation frame method. With the summation frame method, a frame contains the user data for neighboring devices on a line.
Functions 5.6 PROFINET with performance upgrade DFP groups Dynamic frame packing automatically groups IO devices that support the performance upgrade into DFP groups. To be grouped together in a DFP group. the IO devices must be located one after the other in a line and must have the same update time and watchdog time. As soon as a maximum frame size for the DFP group is exceeded or a maximum number of members for a DFP group is reached, Dynamic Frame Packing automatically opens a new DFP group.
Functions 5.6 PROFINET with performance upgrade 5.6.2 Fragmentation The transfer of a complete standard Ethernet frame with TCP/IP data takes up to 125 µs. This means that the cycle time for PROFINET IO data cannot be reduced by any desired amount.
Functions 5.6 PROFINET with performance upgrade 5.6.3 Fast forwarding To be able to decide whether a frame should be forwarded or used, a PROFINET IO device requires the frame ID. It previously took 1440 ns until the frame ID was present in the IO device.
Functions 5.6 PROFINET with performance upgrade 5.6.4 Configuration of IRT with high performance High-end applications with IO communication require excellent performance in IO processing, for example in the control of wind turbines (converter control). To use IRT communication with the highest performance in your PROFINET IO system, enable the option "Make 'high performance' possible".
Functions 5.6 PROFINET with performance upgrade Using more bandwidth for cyclic IO data Requirement: The "Make 'high performance' possible" option is enabled. To set more bandwidth for cyclic IO data for your PROFINET IO system, follow these steps: 1. Select your IO system in the network view of STEP 7. 2.
Functions 5.6 PROFINET with performance upgrade Requirements for the fragmentation process (CPU 1518-4 PN/DP) If you use the following combinations for send clock and bandwidth settings, the devices in the IO system use the fragmentation process. ● Send clock cycle 125 µs: Always fragmentation irrespective of the bandwidth setting. ●...
Functions 5.6 PROFINET with performance upgrade Allowing fast forwarding Requirements: ● The PROFINET IO device has to support the fast forwarding process so that the process can be used by the device. ● The "Make 'high performance' possible" option is enabled. ●...
Functions 5.6 PROFINET with performance upgrade 5.6.5 Sample configuration for IRT with high performance The figure below shows an example configuration with which you can achieve maximum performance. Port 1 of the X1 interface of the CPU is deactivated. Port 2 of the X1 interface and the ports of the interface modules on the bus use the following setting: Medium copper, cable length <...
Functions 5.7 Isochronous mode Isochronous mode 5.7.1 What is isochronous mode? Objectives of isochronous operation Assuming public transport were to operate at maximum speed while reducing stop times at the passenger terminals to absolute minimum, the last thing many potential passengers would notice of the departing contraption are its red tail lights.
Functions 5.7 Isochronous mode Advantages of isochronous mode The use of isochronous mode allows high-precision control. ● Optimized control ● Determinism ● Consistent (simultaneous) reading in of input data ● Consistent (simultaneous) output of output data 5.7.2 Use of isochronous mode With the "Isochronous mode"...
Functions 5.7 Isochronous mode Isochronous workflow When the isochronous mode property of the system is used, the measured value acquisition is clocked and occurs simultaneously at the various measuring points. The time required for measurement is reduced. Resultant workflow: ● Continuous machining of the camshaft ●...
Functions 5.7 Isochronous mode 5.7.4 Time sequence of synchronization From reading-in of input data to outputting of output data The basic time sequence of all components involved in synchronization is explained in the following: ● Reading-in of input data in isochronous mode ●...
Functions 5.7 Isochronous mode is the compensation arising from the backplane bus and the digital-to-analog conversion within the IO device. T is the "flashlight" for the outputs; at this instant the synchronized outputs are output. The time T can be configured by STEP 7or by the user. We recommend automatically assigning the bias time T of STEP 7.
Functions 5.7 Isochronous mode 5.7.6 Program processing according to the IPO model with application cycle = 1 Characteristics of the IPO-model with application cycle factor = 1 The IPO model with application cycle factor = 1 is characterized by the fact that the execution of the I/O data is complete within one system clock cycle T_DC.
Functions 5.7 Isochronous mode 5.7.7 Program execution according to the IPO model with application cycle > 1 Characteristics of the IPO-model with application cycle factor > 1 The IPO model with application cycle factor > 1 is an IPO model over multiple data cycles T_DC.
Functions 5.7 Isochronous mode 5.7.8 Configuring isochronous mode Introduction The configuring of isochronous mode for a module is described as IO device in the following based on the ET 200MP distributed I/O system. The procedure described also applies to other distributed I/O systems (e.g., ET 200S or ET 200SP). The IO controller is an S7-1500 CPU.
Functions 5.7 Isochronous mode Procedure To create an isochronous connection between the I/O and user program, follow these steps: 1. Select the "IM 155-5 PN HF" in the network view of STEP 7 and switch to the device view. 2. Insert an IO module that can be operated in isochronous mode (module with the extension "HF").
Functions 5.7 Isochronous mode 4. Make the following settings in the I/O addresses area: – Select the "Isochronous mode" option. – Select a process image partition, e.g., process image partition 1. – Click on the "Assigned organization block" in the drop-down list and click the "Add object"...
Functions 5.7 Isochronous mode Programming isochronous mode The user program must be set up accordingly in order to operate your plant in isochronous mode. To do this, you must create an isochronous mode interrupt OB (OB 6x) in an I/O module (see above). You access the isochronous I/O via a process image partition, i.e., the addresses of isochronous modules must be in a process image partition.
Functions 5.8 Device replacement without exchangeable medium Setting the delay time STEP 7 sets the delay time automatically to the start of the execution window by default. As a result, the isochronous mode update of the process image partition automatically falls within the execution window of the application cycle.
Which devices support device replacement without exchangeable medium? An overview of the devices that support the "Device replacement without exchangeable medium" function is provided in this FAQ (https://support.industry.siemens.com/cs/ww/en/view/36752540). 5.8.1 Device replacement without exchangeable medium/PG function Neighborhood Neighborhood is the physical relationship between two ports of adjacent PROFINET devices.
Functions 5.8 Device replacement without exchangeable medium Failure and replacement of an IO device The following example describes device replacement without exchangeable medium in the case of failure of an IO device. Figure 5-75 Example configuration of device replacement without exchangeable medium For the device replacement, the following information is available to the IO controller: PROFINET device Device alias...
Functions 5.8 Device replacement without exchangeable medium Principles of name assignment The failure of the "Mill" IO device is considered here. 1. The IO controller queries the device name of the replaced IO device. 2. The IO controller detects that the IO device with the device alias "port-002.Press" does not have a device name.
Functions 5.8 Device replacement without exchangeable medium Activating/deactivating device replacement without exchangeable medium The "Device replacement without exchangeable medium" function is activated in the IO controller by default. To deactivate device replacement without exchangeable medium, follow these steps: 1. In the device or network view of the STEP 7, select the PROFINET interface in the corresponding IO controller.
Functions 5.8 Device replacement without exchangeable medium Typical source of danger When replacing an IO device ("standard case"), it is almost guaranteed that the replaced device will be connected according to the configured port interconnection. The figure below shows a scenario whereby the connections of two identical PROFINET cables are swapped at two switch ports.
Functions 5.9 Standard machine projects Procedure Proceed as follows to change the "Permit overwriting of PROFINET device names of all assigned IO devices" option: 1. Select the PROFINET interface of the CPU for which you want to change the option in the network view or in the device view.
For more information on the configuration control for IO systems, refer to section Configuration control for IO systems (Page 209). For more information on configuration control, refer to the system manual S7-1500, ET 200MP (http://support.automation.siemens.com/WW/view/en/59191792). 5.9.1 Multiple use IO systems 188.8.131.52...
Functions 5.9 Standard machine projects The following figure shows how an automation solution with a multiple use IO system is loaded on different automation systems and then one automation system is adapted to the existing network infrastructure locally. ① Load configuration with multiple use IO system ②...
Functions 5.9 Standard machine projects Rules The following rules apply to a multiple use IO system: ● No IO device can be configured as shared device. ● The ports of the devices must be interconnected. Devices for which no port interconnection is configured, for example, interface module IM 154-6 IWLAN (ET 200pro PN), cannot be operated with STEP 7 V13 as IO devices on a multiple use IO system.
Functions 5.9 Standard machine projects Configuration You specify whether or not a configuration can be used multiple times in the properties of the IO system. All other parameter settings for the configured devices are then set automatically by STEP 7 and checked during compilation.
Functions 5.9 Standard machine projects 184.108.40.206 Configuring multiple use IO systems Requirements ● STEP 7 as of V13 ● The IO controller supports the "Multiple use IO system" function, for example a CPU 1512SP-1 PN as of firmware version 1.6. Procedure The configuration of a series machine using an S7-1500-CPU as an example is described below.
Functions 5.9 Standard machine projects Result: The following settings are made by STEP 7: ● The device name of the IO controller (CPU) in the standard machine project is set to "PROFINET device name is set directly at the device". The IO controller (CPU) has no PROFINET device name initially.
Functions 5.9 Standard machine projects The following figure shows the above-described settings for the IP address and PROFINET device name. ① After the configuration is loaded from the standard machine project, the IO controller has no device name and no IP address. ②...
Observe the boundary conditions and instructions for commissioning an S7-1500. For more information on commissioning an S7-1500 CPU, refer to the system manual S7-1500, ET 200MP (http://support.automation.siemens.com/WW/view/en/59191792). To adapt a standard machine locally, follow these steps: 1. Integrate the machine into the network.
Functions 5.9 Standard machine projects Note Make sure that duplicate IP addresses cannot be created on the subnet during the assignment. The IO controller does not assign a new IP address in this case. In the following figure, the device name "m1" and the IP address 192.168.1.10 have been assigned to the IO controller of the first machine.
Functions 5.9 Standard machine projects 5.9.2 Configuration control for IO systems 220.127.116.11 Information about configuration control of IO systems Configuration control of IO systems makes it possible to generate several concrete versions of a standard machine from a standard machine project. You are given the flexibility to vary the configuration of an IO system for a specific application as long as the real configuration can be derived from the set configuration.
Functions 5.9 Standard machine projects Concept The principle of configuration control is already known at the device level for the flexible use of submodules/modules ("option handling"). Different configurations can be derived from one engineering project both for central as well as for distributed I/O. With S7-1500 CPUs as of firmware version V1.7, this principle can also be applied at the IO system level.
Functions 5.9 Standard machine projects In this case, you use the instruction "ReconfigIOSystem" to transfer a data record to the PROFINET interface adding the optional IO device to the configuration. ① Determined through parameter assignment: IO Device_2 is optional IO device ②...
Functions 5.9 Standard machine projects 18.104.22.168 Configuring IO devices as optional Requirements ● IO controller supports configuration control for IO systems, for example CPU 1516-3 PN/DP as of firmware version 1.7 ● STEP 7 V13 SP1 or higher ● The rules (Page 225) for the establishment and operation of a standard machine project have been considered.
Functions 5.9 Standard machine projects Result: Once this configuration is loaded, the system behavior is as follows: ● The CPU is prepared for the configuration control of the IO system. ● All IO devices are disabled. ● Irrespective of whether you customize the configuration with the user program (adding optional IO devices) or make no changes to the loaded configuration: You must call the instruction "ReconfigIOSystem"...
Functions 5.9 Standard machine projects 2. Call the instruction "ReconfigIOSystem" and select MODE 1 to deactivate all IO devices. If you set the CPU to STOP or POWER OFF state in order to modify the plant in this status (for example to add an optional IO device), explicit deactivation using "ReconfigIOSystem"...
Functions 5.9 Standard machine projects The data record is to be stored in a data block and to be transmitted to the PROFINET interface of the IO controller in the user program using the instruction "ReconfigIOSystem". ① IO device_2 is configured as optional IO device. ②...
Functions 5.9 Standard machine projects Parameter MODE of instruction "ReconfigIOSystem" You control how the "ReconfigIOSystem" instruction works with the MODE parameter. The following values are possible for the MODE input parameter: MODE Description All IO devices of the IO system can be disabled by calling the instruction with MODE 1.
Functions 5.9 Standard machine projects Rules for the call sequence of "ReconfigIOSystem" ● Always supply the instruction "ReconfigIOSystem" with the same control data record (CTRLREC input parameter)! ● Call sequence following POWER OFF -> POWER ON transition: – ReconfigIOSystem call with MODE 1 (optional). –...
Functions 5.9 Standard machine projects ● Commissioning extensive I/O systems (more than 8 optional IO devices) while using IRT at the same time: To keep the startup times short when activating the optional IO devices (ReconfigIOSystem, mode 3), note the following tip: Check the device numbers of the IO devices.
Functions 5.9 Standard machine projects Additional information For information on the basic structure of the data record and on using the instruction "ReconfigIOSystem" see the STEP 7 online help. See also Configuring IO devices as optional (Page 212) 22.214.171.124 Configuring flexible order of IO devices The following section shows how you can create the conditions required to change the order of IO devices in a PROFINET IO system.
Functions 5.9 Standard machine projects The figure below shows the initial configuration of the transport system shown above, which is to permit the order of the connected IO devices to be changed via the user program. In the example, the order of IO-Device_2 and IO-Device_3 is to be controlled via the user program. Figure 5-88 Example configuration: Configuring flexible order of IO devices To determine how the partner port settings are to be selected, you must note for each device...
Functions 5.9 Standard machine projects For the example in the figure above, the following port settings result: Device Local port Partner port setting Explanation PLC_1 p1 (IO device_1) Partner of PLC_1 at port 1 is IO device_1 (always) IO device_1 p1 (PLC_1) Partner of IO device_1 at port 1 is PLC_1 (always)
Functions 5.9 Standard machine projects Procedure To set the partner port for a program controlled interconnection, proceed as follows: 1. Select the PROFINET interface of the device (IO controller or IO device) whose port you want to set. 2. In the properties of the PROFINET interface, select the area "Port interconnection" (Extended options >...
Functions 5.9 Standard machine projects Selecting derived configuration For the following selected configuration it is shown below what the data record must look like so that the IO devices are interconnected in the planned order by the user program. Figure 5-89 Example configuration: Customizing arrangement of IO devices in the user program This example is based on the flexible configuration from the previous section (Page 219) with the settings for the respective partner ports described there.
Functions 5.9 Standard machine projects Line 8: Port interconnection 2, local port. Line 9: Port interconnection 2, partner port Line 10: Port interconnection 3, local port. Line 11: Port interconnection 3, partner port. Figure 5-90 Data block with data record for port interconnections Interconnection not listed in data block If the partner port was configured as "Setting partner by user program"...
Functions 5.9 Standard machine projects 126.96.36.199 System behavior and rules Below, you find a description of how an IO system whose configuration is controlled by the user program behaves in operation. In addition, rules and restrictions are listed here which must be considered when configuring the maximum structure of the configuration in a standard machine project.
Functions 5.9 Standard machine projects For configuration-controlled IO systems, the following additional rules apply: ● When configuring MRP (Media Redundancy Protocol): The ports configured as ring ports must not be interlinked via user program. However, devices with ring ports (devices of an MRP domain) can be optional IO devices. ●...
Functions 5.10 Saving energy with PROFIenergy 5.10 Saving energy with PROFIenergy Saving energy with PROFIenergy PROFIenergy is a PROFINET-based data interface for switching off consumers centrally and with full coordination during pause times regardless of the manufacturer or device type. Through this, the process should only be provided with the energy that is absolutely required.
Functions 5.10 Saving energy with PROFIenergy PROFIenergy instructions for IO controllers Two instructions are needed for controlling and monitoring the PROFIenergy functions. The instruction PE_START_END allows you to easily activate and deactivate the idle state of PROFINET devices. This occurs by means of an incoming edge or outgoing edge. The instruction PE_START_END provides a simple interface for implementing the PROFIenergy commands Start_Pause and End_Pause.
5.11 Docking systems Application examples ● SIMATIC S7 library for simple configuration of PROFIenergy. The application example is available here (https://support.industry.siemens.com/cs/ww/en/view/109478388). ● Application guide for implementation of shutdown concepts with PROFIenergy. The application example is available here (https://support.industry.siemens.com/cs/ww/en/view/96837137). ● Saving energy with SIMATIC S7 PROFIenergy with I-device The application example is available here (https://support.industry.siemens.com/cs/ww/en/view/41986454).
Functions 5.11 Docking systems Area of application for alternating IO devices during operation You can use the PROFINET function "Alternating IO devices during operation" ("alternating partners"), for the tool changeover for robots, for example. Typical tools include: ● Welding guns ●...
Functions 5.11 Docking systems Applicative conditions The following points should be observed when implementing a docking system with alternating IO devices during operation: ● The IO devices of all docking units must be deactivated by default in the configuration. ● At any time, only one docking unit can be active, i.e., only the IO devices of one docking unit can be activated.
Functions 5.11 Docking systems 5.11.1 Configuring docking systems Configuring docking systems The possible connections to the individual IO devices must be configured in STEP 7. Procedure in STEP 7 1. Configure your system as usual, but do not yet configure the topological interconnections of the individual PROFINET devices.
Functions 5.11 Docking systems Multiple IO devices as a docking unit ("Alternating partner port") A docking unit may also consist of several IO devices connected in series. If you use IO devices connected in series as a docking unit, ensure that the topology of the IO devices is configured.
Functions 5.12 Accelerating startup 5.12 Accelerating startup 5.12.1 Options for accelerating the startup of IO devices Reducing the startup time of IO devices The time needed for the startup of IO devices depends on various factors and can be reduced in different ways. You can achieve a significant reduction in the startup time using the "Prioritized startup"...
Functions 5.12 Accelerating startup Dependencies The length of the startup time for an IO device (distributed I/O) with the "Prioritized startup" PROFINET function depends on the following factors: ● IO devices (distributed I/O) ● IO structure of the IO device (distributed I/O) ●...
Functions 5.12 Accelerating startup 5.12.2 Prioritized startup Definition Prioritized startup refers to the PROFINET function for accelerating the startup of IO devices in a PROFINET IO system with RT communication. It shortens the time that the respective configured IO devices require in order to reach the cyclic user data exchange in the following cases: ●...
Functions 5.12 Accelerating startup Area of application You can use prioritized startup, for example, for changing tools for robots in the automotive industry. Typical tools are, for example: ● Welding guns ● Positioning tools for the manufacture of car body parts Figure 5-96 Example configuration of a tool changer: Tools 1-3 configured with "Prioritized startup".
Functions 5.12 Accelerating startup Procedure 1. Select the IO device in the network view or device view for which you wish to accelerate startup. 2. Open the IO device properties in the Inspector window. 3. Select "PROFINET interface > Advanced options > Interface options". 4.
Functions 5.12 Accelerating startup 5.12.4 Optimize the port settings Optimizing port settings on the IO device and IO controller The transfer medium and the duplex option are checked during startup of the IO device in the case of copper cabling. These checks require time, but with specific presets of these options you can save the time the check requires.
Functions 5.12 Accelerating startup 5.12.5 Optimize the cabling of the ports Requirements You have made the following settings for the port in question to reduce the startup time of the IO device: ● Fixed transmission rate ● Autonegotiation deactivated The time for negotiating the transmission rate during startup is saved. If you have disabled autonegotiation, you must observe the cabling rules.
Functions 5.12 Accelerating startup 5.12.6 Measures in the user program Introduction You can make certain changes in the user program to accelerate the startup for IO devices of docking systems that alternate during operation. Making the required changes to the user program To accelerate the startup by making changes to the user program, follow these steps: 1.
Glossary API (Application Process Identifier) is a parameter, the value of which specifies the IO data processing process (application). The PROFINET standard IEC 61158 assigns profiles to specific APIs (PROFIdrive, PROFIsave), which are defined by the PROFINET user organization. The standard API is 0. Application An application is a program that runs directly on the MS-DOS/Windows operating system.
Glossary Communications processor Communication processors are modules used for point-to-point and bus connections. Configuring Selecting and putting together individual components of an automation system or installing necessary software and adapting it for a specific application (for example, by configuring the modules).
Glossary Device In the PROFINET environment, "device" is the generic term for: ● Automation systems (for example, PLC, PC) ● Distributed I/O systems ● Field devices (for example, PLC, PC, hydraulic devices, pneumatic devices) ● Active network components (for example, switches, routers) ●...
Glossary Duplex Half duplex: One channel is available for alternating exchange of information. Full duplex: Two channels are available for simultaneous exchange of information in both directions. Ethernet Ethernet is an international standard technology for local area networks (LAN) based on frames.
Glossary IP address To allow a PROFINET device to be addressed as a device on Industrial Ethernet, this device also requires an IP address that is unique within the network. Example: An IPv4 address consists of 4 decimal numbers with the value range 0 to 255. The decimal numbers are separated by periods.
Glossary Master Higher-level, active participant in the communication/on a PROFIBUS subnet. It has rights to access the bus (token), sends data and requests it. Media redundancy The so-called Media Redundancy Protocol (MRP) enables the configuration of redundant networks. Redundant transmission links (ring topology) ensure that an alternating communication path is made available if a transmission link fails.
Glossary Operating mode The SIMATIC S7 automation systems know the following operating states: STOP, STARTUP, RUN. Organization block 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.
Glossary PROFIBUS Process Field Bus - European Fieldbus standard. PROFIBUS device A PROFIBUS device has at least one PROFIBUS interface with an electrical (RS485) or optical (polymer optical fiber, POF) interface. PROFIBUS DP A PROFIBUS with DP protocol that complies with EN 50170. DP stands for distributed I/O (fast, real-time capable, cyclic data exchange).
Glossary 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 System PROFINET IO controller with assigned PROFINET IO devices. Programmable logic controller Programmable logic controllers (PLCs) are electronic controllers whose function is stored as a program in the control unit.
Period between two consecutive intervals for IRT or RT communication. The send clock is the shortest possible transmit interval for exchanging data. SIMATIC The term denotes Siemens AG products and systems for industrial automation. SIMATIC NET Siemens Industrial Communication division for Networks and Network Components.
Glossary Slave A slave can only exchange data after being requested to do so by the master. → See also DP slave SNMP The network management protocol SNMP (Simple Network Management Protocol) uses the wireless UDP transport protocol. It consists of two network components, similar to the client/server model.
Glossary Sync domain All PROFINET devices to be synchronized with IRT via PROFINET IO must belong to a sync domain. The sync domain consists of exactly one sync master and at least one sync slave. An IO controller or switch generally handles the role of the sync master. Non-synchronized PROFINET devices are not part of a sync domain.
Glossary 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.