Manual Web-Server Classic
Total Page:16
File Type:pdf, Size:1020Kb
Manual Web-Server Classic Document-No. 26/790; Edition E2; 18.05.2003 Saia-Burgess Controls Ltd. Content 0 Content 0 0.1 Document-History ........................................................................................... 0-4 0.2 Source list ....................................................................................................... 0-4 0.3 Trademarks..................................................................................................... 0-4 1 Introduction 1.1 Features.......................................................................................................... 1-1 1.2 Minimum requirements for the Web-Server .................................................... 1-1 1.3 Web-Server without hardware add-on components........................................ 1-1 1.4 HTML pages integrated in the Firmware ........................................................ 1-2 2 Structure and function 2.1 HTML-Server .................................................................................................. 2-1 2.2 Data-Server..................................................................................................... 2-1 2.3 HTML pages, images, graphics etc ................................................................ 2-1 2.4 Local directory................................................................................................. 2-2 2.5 Web-Builder .................................................................................................... 2-2 2.6 Web-Connect .................................................................................................. 2-3 2.6.1 Connection possibilities ................................................................................ 2-3 2.7 Web-Browser .................................................................................................. 2-4 3 Installation and Settings 3.1 Web-Builder .................................................................................................... 3-1 3.2 Web-Connect .................................................................................................. 3-4 3.3 Web-Browser and Network settings................................................................ 3-8 3.3.1 The PC’s proxy server................................................................................... 3-8 3.3.2 Modem connection........................................................................................ 3-8 3.3.3 The PC’s cache memory............................................................................... 3-9 3.4 Settings and Test of TCP/IP............................................................................ 3-11 3.4.1 TCP/IP........................................................................................................... 3-11 3.4.2 IP address for PC.......................................................................................... 3-12 3.4.3 PC name ....................................................................................................... 3-13 3.4.4 Test of the IP address and the TCP/IP protocol ............................................ 3-13 3.4.5 Finding IP address ........................................................................................ 3-14 4 Configuration and Administration 4.1 Web-Builder .................................................................................................... 4-1 4.1.1 Location of the Web-Server files................................................................... 4-2 4.1.2 Web-Builder structure ................................................................................... 4-2 4.1.3 Settings in the Web-Builder........................................................................... 4-4 4.1.4 Using Web-Builder ........................................................................................ 4-6 4.1.5 Web-Builder, after change is made in HTML page ....................................... 4-7 4.2 Web-Connect .................................................................................................. 4-8 4.2.1 Structure of Web-Connect............................................................................. 4-8 4.2.2 Settings ......................................................................................................... 4-8 4.2.3 Administration ............................................................................................... 4-9 4.2.4 Create and configure a station...................................................................... 4-10 4.2.5 Connecting the stations ................................................................................ 4-14 Manual Web-Server Classic│Doc. 26/790; Ed. E 2│18.05.2003 0-1 Saia-Burgess Controls Ltd. Content 4.2.6 HELP on-line................................................................................................. 4-16 4.3 Variable pages ................................................................................................ 4-16 0 4.3.1 Before use the Variable list ........................................................................... 4-16 4.4 Modifying entries in a variable page ............................................................... 4-20 4.5 Access to PCD data........................................................................................ 4-20 4.5.1 Access with Symbols in the tags................................................................... 4-21 5 Example Web-Project 5.1 Structure of pages........................................................................................... 5-1 5.2 PCD data point into the HTML Pages............................................................. 5-3 5.2.1 Page: input.htm............................................................................................. 5-3 5.2.2 Page: output.htm........................................................................................... 5-4 5.3 Importing the Web-Site into the PCD.............................................................. 5-10 5.4 Use of Web-Connect SW................................................................................ 5-12 6 Troubleshooting 6.1 Web-Connect .................................................................................................. 6-1 6.1.1 When launching Web-Connect ..................................................................... 6-1 6.1.2 No list page and no setup page .................................................................... 6-1 6.2 Variable List (varlist)........................................................................................ 6-1 6.3 PG5 error ........................................................................................................ 6-2 6.4 Web-Builder .................................................................................................... 6-2 7 Appendix 7.1 How to create html pages without editor......................................................... 7-1 7.2 CGI (Common Gateway Interface) of the Web-Server ................................... 7-1 7.2.1 Readval.exe .................................................................................................. 7-1 7.2.2 Writeval.exe .................................................................................................. 7-2 7.2.3 Ordervalues.exe............................................................................................ 7-2 7.2.4 Readfile.exe .................................................................................................. 7-3 7.3 HTML coding................................................................................................... 7-4 7.3.1 Writing values in the PCD ............................................................................. 7-4 7.3.2 Enter the Password....................................................................................... 7-4 7.4 Dynamic data update in the html page ........................................................... 7-5 7.4.1 The concept .................................................................................................. 7-5 7.4.2 Starting page................................................................................................. 7-6 7.4.3 Update page ................................................................................................. 7-6 7.4.4 Force page.................................................................................................... 7-7 7.4.5 Display page ................................................................................................. 7-8 7.5 General principles of Web-Server technology ................................................ 7-10 7.5.1 General notes concerning Web-Servers....................................................... 7-10 7.5.2 TCP/IP protocol............................................................................................. 7-10 7.5.3 IP addressing ................................................................................................ 7-11 7.5.4 Client-Server-Technologie............................................................................. 7-12 7.5.5 DNS - Domain Name Service ....................................................................... 7-12 7.5.6 Routing and gateways .................................................................................. 7-13 7.6 General principles of HTML ............................................................................ 7-14 7.6.1 Mark up elements ........................................................................................