<X dataType="INT" pos="1"/>
<Y dataType="INT" pos="2"/>
</CORNERS>
</POLYGON>
Analyzed image’s number, attributes dataType and pos
Start of container for Polygon, Name refers to the Polygon tool's name in the
Tools
tab
Number of corners used for this Polygon tool
Number 0 to 15 gives the properties of a single corner. The index of this corner is the
order in which the polygon corner was added when the polygon was drawn
Polygon corner coordinate (x), "pixels" or "mm"
Polygon corner coordinate (y), "pixels" or "mm"
End of tag for corners
End of container for Polygon
Attribute dataType
Casts to the specified datatype. When using EtherNet/IP the at-
tribute dataType specifies the dataType section in the selected
assembly. The attribute dataType can be SINT, INT, DINT or REAL.
For more details about dataType and pos see table in Sec-
Attribute pos
Used by EtherNet/IP to determine a position in the dataType
section in the selected assembly. The first position number of
the dataType section is 0. The range of the attribute pos depends
on which assembly is used. For example if assembly 1 and
dataType section SINT is selected the range of position is 8, i.e.
[0, 7]. For more details about dataType and pos see table in
Therefore the value of the attributes dataType and pos together specifies which parameter
in the assembly the result value should be mapped to.
Result of validating output string with only a Polygon
The validating in
SOPAS Engineering Tool (ET)
will give the following result:
EtherNet/IP assembly string OK.
If the used assembly is too small the validating will give the following result:
EtherNet/IP assembly string not OK. Out of slots for data type INT
Use a larger assembly to solve this problem . Choose a larger assembly in the dialog
Interfaces
and I/O settings
in the
InspectorPIM60
menu and the
EtherNet/IP
tab.
Result in PLC with only a Polygon
The table below describes how the Assembly 1's data structure will be populated when using
the configuration example above.
Variable from
example above
Offset byte
Data type
(dataType)
Position ref (pos)
from XML configuration
NUM_CORNERS
0
SINT
0
1
SINT
1
2
SINT
2
3
SINT
3
4
SINT
4
5
SINT
5
8015726/ZPP7/2018-
09
©SICK AG • Identification & Measuring • www.sick.com • All rights reserved
Subject to change without notice
32
Reference Manual
EtherNet/IP
Interfaces
Inspector PIM
Содержание Inspector PIM60
Страница 1: ...Inspector PIM60 ver 2 0 Vision sensor REFERENCE MANUAL...
Страница 5: ...Introduction...
Страница 7: ...Interfaces...
Страница 38: ...Appendix...
Страница 83: ......