PCS7 PROFINET Engineering en
PCS7 PROFINET Engineering en
Copyright
Caution The functions and solutions described in this article confine themselves to the realization of the automation task predominantly. Please take into account furthermore that corresponding protective measures have to be taken up in the context of Industrial Security when connecting your equipment to other parts of the plant, the enterprise network or the Internet. Further information can be found under the Entry ID 50203404. http://support.automation.siemens.com/WW/view/en/50203404
Siemens Industry Online Support This document is an article from the Siemens Industry Online Support. The following link leads you to the download page for this document: http://support.automation.siemens.com/WW/view/en/72887082
Preface
Preface
Objective of the document This description will lead you through the integration of PROFINET into the process levels and the field level of PCS 7. Various topologies will be carried out and explained, the focus of the description being on the integration of PROFINET as a field bus. Core contents The following main points will be discussed in this application: Architecture Selection of components System limits or constraints Depiction of the network architecture with the topology editor. Configuring cyclic communication Diagnostic possibilities Validity
Siemens AG 2013 All rights reserved
This application refers to the implementation with PCS 7 V8.0 SP1 and the modules released for this version. PROFINET has been supported since the PCS 7 version 8.0 Upd. 1. With PCS 7 V8.0 SP1, the HART communication via PROFINET has been released.
Note
Copyright
Table of Contents
Table of Contents
Warranty and Liability .............................................................................................. 2 Preface ...................................................................................................................... 3 1 Task and Solution........................................................................................... 5 1.1 1.2 1.3 2 2.1 2.2 2.2.1 2.2.2 2.3 2.4 2.4.1 2.4.2 2.5 2.5.1 2.5.2
Siemens AG 2013 All rights reserved
Task .................................................................................................. 5 Solution ............................................................................................. 5 Hardware and software components .................................................. 7 Terminology PROFIBUS and PROFINET........................................... 8 Media redundancy ............................................................................. 8 Redundancy procedure HRP and MRP .............................................. 9 PROFINET process level with redundancy procedure MRP ............. 10 System redundancy ......................................................................... 11 Typical PCS 7 architectures ............................................................. 12 System level .................................................................................... 12 Process level ................................................................................... 12 PROFINET communication .............................................................. 16 Real-time capability ......................................................................... 16 Field bus integration ........................................................................ 17 Software .......................................................................................... 18 Hardware assembly ......................................................................... 18 Configuration of nodes (address and name)..................................... 19 PROFINET configuration ................................................................. 24 MRP configuration ........................................................................... 25 Diagnostic possibilities..................................................................... 28 Topology Editor ............................................................................... 28 PROFINET diagnostics and maintenance ........................................ 29 Plant Asset Management ................................................................. 29 Scenario A - configuration and diagnostics of PROFINET connections with the topology editor ................................................ 31 Scenario B - Configuration of the HART communication................... 34 Scenario C - Configuration of a PROFIBUS PA segment ................. 36 Comparison of PROFIBUS, PROFINET and Ethernet in the office environment ........................................................................... 39
Basics ............................................................................................................. 8
Configuration, Project Engineering and Parameter Assignment ............... 19 4.1 4.2 4.3 4.4 4.4.1 4.4.2 4.4.3
Copyright
7 8
1
1.1
1.2
Solution
With the integration of PROFINET (PROcess FIeld NET) as field bus, SIMATIC PCS 7 supports a great number of technologies for the communication on the field level. The PROFINET, based in the international standards IEC 61158 and IEC 61784, combines the advantages of the open network standard Ethernet and the field bus system PROFIBUS. PROFINET can be used as the only field bus or in combination with the proven PROFIBUS DP for the communication between automation systems and process periphery. This description gives you a practical procedure for planning and configuring PROFINET in the PCS 7 environment. This application provides a quick introduction to the topic, gives you an overview of possible topologies and supports you with numerous step-by-step instructions (Getting Started character).
Overview The figure below shows the most important components of the PROFINET solution.
Figure 1-1
Copyright
The automation task requires the following steps: Configuring distributed IO and field devices in HW Config Configuration of field devices in SIMATIC PDM Checking and setting the bus parameters This description guides you through the subject PCS 7 with PROFINET and includes guidance on the following focal points: Basic knowledge such as architecture, PROFINET terminology etc. (Media redundancy and System redundancy) Selection of suitable components (released components) System limits or constraints Parameterizing and configuring the workbench in PCS 7 Delimitation This application does not include a description of the following: Basic SIMATIC PCS 7 configuration Working and configuration with SIMATIC PDM
Siemens AG 2013 All rights reserved
Process-specific device configuration in SIMATIC PDM Basic knowledge of these topics is assumed. Advantages The solution presented in this document offers the following advantages: Quick development of PROFINET know-how Description of typical scenarios, e.g. complete configuration, commissioning and device integration in PROFINET segments This reduces the planning and configuration overhead.
Copyright
1.3
Hardware components
Table 1-1 Automation components Component CPU 410-5H CP 443-1 ET 200M (IM 153-4 PN HF) AI8x0/420mA HART AO4x12Bit DI16xDC24 DO16xDC24 F-DO10xDC24 F-AI6x0/420mA HART SITRANS TH300 SCALANCE X208-2
Siemens AG 2013 All rights reserved
Order number 6ES7 410-5HX08-0AB0 6GK7 443-1EX30-0XE0 (V3.1) 6ES7 153-4BA00-0XB0 (V4.0) 6ES7 331-7TF01-0AB0 6ES7 332-5HD01-0AB0 6ES7 321-1BH02-0AA0 6ES7 322-1BH01-0AA0 6ES7 326-2BF10-0AB0 6ES7 336-4GE00-0AB0 7NG3212-0NN00 6GK5 208-0BA10-2AA3 (V4.5) 6GK1411-5AB00 6ES7 157-0AC83-0XA0 7MF4432-1DA00-1AB6-Z
Note
Please find the list of the PROFINET modules released for PCS 7 V8.0 SP1 in the document Process Control System PCS 7 Released Modules (V8.0 SP1) under the entry ID: 68157377.
Table 1-2 Engineering computer Component SIMATIC PCS 7 ES/OS IPC547D W7 Note Engineering station with PCS 7
Copyright
Note
When using different hardware, please observe the minimum requirements for installing the software components. The minimum requirements can be found in the PCS 7 readme file.
2 Basics
2
2.1
Basics
Terminology PROFIBUS and PROFINET
PROFINET differentiates between two different message applications: PROFINET CBA (Component Based Automation), not supported in PCS 7 Communication across manufacturer borders (control level) of intelligent automation components and system parts PROFINET IO Cyclic communication (IO data) from the controller with distributed field devices. While the function models of PROFIBUS DP and PROFINET are similar, a different terminology is used for the individual technologies. These expressions are compared in the table below.
Table 2-1 PROFIBUS PROFINET Real-time provider-consumer model (Switched-Ethernet) IO controller IO device IO supervisor GSDML (XML) IO device name 1440 Bytes max. 250 10/100 Mbit/s full duplex min. 31.25 s
Communication
Master slave procedure (Token-Passing) Master class 1 Slave Master class 2 GSD (ASCII) PROFIBUS DP address 244 Bytes max. 125 max.12 MBit/s min. 300 s
Automation System Field device PG/PC Device description Address assignment Message size Subscribers Transmission speed Cycle time
Copyright
NOTE
For more detailed information on the comparison of PROFIBUS, PROFINET and Ethernet, please see Chapter 6 Further notes, tips and tricks, etc..
2.2
Media redundancy
The availability of the IO devices in an IO controller is increased by ring topology with media redundancy. If the transmission path in a ring is interrupted in one place, for example due to a disconnection of the ring line or because a node fails, then the redundancy manager immediately activates the alternative communication path.
2 Basics
2.2.1
Table 2-2 HRP (Highspeed Redundancy Protocol) Max. reconfiguration time Automatic ring configuration Maximum number of nodes in the ring Web Based Management CLI (Command Line Interface) SNMP (Simple Network Management Protocol) STEP 7 configuration
Siemens AG 2013 All rights reserved
300 ms No
Yes (optional to STEP 7 configuration) Yes Yes (Additional to system diagnosis) Yes Profibus&Profinet International (PI) Organization
Source
Note
For setting up a ring redundancy with HRP or MRP, the network components must support the respective procedure. A combination of PROFINET and HRP ring in the process level is not released. Due to the STEP 7 configuration and system diagnosis possibilities, the procedures for the respective levels are recommended. System level: HRP -> Configuration via the web interface of the switches Process level: MRP -> Configuration in STEP 7 and system diagnosis
Figure 2-1
Copyright
HRP
System level
Process level
MRP
2 Basics
Note
Setting up a ring redundancy in the system level is possible, but not released in a PCS 7 environment.
2.2.2
Figure 2-2
Copyright
MRP support
Telegram direction
Advantages Increased flexibility Increased flexibility of the system (in case of a failure, the transmission direction of the telegram is changed) Additional diagnostic possibilities (topology editor)
10
2 Basics
2.3
System redundancy
The system redundancy (System Redundancy Protocol) is a mechanism for maintaining the PROFINET connection between the IO controller and the IO devices. It is characterized by a form of the PROFINET IO communication, in which every IO device builds up a communication link via the topologic network with one of the two IO controllers (active and backup CPU) of an AS Redundancy Station. In contrast to a unilateral connection of the IO device to only one IO controller, a failure of the CPU will not automatically lead to a failure of the linked IO device connections. For the system redundancy, the following components can be used:
CPU 410-5H S7-400 H-CPU with FW V6.0 ET 200M with FW V4.0 Figure 2-3 PROFINET with system redundancy
Note
Copyright
Primary connection
Backup connection
Advantages High-performance access Failure of one CUP is compensated by switching to others Not affected by broken wires (process level) or in case of an IO device failure
CAUTION
For configurations with redundant automation system processes all connected IO devices must support the system redundancy regardless of the connection path. If one IO device does not support the system redundancy, stopping an AS sub-system may lead to a failure of the IO devices.
11
2 Basics
2.4
2.4.1
NOTE
An overview of SIMATIC PCS 7 architectures is described in the document PCS 7 Standard Architectures using the entry ID:32201963.
The following graphic shows a sample configuration for a redundant automation system.
Figure 2-4
System level
Copyright
Process level
2.4.2
Process level
In PCS 7 many different configurations can be implemented with PROFINET as the field bus (process level). The right configuration is to be selected depending on the size of plant and the number of nodes. The general topologies are presented below as well as their corresponding advantages and disadvantages relating to PCS 7 For the connection of the field level to the automation system (AS), the internal PROFINET interface (from CPU with FW V6.0) is to be preferred. As an alternative, the CP443-1EX30* can be used in combination with the standard CPU (414-3, 416-2, 416-3 and 417-4) with version V5.3.1 and higher.
12
2 Basics
PROFINET configuration of a single automation system A MRP ring or a tree structure can be used for a single configuration (comparable with the monomaster system for PROFIBUS topology) according to required reaction time and number of IO devices. The MRP ring is the most cost-effective solution since no additional components are needed. The IO device internal 2 port switches are used for the ring structure. In doing so, the IO device takes over the function of ring master. With a single automation system all the basic structures are supported which include: Line: simplest structure, but more prone to failure, since a device failure causes an interruption in the line Star: implement an effective wiring with additional network components. The number of nodes is depending on the switch. Ring: robust configuration with up to 50 IO devices and a maximum reconfiguration time of 200ms (for 50 ring nodes in use) Mixed configuration: any theoretical structure and flexible extension possible, partly prone to failure and complex
Siemens AG 2013 All rights reserved
A mixed configuration (ring/start) with an MRP ring provides the best possible reliability. The MRP ring is composed of an IP controller and the switches. The IO devices are to be connected to the switches. The tree structure (a mixed configuration of line and star) with multichannel switches ( 8 ports) enables short reaction times. Up to 250 IO devices and up to 62 switches connected in series, characterize this topology. Depending on the requirements, the adequate ring, tree or ring/star configuration must be chosen.
Copyright
Line
Star
Ring
Mixed configuration
MRP
MRP
Line
Star
MRP support
13
2 Basics
PROFINET configuration of a fault-tolerant automation system For the topology of a redundant configuration (can be compared with the redundant master system in the PROFIBUS topology), the requirement concerning the availability of the IO devices is decisive. If simple availability is sufficient (no redundant connection paths), the topologies of the single PROFINET configuration can be used. If the connection paths need to be redundant, we recommend a line topology with an IO controller each at the beginning and the end. In case of an error, the IO controllers of the H system can access all the remaining IO devices by means of the system redundancy via the Sync connection. The maximum number of IO devices of this line must not exceed 64 devices. An RMP ring is possible, but does not have any advantage as compared to a line topology of the same structure.
NOTICE
For configurations with redundant automation system processes all connected IO devices must support the system redundancy regardless of the connection path. If one IO device does not support the system redundancy, stopping an AS subsystem may lead to a failure of the IO devices.
Line
Star
Mixed configuration
Copyright
high availability
standard availability
Line
Star
Networking of different automation systems With PROFINET the time and costs for the assembly of system parts for several AS (switchgear, for example) can be considerably reduced. By interconnecting all the IO controllers (can be compared with the multimaster system in the PROFIBUS topology, not released for PCS 7) with a higher-level ring, every IO controller can communicate with the IO devices assigned to it. To avoid intersections and thus overloads or runtime delays during the PROFINET communication, the higher-level ring must be separated by a spur line. This spur line represents a "single point of failure" and should therefore be designed as short as possible.
14
2 Basics
This comprehensive connection can be used for singular and for highly available automation systems. Due to the real time band width, it is not recommended to operate all the IO controllers and all the IO devices in the same ring. The following figure shows a feasible configuration:
Figure 2-7 Networked automation systems with PROFINET
1. AS
2. AS
3. AS
Device integration
MRP
Line
Star
MRP support
1. AS (highly available automation system) all devices of this AS must support the system redundancy no COs admissible as IO controller connection to the ring without redundancy MRP ring for reducing costs expandable with external CPs as IO controllers (CPU 412.. 417) up to 128 IO devices per CP direct connection of IO devices short connection paths to the separated IO devices, for example with their own (yellow) network for fail-safe modules connection of drives, circuit-breakers, bus systems (PROFIBUS DP/PA) via switches to a high-level ring unlimited data exchange with every AS data traffic in the ring is limited to the connected devices simple wiring great data volume is possible reduced planning time and costs
Copyright
Device integration
15
2 Basics
2.5
2.5.1
PROFINET communication
Real-time capability
The real-time capability (Real Time/Isochronous Real Time) of PROFINET is implemented by a deterministic procedure. A transmission time (cycle time) for the transmission of the data is (cyclically) calculated on the basis of the configured data. This calculated time corresponds to the data exchange of the cyclic data (IO data such as process values) in a defined period of time. The acyclic data (TCP/IPUPD/IP data such as engineering and diagnosis data) are distributed to the following cycles depending on the available band width.
Figure 2-8 Data structure of an Ethernet telegram
IO data
Copyright
For the real-time communication the respective data are classified (real time classes), i.e. the higher prioritized data (cyclic data) are transmitted with priority in a reserved transmission band width. In real-time communication, we differentiate between the following two performance levels: Real-Time (RT): transmission of prioritized data in a defined period of time (e.g. max 200ms) Isochronous Real-Time (IRT), not released for PCS 7: guaranteed transmission of the data in synchronized periods of time (e.g. with a transmission rate of 1000 s, the IRT data are transmitted during the first 100 s). IRT is used for motion control applications, but not for PCS 7. Please find more detailed information on the overview, structure, functions and IO engineering of PROFINET in the system manual PROFINET System Description under the entry ID: 19292127.
Note
16
2 Basics
2.5.2
PROFIBUS DP
PROFIBUS PA
Copyright
Note
The S7 routing functionality allows for a communication of a programming device via the IE/PB link PN IO to the lower-level PROFIBUS DP segment. Only compact devices are used as PROFINET DP nodes. These include flow meters with a PROFIBUS DP connection, PROFIBUS PA devices connected via DP/DA couplers etc. So device configurations can be carried out the process values can be visualized by means of the OPC communication
17
3.1
Controller
Software
For the configuration of the CPU 410-5H, PCS 7 V8.0 SP1 and HUP CPU 410-5H are required. The HUP CPU 410-5H is not part of the PCS 7 V8.0 SP1 installation pack and can be downloaded at the following entry ID: 68627630. In newer PCS 7 versions the hardware upgrade pack is already included.
Configuration tool From SIMATIC PDM V8.1 onwards, the communication type PROFINET is supported. Note In the SIMATIC PDM Readme under the entry ID: 73247204, you will find instructions for the installation, notes about the scope of functions and the HW/SW requirements.
3.2
Hardware assembly
Please ensure that the installation follows the Automation System S7-400 Installation manual and the system manual Process Control System PCS 7 CPU 410-5H Process Automation. In addition, follow the installation guidelines, notes and recommendations of the manuals of the respective field devices and components. The following table lists the manuals and operating instructions used.
Table 3-1 Component / device S7-400 IE/PB Link PN IO ET 200M AFD, AFDiS Title Automation System S7-400 Installation PROFINET IO Getting Started: Collection ET 200M Interface module IM 153-4 PN and IM 153-2 HF Bus Links DP/PA Coupler, Active Field Distributors, DP/PA Link and Y Link Industrial Ethernet Switches SCALANCE X-200 Entry ID
Copyright
SCALANCE X-208
18
4
4.1
c.
Automatic assignment of the device names and IP addresses by neighbor relations (PROFINET functionality of the IO devices and the IO controller).
Note
Copyright
For assigning the names, the Discovery and Control Protocol (DCP) is used, which is used for the assignment of the IP addresses to the device name. The IP addresses are generated by the configuration tool and downloaded to the IO controller. During system startup of the IO controller, the configured IP addresses are assigned automatically.
Configuration Before the addressing of the individual components an address area and a device name structure have to be defined and integrated into the documentation. The bigger the plant, the more complex the planning becomes. The IP address and also the device name must only be used once (uniquely) in the system network. This facilitates changes in the network architecture, giving you more flexibility. Please find more information on the addressing if you use the search terms Subnetting (creating specific IP address areas) and IDNA (defining device names according to DNA conventions) in the search engine. In the following, the addressing procedure is described with the example of an IO controller (CPU 410-5H) and IO devices (ET 200M). The addresses are assigned from the ES.
Note
19
Table 4-1 No. 1. 2. 3. Action Change to the HW Config of your multiproject. Select the PROFINET IO interface (X5) and open the properties. In the tab General, change the device name according to your plans. In the example, AS01 has been entered for the first automation system.
4. 5. 6.
Change into the interface properties by pressing the Properties button. In the Properties window, enter a valid IP address (host) and subnet mask. Create or assign a subnet to the interface. Note The subnet corresponds to the process field bus to which the IO device has been connected. From the hardware catalog (profile: PCS7_V80) in the PROFINET IO tree, add the ET 200M (IM 153-4 PN HF 4.0) to the PROFINET segment. Open the object properties of the ET 200M and change the device name according to your plans. In the example, ET200M_nr01 has been entered for the first (nr01) ET 200M head module.
7. 8.
Copyright
Note The system suggest a device number automatically (serves for the identification in the user program) and an IP address. The IP address can be changed with the Ethernet... button. Changing the address during system operation is possible with the AS Stop later on.
Assigning the device name in HW Config In the following, the device name configured in HW Config (ET100M_nr01) is transmitted to the device.
NOTICE
To transmit the device name to the ET 200M, the ES and the ET 200M must be in the same physical network. A routing via the AS (backplane bus) is impossible.
20
Table 4-2 No. 1. 2. 3. Action Go to the SIMATIC Manager and select Options > Set PG/PC interface.... Select an Ethernet communication card in the tab access path. In this example, the CP1613(RFC1006) is used. Connect the network cable (plant bus) of the CP443-1 (AS) to the internal PROFINET interface (AS).
ES ES
AS01
AS01
ET200M-nr01
ET200M-nr01
Note If your computer has a third Ethernet interface it can be connected with the process/field bus. In this case, this interface must be selected in the PG/PC interface for the assignment period. 4.
Siemens AG 2013 All rights reserved
Change to HW Config. Select the ET 200M and select PLC > Ethernet > Assign Device Name....
Copyright
5.
Select the ET 200M module, either via the MAC address (printed on the module) or via the Node flashing test, and confirm with the button Assign name.
21
No. 6.
Action Select the ET 200M and select PLC > Ethernet > Verify Device Name....
7.
Restore the original configuration: Reconnect the network cable (system bus) with the CP443-1 (AS) or switch the PG/PC interface to PC Internal (local).
Note
If you have a list of all the IO devices with the corresponding MAC addresses and device names you can assign the names more effectively in the SIMATIC manager PLC > Ethernet > Edit Ethernet Node ....
Assigning the device name and IP address with the Primary Setup Tool In the following, the name and address are assigned with the PST (Primary Setup Tool) in the example of an IE/PB link. The computer must be connected to the respective network, in this example to the process/field bus. In addition the network card connected with this network must be selected in the PB/PC interface for the ISO transmission.
Table 4-3 No. 1. 2. 3. Action Open the PST and click on the symbol (magnifying glass) for searching the physical network segment for nodes with Ethernet interfaces. All nodes that can be reached via the MAC address are displayed in the device list with additional information (name, type, address etc.). Select the IE/PB link from the device list.
ES ES
Copyright
AS01
AS01
ET200M-nr01
ET200M-nr01
Note If your computer has a third Ethernet interface it can be connected with the process/field bus. In this case, this interface must be selected in the PG/PC interface for the assignment period.
22
No. 4.
Action Change to HW Config. Select the ET 200M and select PLC > Ethernet > Assign Device Name....
5.
Select the ET 200M module, either via the MAC address (printed on the module) or via the Node flashing test, and confirm with the button Assign name.
Copyright
6.
Select the ET 200M and select PLC > Ethernet > Verify Device Name....
7.
Restore the original configuration: Reconnect the network cable (plant bus) with the CP443-1 (AS) or switch the PG/PC interface to PC Internal (local).
23
4.2
PROFINET configuration
The following instruction describes how to configure the PROFINET communication. In HW Config, a CPU 410-5 has already been configured and at least one PROFINET IO node is in the segment.
Table 4-4 No. 1. 2. 3. Action Change to the HW Config of your multiproject. Select the PROFINET IO interface (X5) and open the properties. Change to the PROFINET tab, adapt the parameters according to your needs and confirm the configuration with the OK button.
1 2
1. Send clock: The time between to intervals (IRT and RT communication) corresponds to the send interval for data exchange. 2. IO communication PROFINET IO communication component for the PROFINET segment (process/field bus). At 100.0 %, the total capacity is reserved for the PROFINET data exchange. The complete communication component applies to the cyclic communication. For acyclic communication, the system reserves sufficient capacities. If the capacity for acyclic communication is not sufficient, the communication component can be reduced, taking the update time into consideration. 4. Select the PROFINET IO system in HW Config (process/field bus) and select Object Properties in the context menu. In Object Properties, change to the tab Update Time.
Copyright
24
No.
Action Note On the basis of the available configuration (HW Config), the cyclic (configured) data, module properties and the communication component for PROFINET IO, STEP 7 automatically calculates an update time. The send clock (watchdog) can be adapted for a selected node with the Edit... button. The fixed update time has to be set to a value inferior to the quickest partial process image (TPA) and superior to 200 ms (reconfiguration time).
4.3
MRP configuration
The media redundancy protocol (MRP) is used to compensate any network interruptions by redundant communication paths. In the following, the configuration of an MRP configuration is described. In HW Config, a CPU 410-5 has already been configured and a PROFINET segment has been created. The following system configuration is used for the description.
Figure 4-1
ESOS-nr1
X208-nr01
Copyright
Table 4-5 No. 1. 2. Action Change to the HW Config of your multiproject and select the PROFINET IO system. Select Edit > PROFINET IO > Domain management.
25
No. 3.
Action Go to the MRP Domain tab and press the New button (1) to create a new MRP domain and the Edit... button (2) to change the name of the domain.
1 2
4. 5.
In the Nodes section, select Station / IO system for a monomaster system or Ring interconnections for a redundant master system. Select a station (AS) and assign the same domain and a role to every node with the Edit... button. Also activate Diagnostic interrupts. Configuration: AS -> Role: Manager ET 200M -> Role: Client
Copyright
Note The option Diagnostic interrupts creates an alarm message when an active connection is interrupted. 6. Compile and download the modified configuration into the automation system.
26
No. 7.
Action Check the module diagnostic information of the nodes in the HW Config ONLINE view (Offline <-> ONLINE). Observe the diagnostic alarm if a connection or both connections between the automation system and the ET 200M is created.
ESOS-nr1
X208-nr01
ESOS-nr1
X208-nr01
Copyright
ET200M-nr01
27
4.4
Diagnostic possibilities
For a PROFIBUS segment based on ETHERNET, the various diagnostic possibilities with different information are available. These include: Diagnostics and maintenance via HW Config Diagnostics using the Web server of the IO controllers and IO devices Network simulation and diagnostics with the topology editor AssetManagement via the PCS 7 maintenance station and SIMATIC PDM Network analysis tool, recording the complete data exchange and highlighting the various protocols in different colors. To receive diagnostic messages in the PCS 7 for all the devices, these devices must have been configured before. In addition to the IO devices, diagnostic messages of network components can be acquired in PCS 7. For this, the network components need to be configured with the topology editor.
NOTE
4.4.1
Topology Editor
With the SIMATIC topology Editor, PROFINET IO systems can be configured topologically. For this, the interfaces and ports of the PROFINET IO nodes need to be interconnected. The Topology editor has the following functions and properties: Display of all PROFINET devices and their ports in the project Configured cable length and cable type with calculated signal transit time for each port Interconnection data with location code of the individual PROFINET devices Diagnostic information of PROFINET devices for every single port Easy error detection through online/offline comparison of the node data Call diagnostics (module information) from the Graphic view Import the network topology With the tool Topology Reporter under the entry ID 60035096 you can also create a documentation of your PROFINET IO network.
Copyright
Note
28
4.4.2
Note
4.4.3
Siemens AG 2013 All rights reserved
Note
Copyright
29
Table 5-1 Configuration list Device/node SITRANS P DS III SITRANS TH300 CPU 410-5H (Rack 0) CP-443 (AS01) ET 200M (IM 153-4 PN HF) SCALANCE X208 SCALANCE X208
Siemens AG 2013 All rights reserved
Communication PROFIBUS PA HART PROFINET PROFIBUS DP PROFINET PROFINET PROFINET PROFINET PROFINET PROFIBUS DP PROFIBUS DP LAN 01 Process Bus LAN 02 Terminal Bus LAN 03 Plant Bus 0
Address 11 172.20.10.1 2
Mac Address
No.
ESOS-nr1
08-00-06-01-01-00
Note
Copyright
All the network nodes have the subnet mask 255.255.0.0, which corresponds to a host number of 65536 per subnet. The plant and terminal buses are connected via a switch, but due to the IP addresses (172.30.x.x and 172.40.x.x), they belong to separate networks. The device number (in the table listed as No.) is assigned during the configuration in HW Config and was integrated into the overview table subsequently.
30
5.1
Scenario A - configuration and diagnostics of PROFINET connections with the topology editor
In this scenario, the following two configurations are set, and the focus is put on the network. The cable lengths used and the interconnected ports (interfaces of the nodes) must be known. This procedure applies to an initial commissioning, since any switchover or changing of interfaces leads to a loss of communication in an existing AS OS connection.
Figure 5-1
ESOS-nr1
X208-nr01
ET200M-nr01
PROFIBUS DP
PROFIBUS PA
Copyright
In HW Config, a CPU 410-5 has already been configured as described in chapter 4.1 Configuration of nodes (address and name).
Table 5-2 No . 1. 2. Action Go to the SIMATIC Manager and select Options > Set PG/PC interface.... In the tab Access path, select the Ethernet communication card with TCP/IP, which is connected to the field bus (process bus). In this example, the onboard network card was selected. Note If your computer does not have three Ethernet interfaces, the network switch can be switched over from the Plant Bus CP-442 to the internal Ethernet interface of the CPU. Change to HW Config, select the PROFINET segment and select PROFINET IO topology... in the context menu. In the topology editor, change to the Graphic view tab and connect the individual component interfaces according to the physical connection.
3. 4.
31
No .
Action
HW Config
Topology Editor
5.
Confirm with the Online button and check the diagnostic information of the individual nodes.
Copyright
(1) The diagnostic status query is not sent to the backplane bus of the automation system to the CP 443-1. The CP is not connected to the process/field bus, but to the plant bus. (2) No diagnostic status is available, since the IE/PB link does not completely support the ICMP call (exchange of information and field messages). Note If more than one Ethernet CPs are used and operated separately from the process/field bus, they are also displayed as not reachable. 6. In the following, we compare the online diagnostic messages in the tabs Table view and Graphic view when the following connections are interrupted: (1) X208 and IE/PB link (2) AS and X208
32
No .
Action
Table view
Graphic view
(1) The interruption of the IE/PB link is detected and the nodes are displayed as not reachable. (2) The interruption of the ET 200M and of the respective interface of the switch are detected and displayed as not reachable. 7. 8. Restore the original physical condition and confirm with the OK button. Load the configuration in HW config into the automation system.
Copyright
If device names have been used for all PROFINET nodes in the process/field bus level and the topology has been simulated in the topology editor, the device name and the IP address will be automatically assigned after the device exchange on the basis of the neighbor relation. For testing the automatic assignment, a PROFINET IO node can be reset to the default settings in a non-productive environment.
Note
33
5.2
X208-nr01
Copyright
Table 5-3 No. 1. 2. 3. Action Change to the HW Config of your multiproject. From the hardware catalog (profile: PCS7_V80) in the PROFINET IO tree, from the folder I/O, add the IM153-4 PN HF V4.0 to the PROFINET segment. According to your configuration, assign a PROFINET IO address and a device name for the ET 200M. Note The IP address and the device name were adapted before the integration according to the configuration list. An instruction for partial configuration can be found in chapter 4.1 Configuration of nodes (address and name). Equip the ET 200M with the respective modules, equivalent to the physical structure. In this example, the HART-capable analog input module SM331 is on the first slot.
4.
34
No.
Action
5.
In the object properties of the module, you can make channel granular settings. In this example a 2-wire temperature measuring transducer (2DMU) with HART transmission is used. All other channels have been deactivated. In addition, the HART Fast Mode has been activated for an optimized loading time (uninterrupted HART command sequence).
Note In addition to activating the HART Fast Mode in the object properties of the module, the transmission mode Activate SHC Mode in the communication settings must also be activated by SIMATIC PDM. To do so, change into the SIMATIC Manager and open the menu item Options > SIMATIC PDM > Settings.... 6. 7. Add the HART field device in the respective channel. Doubleclick on the HART field device for configuration and assignment.
Copyright
Note In a first step, the HART field device is assigned a PDM object (EDD), either manually or automatically with the button Device identification. In a second step, you can configure the device and store relevant tag information in the device.
35
No. 8. 9.
Action Compile and download the modified configuration into the automation system. For the further configuration, apply the SIMATIC Process Control System PCS 7 Compendium Part A - Configuration Guidelines under the entry ID 63187279.
The ET 200M with HART-capable modules support the transmission of up to 4 HART variables per channel. The variables to be transmitted (measured values) are configured in the respective field device and set in the object properties of the module. For example a field device can additionally transmit its electronic temperature or the measured value in another measuring unit. When HART variables are used, another 5 byte per variable are assigned in addition to every cyclic measured value (2 input/output bytes per channel). Furthermore, acyclic HART transmissions (configuration of a field device) need longer with every additional HART variable. In this case the use of a PROFIBUS PA device offers a performant alternative with additional diagnostic possibilities.
Note
5.3
Copyright
X208-nr01
Before the integration of a PROFINET node, adapt the IP address and the device as described in chapter 4.1 Configuration of nodes (address and name).
36
Table 5-4 No. 1. 2. 3. Action Change to the HW config of your multiproject. Add the IE/PB Link PN IO to the PROFINET segment from the hardware catalog (profile: PCS7_V80) in the PROFINET IO tree, from the folder Gateway. Assign a PROFIBUS DP address according to your configuration (IE/PB link PROFIBUS DP master address) for the IE/PB Link PN IO. In a sample configuration the addresses from Table 5-1 were used. Notice A later change of the PROFIBUS DP address for the IE/PB link is not possible via PROFINET. In that case the EI/PB link must be deleted in HW Config, must be inserted again and be connected to the PROFIBUS segment. According to your configuration, assign a PROFINET IO address and a device name for the IE/PB link. Add the DP/PA coupler FDC 157-0, which is capable of diagnostics, to the PROFIBUS segment from the hardware catalog (profile: PCS7_V80) in the PROFIBUS DP tree, from the folder DP/PA Link. The FDC 157-0 behaves like a PROFIBUS PA node and supplies voltage and current values of the segment as measured values.
4. 5.
Copyright
Notice When a DP/DA coupler is used without a preceding DP/PA link, the transmission rate of the PROFIBUS DP segment will be limited to 45.45 kBit/s. The transmission rate for PROFIBUS PA nodes still corresponds to 31.25 kBit/s. All nodes of the DP master system must be configured with different bus addresses. The use of a combination from IE/PB link with DP/PA link and DP/PA coupler is not completely supported in the SIMATIC PCS / V8.0 SP1. 6. 7. Change to object properties of the PROFIBUS DP master system and in the tab Network Settings, set the transmission rate to 45.45 kBit/s. If you know the address of the other PROFIBUS PA devices, you can add the field devices as usual to the PROFIBUS segment. If you do not know an address, you have the following possibilities: Carry out a configuration and assign and address in the bench environment. In this case the configuration computer is equipped with SIMATIC PDM Lifelist and a PROFIBUS CP, and is connected to a DP/PA coupler with lower-level field devices. Use an FDC 157-0 with its local device detection (Local Lifelist) for detecting connected PROFIBUS PA field devices in the segment. In this context, the Lifelist of the FDC 157-0 is used. Note The calculation tool SIMATIC field bus Calculator under the entry ID 53842953 support you in the calculation and design of field bus segments.
37
Action In SIMATIC PDM, open View > Local Lifelist. In the Local Lifelist assigned addresses are displayed with a checked box. The pressure measuring transducer was detected with the address 6.
11.
Add the pressure measurement transducer SITRANS P DS III with the address 6 to the PROFIBUS segment from the hardware catalog (profile: PCS7_V80) in the PROFIBUS PA tree, from the folder Sensors > Pressure > SIEMENS AG. Doubleclick on the PA field device for HART field device for configuration and assignment.
12.
Siemens AG 2013 All rights reserved
Copyright
2 1
Note In a first step, the PA field device is assigned a PDM object (EDD), either manually or automatically with the button Device identification. In a second step, you can configure the device and store relevant tag information in the device. 13. 14. Compile and download the modified configuration into the automation system. For the further configuration, apply the SIMATIC Process Control System PCS 7 Compendium Part A - Configuration Guidelines under the entry ID 63187279.
Note
To create one or more PROFIBUS DB segments, you can use the internal PROFIBUS DP interface or communication processors (CP443-5 Extended) as an alternative to the use of the IE/PB link.
38
Copyright
6
6.1
Table 6-1
master-slave procedure (token passing) line; connected at once serial the same everywhere 2 .. 250 ms almost the same everywhere, depends on the scale (extension, number of slaves, medium) parallel buses not more than 125 per interface not more than 32 slaves in series (can be extended via repeater); not more than 244 Bytes per slave
Redundancy Limitation
Transmission speed
39
In contrast to PROFIBUS (all actions initiated by the master) and Ethernet (all actions/requests are initiated by the clients and end at the server), in PROFINET every device communicates actively on its own accord (depending on the update time that has been configured). So compared to Ethernet, this results in a considerably higher parallelism of the data. To make use of this advantage it is sensible to distribute the network depending on the data concentration. Devices and the respective IO controller must be positioned in a network, while the other nodes (devices and IO controller are separated with switches) to keep the data traffic local.
Copyright
40
7 Related Literature
Related Literature
Table 7-1 Subject /1/ /2/ /3/ Reference to the entry Siemens Industry Online Support SIMATIC Process Control System PCS 7 CPU 410-5H Process Automation SIMATIC PCS 7 overview (link collection to FAQs, manuals, compendium, forum, application examples and multimedia) Configuration of FOUNDATION field bus H1 (FF) with SIMATIC PCS 7 PROFINET System Description How do I receive documentations about PCS 7 V8.0 (including the PCS 7 V8.0 Manual Collection)? Which settings must be observed in a PROFINET RT network in combination with VLAN switches? Calculation and design of field bus segments with the SIMATIC field bus calculator PROFIBUS and PROFINET International (PI) website Title
http://support.automation.siemens.com/WW/view/en/ 72887082 http://support.automation.siemens.com http://support.automation.siemens.com/WW/view/en/ 74736822 http://support.automation.siemens.com/WW/view/en/ 63481413
/4/
/5/
/6/
Siemens AG 2013 All rights reserved
/7/
/8/
http://support.automation.siemens.com/WW/view/en/ 24947500
/9/
Copyright
/10/
History
Table 8-1 Version V1.0 Date 10/2013 First version Modifications
41