Web-Server; Server-Side-Includes (Ssi) - DEUTSCHMANN AUTOMATION UNIGATE IC-EtherNet/IP 2Port Instruction Manual

Universal fieldbus-gateway
Hide thumbs Also See for UNIGATE IC-EtherNet/IP 2Port:
Table of Contents

Advertisement

WEB-Server

10 WEB-Server
®
This UNIGATE
has an integrated web server. The delivery condition has a HTML-Page in the
file system, which shows the system parameters of the device. 
The Web Page can be changed by the customer as desired, or replaced with a self-created web
page. It can be written into the file system via FTP (see chapter 9).
10.1

Server-Side-Includes (SSI)

„Server-Side Includes" functionality (SSI) is available in order to generate dynamic web pages,
which for example can portray process data.
The web server only scans the index.html file and files with the extensions "shtml" or "sml" for
SSI directives. In all other HTML files the SSI directives are ignored. 
If a client is asking for a web page with SSI directives the web server replaces the directives with
the web server's instructions with the appropriate values and sends the generated page. 
SSI directives are listed within HTML comments and have the following syntax:
The following commands are a selection of supported commands.
A complete list of all commands can be found in the Online help of the Protocol Developer.
Command
DisplayFWVersion
DisplayBLVersion
DsiplaySerial
DisplayMacID
DsplayDeviceName
DisplayStationName
DisplayStationType
DisplayVendorID
DisplayDeviceID
DisplayIP
DisplaySubnet
DisplayGateway
To issue any process data, additional Script variables can be given to the Web-Server with the
Script-Commands „SetHTMLOutputString". The command assigns the variable a name,
which then can be used in the following command:
Command
DisplayScriptVar, variable
32
Instruction manual UNIGATE
<!--#exec="Command"-->
Instruction (incl. Commentary) is replaced with
Firmware version
Bootloader version
Serial number
Ethernet MAC address
Device name
Station type
Vendor ID
Device ID
IP address des UNIGATE
IP subnet mask
IP address default gateway
Instruction (incl. Commentary) is replaced with
Content of variable
®
IC - EtherNet/IP 2Port V. 1.8
Deutschmann Automation GmbH & Co. KG
®
8.2.16

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UNIGATE IC-EtherNet/IP 2Port and is the answer not in the manual?

Table of Contents