
FA 46 Vision Sensor GB - 068-14297 - 10.02.2011-05
Mounting and
operating instructions
78
6.3.2
Data output in BINARY
Dynamically composed from user settings in the software
Main string structure:
<START> <OPTIONAL FIELDS> <PAYLOAD> <CHKSUM> <TRAILER>
Fig. 30
155-01216
Further information can be found in the online help of the software.
Numeric data are transferred in „Big Endian“ format:
Example: „Score“ values (binary protocol)
In SensoConfig/SensoView „Score“ = 35 is displayed
Then the following 4 bytes for example are received via EtherNet.
000,000,139,115
Conversion formula:
(HiWordByte*256 + HiLoByte) *65536
+
HiByte*256 + LoByte
= Value
As big endian is sent (from sensor), the following should apply:
000 = HiWordByte
000 = HiLowByte
139 = HiByte
115 = LoByte
(0*256 + 0) *65536 = 0
+
139 * 256 = 35584
+
115
=
35699/1000 = 35,699 (real score value)
6.4
Ethernet / IP
See software SensoConfig (Onlinehelp)
Summary of Contents for FA 46 301-CR
Page 49: ......