Process interfacing via an automation system (PLC, PC)
10.8 Remote client
SIMATIC MV420 / SIMATIC MV440
Operating Instructions, 04/2013, A5E02371045-06
327
10.8.1.2 XML restore
Note
Frequent use of XML restore can reduce the working life of the reader
With each XML restore, there are write operations to the flash memory. If the XML restore
function is used frequently, this can reduce the working life of the reader.
Note
When the "remote client" IP address should not be imported
The "remote client" IP address is assigned to the TCP settings. If you do not want this IP
address to be imported, the import of the TCP settings for XML restore must be disabled.
Request
● URI: http://<IP address of the reader>/xml/restore.cgi e.g.
http://192.168.0.42/xml/restore.cgi
● HTTP method: POST
● Content type: "multipart/form-data; boundary=[REMOTEXMLUPLOADPARA]\r\n"
POST data
Note
Meaning of "xmlDoc"
"xmlDoc" corresponds to the string with the content of a backup XML file.
"[REMOTEXMLUPLOADPARA]\r\nContent-Disposition: form-data; name=\"xmlfile\"\r\nContent-Type:
text/xml\r\n\r\n" + xmlDoc + "\r\n" +
// remove next line if TCP settings shall not be imported
"[REMOTEXMLUPLOADPARA]\r\nContent-Disposition: for m-data; na me=\"importtcp\"\r\n\r\non\r\n" +
// remove next line if PROFINET settings shall not be imported
"[R EMOTEXMLUPLOADPA R A]\r\nContent-Disposition: for m-d ata; na me=\"i m p ortdp\"\r\n\r\non\r\n" +
// remote next line if security settings shall not be imported
"[REMOTEXMLUPLOADPARA]\r\nContent-Disposition: form-data; name=\"importsec\"\r\n\r\non\r\n" +
// remote next line if codes shall not be imported
"[REMOTEXMLUPLOADPARA]\r\nContent-Disposition: form-data; name=\"importcodes\"\r\n\r\non\r\n" +
"[REMOTEXMLUPLOADPARA]\r\n"