CLOSE SOCKET
URL template (replace items in "<>")
POST /HandleConfig HTTP/1.1\r\nHost: <IP address>\r\nConnection:
Keep-Alive\r\nCookie: <Session
cookie>\r\n\r\nsopas_username=Maintenance&sopas_password=<login_password>
C.4
Prepare restore mode
This operation will terminate normal device operation and set the device to focus on receiving
the backup file contents.
After the completion of this step, the device is in transfer file mode. All other interaction with
the device except the transfer file requests may interfere with the transfer file operation and
should be avoided.
Operations
CREATE SOCKET
CONNECT TO SOCKET(<IP address>, port = 80)
SEND HTTP GET REQUEST (to="/SelectRestore?prepare_on")
CLOSE SOCKET
URL template (replace items in "<>")
GET /SelectRestore?prepare_on HTTP/1.1\r\nHost: <IP
address>\r\nConnection: Keep-alive\r\nCookie: <Session cookie>\r\n\r\n
C.5
Transfer restore file to device
During the transfer phase the contents of the backup file is transferred to the device.
Operations
CREATE SOCKET
CONNECT TO SOCKET(<IP address>, port = 80)
SEND HTTP POST REQUEST (to="/RestoreConfig", data=<full path to backup
file>)
CLOSE SOCKET
URL template (replace items in "<>")
POST /RestoreConfig HTTP/1.1\r\nContent-Length: <File size>\r\nHost: <IP
address>\r\nCookie: <Session cookie>\r\nConnection:
Keep-Alive\r\nContent-Type: multipart/form-data;
boundary=cd07053eab074616b9c4703b70584d7dwH!aE1l@?dP/K:Pd--cd07053eab074616b9c4703b70584d7d\r\nContent-Disposition:
form-data; name="datafile"; filename="<full path to backup
file>"\r\nContent-Type: text/plain;
charset=utf-8\r\n\r\nFormatVersion=RAW01.00 <Data and more data>
C.6
Device restart
When the transfer is completed, the parameters on the device are updated and the configur-
ation is stored permanently on the flash file system. The device is then restarted.
8015726/ZPP7/2018-
09
©SICK AG • Identification & Measuring • www.sick.com • All rights reserved
Subject to change without notice
80
Reference Manual
Restore configuration over Web API
Appendix
Inspector PIM
Содержание Inspector PIM60
Страница 1: ...Inspector PIM60 ver 2 0 Vision sensor REFERENCE MANUAL...
Страница 5: ...Introduction...
Страница 7: ...Interfaces...
Страница 38: ...Appendix...
Страница 83: ......