3
Web interface
3.1
Introduction
The Inspector PIM60's web interface can be used in two different ways:
• Users can use a web browser to open web pages served by the Inspector's built-in web
server.
The Inspector PIM60 is delivered with a set of web pages for handling the Inspector, but
you can also create custom web pages that can be accessed through the Inspector's built-
in web server. When you create custom web pages, all functions available through the
Web API can be used.
• Custom applications running on separate systems can use the Web API to directly retrieve
images and results, and retrieve and set parameters on the Inspector.
Details on how to manage and access the web pages served by the Inspector is described
in the Operating Instructions for Inspector PIM60.
Note
All URLs on the Inspector are case sensitive. For example, trying to use
/LiveImage.jpg
to
retrieve the live image will not work.
3.2
Get results via Web API
3.2.1
Live image
The live image can be retrieved through the Web API by a live image request using the URL:
http://<IP-address>/LiveImage.jpg
The response to the request is a data buffer containing a JPEG image.
If the image is not available, an empty image is returned with a smaller size than a normal
image.
Note
The live image is not available when
SOPAS
is connected to the Inspector PIM60.
Live image response can be much slower when activating the Send to FTP feature.
Example URLs
Request a live image without overlay graphics:
http://192.168.1.110/LiveImage.jpg
The response to the request is a JPEG image.
Request a live image with overlay graphics:
http://192.168.1.110/LiveImage.jpg?ShowOverlay
Request a live image with simplified overlay graphics:
http://192.168.1.110/LiveImage.jpg?SimplifiedOverlay
3.2.2
Detailed results
The result string, containing the results from the last analyzed image, can be retrieved through
the Web API by a request using the URL:
http://<IP-address>/CmdChannel?gRES
The response is a string that has the following syntax:
rgRES <errorCode> <resultString>
13
©SICK AG • Identification & Measuring • www.sick.com • All rights reserved
Subject to change without notice
8015726/ZPP7/2018-
09
Interfaces
Web interface
Reference Manual
Inspector PIM
Содержание Inspector PIM60
Страница 1: ...Inspector PIM60 ver 2 0 Vision sensor REFERENCE MANUAL...
Страница 5: ...Introduction...
Страница 7: ...Interfaces...
Страница 38: ...Appendix...
Страница 83: ......