Ethernet communication tips

Details of Ethernet in an industrial environment can be hard to find, and resources specific to industrial Ethernet hard to come by. Users often overlook the possibility of using Ethernet to manage application response time for end devices. Ethernet switches and cabling can be easily installed by a user, interconnecting dozens or hundreds of devices, and eliminating many legacy fieldbus restrictions such as node counts and distances. Here are tips and specifics that can be useful.

08/13/2008


The details of Ethernet in an industrial environment can be hard to find, and resources specific to industrial Ethernet hard to come by. So here are some tips and specifics that can be useful.

Users often overlook the possibility of using Ethernet to manage application response time for end devices. Ethernet switches and cabling can be easily installed by a user, interconnecting dozens or hundreds of devices, and eliminating many legacy fieldbus restrictions such as node counts and distances.

When estimating timing for Ethernet I/O, remember than an application must read an input, solve the input in logic, and respond by writing an output, which means communications between the I/O module and the PLC CPU is occurring twice.

When estimating timing for Ethernet I/O, remember than an application must read an input, solve the input in logic, and respond by writing an output, which means communications between the I/O module and the PLC CPU is occurring twice.

Communications programming for programmable logic controller (PLC) Ethernet applications can be done by simply entering the desired devices and register counts into a table. But understanding the proper timing of communication settings is important, and will result in a more reliable, error-free operation.

To estimate the timing, consider that an application must read an input, solve the input in logic, and respond by writing an output. This requires two network communication cycles between the master and end device: one to read, and another to write (see illustration). In between, there is the Ethernet interface stack processing, logic solve for central processing units (CPUs), and communications servicing in the devices via backplane or bus.

Putting this knowledge into a real-world context, consider what is meant by a “fast response time” for an Ethernet I/O module, which is often quoted as a few milliseconds. Realistically, the communications cycle to the I/O module must occur twice, along with two CPU scans for the master PLC.

The “fast response” quoted is to send a message to the module and for the module to react to that message. As you can see, that does not accurately reflect the real-world operation. The cycle or repetition rate of communications should be a multiple of 2.5 to 3 times the master PLC scan time. This will allow problem-free communications, because then PLC masters will have sufficient time to solve logic and process communications, and the end devices will have responded to changes in input or output status.

While the robustness of the Ethernet infrastructure handles substantial traffic loads with ease, end devices may be overwhelmed by multiple masters. Simple devices with limited processing power can take a few milliseconds to respond. Even robust PLCs that service communications at the end of a CPU scan will buffer requests until the end of the scan. Issues will not give responses until the CPU scan is complete.

One concern remedied

One of the biggest concerns in the beginning stages of industrial use Ethernet was non-deterministic performance due to collisions, which occur by design, in half duplex Ethernet networks. As node density increased, performance grew increasingly worse.

With the advent of full duplex switched Ethernet in the mid 1990s, backbone collisions were virtually eliminated and performance improved. Most newer end devices now support full duplex operation. This has led to a substantial increase in system performance and greater response time consistency.

An inherited benefit of such consistency is the ability to expand the node count of industrial Ethernet networks. A switched Ethernet with full duplex operation can now approach determinism with repeatable transmission times from one end device to another. While most networks regarded as deterministic are token-based, having a predictable and repeatable transmission time between devices is sufficient—and essential for industrial uses.

Depending on the buffering and the forwarding delays of each switch in the path, the time to transmit a message from one end point to another while passing through switches varies slightly. However, switch forwarding delay is generally under 50 microseconds per switch. Buffer congestion can be managed using IEEE 802.1p Quality of Service prioritization. Therefore, it is likely that the actual transmission time from one device to another will consistently be within a millisecond, which is satisfactory for most applications.

New challenges on the horizon

Ethernet and TCP/IP provide a rich set of features for global communications, monitoring, data exchange, and Web accessibility. But assembling new-generation Ethernet performance, features, and services into a comprehensive enterprise solution is a challenge end users continue to face.

Another ongoing challenge exists in putting these technologies to work in harmony. As users try to determine how each technology fits within the overall enterprise architecture, system solutions that improve efficiency remain top of mind.

With legacy systems, communication and data interchange are confined to the manufacturing site. Now, Ethernet and TCP/IP make the same data available globally and in real time.

Harnessing the power of these technologies allows business to improve the entire operation, from the flow of raw materials to the distribution of finished product.


ONLINE:

At www.controleng.com , search Industrial Ethernet for more resources


Author Information

Michael B. Roche is principal network application engineer for connectivity products in the Automation business unit of Schneider Electric End User Solutions. To find out more about Schneider Electric’s Telemecanique brand of Ethernet hardware and industrial networking services, visit




No comments
The Top Plant program honors outstanding manufacturing facilities in North America. View the 2015 Top Plant.
The Product of the Year program recognizes products newly released in the manufacturing industries.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
2015 Top Plant: Phoenix Contact, Middletown, Pa.; 2015 Best Practices: Automation, Electrical Safety, Electrical Systems, Pneumatics, Material Handling, Mechanical Systems
A cool solution: Collaboration, chemistry leads to foundry coat product development; See the 2015 Product of the Year Finalists
Raising the standard: What's new with NFPA 70E; A global view of manufacturing; Maintenance data; Fit bearings properly
Special report: U.S. natural gas; LNG transport technologies evolve to meet market demand; Understanding new methane regulations; Predictive maintenance for gas pipeline compressors
Cyber security cost-efficient for industrial control systems; Extracting full value from operational data; Managing cyber security risks
Drilling for Big Data: Managing the flow of information; Big data drilldown series: Challenge and opportunity; OT to IT: Creating a circle of improvement; Industry loses best workers, again
Migrating industrial networks; Tracking HMI advances; Making the right automation changes
Understanding transfer switch operation; Coordinating protective devices; Analyzing NEC 2014 changes; Cooling data centers
Upgrading secondary control systems; Keeping enclosures conditioned; Diagnostics increase equipment uptime; Mechatronics simplifies machine design

Annual Salary Survey

After almost a decade of uncertainty, the confidence of plant floor managers is soaring. Even with a number of challenges and while implementing new technologies, there is a renewed sense of optimism among plant managers about their business and their future.

The respondents to the 2014 Plant Engineering Salary Survey come from throughout the U.S. and serve a variety of industries, but they are uniform in their optimism about manufacturing. This year’s survey found 79% consider manufacturing a secure career. That’s up from 75% in 2013 and significantly higher than the 63% figure when Plant Engineering first started asking that question a decade ago.

Read more: 2014 Salary Survey: Confidence rises amid the challenges

Maintenance and reliability tips and best practices from the maintenance and reliability coaches at Allied Reliability Group.
The One Voice for Manufacturing blog reports on federal public policy issues impacting the manufacturing sector. One Voice is a joint effort by the National Tooling and Machining...
The Society for Maintenance and Reliability Professionals an organization devoted...
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.
Maintenance is not optional in manufacturing. It’s a profit center, driving productivity and uptime while reducing overall repair costs.
The Lachance on CMMS blog is about current maintenance topics. Blogger Paul Lachance is president and chief technology officer for Smartware Group.
This article collection contains several articles on the vital role that compressed air plays in manufacturing plants.