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 #17 background imageLoading...
Page #17 background image
The Web Server standard web pages requires a login to perform a backup. A login is not re-
quired when doing a backup through the Web API.
Restore configuration
The restore 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 that requires a login. The details of the procedure
is described in Appendix C, Restore configuration over Web API (page 77).
The operation may take several minutes and the Inspector PIM60 is automatically restarted
after the configuration has been transferred to the Inspector PIM60.
Warning
During the restore operation the device is set in a special restore mode only expecting restore
operation requests. Operations and requests via other interfaces like field buses, SOPAS
Single Device, or other web browsers shall then be avoided since they may interfere with the
restore operation.
3.4 Create custom web pages
When creating customized web pages to be stored on and served by the Inspector, you use
the Web API to display images, retrieve results and settings, and change parameters in the
Inspector.
The functions that use the command channel (retrieving results, and getting and setting
parameters) returns the result in text strings, which you need to parse in order to extract the
information that you are interested in. To make this easier, the Inspector PIM60 provides a
JavaScript that you can use in your web pages, and that helps parsing the results.
You use the functions by including the script file inspector.js in your page, and then create
an Inspector object in your own script.
Note
The inspector.js script uses JQuery, so you need to also include the provided jquery.js
script. For more information on JQuery, see www.jquery.com.
<html>
<head>
<title>Custom page</title>
<script type="text/javascript" src="/jquery.js"></script>
<script type="text/javascript" src="/inspector.js"></script>
<script type="text/javascript">
//<!--
var inspector = new Inspector();
...
//-->
</script>
...
The Inspector object has methods that correspond to the commands that can be sent over
the command channel. The available methods are listed in Table 3.1, “Methods in inspect-
or.js” (page 19). When using these methods, you pass the same arguments as when using
the "raw" command channel commands, as described in Appendix B, Command chan-
nel (page 52).
The Inspector object returns the (parsed) command response through a callback function.
To use the response, you define a function that takes a single argument the response object
and pass that function as an argument to the Inspector's method. In the function you can
17
©SICK AG Advanced Industrial Sensors www.sick.com All rights reserved
Subject to change without notice
8015726/2013-11
Interfaces
Web interface
Reference Manual
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