10 Web-Server; Server Side Includes (Ssi) - DEUTSCHMANN AUTOMATION UNIGATE IC-PROFINET Instruction Manual

Universal fieldbus-gateway
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
DisplaySerial
DisplayMacID
DisplayDeviceName
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, Variablenname
34
Instruction manual UNIGATE
<!--#exec="command"-->
Instruction (incl.comment) is replaced by
Firmware version
Bootloader version
Serial number
Ethernet MAC address
Device name
Station type
Vendor ID
Device ID
®
UNIGATE
's IP address
IP subnet mask
IP address of the default Gateway
Instruction (incl. Commentary) is replaced with
content of variable
®
IC - PROFINET 1Port V. 3.4
Deutschmann Automation GmbH & Co. KG
27.11.20

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UNIGATE IC-PROFINET and is the answer not in the manual?

Table of Contents