The use and configuration of this software requires a reasonable working knowledge of the
involved protocols and the application in which they are to be used. For this reason, it is important
that those responsible for implementation satisfy themselves that the combination will meet the
needs of the application without exposing personnel or equipment to unsafe or inappropriate
working conditions.
This manual is provided to assist the user. Every attempt has been made to assure that the
information provided is accurate and a true reflection of the product's functionality. In order to
assure a complete understanding of the operation of the product, the user should read all
applicable ProSoft documentation on the operation of the module and protocol driver.
Under no conditions will ProSoft Technology, Inc. be responsible or liable for indirect or
consequential damages resulting from the use or application of the product. Reproduction of the
contents of this manual, in whole or in part, without written permission from ProSoft Technology,
Inc. is prohibited.
Information in this manual is subject to change without notice and does not represent a
commitment on the part of ProSoft Technology, Inc. Improvements and/or changes in this manual
or the product may be made at any time. These changes will be made periodically to correct
technical inaccuracies or typographical errors.
Your Feedback Please
We always want you to feel that you made the right decision to use our products. If you have
suggestions, comments, compliments or complaints about the product, documentation or support,
please write or call us.
ProSoft Technology, Inc.
1675 Chester Avenue, Second Floor
Bakersfield, CA 93301
(661) 716-5100
(661) 716-5101 (Fax)
http://www.prosoft-technology.com
This document contains a description of the facilities offered on the Web Server
available on all network-enabled ProLinx Communication Gateways, Inc.
modules. The server provides remote interfacing of the module with any Web
browser to user constructed HTML pages that are present on the module. The
steps in implementing this feature are as follows:
1 Set up the network parameters in the module's WATTCP.CFG file found in
the root directory.
2 Design your Web-page stack on paper and determine the database elements
required on each page.
3 Build a set of Web pages to interface with the virtual database of the module.
4 Test the Web pages built to be certain all links and image files are present.
5 Download all files required to the C:\ (root) directory on the module. You may
need to remove the existing set of files before downloading the new file set.
6 If the application program on the unit is not running, restart the module by
pressing the Reset Pushbutton.
7 Open the Web browser on your computer and connect to the home page of
the module. You can name the home page anything you want, but most home
pages are named INDEX.HTM. If you only supply the IP address as the URL
in your browser, the module will default to the INDEX.HTM page. Therefore, it
is recommended that the home page be named INDEX.HTM.
8 Test out your Web pages to be certain all links and image files are present.
9 Check all data entry fields on forms in the Web pages to be certain the data is
posted to the virtual database of the module.
If you do not have any familiarity with HTML, there are many good books and
software packages that can aid in your development. You should be able to start
with the Web pages provided by ProLinx Communication Gateways, Inc. and
customize them for your application. The best method is to start with simple
pages and advance to more complex pages after you understand the HTML
language.
ProSoft Technology, Inc. Page 5 of 35
September 28, 2005
Web Server Introduction
Page 6 of 35 ProSoft Technology, Inc.
September 28, 2005
Functional Specifications Web Server
2 Functional Specifications
In This Chapter
¾ Ethernet Port Specifications..................................................... 7
2.1 Ethernet Port Specifications
Physical Connection
Ethernet
Web Server
General
Web pages HTML file max size: 8 MB
Data Insertion Tags
POST Functionality
Type Specifications
E-Mail Client
General Module sends user defined e-mail reports to specified e-mail server.
Standard 10Base-T connector. Uses standard cable to connect to hub,
or crossover cable to connect directly to PC
The module contains a web server capable of delivering factory supplied
web pages and customer created web pages.
Remote control of module's database through Web pages
Support of Password security for data altering operations (POST
command)
Use standard web editing tools to create the web pages
Supports database access from bit level to float data types
Insert dynamic data from internal database registers
Special tags have been added to web server to support insertion of
register values from internal database into web pages. These include:
Module Name
Module IP Address
Data
Time
Data(w/ 'C' language formatting options)
Binary Triggered Text Message
Binary Triggered Images
Special names have been defined in the unit to permit database
alteration using Web pages and the FORM command.
E-mails are triggered based on user configured register/value
combinations
E-mail reports can be embedded with date/time and data values from
internal database
ProSoft Technology, Inc. Page 7 of 35
September 28, 2005
Web Server Functional Specifications
Physical Connection
FTP Server
General Transfer/view HTML files
Transfer/view e-mail files
Supports one (1) client connection
FTP initiated Warmboot of module
FTP initiated Coldboot of module
Supported FTP
Functionality
HTML File Transfer
Directory Operations
File Viewing
File Removal
Page 8 of 35 ProSoft Technology, Inc.
September 28, 2005
Ethernet Port Configuration: wattcp.cfg Web Server
3 Ethernet Port Configuration: wattcp.cfg
In This Chapter
¾ Overview and Purpose of wattcp.cfg file .................................. 9
¾ Downloading wattcp.cfg file to the ProLinx Unit ..................... 10
This section of the documentation describes the configuration data required by
the communication module for a TCP/IP network connection. It is important that
the module be configured accurately for reliable and correct operation.
3.1 Overview and Purpose of wattcp.cfg file
All configuration information for the module's Ethernet port is stored in a text file
with the name wattcp.cfg. The file contains the configuration for the IP address,
as well any network specific gateways, etc. configuration that must be known by
the TCP/IP driver.
A working example wattcp.cfg file is shipped with the module and should be used
as a starting point for configuration. Use any text editor you are familiar with to
edit the data in the file. When you have completed editing the file, download it to
the module using the FTP capability of the module (See FTP Section of this
manual for reference purposes).
3.2 Default wattcp.cfg File
# ProLinx Communication Gateways, Inc.
# Default private class 3 address
my_ip=192.168.0.100
# Default class 3 network mask
netmask=255.255.255.0
# The gateway I wish to use
gateway=192.168.0.1,192.168.0.0,255.255.255.0
Warning: If the field of my_ip does not exist, or if the wattcp.cfg file is
corrupted or does not exist, the module will not function.
ProSoft Technology, Inc. Page 9 of 35
September 28, 2005
Web Server Ethernet Port Configuration: wattcp.cfg
3.3 Editing the CFG file
You can use any text editor, such as "Notepad" to edit the wattcp.cfg file. The
simplest method for getting started is to download the default file from the web or
from the module itself. Once on the PC, open the file in the text editor and alter
as required for your network and application.
3.3.1 Comment Records and Editing Hints
Any record that begins with the '#' or a ';' character is considered to be a
comment record. These records can be placed anywhere in the file. These lines
are ignored in the file and can be used to provide documentation within the
configuration file. Liberal use of comments within the file can ease the use and
interpretation of the data in the file.
3.4 Section Descriptions
Section
Heading
my_ip= This is the IP addresses assigned to the unit.
netmask= This is the network mask to be used for your particular network.
gateway=
Description
This is the IP address of the gateway for your network. If you do not supply
this, the default is used. So for example if using an IP address of
192.168.0.100 your gateway statement would default to:
Note: The subnet must be specified for class B subnets
3.5 Downloading wattcp.cfg file to the ProLinx Unit
After editing the configuration file, save it to the disk on the local PC, and then
execute the instructions in the following discussion to download the file to the
ProLinx unit.
Page 10 of 35 ProSoft Technology, Inc.
September 28, 2005
Ethernet Port Configuration: wattcp.cfg Web Server
3.5.1 Hardware Setup to Download
Refer to the following illustration to connect your PC to the ProLinx module using
standard Ethernet cables through an Ethernet hub. This configuration will allow
you to transfer configuration files between the module and your PC.
Default IP = 192.168.0.100
Default IP = 192.168.0.100
Connect to 18-36 VDC
Connect to 18-36 VDC
Power supply
Power supply
PC running
PC running
FTP Client
FTP Client
Software such
Software such
As WS_FTP.
As WS_FTP.
Network
Network
HUB
HUB
ProSoft Technology, Inc. Page 11 of 35
September 28, 2005
Loading...
+ 24 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.