command examples see Section B.1, “
” (page 52) and Section B.6, “
Note
The command syntax differs from other interfaces where the initial part
http://<IP-address>/CmdChannel?
is added and all space characters (" ") are replaced
by an underscore character ("_"). The ACK messages still contain spaces.
Example URL
The successful execution of the following command
http://192.168.1.110/CmdChannel?sINT_1_1
will perform the command (to select reference object with index 1) and then return the fol-
lowing string:
rsINT 1 0
while a failed command may return:
rsINT 1 8101 Ref bank index is not used.
3.3.3
Current reference object
The reference image of the current reference object can be retrieved using the URL:
http://<IP-address>/ActiveReferenceImage.jpg
The response to the request is a JPEG image.
The reference image of any reference object in the Inspector can be retrieved using the URL:
http://<IP-address>/getRefObject?0
where the argument "0" is the index of the reference object. The object index that corresponds
to each reference object can be found in the
Reference object
list in the
Main view
.
The response to the request is a JPEG image. An empty image with a smaller size than a
normal image is returned if no reference object is available for a certain position.
Example URL
http://192.168.1.110/ActiveReferenceImage.jpg
http://192.168.1.110/getRefObject?1
3.3.4
Backup and restore configuration
It is possible to backup and restore the device configuration through the Web API. This is the
same functionality also available through the standard web pages of the Web Server interface.
The backup data contains the device name and reference objects including corresponding
inspection and interface settings.
Note
The backup and restore functionality of the Web Server and the Web API corresponds to the
Export Sopas Parameter backup
and
Import Sopas Parameter backup
in the
InspectorPIM60
menu.
The backup data used by the Web API is saved as
.sbp
files, which can be imported to and
exported from
SOPAS Engineering Tool (ET)
. The Web API can not use
.sdv
files.
Backup configuration
The URL to export a configuration is
http://<IP-address>/backup_config?config1
Example URL:
http://192.168.1.110/backup_config?config1
The result of the request is an .spb file containing the device configuration. This file can be
stored in the file system of the receiving unit and used later in the restore procedure.
8015726/ZPP7/2018-
09
©SICK AG • Identification & Measuring • www.sick.com • All rights reserved
Subject to change without notice
16
Reference Manual
Web interface
Interfaces
Inspector PIM
Содержание Inspector PIM60
Страница 1: ...Inspector PIM60 ver 2 0 Vision sensor REFERENCE MANUAL...
Страница 5: ...Introduction...
Страница 7: ...Interfaces...
Страница 38: ...Appendix...
Страница 83: ......