User Manual

ADAM-6000 Series User Manual 108
5.4 ADAM-6000 Web Server
ADAM-6000 I/O modules all feature a built-in web server that can be
accessed using a standard web browser. web service allow programmers
to create powerful, custom web pages to using the web programming lan-
guages. Remote computers or devices can monitor and control the I/O
status on ADAM-6000 modules remotely through a web browser. There
is a default built-in web page on ADAM-6000 modules. You can modify
the web page using HTML5 or a Java Applet.
The default settings of the HTML version does not support HTML5, you
can download a new file from the Advantech website to use HTML5. If
you use a Java Applet to modify your module, you need to install Java
Virtual Machine to browse the web page on ADAM-6000 modules. There
is a further instruction in Section 5.5 for Java Applet implementation.
You can simply type the IP address to connect to your ADAM-6000 mod-
ule in web browser. There will be one dialog window asking you for the
password. After you have typed the correct password, you can start to
monitor or control I/O on ADAM-6000 modules.
Note: When you want to browse the web page, you need to enter user
name (root) and password (00000000).
5.5 Java Applet Customization
5.5.1 Introduction
In this section, we will tell you the way to create an applet web page to
monitor the status of ADAM-6060 through the Web browser. To write an
input processing applet, you need to know how to define a class with mul-
tiple methods. To understand how an applet processes input data, you
must learn what events are and how events are handled in Java programs.
We don’t intend to teach you how to write the applet because it is beyond
the scope of our discussion here. Instead, we will provide you with a
small-but-useful example as well as the relevant class, methods and sug-
gested template. We refer the interested user who is intended to know
more details to the following web site
http://java.sun.com/docs/books/tutorial/
To write an applet that is capable of processing ADAM-6060 input data
in a very short time, we provide you with a class which includes all neces-
sary methods. The kernel functions/methods to communicate with our
product and display the current, updated status has been fine-tuned for