Http Server Functions/ Web Pages
FP Web-Server V2.11
94
Please note that the string at DT600 needs to be initialized by the PLC program before data can
be stored there. Also see second note in "Notes on Strings", Defining Input Fields for PLC Data
on HTML Pages (see "Defining Input Fields for PLC Data on HTML Pages" on page 87).
7.1.14 Automatic Page Reload upon Submitting PLC Data
If the html file "s_m_done.htm" is uploaded to the FP Web-Server
before you start the unit
;
the html code of this file will be reloaded to the browser after submitting PLC data. The following
default window will be replaced by displaying the file "s_m_done.htm".
Example 1: Automatic refresh of an html page after sending PLC data
Enter the following lines in the file "s_m_done.htm":
<html><head><title>DONE</title></head><body>
<script language="JavaScript">
opener.location.reload(true);
window.close();
</script></body></html>
Comments:
•
This script also automatically closes the default window OK or DONE
•
Find a copy of this file in \\Example4\http in your installation directory
•
Using this file you can execute Java Script applications after sending PLC data
•
The file "s_m_done.htm" may not contain PLC data fields, e.g.
{DT100_6_d}
•
Restart
the IEC Configurator after you have modified the file "s_m_done.htm". (When
modifying other htm files the unit does not have to be restarted.)
Example 2: Automatic refresh of an html page after sending PLC data but without
closing the OK window automatically
Using this script you have to click [OK] to close the OK window
<html><head><title>DONE</title></head><body>
<p align="center"><font face="Arial"><strong><big>FP
Web-Server</big><br>
</strong><small>Data values transfered to PLC.</small></font></p>
<form><div align="center"><center><p>
<input type="button" value="OK" + " onClick="self.close()"></p>
</center></div></form>
Содержание FP Web-Server
Страница 3: ......
Страница 11: ......
Страница 12: ...Chapter 1 Getting Started...
Страница 21: ...Getting Started FP Web Server V2 11 10 1 6 FP Web Server Block Diagram...
Страница 23: ......
Страница 24: ...Chapter 2 Hardware Description...
Страница 41: ......
Страница 42: ...Chapter 3 First Steps...
Страница 55: ......
Страница 56: ...Chapter 4 Configurator Software...
Страница 61: ......
Страница 62: ...Chapter 5 Base Configuration...
Страница 66: ...Chapter 6 Email Setup...
Страница 80: ...Chapter 7 Http Server Functions Web Pages...
Страница 104: ...FP Web Server V2 11 7 1 Details on the FP Web Server s Web Page Functions 93 TEST HTM Displayed in the Browser...
Страница 113: ......
Страница 114: ...Chapter 8 Ethernet RS232C Ports...
Страница 119: ......
Страница 120: ...Chapter 9 Dial In Setup for PPP Server...
Страница 125: ...Dial In Setup for PPP Server FP Web Server V2 11 114...
Страница 127: ...Dial In Setup for PPP Server FP Web Server V2 11 116...
Страница 139: ......
Страница 140: ...Chapter 10 Dial Out Setup for PPP Client...
Страница 150: ...Chapter 11 NTP Server for PLC Clock Synchronization...
Страница 153: ......
Страница 154: ...Chapter 12 Modbus Functions...
Страница 162: ...Chapter 13 IEC 60870 Functions of the FP Web Server...
Страница 168: ...Chapter 14 Java Applet Library MEW JAR...
Страница 170: ...Chapter 15 Additional Information...