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 #26 background imageLoading...
Page #26 background image
End of container for polygon
Result of validating output string with a Polygon
The result of validating the example formatting output string with output format ASCII will be
as follows:
Polygon_1
Corners: 4
(X,Y): (329.15,235.70)
(X,Y): (371.31,235.60)
(X,Y): (372.58,314.97)
(X,Y): (329.82,315.22)
The result of validating the example formatting output string for a polygon with output format
binary will be as follows:
Binary output OK. Number of bytes: 39
Example of a JSON formatted string
It is possible to get an example string in JSON
1
format. This is typically used in conjugation
with web based HMIs for easier result extraction.
{"MESSAGE": {
"IMAGE_NUMBER":"<IMAGE_NUMBER/>",<SPACE/>
"Pixel_counter_1": {<PIXEL_COUNTER name="Pixel counter 1">
"DECISION":"<DECISION/>",<SPACE/>
"PIXELS":"<PIXELS/>"
</PIXEL_COUNTER>
}}}
{"MESSAGE":{"IMAGE_NUMBER":"2975780", "Pixel_counter_1":{"DECISION":"1", "PIXELS":"5433"}}}
4.3 Control the sensor via Ethernet Raw
The Inspector has a command channel accessible via the Ethernet Raw interface. The com-
mand channel makes it possible to read and write a defined set of configuration parameters,
and to trigger image acquisition, via UDP or TCP. This section describes how to setup image
triggering and command channel settings in SOPAS Single Device, as well as the syntax of the
command channel.
4.3.1 Basic principles
The command channel has a set of basic principles:
Only one command at a time can be executed.
Each command is followed by a return message (ACK) that includes result of the command
as well as error codes.
A specific task to control the Inspector PIM60 includes the command together with its
parameters, see list of command types and parameters in Appendix B, Command chan-
nel (page 52)).
Writing a parameter can typically only be done when the device is in Edit mode. Reading
a parameter can be done in both Edit and Run mode.
It is possible to block configuration changes by deselecting the setting Allow changes via
Ethernet Raw in the Ethernet Raw tab in the dialog Interfaces and I/O Settings in the InspectorPIM60
menu.
4.3.2 Command syntax
The commands have the following syntax:
1
JSON (JavaScript Object Notation) in accordance with RFC 4627
8015726/2013-11
©SICK AG Advanced Industrial Sensors www.sick.com All rights reserved
Subject to change without notice
26
Reference Manual
Ethernet Raw
Interfaces
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