
Http Server Functions/ Web Pages
FP Web-Server V2.11
98
<?xml version="1.0" encoding="ISO8859-1"?>
<Production xmlns:xsi="http://www.w3.org/2001/XMLSchema-Instance">
<Unit>
<Type>{DT10_10_s}</Type>
<Produced>{DT18_6_u}</Produced>
<Rejected>{DT19_6_u}</Rejected>
<State>{R11_off_on}</State>
</Unit>
</Production>
2. The XML file "Producn.xml" is transferred to the FP Web-Server unit via the FP
Web-Configurator Tool. In this example we use an FP Web-Server unit with the IP
address 199.199.26.52.
3. A TCP client can request the FP Web-Server unit's http server to deliver the XML file
"Producn.xml" (including current PLC data), which takes on the form:
http://199.199.26.52/plc?Producn.xml
This file can be read by an Internet browser or a user application program.
4. The client will receive the following resulting XML file, for example:
<?xml version="1.0" encoding="ISO8859-1"?>
<Production xmlns:xsi="http://www.w3.org/2001/XMLSchema-Instance">
<Unit>
<Type>Standard </Type>
<Produced>332 </Produced>
<Rejected>54 </Rejected>
<State>off</State>
</Unit>
</Production>
In this example the following PLC data was currently available on the PLC:
String at DT10 = "Standard"
Integer value at DT18 = 332"
Integer value at DT19 = 54"
Internal relay R11 state = false
For programming examples in C++ and Java to read an XML file from the FP Web-Server refer
to the online help under the keyword "Appendix K) Programming Samples: Access to the FP
Web-Server / PLC via TCP".
Summary of Contents for FP Web-Server
Page 3: ......
Page 11: ......
Page 12: ...Chapter 1 Getting Started...
Page 21: ...Getting Started FP Web Server V2 11 10 1 6 FP Web Server Block Diagram...
Page 23: ......
Page 24: ...Chapter 2 Hardware Description...
Page 41: ......
Page 42: ...Chapter 3 First Steps...
Page 55: ......
Page 56: ...Chapter 4 Configurator Software...
Page 61: ......
Page 62: ...Chapter 5 Base Configuration...
Page 66: ...Chapter 6 Email Setup...
Page 80: ...Chapter 7 Http Server Functions Web Pages...
Page 113: ......
Page 114: ...Chapter 8 Ethernet RS232C Ports...
Page 119: ......
Page 120: ...Chapter 9 Dial In Setup for PPP Server...
Page 125: ...Dial In Setup for PPP Server FP Web Server V2 11 114...
Page 127: ...Dial In Setup for PPP Server FP Web Server V2 11 116...
Page 139: ......
Page 140: ...Chapter 10 Dial Out Setup for PPP Client...
Page 150: ...Chapter 11 NTP Server for PLC Clock Synchronization...
Page 153: ......
Page 154: ...Chapter 12 Modbus Functions...
Page 162: ...Chapter 13 IEC 60870 Functions of the FP Web Server...
Page 168: ...Chapter 14 Java Applet Library MEW JAR...
Page 170: ...Chapter 15 Additional Information...