Panasonic FP User Manual

Page of 194
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".