Ethernet in the Automation Industry Part 3: Modbus TCP and PROFINET

Total Page:16

File Type:pdf, Size:1020Kb

Ethernet in the Automation Industry Part 3: Modbus TCP and PROFINET TECHNICAL ARTICLE | Share on Twitter | Share on LinkedIn | Email Ethernet in the Automation Industry Part 3: Modbus TCP and PROFINET In the first part of this series, we examined Ethernet’s numerous advan- of EtherNet/IP, Modbus TCP, and some forms of PROFINET all allow for this tages over fieldbuses within industrial automation and control. Ethernet level of interaction through CPwE. Ethernet, IP, and TCP/UDP can be used solutions offer superior bandwidth and lower equipment costs, as well at layers 2, 3, and 4, respectively, for communications between network as the ability to be extended across the entire plant as single networks devices running standard protocols. linking the factory floor with enterprise IT. With that third characteristic in mind, we also began, in the second part, to delve into converged Modbus TCP and PROFINET for Interoperable and plant-wide Ethernet (CPwE), the reference architecture jointly developed Interconnected Networks by Rockwell Automation and Cisco to encourage the modernization of IAC Let’s look at the two Ethernet-based solutions—Modbus TCP and a few 1 systems through the use of standard Ethernet in tandem with the IP suite. versions of PROFINET—that can interact with EtherNet/IP and other protocols (for example, HTTP, FTP, Telnet, etc.) without requiring the CPwE Overview and Wrap-Up implementation of nonstandard network interface cards and/or switch- CPwE is, at its heart, an attempt to help manufacturers move past the ing infrastructure. Both of these standards are popular, with PROFINET complexity of disparate legacy serial networks and achieve the service accounting for 8% of all industrial networks as of January 2015, and integration, straightforward maintenance, and high availability that they Modbus TCP holds 3% of the same market. need to prime their plants for use cases, such as the Industrial Internet of Things. By bringing IT and control engineers—and the respective systems Modbus TCP they oversee—under the same tent, CPwE ideally optimizes industrial Modbus TCP is a variant of the widely used, vendor-neutral Modbus operations to make the most of raw materials and ensure on-time product protocol that was originally introduced by Schneider Electric in 1979. and service delivery. Where Modbus utilizes serial connections, Modbus TCP uses Ethernet as ® its physical network, with support for the TCP/IP stack for data exchange EtherNet/IP has been the primary vehicle for CPwE, since it serves as a over IP networks. Modbus TCP was standardized in 1999 and can now ( link between Cisco’s Ethernet-to-the-factory framework which includes be implemented on any device with TCP/IP sockets.3 security and network architectures) and Rockwell Automation’s integrated architecture with its Logix Control and FactoryTalk platforms. Industrial The open, standardized design of Modbus TCP makes it an excellent Ethernet switches within CPwE implementations have common industrial choice for interoperable environments. It can be run using regular PC protocol integration via their native EtherNet/IP support. Ethernet cards, plus it is future-proof as a result of having Ethernet port 502 specifically assigned to it. Now managed by the Modbus Organization EtherNet/IP uses standard, unmodified Ethernet technologies to enable (since 2004), following its initial development by Schneider, Modbus is this comprehensive end-to-end network integration that is unachievable an open project with a broad vendor community working on increasingly through purpose-built fieldbuses. The Cisco-Rockwell partnership has cost-effective solutions. also streamlined overall CPwE implementation through support for WLANs The use of TCP/IP, rather than UDP, enables a large number of concurrent predicated on IEEE 802.11 Wi-Fi. These WLANs have granular quality of connections in Modbus TCP, along with low maintenance control of data service and traffic prioritization features to help overcome the interference transactions. In this way, Modbus TCP diverges from the stateless transac- 2 and coverage impairments that often beset industrial wireless networks. tions of its Modbus family predecessors and emulates the minimalism of The standards-based designs of EtherNet/IP, Modbus® TCP, and some the World Wide Web. forms of PROFINET® allow for interaction through CPwE. “The main reason [for using TCP/IP in Modbus TCP] is to keep control This time around we will look beyond EtherNet/IP at other industrial of an individual ‘transaction’ by enclosing it in a connection which can Ethernet protocols that support standard networking to one degree or be identified, supervised, and canceled without requiring specific action another. After all, part of CPwE’s value proposition is the ability to facilitate on the part of the client and server applications,” explained a real-time automation guide to Modbus TCP4. “This gives the mechanism a wide interconnectivity and interoperability between IAC networks that commu- tolerance to network performance changes, and allows security features nicate mostly within a layer 2 LAN model. The standards-based designs such as firewalls and proxies to be easily added.” Visit analog.com PROFINET References Having covered PROFINET in several other entries here,5 we won’t do a 1 “Converged Plantwide Ethernet (CPwE) Design and Implementation deep dive into all of the protocol’s features. However, it is worth noting Guide.” Cisco Inc. that its design—with support for standard TCP/IP, as well as a special 2 stack that bypasses TCP/IP for transmission of real-time data in PROFINET “Deploying 802.11 Wireless LAN Technology within a Converged I/O and IRT—is particularly amenable to balancing the convenience of Plantwide Ethernet Architecture.” Cisco, Inc., November, 2014. office Ethernet with the demands of industrial networking. 3 Modbus FAQ: About the Modbus Organization Like Modbus TCP, PROFINET is mainly used for industrial automation 4 Modbus TCP/IP Unplugged—An introduction to Modbus TCP/IP process control. Its support for streamlined cabling (for example, through Addressing, Function Codes and Modbus TCP/IP Networking. Siemens’ FastConnect system), deterministic performance over WLAN, and RTA Automation. compatibility with star, tree, and ring topologies (in addition to the linear layouts of fieldbuses) have made it a popular choice for simplifying the 5 “From PROFIBUS to PROFINET, Part 2.” Analog Devices, Inc., layout and boosting the performance of modern IAC systems.6 Moreover, March, 2015. the ability to easily transition from PROFIBUS—the most popular fieldbus 6 Advantage with PROFINET. Siemens. and industrial network in current use—makes PROFINET integration an easy decision for many manufacturers. PROFINET, Modbus TCP, and EtherNet/IP are all good examples of how Online Support ubiquitous technologies such as Ethernet can be used as the basis for Community exacting, scalable, and industrial automation. The benefits of Ethernet in Engage with the factories have always been its familiarity and flexibility—it can unify the Analog Devices technology experts in our online support industrial and offices networks while going beyond fieldbuses in key areas community. Ask your tough design questions, browse FAQs, such as bandwidth and straightforward support for TCP/IP. Architectures or join a conversation. like CPwE and the ongoing development of projects such as time sensi- tive networking (TSN) will only extend Ethernet’s reach in the automation Visit ez.analog.com industry in the years ahead and contribute to more efficient plants both now and in the future. Analog Devices, Inc. Analog Devices, Inc. Analog Devices, Inc. Analog Devices, Inc. ©2017 Analog Devices, Inc. All rights reserved. Trademarks and Worldwide Headquarters Europe Headquarters Japan Headquarters Asia Pacific Headquarters registered trademarks are the property of their respective owners. Ahead of What’s Possible is a trademark of Analog Devices. Analog Devices, Inc. Analog Devices GmbH Analog Devices, KK Analog Devices TA140484-0-12/2017 One Technology Way Otl-Aicher-Str. 60-64 New Pier Takeshiba 5F, Sandhill Plaza P.O. Box 9106 80807 München South Tower Building 2290 Zuchongzhi Road analog.com Norwood, MA 02062-9106 Germany 1-16-1 Kaigan, Minato-ku, Zhangjiang Hi-Tech Park U.S.A. Tel: 49.89.76903.0 Tokyo, 105-6891 Pudong New District Tel: 781.329.4700 Fax: 49.89.76903.157 Japan Shanghai, China 201203 (800.262.5643, U.S.A. only) Tel: 813.5402.8200 Tel: 86.21.2320.8000 Fax: 781.461.3113 Fax: 813.5402.1064 Fax: 86.21.2320.8222.
Recommended publications
  • PROFINET for Network Geeks
    PROFINET for Network Geeks (and those who want to be) Introduction PROFINET is an open Industrial Ethernet standard. It is a communication protocol that exchanges data between automation controllers and devices. With over 25 million installed nodes (as of 2018), PROFINET is one of the most widely used Industrial Ethernet standards worldwide. But even though millions of users are familiar with PROFINET, not all users understand how it works. This white paper starts with a brief overview of Ethernet and the 7-layer ISO-OSI model. Then, it describes how PROFINET’s 3 communication channels fit in the model: TCP/IP and UDP/IP, Real-Time (RT), and Isochronous Real-Time (IRT). 1 Ethernet The transition from using 4-20 mA analog signals for I/O communication to digital fieldbuses provided the benefits of reduced wiring, access to network data, and robust diagnostics. The later transition from digital fieldbuses to Ethernet was also similarly a shift to a more modern technology. Ethernet incorporated and improved upon the benefits of fieldbuses. Ethernet is ubiquitous and PROFINET uses standard Ethernet. Ethernet gives PROFINET the ability to provide faster updates, more bandwidth, larger messages, an unlimited address space, and even more diagnostic capabilities. Also, as commercial Ethernet evolves, PROFINET can take advantage of these physical layer improvements. Figure 1 ISO-OSI Model The ISO-OSI Model Ethernet-based communications can be represented by a seven-layer model: the ISO/OSI Reference Model. The model generically describes the means and methods used to transmit data. Each layer has a specific name and function, as shown in Figure 1.
    [Show full text]
  • Configuring PROFINET
    CHAPTER9 Configuring PROFINET This chapter describes how to configure the PROFINET feature on the Cisco IE 3000 switch. • Understanding PROFINET, page 9-1 • Configuring PROFINET, page 9-4 • Displaying the PROFINET Configuration, page 9-5 • Troubleshooting PROFINET, page 9-5 Understanding PROFINET PROFINET is the PROFIBUS International (PI) open Industrial Ethernet Standard that uses TCP/IP and IT standards for automation control. PROFINET is particularly useful for industrial automation systems and process control networks, in which motion control and precision control of instrumentation and test equipment are important. It emphasizes data exchange and defines communication paths to meet speed requirements. PROFINET communication is scalable on three levels: • Normal non-real-time communication uses TCP/IP and enables bus cycle times of approximately 100 ms. • Real-time communication enables cycle times of approximately 10 ms. • Isochronous real-time communication enables cycle times of approximately 1 ms. Note The switch does not support isochronous real-time communication channels. PROFINET IO is a modular communication framework for distributed automation applications. PROFINET IO uses cyclic data transfer to exchange data, alarms, and diagnostic information with programmable controllers, input/output (I/O) devices, and other automation controllers (for example, motion controllers). PROFINET IO recognizes three classes of devices: • IO devices • IO controllers • IO supervisors Cisco IE 3000 Switch Software Configuration Guide OL-27302-02
    [Show full text]
  • Profibus and Modbus: a Comparison
    James Powell, P. Eng. Profibus and Modbus: a comparison We live in a multi-protocol In this article, we will provide an overview col that only Modicon could use. However, of both protocols and discuss their key it was later published royalty-free so that world – and this will likely strengths and applications. Comparing the anyone could use it. Finally, Modicon made not change anytime soon. two, we’ll see that both protocols have their it an open protocol. When it was published, own particular strengths. We’ll also discuss a number of companies started using it, Different protocols work which one works best in which applications creating different interpretations and modi- better in different applica- – although there is some overlap in what fi cations of the original specifi cation. As a each can do. What’s more, they can com- result, there are now quite a few variations tions. I have not come to plement each other in joint applications. in the fi eld. bury Modbus or Profibus, Introduction to Modbus The specifi cation document is fewer than nor to praise them, but 100 pages in length, which is a good indica- rather to add some per- Modbus is the “granddaddy” of industrial tion of the protocol’s low level of complex- communication protocols. It was originally ity. In comparison, Profi bus’ specifi cation spective and knowledge. designed in the mid-1970s by Modicon as document is thousands of pages long. a way to link intelligent devices with PLCs using a simple master/slave concept. The term “Modbus” typically refers to one of three related protocols: Modbus ASCII, “Simple” is a key descriptor for Modbus – Modbus RTU, or Modbus TCP/IP:1 and also its biggest strength.
    [Show full text]
  • Anybus® Communicator™ CAN PROFINET® IRT (2.32)
    Anybus® Communicator™ CAN PROFINET® IRT (2.32) USER MANUAL SCM-1202-035 1.3 en-US ENGLISH Important User Information Disclaimer The information in this document is for informational purposes only. Please inform HMS Industrial Networks of any inaccuracies or omissions found in this document. HMS Industrial Networks disclaims any responsibility or liability for any errors that may appear in this document. HMS Industrial Networks reserves the right to modify its products in line with its policy of continuous product development. The information in this document shall therefore not be construed as a commitment on the part of HMS Industrial Networks and is subject to change without notice. HMS Industrial Networks makes no commitment to update or keep current the information in this document. The data, examples and illustrations found in this document are included for illustrative purposes and are only intended to help improve understanding of the functionality and handling of the product. In view of the wide range of possible applications of the product, and because of the many variables and requirements associated with any particular implementation, HMS Industrial Networks cannot assume responsibility or liability for actual use based on the data, examples or illustrations included in this document nor for any damages incurred during installation of the product. Those responsible for the use of the product must acquire sufficient knowledge in order to ensure that the product is used correctly in their specific application and that the application meets all performance and safety requirements including any applicable laws, regulations, codes and standards. Further, HMS Industrial Networks will under no circumstances assume liability or responsibility for any problems that may arise as a result from the use of undocumented features or functional side effects found outside the documented scope of the product.
    [Show full text]
  • PROFINET Basics – Revision 1.0
    CoNeT Mobile Lab 3 PROFINET ON PHOENIX CONTACT PLATFORM - PROFINET basics – Revision 1.0 Co-operative Network Training University of Applied Sciences Duesseldorf Process Informatics Laboratory (Pi-LAB) http://www.pi-lab.de Contact: [email protected] CoNeT Mobile Box 3 – PROFINET on PC WORX 2 CoNeT Mobile Box 3 – PROFINET on PC WORX Contents PROFINET BASICS ................................................................................................................ 5 What is PROFINET? ............................................................................................................................................ 5 Function classes of PROFINET ........................................................................................................................... 5 COMMUNICATION AND SECURITY ................................................................................ 7 PROFINET Communication Concept ................................................................................................................ 7 PROFINET Security Concept .............................................................................................................................. 7 Questions ................................................................................................................................................................ 8 PROFINET VS. PROFIBUS ................................................................................................. 10 Advantages of PROFINET ................................................................................................................................
    [Show full text]
  • Profinet Vs Profibus
    Profinet vs Profibus Pouya Aminaie1 and Poorya Aminaie2 1Department of ECE, Shiraz University, Shiraz, Iran 2 Department of ECE, Shahid Beheshti University, Tehran, Iran E-mail: [email protected] Abstract We present a step by step definition of Profinet and Profibus. We introduced different types of each of the two communication protocols. We then described the topology and performance of each one individually. Finally, the properties of them have been compared to show that which one has better performance in the industry. Keywords: Profinet, Profibus, Industrial Ethernet and Communication Networks 1. Introduction 1.1. Profinet Profinet is the abbreviation for Process Field Net, which refers to technical standards for data communication through Ethernet in the industry. These types of standards are used for gathering data and controlling industrial equipment. As can be seen from Fig.1, Profinet satisfies all the needs of industrial technologies. Fig.1 Requirement of automation technology [1] 1 The need for Profinet is felt in production automation and processing automation sections, where its use can resolve many of these needs. Profinet can be divided into two main categories, as follows: • Profinet IO • Profinet CBA 1.2. Profibus The word Profibus is taken from the phrase Process Field Bus. The scope of this protocol covers from the field level to the control level. The advantages of Profibus are as follows: 1. Low noise acceptance due to twisted pair cable being the transmission interface. 2. Appropriate bandwidth due to the use of an appropriate transmission method such as RS485. 3. Secure and non-interfering data exchange for using the token pass access method.
    [Show full text]
  • PROFINET System Description Technology and Application and Technology
    PROFINET System Description Technology and Application and Technology Open Solutions for the World of Automation Introduction The ever-shorter innovation cycles for PROFINET is the innovative open The use of open standards, simple new products makes the continuous standard for Industrial Ethernet. handling, and the integration of exi- evolution of automation technology PROFINET satisfies all require- sting system components has driven necessary. The use of fieldbus tech- ments of automation technology. the definition of PROFINET from the nology has been a significant innova- PROFINET enables solutions to be beginning. PROFINET is standardized tion in the past few years. It enabled developed for factory automation, in IEC 61158 and IEC 61784. the migration of centralized automati- process automation, safety ap- on systems to distributed automation plications, and the entire range of The ongoing further development of systems. PROFIBUS, as a global mar- drive technology up to and inclu- PROFINET offers users a long-term ket leader, has set the benchmarks for ding isochronous motion control view for the implementation of their 20 years. applications. automation tasks. In today‘s automation technology, mo- Besides the real-time capability and For plant and machine manufacturers, reover, Ethernet and information tech- the use of IT technology, protection the use of PROFINET minimizes the nology (IT) is increasingly calling the of investment also plays an important costs for installation, engineering, and shots with established standards like role in PROFINET. PROFINET allows commissioning. For plant operators, TCP/IP and XML. The integration of existing fieldbus systems such as PROFINET offers ease of plant expan- information technology into automa- PROFIBUS DP, PROFIBUS PA, AS- sion and high system availability due tion is opening up opportunities for Interface, INTERBUS, and DeviceNet to autonomously running plant units significantly improved communication to be integrated without changes to and low maintenance requirements.
    [Show full text]
  • PROFINET Leaflet
    PROFINET Future-proof communication network » Open standard » Media redundancy » Easy configuration PROFINET – Open Industrial Ethernet standard for automation As a leading and innovative global supplier Networks, the next generation Building on our experience with PROFIBUS, Omron of industrial automation systems, Omron delivers is now a front runner in the support and development equipment for installations throughout the world. of PROFINET-IO, an open ‘Industrial Ethernet’ solution set to become Europe’s next-generation field network. Recognising that needs differ between users, PROFINET-IO meets all requirements of industrial applications and countries, Omron pursues automation and provides the higher speeds necessary as intelligent devices become more complex. an open-standards policy that has proved to be the PROFINET is more adaptable than conventional bus systems, enabling users to optimize it for their own key to success. This extends to networking and required functionality. Today, Omron is a leader in connectivity, where we are constantly increasing bringing PROFINET-compatible modules to the market. our scope. Omron played a pioneering role, e.g. in developing DeviceNet and CompoNet and in addition to offering a wide range of products for CIP-based networks we actively support PROFIBUS-DP, by far the world’s most popular system. PROFINET cyclic data and standard UDP or TCP/IP data can share one cable. Built-in switches cut cost Making Industrial Ethernet easy Conventionally, Ethernet networks use a star topology, which PROFINET-IO offers many advantages for both system requires extra hardware (switches) to interconnect devices. integrators and equipment/machinery manufacturers. Omron’s SmartSlice PROFINET-IO Unit gives the option Combining the ease of use of PROFIBUS-DP with of linking devices in the conventional line topology used with a standard Ethernet physical layer, PROFINET-IO offers most field buses.
    [Show full text]
  • PROFIBUS Modules with Plug-N-Play Connectivity Reduce Overall
    PROFIBUS Introduction Standardized Open Fieldbus System About Lumberg Automation PROFIBUS Products PROFIBUS (PROcess FIeld BUS) is a standardized, open Fieldbus in compliance with the To ensure the best application of PROFIBUS- international standard EN 50170. To meet DP in the decentralized sector, components PROFIBUS Modules various demands in automation technology, must meet maximum electromechanical PROFIBUS is subdivided into four different demands. Thanks to the materials used for the with Plug-N-Play profiles: housings and sealing technologies, Lumberg Automation’s PROFIBUS-DP components offer PROFIBUS-FMS (Field Message Specification) Connectivity Reduce excellent protection for electronic equipment in A protocol for communication between harsh environments. different control systems (PLCs or PCs). It Modules are available with M23 connection Overall Installation and was the first implementation of Profibus. This technology for hybrid cables (power supply and protocol is superseded by PROFInet.. Maintenance Costs. bus line in one cable) and M12 connectors with PROFINET external power supply. An Industrial Ethernet implementation of Transmission Media Profibus. PROFINET is designed to work everywhere: from communication with the • Shielded, twisted-pair, 2-wire cable corporate network over the data exchange (according to RS485) between PLC’s and IPC’s, to I/O and motion • Fiber optic cable control. • Hybrid cable for the transmission of data PROFIBUS-PA (Process Automation) and power supply. An intrinsically safe bus system for process technology. Network Topology PROFIBUS-DP (Decentral Periphery) • Line structure with active bus termination (resistance network) at both ends of a A transmission protocol for communication segment. between the control system and decentral input/output stations. • A segment is the bus sector between two terminating resistors.
    [Show full text]
  • Conet Mobile Lab 3 PROFINET on PHOENIX CONTACT PLATFORM
    CoNeT Mobile Lab 3 PROFINET ON PHOENIX CONTACT PLATFORM - PROFINET engineering – Revision 1.0 Co-operative Network Training University of Applied Sciences Duesseldorf Process Informatics Laboratory (Pi-LAB) http://www.pi-lab.de Contact: [email protected] CoNeT Mobile Box 3 – Profinet on PC WORX 2 CoNeT Mobile Box 3 – Profinet on PC WORX Contents PROFINET IO OVERVIEW .................................................................................................. 5 Device Roles ........................................................................................................................................................... 5 Services of PROFINET IO ................................................................................................................................... 5 Device Model of an IO Device .............................................................................................................................. 6 Communication Services ...................................................................................................................................... 7 Questions ................................................................................................................................................................ 7 PROFINET IO COMMUNICATION .................................................................................... 9 Non-Real Time .....................................................................................................................................................
    [Show full text]
  • Profibus Troubleshooting
    Hot to Commission and Troubleshoot Profibus & Ethernet Networks Jim Ralston - Softing| Oct 24, 2019 Topics • Softing Introduction • Industrial Network Trends & Risks to Production • PROFIBUS Commissioning & Troubleshooting – Best practices for Profibus • Ethernet/PROFINET Certification, Qualification & Troubleshooting – Best practices for Ethernet • Questions? Softing Inc. ▪ Global Headquarters in Munich, Germany ▪ Founded 1979, Publicly traded since 2000 ▪ Profibus International Board Member ▪ OPC Foundation Founding Member ▪ North America headquarters in Knoxville, TN Get Connected – Stay Connected Profibus Tester - 5 dataFEED OPC Server Suite WireXpert 4500 edgeGate Ethernet Certifier mobiLink EchoCollect Network Data Diagnostics Intelligence uaGATE SI TH Link TH Scope NetXpert XG Ethernet Qualifier EPGate PN Process PNGate PA/PB Automation Industrial Networks – Media is the Foundation Cabling is Layer 1 (foundation) Proper Cabling Practices Increase Downtime • According to an ISA.org online article, industrial network failures accounted for 35% of total failures in plant automation. • Physical deterioration, electrical failure, or poor installation and maintenance practices can all lead to unreliable network performance. − loss of critical data − system downtime − even catastrophic failure The Industrial Network Speed Revolution Yesterd Today Emerging Tomorrow ay Networ Serial PROFIBUS Profinet Profinet Profinet/TS Profinet/TS Profinet/TSN k (10/100B (1000BT) N N (10GB-T) T) (2.5GB-T) (5GB-T) Data 1.2 4.8 9.6 31.2 12,000 10,000 to
    [Show full text]
  • PROFINET Installation Guidelines
    PROFINET Installation Guidelines Revision 2.2 September 2018 Verwer Training & Consultancy Ltd Contact information: Verwer Training & Consultancy Ltd 5 Barclay Road, Poynton, Stockport Cheshire SK12 1YY web: www.VerwerTraining.com email: [email protected] tel: +44(0)1625 871199 Copyright Verwer Training & Consultancy Ltd, 2018 Table of Contents 1. PREFACE ................................................................................................................ 1 2. BASIC ETHERNET TECHNOLOGY .................................................................. 1 2.1. THE OSI MODEL ...................................................................................................... 1 2.2. MODERN FAST ETHERNET ....................................................................................... 2 Layer 1 – The physical layer ......................................................................................... 2 Layer 2 – The data link layer ........................................................................................ 3 MAC addresses ............................................................................................................. 3 The Ether-type field ...................................................................................................... 4 2.3. COMMUNICATION CONCEPTS ................................................................................... 4 Full duplex communication .......................................................................................... 4 Repeaters
    [Show full text]