Académique Documents
Professionnel Documents
Culture Documents
Application
Data loggers use OPC-DA and OPC-A&E to access data from the
underlying automation hardware. Viewers and reporting tools
may use OPC-HDA to access logged process data. Logged alarms
and events may be accessed using, for example, OLE_DB.
Inferential Measurement
Inferential measurement was previously performed in proprietary
application stations that needed expensive drivers to interface with
the DCS hardware, or through the historian. Inferential measure-
ment is now performed in software with OPC connectivity.
Chapter 7 – Application 201
Alarm Management
In the past, consolidating and managing alarms from package
units and skids such as SIS, APC, and compressors to the main
automation system using software or communication was next to
impossible. The only hope was if all subsystems came from the
same supplier, which was never the case. Often alarm integration
202 Software for Automation
Figure 7-2. Printer Port Alarm Capture (Screenshot: Matrikon OPC A&E
Historian)
Auto-Tuner
In the past, each brand of PID controller had its own auto tuning
software, if it had any at all. Most of the time tuning had to be
done manually. If a plant had several different controllers, each
one required a different auto tuning software. Auto tuning soft-
ware with OPC interface is now available.
OPC Infrastructure
Several specialized OPC applications exist to meet specific system
integration needs. These infrastructure applications do not
generate data; they do not consume data, either. They are there
simply to ensure applications can be integrated.
OPC Bridge
In the past, the only means to integrate subsystems was through
primitive hardwiring of on/off and analog signals. The amount of
data that could realistically be brought across from one system to
the other was very limited. In rare cases, it was possible to use
digital communication if both ends supported a common protocol
such as Modbus/RTU.
The bridge uses OPC to read values from the OPC server of one
subsystem and to write it to another subsystem, or the main
automation system, using its OPC server. See detailed discussion
in Chapter 4
OPC Troubleshooting
Sometimes software vendors make slightly different interpreta-
tions of the OPC specification, leading to compatibility problems
between clients and servers. Although such differences and subse-
quent problems are minimized through compliance testing and
multivendor workshops, there may be residual differences which
are not caught. Most importantly, there are many non-tested
applications in the market. An OPC sniffer is a troubleshooting
tool that can be used in cases where applications do not connect.
The OPC sniffer appears to the OPC clients as just another OPC
server. Check compatibility by creating a test tag in the client.
When browsing for the data from the OPC client, simply pick the
OPC sniffer from the list of OPC servers. The OPC sniffer will in
turn permit you to select the actual target server (Figure 7-5).
Figure 7-5. A Sniffer Logs All Interactions between Client and Server
(Screenshot: Matrikon OPC Logger)
OPC Tunneller
OPC and DCOM in general do not work well on large WANs
such as the corporate Intranet, the public Internet, or slow and
unreliable communication links. For these applications it is neces-
sary to “tunnell” OPC using another protocol that permits adjust-
ment of time-out values. An OPC tunneller gets round DCOM
software security settings and can also use firewall friendly trans-
port protocols such as HTTP to deal with network security
(Figure 7-6). See detailed discussion in Chapter 3.
Chapter 7 – Application 207
Figure 7-6. Tunneller Makes all OPC Servers Available Overcoming DCOM
Restrictions (Screenshot: Matrikon OPC Tunneller)
OPC Redundancy
Since many software applications required for the efficient opera-
tion of plants and factories rely on data accessed through OPC,
the OPC infrastructure must have a high availability. Industrial
hardware typically has redundant networks and can be fitted with
redundant OPC servers. Should one of the servers fail, OPC clients
use OPC data marshalling applications to automatically pick
values from a functioning OPC server in a hot-standby redundant
pair (Figure 7-7). See detailed discussion in Chapter 10.
OPC Funnel
An OPC funnel makes multiple OPC servers appear as one single
server. An OPC funnel has to be used when an OPC client appli-
cation designed or licensed to only support a single OPC server is
required to get data from multiple sources. The OPC funnel appli-
cation uses OPC to get data from the different underlying OPC
servers. The OPC client, in turn, gets its data from the OPC funnel
application.
Batch Execution
Many products such as food and specialty chemicals are manufac-
tured in batches, rather than continuously. In the past only low-level
controls were automated, such as those controlling temperature and
loading specified amounts of ingredients. Temperature set point and
ingredient quantities, for example, were set manually for each batch,
depending on product and batch size. Product transfer between
processing equipment required lots of human intervention. Simple
batch automation produces the same product all the time using the
same recipe, processing equipment and the same batch size.
The batch execution software uses OPC-DA for passing set point
and other parameters to the underlying Phase logic. OPC-A&E is
used for capturing alarms during the batch execution and OPC-
HDA is used for batch history. A dedicated OPC-Batch specifica-
tion exists that includes specific namespace based on IEC 61512-1
(ANSI/ISA-88.01-1995) among other features.
Excel
In the past, data was manually collected from the automation
system and keyed into spreadsheets for analysis and reporting.
Data was not timely and only represented a snapshot of the plant
or factory as it was at some point in the past. The whole process
was tedious and error-prone. Data collection is now done in soft-
ware with OPC connectivity.
The OPC-to-Excel link gets the data from the underlying automa-
tion system hardware or database through OPC client-server
connection and pipes the data into the cells of the spreadsheet
(Figure 7-9). A configuration wizard eliminates the need to manu-
ally write DDE topics, etc.
Control
Hardware controllers are chosen to perform most basic automa-
tion tasks, because of their high reliability – particularly for
process control that demands very high availability. Control may
now also be done in software with OPC connectivity.
Other Software
In addition to all the software applications in the above categories,
there are a large number of unique and specialized applications for
all conceivable functions that use OPC to interface with other appli-
cations. In many cases a third party provides the OPC client inter-
face to someone else’s software. Applications include, for example:
Data Servers
OPC-DA and OPC-A&E servers are available that capture both
live data as well as alarms and events and that work with inter-
face hardware for all kinds of automation protocols, legacy control
systems, and servers for specialized functions.
Automation Protocols
OPC servers and interface converter solutions are available for all
major automation protocols. Network protocols supported by
OPC servers include, but are not limited to:
SNMP
Most Ethernet infrastructure devices such as LAN switches and
computers, as well as many automation devices, support the
Simple Network Management Protocol (SNMP). A SNMP OPC
server makes it possible to display network loading statistics and
health in operator workstation screens, such as in a system status
overview page. Performance can also be logged and alarmed. The
SNMP OPC server is explained in Chapter 9.
Universal
A universal OPC server can be configured to accept data from
hardware based on simple protocols. Examples of these include
weighing scales, barcode readers, and GPS (Global Positioning
Systems). The universal OPC server is explained in Chapter 4.
Simulator
An OPC simulator generates selected sequences of data in
selected data types (Figure 7-12). Typical sequence types include
sine wave, saw tooth, square wave, ramp, etc. The values can be
used for various simulation and testing purposes, in lieu of actual
hardware, or for training purposes.
Computer Resources
If a computer runs low on resources such as memory, disk space,
or processor time, critical applications such as OPC servers and
loggers may perform unsatisfactorily, negatively affecting other
software that relies on these applications. An OPC server for the
Windows performance monitor makes it possible to access a huge
amount of metrics on computer resources, CPU performance,
network throughput, and service activities from the machine (see
Figure 7-13). This includes information that can be seen in the
Windows task manager, and much more. The information can, of
course, be displayed in system status overview screens, as well as
be logged and alarmed. In fact, the performance monitor in
conjunction with trending is a powerful troubleshooting tool.
Figure 7-13. Filtered List of Tags in Windows Performance Monitor OPC Server
DDE Gateway
Some older applications and software not tailored specifically for
automation do not have OPC client interfaces but do support
DDE. Similarly, older hardware as well as hardware not tailored
specifically for automation do not come with an OPC server, but
do have a DDE server. To use such software and hardware in a
OPC-based system it is necessary to use a DDE gateway that
converts from OPC to DDE or from DDE to OPC. DDE gateways
are explained in greater detail in Chapter 4.
Panel-Mounted Displays
Industrial displays can be mounted in the front of control panels
in the field or on the factory floor. These displays may be manu-
factured from stainless steel and are splash proof to IP65 and can
be mounted indoors or outdoor (see Figure 7-14).
Touchscreen
Touchscreen is, in fact, a pointing device, but it is built into an
overlay on the display. Several different technologies exist such as
resistive, acoustic wave, infrared, and electrostatic. The most
common type is resistive. A touchscreen interfaces just like a
mouse and is, therefore, supported by an operating system, like
Windows, simply using a driver.
Multiple Screen
Operators need a large screen area to carry out tasks effectively.
Particularly during abnormal situations, it may be required to view
all pertinent information at the same time without having to spend
time navigating screens and waiting for displays to load. Oper-
ating systems such as MS-Windows support several windows
across multiple screens concurrently. For example, one screen can
be dedicated to alarm annunciation or process mimic, while the
other is used for general work. Screens are arranged vertically,
joined horizontally, or completely separate (see Figure 7-15).
Display Wall
A display wall is particularly well suited for displaying large-scale
information such as a mimic of a process plant, factory or a hotel
building. Geographic maps for power lines or well sites, as well as
other topological information, is best shown on large screens.
Display walls use rear projection and are available in panel sizes
of 40-100 inches, which are designed to form display walls of any
size, in a linear or curved setup (see Figure 7-16). A wall is
composed of a matrix of rear projection modules that join hori-
zontally and stack vertically, forming a wall of any size with
screen stitching that results in a nearly imperceptible optical seam.
Chapter 7 – Application 217
Sanitary
The pharmaceutical industry and certain other application areas
require display on the plant floor to be designed to not trap dirt
and to make cleaning possible. Sanitary displays are made from
stainless steel, mounts flush, and are tightly sealed. Keyboard and
pointer may be integrated (see Figure 7-18).
Industrial Keyboard
Two primary types of industrial keyboards are available:
membrane key or rubber key. The membrane keyboard is easier to
clean but has less tactile feel. Keys may be illuminated. Keyboards
may be manufactured from stainless steel and may come with
integrated pointer (see Figure 7-19).
The pointing device may be integrated with the display and keyboard.