BVS ID-M1280xF1-xx-xxx
english
63
4.1.5.9 Trigger inspection
It is sent from the client
to start an inspection pass. The behavior depends on the setting in the
BVS ID
. If an
inspection is untriggered, this message is being ignored. To check whether the device is ready to receive a
trigger, the
Waiting For Trigger
bit of the status message may be evaluated
.
Length in bytes
Structure
Value
Description
2
UINT16
40
hex
Message ID
2
UINT16
00
hex
User data length in bytes
BVS ID
answers with the following response message:
Length in bytes
Structure
Value
Description
2
UINT16
40hex
Message ID
2
UINT16
02
hex
User data length in bytes
2
UINT16
Result code
Example:
Message from the client to
BVS ID
: 40 00 00 00
BVS ID
responds to it with: 40 00 02 00 00 00
4.1.6 Testing the communication
4.1.6.1 Under Linux
For testing the UDP communication you can use the tool
Netcat
under Linux. The following console prompts
will open a connection, trigger the current inspection, and close the connection.
In this example the IP address is 192.168.1.230. The port 60001 is used to get results.
# Connect
echo
-n -e
'\x01\x00\x00\x00'
| nc -uw 1 -p 60001 192.168.1.230 36701
# Trigger inspection:
echo
-n -e
'\x40\x00\x00\x00'
| nc -uw 1 -p 60001 192.168.1.230 36701
# Disconnect:
echo
-n -e
'\x02\x00\x00\x00'
| nc -uw 1 -p 60001 192.168.1.230 36701
NOTE
The
Trigger inspection
command will capture a single image only if the
trigger mode
is configured to
edge in the tool
Inputs
.
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...