remote users supervise the same process at the same
time.
This module is based on a client-server
architecture (Applet-Servet/JSP) which allows to
distribute the computacional load of the application
between Tomcat Apache server and remote
machines.
An Applet is an application, written on Java,
which is executed on a Web browser. Using an
applet allows us to have a more complete interface
from the point of view of the client.
A Servlet is a Java class that is carried out on an
application server in order to answer clients
requests. The clients are Applet´s in the case of
SCADA Web.
A page JSP is a file that combines HTML targets
with script targets which belong to Java Server
Pages specification. The page JSP has a similar
aspect to HTML targets, but they are changed in
Servlet in order to compile and generate the
appropriated class files. The resulting file from the
transformation of page JSP is a combination of
HTML code cointained in JSP page and dynamic
content which is especified by JSP specification
targets. The exchange of information between
Applet and Servlet is carried out by HTTP
tunneling, in other words, transmitting binary
information using HTTP protocol.
Due to security obsession this protocol is usually
the only possible method of information
transmission.
3.2 Maintenance Module
This module is executed as a daemon checking
permanently that alarms have been configured to
take place. Alarm notification is carried out by
maintenance workers using two diferent methods
depending on configuration.
The first method consist of an alarm notification
using GSM/GPRS technology by SMS. It is
necessary that the computer where SCADA Web
application is installed, is connected to a
GSM/GPRS modem, normally through a serial port.
Communication between modem and SCADA Web
is made by standard AT commands. The library
command used to operate the computer ports is one
from the RXTX organization (RXTX Serial and
parallel I/O libraries supporting Sun’s CommAPI).
The second method consist of alarm notification
using e-mails. A SMTP server which is configurable
in SCADA Web Application is used. In this case the
library used is JavaMail from Sun Microsystems.
4 SCADA WEB
SCADA Web Application is executed within
applications servers. This application allows an
interaction between user and process by means of
three interfaces, HTTP, GSM/GPRS and e-mails.
The first interface, HTTP, makes it possible to
supervise the process in a remote manner from a
web browser.
The interface GSM/GPRS is oriented to offer an
instantaneous warning procedure reducing failure
correction times and the costs of industrial
processes.
Finally, the e-mail interface carries out the same
functions that GSM/GPRS interface, although it
allows to send more information. The main reason is
to provide redundant alarm warning procedures, so
that the user is notified as soon as possible. E-mail,
unlike GSM/GPRS, is used to notify less critical
alarms. The HTTP interface has been grouped inside
what has been called Supervision Module, while
GSM/GPRS interface and e-mails are in
Maintenance. Next, these modules are explained.
4.1 SCADA Web Configuration
As in other software applications, the configuration
of SCADA Web Application is done by an XML file
according to XML Schema called scadaweb.xsd.
This configuration file has four blocks well
differentiated: Parameters, Maintenance, Protocols,
and Users.
The reading frecuency of PLC´s variables in
“Paramaters Block” is normally about half a second.
The update frequency of the different databases of
the supervisory system is also configurated These
are called reports or historical data.
Inside the “Maintenance Block” the neccesary
basic parameters required by the above-mentionated
block are configurated. There are two sections in this
block: SMS and E-MAIL. In SMS Section the port
is configurated. It contains the modem GSM/GPRS
the PIN, the SMS Server phone and the alarms to
detect besides text message and the phone where it
will be sent.
The SMTP server (address and port), the sender
address, alarms to detect together with the content
and message addressee are configurated in E-MAIL
Section.
In Protocol Block the available protocols, in this
case OPC-DA, are added together with the adress
and port of OPC-DA server.
ICINCO 2007 - International Conference on Informatics in Control, Automation and Robotics
222