Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016
Page 361
Vision Sensor Manual
Example: "Score" Value (Binary protocol)
In Configuration Studio/Visualisation Studio"Score" = 35 is displayed.
Over Ethernet there will be received the following four bytes: 000,000,139,115
Formula for recalculating: (HiWordByte*256 + HiLowByte) *65536 + HiByte*256 + LoByte = Value
Because Big-endian (from Sensor) is sent calculation goes as following:
000 = HiWordByte, 000 = HiLowByte, 139 = HiByte, 115 = LoByte
(0*256 + 0) * 65536 + (139 * 256) + 115 = 35699 / 1000 = 35,699 (real score value)
Angles or other negative values are transferred in two's complement.
8.2 Further explanations to Edge detector (alignment)
Function of „Number search rays“
„Number search rays“ parameter which defines in how many parallel sub- search regions the search area
is divided. The edge detector searches in each sub region for the first edge separately.
Increasing the value of „Number search rays“, increases the chance to find the very first edge in the
search area..
By increasing “Number search rays” it may happen, that the threshold value fluctuates strongly, e.g. if just
the half of the search area is covered by the edge. The reason therefore is, that the first, not the
strongest, edge is detected, which is above the threshold limit in search direction.
Fig. 328: Edge detection with „Number search rays“ = 1. The dominating edge, perpendicular to the
search direction is found.
Summary of Contents for SBSC-EN
Page 1: ......