Package supports simple DDE links from PLC to spreadsheet

A recurring need in process analysis is using data manipulation and statistical capabilities of spreadsheet packages on process data values. This includes charting, calculation of derived parameters, material balance tracking, or other functions. In any of these cases the ability to collect then import data from a controller into a spreadsheet is the preferred method in place of manual da...

05/01/1999


A recurring need in process analysis is using data manipulation and statistical capabilities of spreadsheet packages on process data values. This includes charting, calculation of derived parameters, material balance tracking, or other functions. In any of these cases the ability to collect then import data from a controller into a spreadsheet is the preferred method in place of manual data collection followed by entry into the spreadsheet package.

The latter is a need for standalone systems, such as controllers with only simple operator interface devices connected or situations where a special data set is needed. The Dynamic Data Exchange (DDE) standard provides functionality to accomplish this transfer, guiding how applications share data.

For spreadsheets, DDE permits input of values directly into cells using a DDE link. Therefore, all that is then required is a DDE-compliant interface to the controller that will send data to the spreadsheet application.

Communication interfaces

For users of Allen-Bradley programmable controllers, Rockwell Automation (Mayfield Heights, O.) offers a communication package called RSLinx. This Microsoft Windows solution provides both DDE and OPC (Object linking and embedding for process control) interfaces from the supported Allen-Bradley devices to other software applications. The primary function of this package is communications between its Microsoft Windows-based Relay Ladder Logic (RLL) programming packages (RSLogix) and supported controllers. In support of that function, a limited function version called RSLinx Lite is provided with the programming packages. For the DDE and OPC communications interface to other packages the full RSLinx or the RSLinx Gateway product is required.

This package aids small system users by giving them a simple package for communicating with networked PLCs both for program support and data collection. This avoids the need to purchase, configure, and support a dedicated software package for the collection of process data when data needs are limited in quantity or in time duration.

Any user familiar with the set up of spreadsheets (Microsoft Excel, Lotus 1-2-3, etc.) can quickly establish the data file and begin using the charting and statistical features of the spreadsheet to analyze data. Creation of the needed Microsoft Visual Basic routines for building a database with the spreadsheet is documented within the Visual Basic help files.

Using the RSLinx package simplifies the task of establishing the DDE link. It requires no extensive training for configuration. The included help files provide adequate instructions such that most users can quickly and easily establish DDE communication from the controller side. Documentation is clear and simple—the package was implemented to support the DDE link function with minimal configuration steps.

One weakness of the software, however, is its inability to use tag names instead of only memory addresses for DDE link references. This requires the user to have a controller memory address listing available when configuring the links.

The current version of Rockwell Automation's RSLinx Gateway Revision 2.00.97.30 works with Microsoft Excel 97.

For more information on RSLinx, visit www.controleng.com/info


Author Information

Contributing Editor, Tracy J. Coates P.E. is a consulting engineer at PCE Engineering, Johnson City, Tenn.




No comments
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by...
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
System integration: Best practices and technologies to help; Virtualization virtues; Cyber security advice; Motor system efficiency, savings; Product exclusives; Road to Hannover
Collaborative robotics: How to improve safety, return on investment; Industrial Internet of Things, Industrie 4.0: World views; High-performance HMI, Information Integration: OPC and OMG
9 tips: How to integrate a servo system; Process control mathematical models; Serial network grounding; Engineers' Choice Awards; Learn from cyber security mistakes
This article collection contains several articles on the Industrial Internet of Things (IIoT) and how it is transforming manufacturing.
PLCs, robots, and the quest for a single controller; how OEE is key to automation solutions.
Learn how Industry 4.0 adds supply chain efficiency, optimizes pricing, improves quality, and more.

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

Getting to the bottom of subsea repairs: Older pipelines need more attention, and operators need a repair strategy; OTC preview; Offshore production difficult - and crucial
Digital oilfields: Integrated HMI/SCADA systems enable smarter data acquisition; Real-world impact of simulation; Electric actuator technology prospers in production fields
Special report: U.S. natural gas; LNG transport technologies evolve to meet market demand; Understanding new methane regulations; Predictive maintenance for gas pipeline compressors
click me