Applications and tools

pdf
Số trang Applications and tools 185 Cỡ tệp Applications and tools 2 MB Lượt tải Applications and tools 0 Lượt đọc Applications and tools 0
Đánh giá Applications and tools
4.7 ( 19 lượt)
Nhấn vào bên dưới để tải tài liệu
Đang xem trước 10 trên tổng 185 trang, để tải xuống xem đầy đủ hãy nhấn vào bên trên
Chủ đề liên quan

Nội dung

Configurations for Communication Communication with Automation Systems Planning - Configuring - Referencing Communication with Automation Systems Preamble Introduction Nowadays, the communication possibilities between automation systems are a core demand and necessity, even in the case of systems of the lower performance class. Due to the large variety of communication processors, protocols and user interfaces in the SIMATIC homogenous system world (i.e. only SIMATIC systems communicate with each other) and particularly in the heterogeneous system world (i.e. SIMATIC systems communicate with “third party” automation systems) this topic is extremely complex. Copyright © Siemens AG 2005 All rights reserved 20982954_SIMATIC_Comm_DOKU_v10_e Basic knowledge of the principles behind protocol mechanisms, protocols utilizable with the bus systems, as well as their properties, are just as important as the concrete implementation of a solution approach on the basis of proven application samples. Specific problems with the communication tasks From the user’s or planner’s viewpoint, the following questions may often arise when planning the communication solutions: 1. Which Bus System is available as platform for the planned automation solutions? 2. Which Protocol can be efficiently employed for the planned task on this bus system and will be supported by the systems to be connected? 3. How will these Protocols be used to achieve effectively the desired automation solution? 4. Which further mechanisms are required to solve the given task efficiently? Objective of this document The reader is enabled to face the concrete problems within the planning and configuration phase in two steps: 1. The main document which prepares and clearly displays the basic information about possible bus systems and protocols being essential for the user. 2. A collection of the applications, which are complete within themselves, which takes up typical communication problems and offers praxisoriented solutions by using chosen protocols and further communication mechanisms. The applications are prepared in a way that, on the one hand, the problemoriented utilization and the embedding of the used protocols in the own user program are shown concretely and, on the other hand, further necessary program mechanisms required for solving the problems are explained. Rev. A - Endgültig 12.04.2004 2/185 Communication with Automation Systems Addressed group of persons This document and the attached applications as a whole provides both basic knowledge as well as example solutions. This teaching material is created e.g. for users … • Who want to familiarize themselves with the complex topic “Communication for Automation Systems“ more intensely. • Who need a bus- and protocol oriented overview of all possible constellations within the SIMATIC • Who need a glossary for the topic “Communication with SIMATIC“ User with these demands may be, e.g.: • Starters of the SIMATIC communication • Technically oriented marketing advisors who want to use this teaching material for their presale or planning phase Copyright © Siemens AG 2005 All rights reserved 20982954_SIMATIC_Comm_DOKU_v10_e • Project planners / developers, who are looking for testes modules as basis for their own advancement. Structure of this document This document is divided into the 4 following parts: Table 1-1 Part Title with brief description 1 Communication structures in the SIMATIC S7 This chapter gives you an overview of the structural design and the mechanisms of the communication within the SIMATIC. 2 Bus-orientated selection aid of applicable protocols This chapter is intended as selection aid and jump distributor in the protocol summary. 3 Description of the available protocols This chapter comprises a collection of summaries trying to explain in a short and comparable form the individual protocols. 4 A glossary on term explanation As a conclusion, the terms used in the main document are explained more detailed. Using the hyperlinks This document has been structured by means of hyperlinks to keep the structure of the main document as linear as possible. Each subchapter includes a return jump point to return the next higher level of the hierarchy. The highest level will be reached as soon as chapter 2 Bus-oriented Selection Aid of Usable Protocols has been reached. A hyperlink is marked by means of a blue written and underlined text: Back to the bus-oriented selection aid of usable protocols Rev. A - Endgültig 12.04.2004 3/185 Communication with Automation Systems Working with this Document There are two ways to use this document • The pragmatic start The user can read the document as of the first chapter and obtain an overview of the available interfaces and the applicable protocols. • The problem-oriented start By means of a concrete problem, a solution for a communication task is sought here. The following steps are performed: Table 1-2 Step Description 1 The start into the document is the “Bus-oriented Selection Aid of Usable Protocols”. Here you can find an overview of the viewed bus systems and their case constellations which can be opened via hyperlinks. On the side opened via the selected hyperlink branch, the available detail constellation is to be carried out or the detail constellation has already been reached. Each detail constellation is represented by an overview of approx. 4 pages. It contains: Copyright © Siemens AG 2005 All rights reserved 20982954_SIMATIC_Comm_DOKU_v10_e 2 3 ○ An overview of the connection case on hand ○ An overview of the possible hardware constellations and the protocol used therein ○ An overview of the properties of the usable protocols as well as ○ An estimate of the performance of the used protocol, if available, as well as an overview of the application samples available for this bus or for the protocol. 4 In the protocol overview, each of the stated protocols can be branched via hyperlinks. This opens a protocol summary outlining the protocol on a further approx. 4 pages. Rev. A - Endgültig 12.04.2004 4/185 Communication with Automation Systems Warranty, Liability and Support Copyright © Siemens AG 2005 All rights reserved 20982954_SIMATIC_Comm_DOKU_v10_e We do not accept any liability for the information contained in this document. Any claims against us - based on whatever legal reason - resulting from the use of the examples, information, programs, engineering and performance data etc., described in this document shall be excluded. Such an exclusion shall not apply in the case of mandatory liability, e.g. under the German Product Liability Act (“Produkthaftungsgesetz”), in case of intent, gross negligence, or injury of life, body or health, guarantee for the quality which goes to the root of the contract (“wesentliche Vertragspflichten”). of a product, fraudulent concealment of a deficiency or breach of a condition However, claims arising from a breach of a condition which goes to the root of the contract shall be limited to the foreseeable damage which is intrinsic to the contract, unless caused by intent or gross negligence or based on mandatory liability for injury of life, body or health. The above provisions do not imply a change in the burden of proof to your detriment. The Configurations are not binding and do not claim to be complete regarding the circuits shown, equipping and any eventuality. They do not represent customer-specific solutions. They are only intended to provide support for typical applications. You are responsible in ensuring that the described products are correctly used. These Configurations do not relieve you of the responsibility in safely and professionally using, installing, operating and servicing equipment. When using these Configurations you recognize that Siemens cannot be made liable for any damage/claims beyond the liability clause described above. We reserve the right to make changes to these Configurations at any time without prior notice. If there are any deviations between the recommendations provided in these Configurations and other Siemens publications e.g. Catalogs - then the contents of the other documents has priority. Copyright© 2004 Siemens A&D. It is not permissible to transfer or copy these Configurations or excerpts of them without first having prior authorization from Siemens A&D in writing. For questions about this document please use the following e-mail-address: csweb@ad.siemens.de Rev. A - Endgültig 12.04.2004 5/185 Communication with Automation Systems Copyright © Siemens AG 2005 All rights reserved 20982954_SIMATIC_Comm_DOKU_v10_e Table of Contents 1 Communication Structures in the SIMATIC............................................. 8 1.1 Internal communication structures (paths) ................................................... 8 1.2 External communication structures (paths).................................................. 9 1.3 1.3.1 1.3.2 1.3.3 Bus systems............................................................................................... 10 Two-point connection ................................................................................. 11 Multipoint connection ................................................................................. 11 Overview of the bus systems available in SIMATIC................................... 12 1.4 1.4.1 1.4.2 1.4.3 1.4.4 Communication display in the SIMATIC family .......................................... 13 The S7-200 family ...................................................................................... 13 The S7-300/400 family ............................................................................... 15 WinAC-Basis/RTX...................................................................................... 17 WinAC-Slot................................................................................................. 18 2 Bus-oriented Selection Aid of Usable Protocols .................................. 20 2.1 2.1.1 2.1.2 MPI bus ...................................................................................................... 21 CPU connection external ........................................................................... 22 CPU connection internal ............................................................................ 26 2.2 2.2.1 2.2.2 2.2.3 2.2.4 PROFIBUS................................................................................................. 29 PB CPU – CP connection .......................................................................... 30 PB CP-CP connection................................................................................ 36 PB CPU – CPU connection........................................................................ 42 PC Broadcast / Multicast............................................................................ 47 2.3 2.3.1 2.3.2 2.3.3 2.3.4 Industrial Ethernet ...................................................................................... 51 IE CPU – CP connection............................................................................ 52 IE CP – CP connection .............................................................................. 56 IE CPU – CPU connection ......................................................................... 61 IE Broadcast / Multicast ............................................................................. 64 2.4 2.4.1 2.4.2 Serial Interface ........................................................................................... 67 PtP- connection.......................................................................................... 69 PtP Multicast / Broadcast ........................................................................... 73 2.5 2.5.1 SIMATIC backplane bus ............................................................................ 76 Backplane connection ................................................................................ 77 3 Protocol Description................................................................................ 81 3.1 3.1.1 3.1.2 3.1.3 Protocols within SIMATIC S7 ..................................................................... 82 Global data................................................................................................. 84 S7 basic communication (MPI, PB_DP)..................................................... 88 S7 communication (IE, PB, MPI)................................................................ 98 3.2 3.2.1 3.2.2 3.2.3 3.2.4 Industrial Ethernet .................................................................................... 110 ISO Transport protocol............................................................................. 112 TCP protocol ............................................................................................ 116 ISO on TCP protocol ................................................................................ 120 UDP Protocol ........................................................................................... 125 3.3 PROFIBUS............................................................................................... 130 Rev. A - Endgültig 12.04.2004 6/185 Communication with Automation Systems FDL protocol............................................................................................. 132 DP protocol .............................................................................................. 140 FMS protocol............................................................................................ 148 3.4 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 Serial Protocols ........................................................................................ 153 Protocol RK512 ........................................................................................ 155 Procedure 3964(R)................................................................................... 158 Free ASCII protocol.................................................................................. 160 Modbus protocol....................................................................................... 162 Data highway protocol.............................................................................. 172 4 Compendium / Glossary........................................................................ 178 Copyright © Siemens AG 2005 All rights reserved 20982954_SIMATIC_Comm_DOKU_v10_e 3.3.1 3.3.2 3.3.3 Rev. A - Endgültig 12.04.2004 7/185 Communication with Automation Systems 1 Communication Structures in the SIMATIC Introduction The following chapter deals with the basic principles and concepts of the communication within the SIMATIC environment required for the data exchange within or between the automation devices. 1.1 Internal communication structures (paths) Introduction The automation system SIMATIC is based on a modular system of modules of different functionalities. To use this system in its modularity, a control mechanism is required via which all parts of the system can communicate with each other. Copyright © Siemens AG 2005 All rights reserved 20982954_SIMATIC_Comm_DOKU_v10_e Within the SIMATIC, this task is realized by means of a backplane bus. General display of the backplane bus systems Figure 1-1 The backplane bus system is structured as follows: Rev. A - Endgültig 12.04.2004 8/185 Communication with Automation Systems Table 1-1 Bus system Communication bus (K-bus) Task The communication bus (also K-bus) has the task to manage the acyclic data exchange to: • CPs • IP / FMs and • Other CPUs A bus system is available here which also allows for connections between the stations without using the CPU. P-bus (I/O bus) The P-bus (I/O-bus) is responsible for the data exchange between CPU and the centralized I/O. Here, it is possible to access data or to transfer data which are stored in the I/O area of the CPs or IP / FMs. Copyright © Siemens AG 2005 All rights reserved 20982954_SIMATIC_Comm_DOKU_v10_e 1.2 External communication structures (paths) Introduction One of the core functionalities in today’s automation world is to coordinate different automation systems with each other. This coordination is made via an up-to-date exchange of data between the individual systems. To connect the systems with each other, communication paths are required enabling even the overcoming of larger distances. These communication paths present themselves in the form of standardized interfaces offering services for data transfer. General presentation of the external communication structure Figure 1-2 The external communication structure can be divided as follows: Rev. A - Endgültig 12.04.2004 9/185 Communication with Automation Systems Table 1-2 Interface Description CPU-internal interface CPU-internal interfaces are directly at the CPU. There they are either directly connected to the associated internal bus (e.g. MPI) or directly connected to a processor of the CPU. A direct connection has the advantage that: • Restrictions by the backplane bus will be avoided • External interfaces thus providing a certain performance advance. The external communication interfaces are usually within the station racks or in an expansion rack as a communication module. Some of the communication modules can also be used in the distributed, not intelligent units. Copyright © Siemens AG 2005 All rights reserved 20982954_SIMATIC_Comm_DOKU_v10_e A connection of these modules to each other or to a CPU is either made: • Via the communication bus • 1.3 or the I/O bus. (Decentralized I/O is also assigned to the I/O) Bus systems Introduction The interfaces offered in the SIMATIC family are divided in their physical types of connection into the following groups: • Two-point connections or • Multipoint connections. To provide a simple distinctive possibility the main differences of both types of connection are shown here: Table 1-3 Two-point connection Multipoint connection 1 connection partner for each interface n connection partner for each interface Small distances bridgeable (approx. 10 – 1000 m) Larger distances bridgeable (much longer than 100 km) Small protocol effort with comparable data transmission security High protocol effort with comparable data transmission security High deterministics High deterministics only via high protocol effort Rev. A - Endgültig 12.04.2004 10/185
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.