Web-Server; Server Side Includes (Ssi) - DEUTSCHMANN AUTOMATION UNIGATE CX-PROFINET 2Port - CANopen Manual

Universal fieldbus-gateway (mapping)
Table of Contents

Advertisement

Deutschmann Automation GmbH & Co. KG
9

WEB-Server

®
The UNIGATE
CX-PN 2Port-C4Map has an integrated web server on the PROFINET side. 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 29).
9.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
29.9.20
Fieldbus-Gateway 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
®
CX C4Map - PROFINET V. 1.0
WEB-Server
25

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UNIGATE CX-PROFINET 2Port - CANopen and is the answer not in the manual?

Table of Contents