Professional Documents
Culture Documents
Enterprise
Integration &
System Migration
Traditionally, the automation system has been an isolated island—
not connected to anything. However, new methods of operation
require remote access for visualization and supervision of the
controls through a live link. This requires network access to the
automation system from other parts of the enterprise. Up-to-date
data from the automation system is required for activities and deci-
sion support at the execution and business levels. Therefore, the
automation needs connectivity to the upper levels. The control-level
network, therefore, has to be connected to the operations informa-
tion network and business logistics network (see Figure 5-1).
Web Visualization
Operator visualization is performed at the automation level by
operators at workstations on the control-level network in some
sort of control room, typically not from other places. However,
occasionally it may also be advantageous for other persons to
remotely monitor subsets of information from the process, produc-
tion line, or building from anywhere in the enterprise using a
simple Web browser. A Web browser is a “thin-client,” meaning no
pre-installed software or configuration is required (see Figure 5-2).
166 Software for Automation
Figure 5-2. Thin-Clients at the Execution and Business Levels Show the
Same Data as Thick-Clients at the Automation Level
Web Server
Web visualization for automation exists with different degrees of
sophistication. Plain Web visualization simply takes a static snap-
shot on demand of the regular graphics displays with values,
presenting them as an image in the Web client browsers. This thin-
client scheme does not provide dynamic display updates to contin-
uously show what is happening, and it does not enable any action.
Chapter 5 – Enterprise Integration & System Migration 167
Graphics that shall also be used for Web visualization shall use
VBScript or Java script instead of VBA script.
Web Configuration
The first step to set up a server for Web-based visualization is to
install a Web server such as the Microsoft Internet Information
Server (IIS). The next step is to Web-enable the graphic files. The
same files that display in the operator visualization’s native
displays are used to generate the files for Web visualization. The
graphics design tools contain Web publishing wizards for putting
the file in an HTML wrapper and for establishing references for
loading ActiveX components. as well as links to other graphic
pages. The graphics tools have wizards and templates to simplify
creation of a page where users can log into the system. The system
integrator does not need Web design or HTML knowledge to
publish Web-enabled pages. Lastly, the graphic files are uploaded
on the Web server.
With a great deal of time and effort, cryptographic keys can theo-
retically be cracked and thus publisher certificates and component
signatures may theoretically be falsified. Therefore, publishers
must renew their digital certificates from time to time. From the
digital signature, it is possible to determine if the signature was
made using an expired certificate or if the certificate has expired
since signing.
Data Feed
OPC, OLE_DB, and other COM client-server schemes are two-tier
solutions (i.e., a client-tier and a server-tier). This is a very
powerful and high performance solution that works well on a
private LAN such as the automation system’s control network.
However, when working between networks, such as the corporate
Intranet or public Internet, considerations must be made with
regard to security as well as the prospect of a very large number
of users. The two-tier scheme gives a direct connection to data,
exposing it to the outside. Because servers are open for access by
clients, the servers are not well protected against malicious or
unexpected behavior. See Chapter 10 for more information on
security.
Enterprise Integration
At the lower-end, a modern automation system integrates with
sensor and actuator hardware networked using fieldbus tech-
nology. At the upper-end, the automation system integrates with
execution software applications that, in turn, integrate with busi-
ness software applications. An MES proactively manages manu-
facturing processes, and an ERP system proactively manages busi-
ness processes. This is where automation software meets regular
IT. While the automation system handles visualization and
control, the MES does track & trace, performance analysis, main-
tenance, and document management. The ERP, in turn, handles
finance, order management, and logistics.
Level 3 - Execution
The execution level is the level immediately above the automation
system. The MES level may be tying together many underlying
automation systems for different areas, from different suppliers,
using different generations of technologies. An amalgam of
process control and factory automation, such as a pulp mill and a
paper machine, will be tied together at the MES level. Clearly
such integration is easier and less costly if the underlying automa-
tion systems are based on open technologies. Software applica-
tions at this level have a product focus and are concerned with
operations management. Servers and workstations at this level are
tied together using the operations information network that
connects to the underlying automation system through firewalls.
Large volumes of live data from the PAS must be passed to the
MES level for reporting. To secure the automation system, a fire-
wall is required at the network interface to the MES level. The use
of a firewall means Web technologies with poorer throughput
must be used. As a result, the MES function is often split into two
174 Software for Automation
• Detailed scheduling
• Resource management
• Production tracking
• Product definition management
• Product dispatching
• Production execution
• Production analysis
SQL Database
If a plant information management database is not already
present in the automation system, one needs to be added at the
MES level. An industrial database adds modules for alarm genera-
tion, alarm capture, trending, and so on, to a basic SQL database
server. Using alarm and trending modules based on OPC
collecting live data from multiple sources throughout the plant,
factory, or building becomes a simple point-and-click operation.
Use of OPC, in turn, means data can be captured for fieldbus and
Ethernet type networks and from DDE servers. If the database
provides ODBC and OLE_DB interfaces, reporting and analysis
tools can connect and extract the data much easier. These indus-
trial aspects are described in Chapter 4.
Reporting
Reporting software collects unmanageable volumes of incompre-
hensible data from diverse sources such as OPC servers as well as
logged data from databases, and turns it into knowledge. Data is
automatically aggregated, processed and formatted in a report
and then displayed, saved on disk, printed as hard copy, fax or
PDF files, published to Web servers, or emailed to selected recipi-
ents or the entire organization. Manufacturing intelligence reports
published to a Web server can be accessed from the corporate
Intranet or the public Internet using a regular Web browser
restricted using password security on a need-to-know basis.
Reporting tools let users navigate archived reports and manage
report generation aspects, such as trigger scheduling.
Portal
Reports are useless unless they are easy to locate. A portal server
makes it easier to publish, share, subscribe to, and find reports
and other information, since it is kept in one place. A portal is a
“digital dashboard” made up of different “Web parts,” with each
having a specific function such as access to reports, relevant links,
and company news. For example, a portal is a Web part container
(see Figure 5-8). The portal is viewed through a Web browser that
users can customize to view live or historical information.
Transaction Mapping
MES is not one application but many different applications. Infor-
mation for MES has to be aggregated from many different sources.
MES reports have to be disseminated to many different destina-
tions. Therefore, there will inevitably be many instances where
data has to be bridged from one source to another. The data
bridging required may be from an OPC server to database, Web
service, or other OPC server. Bridging may be from a database to
OPC or to another database. Data mapping is therefore a core
component of an MES solution. Transactions are mapped visually
from source to destination (see Figure 5-9). Transactions can be
triggered based on different criteria.
Level 4 - Business
The business level, or enterprise domain, is the level immediately
above the execution system. The business level may be
exchanging information with many underlying MES applications
Chapter 5 – Enterprise Integration & System Migration 179
Legacy Coexistence
One aspect of system integration is to connect the new system
with the old existing systems to permit the operators to handle
any control loop in the entire plant, factory, or building from the
same workstation. The various automation systems should inte-
grate at the automation level, not just at the MES level or plant
information database, in order to ensure operators can drive the
plant from a single dashboard.
Upgrading the console is not the complete solution, only the first
step. First, it is necessary to migrate to modern technology to
make improvements possible, and then add value on top of this
new technology (i.e., immediately after a migration little or new
capability has been added, but a platform for a suite of improve-
ments has been created). Once the system has been migrated to
OPC it becomes much easier to make future software additions.
Many enhancements can be done without upsetting running
production.
Also, keep in mind that one day the new system will inevitably be
the old system that has to be replaced at a future upgrade. Plan
for that future upgrade now by using a system based on open
technologies in order to ensure easy integration with the next
generation system. A system based on proprietary technologies
will have no connectivity with future systems and forces you into
a situation for which the same vendor can offer a migration solu-
tion without competing offers.
182 Software for Automation
Exercises
1. What is a “thin client”?