
Http Server Functions/ Web Pages | FP |
|
|
<?xml version="1.0"
<Production
<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
3.A TCP client can request the FP
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"
<Production
<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
98