Zibb
Subscribe to Control Engineering
FirstLight
Email
Print
Reprint
Learn RSS

AJAX cleans up HMI performance

Dennis Brandl, BR&L Consulting -- Control Engineering, 7/1/2006

Human machine interfaces (HMIs) have been in place for more than 20 years, but some basic rules have not changed. If you want a responsive system, you have to install specialty software on the operator stations, qualify the software, and validate and maintain the installations.

HMI applications that require specialty software installed on the operation station are called "thick client" applications. The alternative, "thin client" solutions, do not require any specialty software and instead used Microsoft's Internet Explorer browser as the display software.

Thin clients have major advantages for manufacturing IT departments. They are easier to install, since the required software is installed automatically when the browser points to the HMI server. The maintenance cost is low, because changes are effectively rolled out immediately. Lastly, replacement of operator station hardware can be fast and easy to validate. Thin clients suffer from poor responsiveness, however, because of the large communication bandwidth required between the HMI browser and the HMI server. In many cases, large bandwidth was required for complete redisplays of screens, even when only a small part of the screen information changed.

A new IT technique is starting to be applied that removes the disadvantages of thin clients without giving up any advantages. AJAX, which stands for asynchronous JavaScript and XML, is a technique for providing responsive displays without requiring extensive server communication and using standard browser technology. (To see an example of the responsiveness, visit www.maps.google.com. This application provides smooth scrolling of maps without requiring full page reloads from the Google servers.)

AJAX uses JavaScript that is downloaded with a Web page from a standard Web server. The JavaScript handles display updating and immediate feedback for operator interaction. It also sends information requests to the server using HTML POST or GET messages (for Java or PHP enabled servers), or SOAP messages (for Visual Basic or C++ enabled servers). The XML responses from the server come back asynchronously and are handled as any other asynchronous event (for example a keystroke or mouse click) in JavaScript.

AJAX also significantly reduces the network traffic and bandwidth required versus other thin client solutions, and it can be almost as bandwidth efficient as thick clients. AJAX is a technique for utilizing features already available on Web-based systems, so it is rapidly entering mainstream, rich interface, thin client applications.

Custom applications

AJAX does offer some unique advantages for HMI applications and, because tool vendors are currently adding AJAX support into their programming environments, it is ready for use in custom manufacturing applications. The typical custom HMI application is a Visual Basic program running as a thick client. While this works for single-station systems, it does not scale to multiple display stations and operators. In an AJAX-enabled application, the custom HMI would be split into display and input elements, and the data access elements. This is a good practice in any custom HMI design, and AJAX encourages this good practice.

The display elements are implemented in JavaScript. Data access elements can be implemented using open source solutions, such as a LAMP server (Linux O/S, Apache Web server, MySql database, and PHP scripting language), or using a commercial tools, such as a Microsoft Web server and Visual Basic for the server side applications. This technique also allows controlled access for engineering or business users outside the manufacturing firewall.

For example, the server-side application could require a write-key to be obtained (using an asynchronous XML request) before any write commands would be accepted and could prevent any write-keys from being sent to clients outside the local protected network.


Author Information
Dennis Brandl, dbrandl@brlconsulting.com, is the president of BR&L Consulting, Cary, N.C., which is focused on manufacturing IT solutions.

Email
Print
Reprint
Learn RSS

Talkback

We would love your feedback!

Post a comment

» VIEW ALL TALKBACK THREADS

Related Content

Related Content

 

By This Author

Sponsored Links

 

Advertisement
SPONSORED LINKS

More Content

  • Blogs
  • Discussions
  • Webcasts
  • Podcasts
  • Videos

Blogs

  • Peter Welander
    Pillar to Post: Peter Welander's Blog

    November 26, 2008
    Cornell corners chemical car competition
    For a light bit of reading before your Thanksgiving holiday (assuming you can take the time off) you might want to know that Cornell won the 10th a......
    More
  • Matt Luallen and Steve Hamburg of Encari
    Industrial Cyber Security

    November 17, 2008
    NIST SP 800-82 Guide to Industrial Control Systems Security
    The National Institute of Standards and Technology has posted the Final Public Draft of NIST SP 800-82, Guide to Industrial Control Systems (ICS) S......
    More
  • View All BlogsRSS

Webcasts

Engineering-driven Ethernet
This Control Engineering Roundtable Webcast will address the engineering issues you should be aware of when exploring the adoption of Ethernet or when looking to expand its use in your facility.

Bridging gaps with wireless
Discover how you can create stronger, flexible and cost-effective wireless connections for your entire plant. Register today!

View All Webcasts
Advertisements





NEWSLETTERS

Get engineering industry news, trends, and business-critical information delivered directly to your inbox!

Click on a title below to learn more.

Weekly News (Weekly)
Process Instrumentation & Sensors (Monthly)
System Integration Monthly (Monthly)
Process & Advanced Control (Monthly)
Machine Control (Monthly)
Information Control (Monthly)
Automation Control (Monthly)
Product Review (Monthly)
Simplified Safety
Fieldbus Facts
PROFInews North American Edition
About Us   |   Advertising Info   |   Site Map   |   Contact Us   |   Useful Sites   |   FREE Subscription   |   RSS
© 2008 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy
Please visit these other Reed Business sites