Manual Manual Web-Server
Total Page:16
File Type:pdf, Size:1020Kb
Manual Manual Web-Server xx7 Controls Division Document-No. 26/775; Edition EN05; 2014-03-26 Saia-Burgess Controls AG Content 0 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 Minimum requirements for the Web-Server .................................................... 1-1 1.2 Features .......................................................................................................... 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-3 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-2 3.3 Web-Browser and Network settings ................................................................ 3-3 3.3.1 The PC’s proxy server ................................................................................... 3-3 3.3.2 Modem connection ........................................................................................ 3-3 3.3.3 The PC’s cache memory ............................................................................... 3-4 3.4 Settings and Test of TCP/IP ............................................................................ 3-6 3.4.1 TCP/IP ........................................................................................................... 3-6 3.4.2 IP address for PC .......................................................................................... 3-7 3.4.3 PC name ....................................................................................................... 3-8 3.4.4 Test of the IP address and the TCP/IP protocol ............................................ 3-8 3.4.5 Finding IP address ........................................................................................ 3-9 4 Configuration and Administration 4.1 Web-Builder .................................................................................................... 4-1 4.1.1 Web-Builder structure ................................................................................... 4-1 4.1.2 Using Web-Builder ........................................................................................ 4-3 4.1.3 Include HTML pages in user program ........................................................... 4-4 4.2 Web-Connect .................................................................................................. 4-6 4.3 Variable pages ................................................................................................ 4-7 4.3.1 Before use the Variable list ........................................................................... 4-7 4.4 Description of the PCD media ......................................................................... 4-8 4.4.1 Modifying entries in a variable page.............................................................. 4-9 4.5 Access to PCD data ........................................................................................ 4-9 4.6 Configuration of the Web-Server with the Saia xx7 I/O-Builder ...................... 4-11 4.6.1 Definition of serial port .................................................................................. 4-12 Manual Web-Server xx7│Document 26/775; Ed. EN05│2014-03-26 0-1 Saia-Burgess Controls AG Content 4.6.2 Modem .......................................................................................................... 4-12 4.6.3 Definition of the Web-Server ......................................................................... 4-13 0 4.7 Configuration and definition of the Web-Server in the user program .............. 4-14 4.7.1 Definition of serial port .................................................................................. 4-14 4.7.2 Modems ........................................................................................................ 4-14 4.7.3 Definition of Web-Servers ............................................................................. 4-16 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 Link pages ....................................................................................................... 5-10 5.4 Generation of DBs ......................................................................................... 5-12 5.5 Insertion of HTML pages in the user program ................................................ 5-13 6 Troubleshooting 6.1 Variable List (varlist) ........................................................................................ 6-1 A Appendix A A.1 How to create html pages without editor ......................................................... A-1 A.2 CGI (Common Gateway Interface) of the Web-Server ................................... A-1 A.2.1 Readval.exe .................................................................................................. A-1 A.2.2 Writeval.exe .................................................................................................. A-2 A.2.3 Ordervalues.exe ............................................................................................ A-2 A.2.4 Readfile.exe .................................................................................................. A-3 A.3 HTML coding ................................................................................................... A-4 A.3.1 Writing values in the PCD ............................................................................. A-4 A.3.2 Enter the Password ....................................................................................... A-4 A.4 Dynamic data update in the html page ........................................................... A-5 A.4.1 The concept .................................................................................................. A-5 A.4.2 Starting page ................................................................................................. A-6 A.4.3 Update page.................................................................................................. A-6 A.4.4 Force page .................................................................................................... A-7 7.4.5 Display page ................................................................................................. A-8 A.5 General principles of Web-Server technology ................................................ A-10 A.5.1 General notes concerning Web-Servers ....................................................... A-10 A.5.2 TCP/IP protocol ............................................................................................. A-10 A.5.3 IP addressing ................................................................................................ A-11 A.5.4 Client-Server-Technologie ............................................................................. A-12 A.5.5 DNS - Domain Name Service ....................................................................... A-12 A.5.6 Routing and gateways................................................................................... A-13 A.6 General principles of HTML ............................................................................ A-14 A.6.1 Mark up elements.......................................................................................... A-14 A.6.2 Cross-linking with hyperlinks ......................................................................... A-14 A.6.3 Software-independent plain text.................................................................... A-15 A.6.4 Universal in application ................................................................................. A-15