AJAX cleans up HMI performance

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" applica...

07/01/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.




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.
Big Data and IIoT value; Monitoring Big Data; Robotics safety standards and programming; Learning about PID
Motor specification guidelines; Understanding multivariable control; Improving a safety instrumented system; 2017 Engineers' Choice Award Winners
Selecting the best controller from several viewpoints; System integrator advice for the IIoT; TSN and real-time Ethernet; Questions to ask when selecting a VFD; Action items for an aging PLC/DCS
This digital report will explore several aspects of how IIoT will transform manufacturing in the coming years.
Motion control advances and solutions can help with machine control, automated control on assembly lines, integration of robotics and automation, and machine safety.
This article collection contains several articles on the Industrial Internet of Things (IIoT) and how it is transforming manufacturing.

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

Future of oil and gas projects; Reservoir models; The importance of SCADA to oil and gas
Big Data and bigger solutions; Tablet technologies; SCADA developments
SCADA at the junction, Managing risk through maintenance, Moving at the speed of data
Automation Engineer; Wood Group
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
click me