|
RIDDER'S
Terlicht
45
9451
Kerksken
Belgium
phone:
00-32-53-833512
fax:
00-32-53-840994
e-mail
ridders.pack@pandora.be

The right support
and after sales service. This is what we give you day
after day and this 24/24 and 7/7

|

You can ask your questions direct by using ICQ when
we are online. Our ICQ number is 163202313.
If
you do not have ICQ, please download it for free at
www.icq.com
Creating Your Own Java GUI
Applet
Besides using the Internet TRiLOGI software to
remotely program, monitor or control the M-series super PLCs, you can also write
your own Java applet to provide a Graphical User Interface (GUI) for data
acquisition, remote monitoring, or controlling the PLCs via the Internet.
A Java applet can be loaded from a remote TLServer
and executed in any web browser without the need to install the software on a
local PC. This allows you to create a program for controlling your equipment
that you can execute from any cyber-cafe or at public library using the web
browser.
We have made it extremely simple for users to write
their own Java applets by providing an API library to our PLC users.
Our Java API class library
can greatly simplify your job of logging into the PLC webserver ("TLServer") and
controlling the PLC via the Internet. For example, a simple applet that is shown
on the left picture below, which can continously monitor the PLC's internal
clock and the logic states of the input #1 and a push button for toggling the
output #1 can be created quickly. You can click on the picture or click here to see the source code
listing
 |
Note: Unfortunately the Pocket
Internet Explorer on Windows CE currently does not support Java applet. Hence
Pocket IE is unable to remotely fetch a Java applet unless you have installed a
3rd party patch (such as Jeode JVM).
However, you can create Java
"application" using the same Java API comm library and execute it on a PDA as
shown in right photo. We created this Java GUI app on a PC and copied it to a HP
Jornada pocket PC unmodified. The PDA now have the same capability as the
applet on the left and we are able to remotely monitor/control the PLC using
this PDA with a wireless network card. |
 Click for enlarged photo.
| |