EasyManuals Logo

SICK Inspector PIM60 User Manual

SICK Inspector PIM60
82 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #78 background imageLoading...
Page #78 background image
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=Mainten-
ance&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\nConnec-
tion: 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; bound-
ary=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/2013-11
©SICK AG Advanced Industrial Sensors www.sick.com All rights reserved
Subject to change without notice
78
Reference Manual
Restore configuration over Web API
Appendix
Inspector PIM

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the SICK Inspector PIM60 and is the answer not in the manual?

SICK Inspector PIM60 Specifications

General IconGeneral
BrandSICK
ModelInspector PIM60
CategoryAccessories
LanguageEnglish

Related product manuals