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...
Each year, a panel of Control Engineering editors and industry expert judges select the System Integrator of the Year Award winners.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
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.
Learn how to create value with re-use; gain productivity with lean automation and connectivity, and optimize panel design and construction.
Go deep: Automation tackles offshore oil challenges; Ethernet advice; Wireless robotics; Product exclusives; Digital edition exclusives
Lost in the gray scale? How to get effective HMIs; Best practices: Integrate old and new wireless systems; Smart software, networks; Service provider certifications
Fixing PID: Part 2: Tweaking controller strategy; Machine safety networks; Salary survey and career advice; Smart I/O architecture; Product exclusives
The Ask Control Engineering blog covers all aspects of automation, including motors, drives, sensors, motion control, machine control, and embedded systems.
Look at the basics of industrial wireless technologies, wireless concepts, wireless standards, and wireless best practices with Daniel E. Capano of Diversified Technical Services Inc.
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
This is a blog from the trenches – written by engineers who are implementing and upgrading control systems every day across every industry.
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.

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

Case Study Database

Case Study Database

Get more exposure for your case study by uploading it to the Control Engineering case study database, where end-users can identify relevant solutions and explore what the experts are doing to effectively implement a variety of technology and productivity related projects.

These case studies provide examples of how knowledgeable solution providers have used technology, processes and people to create effective and successful implementations in real-world situations. Case studies can be completed by filling out a simple online form where you can outline the project title, abstract, and full story in 1500 words or less; upload photos, videos and a logo.

Click here to visit the Case Study Database and upload your case study.