BVS ID-M1280xF1-xx-xxx
english
55
4.1.4.2 Result container
The inspection in monitor mode will send the result data in this message after processing the inspection.
Length in bytes
Structure
Value
Description
2
UINT16
20
hex
Message ID
2
UINT16
User data length in bytes (the inspection program ID is considered as user data)
2
UINT16
Inspection program ID. This section indicates the inspection program, which created the result
container.
Result data as specified tool Outputs. Bool value "false" is sent as 0x00, "value" true as 0xFF.
Example of how a result container is formed:
After each completed inspection
BVS ID
sends a results container to the controlling system. The structure of
the user data depends on the configuration in
BVS ID
. In this example it is assumed that an inspection was
configured which provides a string of 20 bytes (= 14
hex
).
BVS ID
reads the value “Hello World” and sends it to
the controlling system.
The data encoding is in UTF-8 format. The code content that is read (11 bytes long) is shorter therefore than the
area provided in the message (20 bytes).
BVS ID
therefore fills the remaining bytes with zeros. One byte chain is
simply sent after the other. Little-endian has no meaning here since these are individual bytes.
The entire message is thus:
20
hex
00
hex
(Message ID)
16
hex
00
hex
(user data length = 2 bytes for inspection ID + 20 bytes result data)
15
hex
00
hex
(inspection ID: 21)
48 65 6C 6C 6F 20 57 6F 72 6C
64 00 00 00 00 00 00 00 00 00
(UTF-8: 'H', 'e', 'l', 'l' 'o', space, 'W', 'o', 'r', ‚l‘, 'd', 9× fill-bytes)
Summary of Contents for BVS ID-M1280 F1 Series
Page 1: ...deutsch Konfigurationsanleitung english Configuration Guide BVS ID M1280xF1 xx xxx...
Page 2: ...www balluff com...
Page 3: ...deutsch Konfigurationsanleitung BVS ID M1280xF1 xx xxx...
Page 4: ...www balluff com...
Page 41: ...BVS ID M1280xF1 xx xxx deutsch 39...
Page 96: ...BVS ID M1280xF1 xx xxx 94 deutsch Ablaufdiagramm Handshake mit Input Toggle...
Page 157: ...956115_AB DE E23 nderungen vorbehalten Ersetzt K22...
Page 158: ......
Page 159: ...english Configuration Guide BVS ID M1280xF1 xx xxx...
Page 160: ...www balluff com...
Page 197: ...BVS ID M1280xF1 xx xxx english 39...
Page 250: ...BVS ID M1280xF1 xx xxx 92 english Flowchart Handshake with Input Toggle...
Page 315: ...956115_AB EN E23 Subject to modification Replaces K22...