C
Restore configuration over Web API
The restore configuration operation takes a device configuration created with the backup
functionality and replaces the current configuration with the configuration in the backup file.
The operation is a multiple step procedure with the following steps:
1. Create session cookie
2. Login
3. Prepare restore mode
4. Transfer restore file to device
5. Device restart
The restore operation will remove the previous configuration and replace it with a new con-
figuration. The IP address and the chessboard calibration will not be updated by the restore
operation. It is not possible to use the device for other purposes during the restore operation.
The operation may take several minutes to perform and the time is partly depending on the
size of the backup file.
C.1
Restore configuration
The restore configuration operation takes a device configuration created with the backup
functionality and replaces the current configuration with the configuration in the backup file.
The operation is a multiple step procedure with the following steps:
1. Create session cookie
2. Login
3. Prepare restore mode
4. Transfer restore file to device
5. Device restart
The restore operation will remove the previous configuration and replace it with a new con-
figuration. The IP address and the chessboard calibration will not be updated by the restore
operation. It is not possible to use the device for other purposes during the restore operation.
The operation may take several minutes to perform and the time is partly depending on the
size of the backup file.
C.2
Create session cookie
A session cookie is used to handle operations requiring login with user name and password.
The session cookie is created before performing the login operation and the cookie must
then be supplied in the login operation and for all following operations.
Operations
CREATE COOKIE
C.3
Login
A login with the user name "Maintenance" is required to change information on the device.
The password is the password stored on the device. Default password is "Inspector".
Operations
CREATE SOCKET
CONNECT TO SOCKET(<IP address>, port = 80)
SEND HTTP POST REQUEST (to="/HandleConfig", data =
"sopas_username=Maintenance&sopas_password=<login_password>")
79
©SICK AG • Identification & Measuring • www.sick.com • All rights reserved
Subject to change without notice
8015726/ZPP7/2018-
09
Appendix
Restore configuration over Web API
Reference Manual
Inspector PIM
Содержание Inspector PIM60
Страница 1: ...Inspector PIM60 ver 2 0 Vision sensor REFERENCE MANUAL...
Страница 5: ...Introduction...
Страница 7: ...Interfaces...
Страница 38: ...Appendix...
Страница 83: ......